summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2022-09-01 19:08:37 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2022-09-01 19:08:37 +0000
commit312ee15058fbb26feb6a93520417f0d5343ad15b (patch)
treea08e7e47735de7ad136cc618ffa46054237476b8 /interface-definitions/include
parent37cfa8cdb1c6a1d395109aabd3ee29e83db151da (diff)
downloadvyos-1x-312ee15058fbb26feb6a93520417f0d5343ad15b.tar.gz
vyos-1x-312ee15058fbb26feb6a93520417f0d5343ad15b.zip
Firewall: T4651: Change proposed cli from ip-length to packet-length
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/firewall/packet-length.xml.i18
1 files changed, 18 insertions, 0 deletions
diff --git a/interface-definitions/include/firewall/packet-length.xml.i b/interface-definitions/include/firewall/packet-length.xml.i
new file mode 100644
index 000000000..866a76bbb
--- /dev/null
+++ b/interface-definitions/include/firewall/packet-length.xml.i
@@ -0,0 +1,18 @@
+<!-- include start from firewall/packet-length.xml.i -->
+<leafNode name="packet-length">
+ <properties>
+ <help>Payload size in bytes, including header and data</help>
+ <valueHelp>
+ <format>u32:1-65535</format>
+ <description>Packet length value. Multiple values can be specified as a comma-separated list. Inverted match is also supported</description>
+ </valueHelp>
+ <valueHelp>
+ <format>&lt;start-end&gt;</format>
+ <description>Packet length range. Inverted match is also supported (e.g. 1001-1005 or !1001-1005)</description>
+ </valueHelp>
+ <constraint>
+ <validator name="packet-length"/>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- include end -->