From 7709663c61f988cc60444fa932164f4931dfa7e3 Mon Sep 17 00:00:00 2001 From: initramfs Date: Mon, 26 Sep 2022 11:01:02 +0800 Subject: firewall: T4709: adjust TCP MSS clamping ranges and options This commit fixes MSS clamping ranges as well as reintroduces the clamp-mss-to-pmtu option value to clamp to PMTU instead. --- interface-definitions/firewall-options.xml.in | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'interface-definitions/firewall-options.xml.in') diff --git a/interface-definitions/firewall-options.xml.in b/interface-definitions/firewall-options.xml.in index 8d9225a9a..1bcee2011 100644 --- a/interface-definitions/firewall-options.xml.in +++ b/interface-definitions/firewall-options.xml.in @@ -20,24 +20,40 @@ Adjust MSS for IPv4 transit packets + + clamp-mss-to-pmtu + - 500-1460 + clamp-mss-to-pmtu + Automatically sets the MSS to the proper value + + + 536-65535 TCP Maximum segment size in bytes - + + (clamp-mss-to-pmtu) Adjust MSS for IPv6 transit packets + + clamp-mss-to-pmtu + + + clamp-mss-to-pmtu + Automatically sets the MSS to the proper value + - 1280-1492 + 1220-65535 TCP Maximum segment size in bytes - + + (clamp-mss-to-pmtu) -- cgit v1.2.3