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)
commit073b04e76be6d5c4e22ff0599260f3bf890ac53a
tree84a0445d3d8d4150a8e42a919a172a51ff61a7a1
parentbc081a693a56061f68f736c5d596134ee3c87689
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