pfctl tests: Ethernet rule parsing tests
A few basic test cases for Ethernet rule parsing. Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
c32cd18055
commit
e5349a2909
1
sbin/pfctl/tests/files/pf1007.in
Normal file
1
sbin/pfctl/tests/files/pf1007.in
Normal file
@ -0,0 +1 @@
|
||||
ether block out on igb0 to ! 00:01:02:03:04:05
|
1
sbin/pfctl/tests/files/pf1007.ok
Normal file
1
sbin/pfctl/tests/files/pf1007.ok
Normal file
@ -0,0 +1 @@
|
||||
ether block out on igb0 to ! 00:01:02:03:04:05
|
1
sbin/pfctl/tests/files/pf1008.in
Normal file
1
sbin/pfctl/tests/files/pf1008.in
Normal file
@ -0,0 +1 @@
|
||||
ether block out on igb0 to 00:01:02:03:04:05/24
|
1
sbin/pfctl/tests/files/pf1008.ok
Normal file
1
sbin/pfctl/tests/files/pf1008.ok
Normal file
@ -0,0 +1 @@
|
||||
ether block out on igb0 to 00:01:02:03:04:05/24
|
1
sbin/pfctl/tests/files/pf1009.in
Normal file
1
sbin/pfctl/tests/files/pf1009.in
Normal file
@ -0,0 +1 @@
|
||||
ether block out on igb0 to 00:01:02:03:04:05&ff:ff:ff:00:00:ff
|
1
sbin/pfctl/tests/files/pf1009.ok
Normal file
1
sbin/pfctl/tests/files/pf1009.ok
Normal file
@ -0,0 +1 @@
|
||||
ether block out on igb0 to 00:01:02:03:04:05&ff:ff:ff:00:00:ff
|
@ -117,3 +117,6 @@ PFCTL_TEST(1003, "ALTQ")
|
||||
PFCTL_TEST(1004, "ALTQ with Codel")
|
||||
PFCTL_TEST(1005, "PR 231323")
|
||||
PFCTL_TEST(1006, "pfctl crashes with certain fairq configurations")
|
||||
PFCTL_TEST(1007, "Basic ethernet rule")
|
||||
PFCTL_TEST(1008, "Ethernet rule with mask length")
|
||||
PFCTL_TEST(1009, "Ethernet rule with mask")
|
||||
|
Loading…
Reference in New Issue
Block a user