summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sbin/pfctl')
-rw-r--r--regress/sbin/pfctl/pf1.loaded6
-rw-r--r--regress/sbin/pfctl/pf1.ok6
-rw-r--r--regress/sbin/pfctl/pf39.loaded12
-rw-r--r--regress/sbin/pfctl/pf39.ok12
4 files changed, 18 insertions, 18 deletions
diff --git a/regress/sbin/pfctl/pf1.loaded b/regress/sbin/pfctl/pf1.loaded
index 8b2c3953f85..c7a2d5ad468 100644
--- a/regress/sbin/pfctl/pf1.loaded
+++ b/regress/sbin/pfctl/pf1.loaded
@@ -6,7 +6,7 @@
[ Skip steps: i=end d=end f=4 sa=4 da=4 dp=3 ]
[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
-@2 pass in proto tcp from any port <= 1024 to any label foo_bar
+@2 pass in proto tcp from any port <= 1024 to any label "foo_bar"
[ Skip steps: i=end d=end f=4 p=5 sa=4 da=4 ]
[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
@@ -22,11 +22,11 @@
[ Skip steps: i=end d=end f=end sp=end dp=end ]
[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
-@6 pass in inet proto tcp from 1.2.3.4 to any label 6:tcp:1.2.3.4::any:
+@6 pass in inet proto tcp from 1.2.3.4 to any label "6:tcp:1.2.3.4::any:"
[ Skip steps: i=end d=end f=end p=end sp=end da=end dp=end ]
[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
-@7 pass in inet proto tcp from 1.2.3.5 to any label 7:tcp:1.2.3.5::any:
+@7 pass in inet proto tcp from 1.2.3.5 to any label "7:tcp:1.2.3.5::any:"
[ Skip steps: i=end d=end f=end p=end sa=end sp=end da=end dp=end ]
[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
diff --git a/regress/sbin/pfctl/pf1.ok b/regress/sbin/pfctl/pf1.ok
index f63c32af656..b5d53258a52 100644
--- a/regress/sbin/pfctl/pf1.ok
+++ b/regress/sbin/pfctl/pf1.ok
@@ -1,8 +1,8 @@
pass in all
pass in all
-pass in proto tcp from any port <= 1024 to any label foo_bar
+pass in proto tcp from any port <= 1024 to any label "foo_bar"
pass in proto tcp from any to any port = smtp
pass in inet proto tcp from 10.0.0.0/8 port > 1024 to ! 10.1.2.3 port != ssh
pass in inet proto igmp from 10.0.0.0/8 to 10.1.1.1 allow-opts
-pass in inet proto tcp from 1.2.3.4 to any label 6:tcp:1.2.3.4::any:
-pass in inet proto tcp from 1.2.3.5 to any label 7:tcp:1.2.3.5::any:
+pass in inet proto tcp from 1.2.3.4 to any label "6:tcp:1.2.3.4::any:"
+pass in inet proto tcp from 1.2.3.5 to any label "7:tcp:1.2.3.5::any:"
diff --git a/regress/sbin/pfctl/pf39.loaded b/regress/sbin/pfctl/pf39.loaded
index 7522b8a56a2..0dce12e70bb 100644
--- a/regress/sbin/pfctl/pf39.loaded
+++ b/regress/sbin/pfctl/pf39.loaded
@@ -1,20 +1,20 @@
-@0 pass in log quick on lo0 inet proto tcp all tos 0x08 keep state fragment label blah
+@0 pass in log quick on lo0 inet proto tcp all tos 0x08 keep state fragment label "blah"
[ Skip steps: i=end d=end f=end sa=end sp=end da=end dp=end ]
[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
-@1 pass in log quick on lo0 inet proto icmp all user = 3 group = 32767 icmp-type echorep code 0 tos 0x08 keep state allow-opts label blah queue blah
+@1 pass in log quick on lo0 inet proto icmp all user = 3 group = 32767 icmp-type echorep code 0 tos 0x08 keep state allow-opts label "blah" queue blah
[ Skip steps: i=end d=end f=end p=5 sa=end sp=end da=end dp=end ]
[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
-@2 pass in log quick on lo0 inet proto icmp all user = 3 group = 0 icmp-type echorep code 0 tos 0x08 keep state allow-opts label blah queue blah
+@2 pass in log quick on lo0 inet proto icmp all user = 3 group = 0 icmp-type echorep code 0 tos 0x08 keep state allow-opts label "blah" queue blah
[ Skip steps: i=end d=end f=end p=5 sa=end sp=end da=end dp=end ]
[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
-@3 pass in log quick on lo0 inet proto icmp all user = 0 group = 32767 icmp-type echorep code 0 tos 0x08 keep state allow-opts label blah queue blah
+@3 pass in log quick on lo0 inet proto icmp all user = 0 group = 32767 icmp-type echorep code 0 tos 0x08 keep state allow-opts label "blah" queue blah
[ Skip steps: i=end d=end f=end p=5 sa=end sp=end da=end dp=end ]
[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
-@4 pass in log quick on lo0 inet proto icmp all user = 0 group = 0 icmp-type echorep code 0 tos 0x08 keep state allow-opts label blah queue blah
+@4 pass in log quick on lo0 inet proto icmp all user = 0 group = 0 icmp-type echorep code 0 tos 0x08 keep state allow-opts label "blah" queue blah
[ Skip steps: i=end d=end f=end sa=end sp=end da=end dp=end ]
[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
@@ -22,7 +22,7 @@
[ Skip steps: i=end d=end f=end p=7 sa=end sp=end da=end dp=end ]
[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
-@6 pass in log quick on lo0 inet proto tcp all tos 0x08 keep state label blah queue blah
+@6 pass in log quick on lo0 inet proto tcp all tos 0x08 keep state label "blah" queue blah
[ Skip steps: i=end d=end f=end sa=end sp=end da=end dp=end ]
[ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
diff --git a/regress/sbin/pfctl/pf39.ok b/regress/sbin/pfctl/pf39.ok
index f3826a28812..1ea04191dc7 100644
--- a/regress/sbin/pfctl/pf39.ok
+++ b/regress/sbin/pfctl/pf39.ok
@@ -12,12 +12,12 @@ o_fragment = "fragment "
o_allowopts = "allow-opts "
o_label = "label blah"
o_qname = "queue blah"
-pass in log quick on lo0 inet proto tcp all tos 0x08 keep state fragment label blah
-pass in log quick on lo0 inet proto icmp all user = 3 group = 32767 icmp-type echorep code 0 tos 0x08 keep state allow-opts label blah queue blah
-pass in log quick on lo0 inet proto icmp all user = 3 group = 0 icmp-type echorep code 0 tos 0x08 keep state allow-opts label blah queue blah
-pass in log quick on lo0 inet proto icmp all user = 0 group = 32767 icmp-type echorep code 0 tos 0x08 keep state allow-opts label blah queue blah
-pass in log quick on lo0 inet proto icmp all user = 0 group = 0 icmp-type echorep code 0 tos 0x08 keep state allow-opts label blah queue blah
+pass in log quick on lo0 inet proto tcp all tos 0x08 keep state fragment label "blah"
+pass in log quick on lo0 inet proto icmp all user = 3 group = 32767 icmp-type echorep code 0 tos 0x08 keep state allow-opts label "blah" queue blah
+pass in log quick on lo0 inet proto icmp all user = 3 group = 0 icmp-type echorep code 0 tos 0x08 keep state allow-opts label "blah" queue blah
+pass in log quick on lo0 inet proto icmp all user = 0 group = 32767 icmp-type echorep code 0 tos 0x08 keep state allow-opts label "blah" queue blah
+pass in log quick on lo0 inet proto icmp all user = 0 group = 0 icmp-type echorep code 0 tos 0x08 keep state allow-opts label "blah" queue blah
pass in log quick on lo0 inet proto tcp all keep state
-pass in log quick on lo0 inet proto tcp all tos 0x08 keep state label blah queue blah
+pass in log quick on lo0 inet proto tcp all tos 0x08 keep state label "blah" queue blah
pass in log quick on lo0 inet proto icmp all icmp-type echorep code 0 tos 0x08
pass in log quick on lo0 inet proto tcp all flags S/SA allow-opts