summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-08-25 06:27:01 +0200
committerGitHub <noreply@github.com>2022-08-25 06:27:01 +0200
commit20090229009d0aa783560c74207dbccb1014ebe0 (patch)
tree8399170707ffb028e42426c013dd3fb19a803a79 /interface-definitions
parenteb4a7ee3afc0765671ce0fa379ab5e3518e9e49e (diff)
parentfd15f9d2ab6a7e5bbc07ff2e8b10c064984492ce (diff)
downloadvyos-1x-20090229009d0aa783560c74207dbccb1014ebe0.tar.gz
vyos-1x-20090229009d0aa783560c74207dbccb1014ebe0.zip
Merge pull request #1478 from sever-sever/T4622
firewall: T4622: Add TCP MSS option
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/firewall/tcp-flags.xml.i17
1 files changed, 17 insertions, 0 deletions
diff --git a/interface-definitions/include/firewall/tcp-flags.xml.i b/interface-definitions/include/firewall/tcp-flags.xml.i
index b99896687..5a7b5a8d3 100644
--- a/interface-definitions/include/firewall/tcp-flags.xml.i
+++ b/interface-definitions/include/firewall/tcp-flags.xml.i
@@ -114,6 +114,23 @@
</node>
</children>
</node>
+ <leafNode name="mss">
+ <properties>
+ <help>Maximum segment size (MSS)</help>
+ <valueHelp>
+ <format>u32:1-16384</format>
+ <description>Maximum segment size</description>
+ </valueHelp>
+ <valueHelp>
+ <format>&lt;min&gt;-&lt;max&gt;</format>
+ <description>TCP MSS range (use '-' as delimiter)</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-16384"/>
+ <validator name="range" argument="--min=1 --max=16384"/>
+ </constraint>
+ </properties>
+ </leafNode>
</children>
</node>
<!-- include end -->