Skip to content

ipvs: filter some connection flags

Julian Anastasov lvs-devel netfilter-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 0 repliesNew

Changes in v2 from the cover letter

* add patch 1
* patch 2: explain in commit message that NO_CPORT is not sent because the master does not sync connections that are not established

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ipvs: do not create invisible templatesnet/netfilter/ipvs/ip_vs_conn.c+3 -00 replies
2/2ipvs: filter some flags received in the backup servernet/netfilter/ipvs/ip_vs_sync.c+30 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 nf 0/2] ipvs: filter some connection flags

Hello,

The patchset contains two changes:

1. Filter the ONE_PACKET flag for templates when inherited from dest->conn_flags to allow reusing the templates from many connections

2. Filter some flags or their combinations in the backup server to avoid creating templates that are dropped immediately or to avoid unexpected template hits.

Followup patches should add more protections.

Changes in v2:
* add patch 1
* patch 2: explain in commit message that NO_CPORT is not sent because the master does not sync connections that are not established

Julian Anastasov (2):
ipvs: do not create invisible templates
ipvs: filter some flags received in the backup server

 net/netfilter/ipvs/ip_vs_conn.c |  3 +++
 net/netfilter/ipvs/ip_vs_sync.c | 33 ++++++++++++++++++++++++++++++---
 2 files changed, 33 insertions(+), 3 deletions(-)
Signature · 1 line
2.55.0