summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinitramfs <initramfs@initramfs.io>2022-09-25 03:09:19 +0800
committerinitramfs <initramfs@initramfs.io>2022-09-25 04:04:38 +0800
commitcc01700d2a2b0e8c413ed18e3556cfad07e43e7f (patch)
tree934a98dcf3973a1313f41104d024b476a8179735
parent35d8141575c3677b7e70e053c416634fc55b3bf4 (diff)
downloadvyos-1x-cc01700d2a2b0e8c413ed18e3556cfad07e43e7f.tar.gz
vyos-1x-cc01700d2a2b0e8c413ed18e3556cfad07e43e7f.zip
interfaces: T4709: raise minimum TCP MSS clamping value
This commit raises the minimum TCP MSS clamping range to the MSS value corresponding to the minimum packet size that must be accepted for IPv4.
-rw-r--r--interface-definitions/include/interface/adjust-mss.xml.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/include/interface/adjust-mss.xml.i b/interface-definitions/include/interface/adjust-mss.xml.i
index 41140ffe1..2b184a05e 100644
--- a/interface-definitions/include/interface/adjust-mss.xml.i
+++ b/interface-definitions/include/interface/adjust-mss.xml.i
@@ -11,11 +11,11 @@
<description>Automatically sets the MSS to the proper value</description>
</valueHelp>
<valueHelp>
- <format>u32:500-65535</format>
+ <format>u32:536-65535</format>
<description>TCP Maximum segment size in bytes</description>
</valueHelp>
<constraint>
- <validator name="numeric" argument="--range 500-65535"/>
+ <validator name="numeric" argument="--range 536-65535"/>
<regex>(clamp-mss-to-pmtu)</regex>
</constraint>
</properties>