43 lines
1.5 KiB
Diff
43 lines
1.5 KiB
Diff
From 8058fda3072600ce65851b43cd3422fe0acdecb4 Mon Sep 17 00:00:00 2001
|
|
From: Eric Garver <eric@garver.life>
|
|
Date: Mon, 8 Jun 2020 14:11:27 -0400
|
|
Subject: [PATCH 30/45] test(rich): source mac with nftables backend
|
|
|
|
With the nftables backend firewalld fails to add a rule that matches the
|
|
source mac address.
|
|
|
|
(cherry picked from commit ef555fa1538b8df414fecaf400653fb0a95322db)
|
|
(cherry picked from commit a1fe0b082aec4ea5f175854412cd7ab4eef4e294)
|
|
---
|
|
src/tests/regression/regression.at | 1 +
|
|
src/tests/regression/rhbz1843398.at | 8 ++++++++
|
|
2 files changed, 9 insertions(+)
|
|
create mode 100644 src/tests/regression/rhbz1843398.at
|
|
|
|
diff --git a/src/tests/regression/regression.at b/src/tests/regression/regression.at
|
|
index c3a5706c6406..984d299bfd4e 100644
|
|
--- a/src/tests/regression/regression.at
|
|
+++ b/src/tests/regression/regression.at
|
|
@@ -29,3 +29,4 @@ m4_include([regression/rhbz1779835.at])
|
|
m4_include([regression/gh330.at])
|
|
m4_include([regression/gh599.at])
|
|
m4_include([regression/rhbz1829104.at])
|
|
+m4_include([regression/rhbz1843398.at])
|
|
diff --git a/src/tests/regression/rhbz1843398.at b/src/tests/regression/rhbz1843398.at
|
|
new file mode 100644
|
|
index 000000000000..4606e8497223
|
|
--- /dev/null
|
|
+++ b/src/tests/regression/rhbz1843398.at
|
|
@@ -0,0 +1,8 @@
|
|
+FWD_START_TEST([rich rule source mac])
|
|
+AT_KEYWORDS(rich rhbz1843398 gh643)
|
|
+
|
|
+FWD_CHECK([--permanent --add-rich-rule='rule source mac="11:22:33:44:55:66" reject'], 0, [ignore])
|
|
+FWD_CHECK([ --add-rich-rule='rule source mac="11:22:33:44:55:66" reject'], 0, [ignore])
|
|
+FWD_RELOAD
|
|
+
|
|
+FWD_END_TEST
|
|
--
|
|
2.27.0
|
|
|