Commit 073b04e
ipvs: inspect reply packets from DR/TUN real servers
Just like for MASQ, inspect the reply packets coming from DR/TUN
real servers and alter the connection's state and timeout
according to the protocol.
It's ipvs's duty to do traffic statistic if packets get hit,
no matter what mode it is.
Signed-off-by: longguang.yue <bigclouds@163.com>
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>1 parent bc081a6 commit 073b04e
2 files changed
Lines changed: 22 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
| 405 | + | |
| 406 | + | |
405 | 407 | | |
406 | 408 | | |
407 | 409 | | |
| |||
411 | 413 | | |
412 | 414 | | |
413 | 415 | | |
414 | | - | |
415 | | - | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
416 | 428 | | |
417 | | - | |
| 429 | + | |
418 | 430 | | |
419 | 431 | | |
420 | 432 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
875 | 875 | | |
876 | 876 | | |
877 | 877 | | |
878 | | - | |
| 878 | + | |
879 | 879 | | |
880 | 880 | | |
881 | 881 | | |
| |||
901 | 901 | | |
902 | 902 | | |
903 | 903 | | |
| 904 | + | |
904 | 905 | | |
905 | 906 | | |
906 | 907 | | |
| |||
909 | 910 | | |
910 | 911 | | |
911 | 912 | | |
912 | | - | |
913 | | - | |
914 | 913 | | |
915 | 914 | | |
916 | 915 | | |
| |||
1276 | 1275 | | |
1277 | 1276 | | |
1278 | 1277 | | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
1279 | 1281 | | |
1280 | 1282 | | |
1281 | 1283 | | |
| |||
1316 | 1318 | | |
1317 | 1319 | | |
1318 | 1320 | | |
| 1321 | + | |
1319 | 1322 | | |
1320 | 1323 | | |
1321 | 1324 | | |
| |||
1412 | 1415 | | |
1413 | 1416 | | |
1414 | 1417 | | |
1415 | | - | |
1416 | | - | |
1417 | | - | |
| 1418 | + | |
1418 | 1419 | | |
1419 | | - | |
1420 | 1420 | | |
1421 | 1421 | | |
1422 | 1422 | | |
| |||
1475 | 1475 | | |
1476 | 1476 | | |
1477 | 1477 | | |
1478 | | - | |
1479 | 1478 | | |
1480 | 1479 | | |
1481 | 1480 | | |
1482 | | - | |
1483 | | - | |
1484 | | - | |
1485 | | - | |
1486 | 1481 | | |
1487 | 1482 | | |
1488 | 1483 | | |
| |||
0 commit comments