[PATCH v6] ipvs: adjust the debug info in function set_tcp_state

2020-10-04 Thread longguang.yue
-by: longguang.yue --- net/netfilter/ipvs/ip_vs_proto_tcp.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/net/netfilter/ipvs/ip_vs_proto_tcp.c b/net/netfilter/ipvs/ip_vs_proto_tcp.c index dc2e7da2742a..7da51390cea6 100644 --- a/net/netfilter/ipvs/ip_vs_proto_tcp.c +++ b

[PATCH v6] ipvs: inspect reply packets from DR/TUN real servers

2020-10-04 Thread longguang.yue
in v2: ip_vs_conn_out_get handles DR/TUN mode's conn Changes in v3: fix checkpatch Changes in v4, v5: restructure and optimise this feature Changes in v6: rewrite subject and patch description Signed-off-by: longguang.yue --- net/netfilter/ipvs/ip_vs_conn.c | 18 +++--- net/netfilter

[PATCH v5] ipvs: Add traffic statistic up even it is VS/DR or VS/TUN mode

2020-10-03 Thread longguang.yue
this feature -- Signed-off-by: longguang.yue --- net/netfilter/ipvs/ip_vs_conn.c | 18 +++--- net/netfilter/ipvs/ip_vs_core.c | 17 ++--- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/net/netfilter/ipvs/ip_vs_conn.c b/net/netfilter/ipvs

[PATCH v4] ipvs: Add traffic statistic up even it is VS/DR or VS/TUN mode

2020-10-02 Thread longguang.yue
-by: longguang.yue --- net/netfilter/ipvs/ip_vs_conn.c | 18 +++--- net/netfilter/ipvs/ip_vs_core.c | 24 +--- 2 files changed, 32 insertions(+), 10 deletions(-) diff --git a/net/netfilter/ipvs/ip_vs_conn.c b/net/netfilter/ipvs/ip_vs_conn.c index a90b8eac16ac..af08ca2d9174

[PATCH v3] ipvs: Add traffic statistic up even it is VS/DR or VS/TUN mode

2020-09-29 Thread longguang.yue
It's ipvs's duty to do traffic statistic if packets get hit, no matter what mode it is. Signed-off-by: longguang.yue --- net/netfilter/ipvs/ip_vs_conn.c | 14 -- net/netfilter/ipvs/ip_vs_core.c | 5 - 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/net/netfilter

[PATCH v2] ipvs: Add traffic statistic up even it is VS/DR or VS/TUN mode

2020-09-29 Thread longguang.yue
It's ipvs's duty to do traffic statistic if packets get hit, no matter what mode it is. Signed-off-by: longguang.yue --- net/netfilter/ipvs/ip_vs_conn.c | 13 +++-- net/netfilter/ipvs/ip_vs_core.c | 5 - 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/net/netfilter

[PATCH] ipvs: Add traffic statistic up even it is VS/DR or VS/TUN mode

2020-09-28 Thread longguang.yue
It's ipvs's duty to do traffic statistic if packets get hit, no matter what mode it is. Signed-off-by: longguang.yue --- net/netfilter/ipvs/ip_vs_core.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net/netfilter/ipvs/ip_vs_core.c b/net/netfilter/ipvs/ip_vs_core.c

[PATCH v5] ipvs: adjust the debug info in function set_tcp_state

2020-09-27 Thread longguang.yue
Outputting client,virtual,dst addresses info when tcp state changes, which makes the connection debug more clear Signed-off-by: longguang.yue --- net/netfilter/ipvs/ip_vs_proto_tcp.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/net/netfilter/ipvs

[PATCH v4] ipvs: adjust the debug info in function set_tcp_state

2020-09-27 Thread longguang.yue
outputting client,virtual,dst addresses info when tcp state changes, which makes the connection debug more clear Signed-off-by: longguang.yue --- net/netfilter/ipvs/ip_vs_proto_tcp.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/net/netfilter

[PATCH] ipvs: adjust the debug order of src and dst

2020-09-23 Thread longguang.yue
From: ylg adjust the debug order of src and dst when tcp state changes Signed-off-by: ylg --- net/netfilter/ipvs/ip_vs_proto_tcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/netfilter/ipvs/ip_vs_proto_tcp.c b/net/netfilter/ipvs/ip_vs_proto_tcp.c index