From 9a5dfb4b7ec9e065a73511a38e1713aec03eee0e Mon Sep 17 00:00:00 2001 From: Nicolas Fort Date: Fri, 28 Oct 2022 18:19:47 +0000 Subject: T4780: Firewall: add firewall groups in firewall. Extend matching criteria so this new group can be used in inbound and outbound matcher --- .../include/firewall/common-rule.xml.i | 26 +++++++++++----------- .../include/firewall/match-interface.xml.i | 18 +++++++++++++++ 2 files changed, 31 insertions(+), 13 deletions(-) create mode 100644 interface-definitions/include/firewall/match-interface.xml.i (limited to 'interface-definitions/include/firewall') diff --git a/interface-definitions/include/firewall/common-rule.xml.i b/interface-definitions/include/firewall/common-rule.xml.i index a4f66f5cb..297e6fc1a 100644 --- a/interface-definitions/include/firewall/common-rule.xml.i +++ b/interface-definitions/include/firewall/common-rule.xml.i @@ -26,14 +26,22 @@ - + Match inbound-interface - - - - + + #include + + + + + Match outbound-interface + + + #include + + Inbound IPsec packets @@ -130,14 +138,6 @@ - - - Match outbound-interface - - - - - Protocol to match (protocol name, number, or "all") diff --git a/interface-definitions/include/firewall/match-interface.xml.i b/interface-definitions/include/firewall/match-interface.xml.i new file mode 100644 index 000000000..675a87574 --- /dev/null +++ b/interface-definitions/include/firewall/match-interface.xml.i @@ -0,0 +1,18 @@ + + + + Match interface + + + + + + + + Match interface-group + + firewall group interface-group + + + + \ No newline at end of file -- cgit v1.2.3