From f877bd1f52d15e290a006b9e13c6934e927678d1 Mon Sep 17 00:00:00 2001 From: Vincent Li Date: Tue, 26 Nov 2024 02:50:20 +0000 Subject: [PATCH] xdp-synproxy: increase MAX port increase max port number from 8 to 24 Signed-off-by: Vincent Li --- xdp-synproxy/xdp_synproxy.bpf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xdp-synproxy/xdp_synproxy.bpf.c b/xdp-synproxy/xdp_synproxy.bpf.c index c4c87493..401a1c8c 100644 --- a/xdp-synproxy/xdp_synproxy.bpf.c +++ b/xdp-synproxy/xdp_synproxy.bpf.c @@ -58,7 +58,7 @@ #define DEFAULT_MSS6 1440 #define DEFAULT_WSCALE 0 #define DEFAULT_TTL 64 -#define MAX_ALLOWED_PORTS 8 +#define MAX_ALLOWED_PORTS 24 #define MAX_PACKET_OFF 0xffff