]> git.baikalelectronics.ru Git - kernel.git/commit
ipvs: inspect reply packets from DR/TUN real servers
authorlongguang.yue <bigclouds@163.com>
Mon, 5 Oct 2020 20:13:47 +0000 (23:13 +0300)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 11 Oct 2020 23:57:34 +0000 (01:57 +0200)
commit52125346880b64cec357fc5c4076b1bd2809a06b
tree84a0445d3d8d4150a8e42a919a172a51ff61a7a1
parentb40815a12d4373048d6d70d10737ba3125662779
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>
net/netfilter/ipvs/ip_vs_conn.c
net/netfilter/ipvs/ip_vs_core.c