From 051e063fdf2e459a0716a35778b33ea6bb2fdcb6 Mon Sep 17 00:00:00 2001
From: sarthurdev <965089+sarthurdev@users.noreply.github.com>
Date: Mon, 31 Oct 2022 14:26:51 +0100
Subject: firewall: T970: Refactor domain resolver, add firewall
source/destination `fqdn` node
---
interface-definitions/firewall.xml.in | 25 +++++++++++++++++++++-
interface-definitions/include/firewall/fqdn.xml.i | 14 ++++++++++++
.../firewall/source-destination-group-ipv6.xml.i | 8 +++++++
3 files changed, 46 insertions(+), 1 deletion(-)
create mode 100644 interface-definitions/include/firewall/fqdn.xml.i
(limited to 'interface-definitions')
diff --git a/interface-definitions/firewall.xml.in b/interface-definitions/firewall.xml.in
index 673461036..2d8f17351 100644
--- a/interface-definitions/firewall.xml.in
+++ b/interface-definitions/firewall.xml.in
@@ -126,7 +126,7 @@
Domain address to match
- [a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,99}?(\/.*)?
+
@@ -408,6 +408,7 @@
#include
+ #include
#include
#include
#include
@@ -419,6 +420,7 @@
#include
+ #include
#include
#include
#include
@@ -572,6 +574,7 @@
#include
+ #include
#include
#include
#include
@@ -583,6 +586,7 @@
#include
+ #include
#include
#include
#include
@@ -656,6 +660,25 @@
disable
+
+
+ Retains last successful value if domain resolution fails
+
+
+
+
+
+ Domain resolver update interval
+
+ u32:10-3600
+ Interval (seconds)
+
+
+
+
+
+ 300
+
Policy for sending IPv4 ICMP redirect messages
diff --git a/interface-definitions/include/firewall/fqdn.xml.i b/interface-definitions/include/firewall/fqdn.xml.i
new file mode 100644
index 000000000..9eb3925b5
--- /dev/null
+++ b/interface-definitions/include/firewall/fqdn.xml.i
@@ -0,0 +1,14 @@
+
+
+
+ Fully qualified domain name
+
+ <fqdn>
+ Fully qualified domain name
+
+
+
+
+
+
+
diff --git a/interface-definitions/include/firewall/source-destination-group-ipv6.xml.i b/interface-definitions/include/firewall/source-destination-group-ipv6.xml.i
index c2cc7edb3..2a42d236c 100644
--- a/interface-definitions/include/firewall/source-destination-group-ipv6.xml.i
+++ b/interface-definitions/include/firewall/source-destination-group-ipv6.xml.i
@@ -12,6 +12,14 @@
+
+
+ Group of domains
+
+ firewall group domain-group
+
+
+
#include
--
cgit v1.2.3