From 82b6fdad3e720a59a8314e74a9b9f87775ec2514 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 18 May 2021 22:56:05 +0200 Subject: firewall: remove for now --- ...ply-tcp-mss-clamping-also-on-ingress-path.patch | 33 ---------------------- 1 file changed, 33 deletions(-) delete mode 100644 firewall/patches/0001-zones-apply-tcp-mss-clamping-also-on-ingress-path.patch (limited to 'firewall/patches/0001-zones-apply-tcp-mss-clamping-also-on-ingress-path.patch') diff --git a/firewall/patches/0001-zones-apply-tcp-mss-clamping-also-on-ingress-path.patch b/firewall/patches/0001-zones-apply-tcp-mss-clamping-also-on-ingress-path.patch deleted file mode 100644 index 9e23dfd..0000000 --- a/firewall/patches/0001-zones-apply-tcp-mss-clamping-also-on-ingress-path.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 4a7df7d8c4e40fd2ce0d9f125755249dee17a8bd Mon Sep 17 00:00:00 2001 -From: Yousong Zhou -Date: Fri, 24 Jul 2020 12:52:59 +0800 -Subject: [PATCH] zones: apply tcp mss clamping also on ingress path - -Fixes FS#3231 - -Signed-off-by: Yousong Zhou -Acked-by: Jo-Philipp Wich -(cherry picked from commit e9b90dfac2225927c035f6a76277b850c282dc9a) ---- - zones.c | 8 ++++++++ - 1 file changed, 8 insertions(+) - -diff --git a/zones.c b/zones.c -index 01fb706..3d54a76 100644 ---- a/zones.c -+++ b/zones.c -@@ -552,6 +552,14 @@ print_interface_rule(struct fw3_ipt_handle *handle, struct fw3_state *state, - fw3_ipt_rule_target(r, "TCPMSS"); - fw3_ipt_rule_addarg(r, false, "--clamp-mss-to-pmtu", NULL); - fw3_ipt_rule_replace(r, "FORWARD"); -+ -+ r = fw3_ipt_rule_create(handle, &tcp, dev, NULL, sub, NULL); -+ fw3_ipt_rule_addarg(r, false, "--tcp-flags", "SYN,RST"); -+ fw3_ipt_rule_addarg(r, false, "SYN", NULL); -+ fw3_ipt_rule_comment(r, "Zone %s MTU fixing", zone->name); -+ fw3_ipt_rule_target(r, "TCPMSS"); -+ fw3_ipt_rule_addarg(r, false, "--clamp-mss-to-pmtu", NULL); -+ fw3_ipt_rule_replace(r, "FORWARD"); - } - } - else if (handle->table == FW3_TABLE_RAW) -- cgit v1.2.3