From d9c9092dcdc430b26a326345934c4513534bff9b Mon Sep 17 00:00:00 2001 From: Nicolas Fort Date: Mon, 19 Dec 2022 15:33:59 +0000 Subject: T4886: Firewall and route policy: Add connection-mark feature to vyos. --- interface-definitions/firewall.xml.in | 2 ++ .../include/firewall/connection-mark.xml.i | 15 +++++++++++++++ interface-definitions/include/policy/route-common.xml.i | 12 ++++++++++++ interface-definitions/policy-route.xml.in | 2 ++ 4 files changed, 31 insertions(+) create mode 100644 interface-definitions/include/firewall/connection-mark.xml.i (limited to 'interface-definitions') diff --git a/interface-definitions/firewall.xml.in b/interface-definitions/firewall.xml.in index c964abb41..7d7e0a38f 100644 --- a/interface-definitions/firewall.xml.in +++ b/interface-definitions/firewall.xml.in @@ -461,6 +461,7 @@ #include #include #include + #include ICMPv6 type and code information @@ -628,6 +629,7 @@ #include #include #include + #include ICMP type and code information diff --git a/interface-definitions/include/firewall/connection-mark.xml.i b/interface-definitions/include/firewall/connection-mark.xml.i new file mode 100644 index 000000000..2cb826635 --- /dev/null +++ b/interface-definitions/include/firewall/connection-mark.xml.i @@ -0,0 +1,15 @@ + + + + Connection mark + + u32:1-2147483647 + Connection-mark to match + + + + + + + + diff --git a/interface-definitions/include/policy/route-common.xml.i b/interface-definitions/include/policy/route-common.xml.i index 8b959c2a4..6973d7a8f 100644 --- a/interface-definitions/include/policy/route-common.xml.i +++ b/interface-definitions/include/policy/route-common.xml.i @@ -159,6 +159,18 @@ Packet modifications + + + Connection marking + + u32:1-2147483647 + Connection marking + + + + + + Packet Differentiated Services Codepoint (DSCP) diff --git a/interface-definitions/policy-route.xml.in b/interface-definitions/policy-route.xml.in index 48a5bf7d1..d7b159839 100644 --- a/interface-definitions/policy-route.xml.in +++ b/interface-definitions/policy-route.xml.in @@ -52,6 +52,7 @@ #include #include #include + #include @@ -106,6 +107,7 @@ #include #include #include + #include -- cgit v1.2.3