summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/set-packet-modifications-tcp-mss.xml.i
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2024-10-03 14:51:55 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2024-10-03 14:51:55 +0000
commite846d2c1500df83742eb803684980396857cc0f1 (patch)
treef05a6b0170d885d02690904caad5a43f08a6258d /interface-definitions/include/firewall/set-packet-modifications-tcp-mss.xml.i
parent6b7159f2927f004320c77043d0c819a6b660806d (diff)
downloadvyos-1x-e846d2c1500df83742eb803684980396857cc0f1.tar.gz
vyos-1x-e846d2c1500df83742eb803684980396857cc0f1.zip
T6760: firewall: add packet modifications existing in policy route to regular firewall ruleset.
Diffstat (limited to 'interface-definitions/include/firewall/set-packet-modifications-tcp-mss.xml.i')
-rw-r--r--interface-definitions/include/firewall/set-packet-modifications-tcp-mss.xml.i21
1 files changed, 21 insertions, 0 deletions
diff --git a/interface-definitions/include/firewall/set-packet-modifications-tcp-mss.xml.i b/interface-definitions/include/firewall/set-packet-modifications-tcp-mss.xml.i
new file mode 100644
index 000000000..06ffdfede
--- /dev/null
+++ b/interface-definitions/include/firewall/set-packet-modifications-tcp-mss.xml.i
@@ -0,0 +1,21 @@
+<!-- include start from firewall/set-packet-modifications-tcp-mss.xml.i -->
+<node name="set">
+ <properties>
+ <help>Packet modifications</help>
+ </properties>
+ <children>
+ <leafNode name="tcp-mss">
+ <properties>
+ <help>Set TCP Maximum Segment Size</help>
+ <valueHelp>
+ <format>u32:500-1460</format>
+ <description>Explicitly set TCP MSS value</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 500-1460"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+</node>
+<!-- include end -->