]> 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)
commitf8d9e45e039cdfca3c2b57405f8828a5f6dee021
tree84a0445d3d8d4150a8e42a919a172a51ff61a7a1
parent1832f1e2a03753b376fcc0986ca591bb15dca607
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