diff options
-rw-r--r-- | regress/sbin/pfctl/pf1.in | 2 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf1.ok | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf1.in b/regress/sbin/pfctl/pf1.in index 07235eb0fdf..626bd582f3d 100644 --- a/regress/sbin/pfctl/pf1.in +++ b/regress/sbin/pfctl/pf1.in @@ -4,3 +4,5 @@ pass in proto tcp from any port <= 1024 to any label foo_bar pass in proto tcp from any to any port = 25 pass in proto tcp from 10.0.0.0/8 port > 1024 to ! 10.1.2.3 port != 22 pass in proto igmp from 10.0.0.0/8 to 10.1.1.1 allow-opts +pass in proto tcp from { 1.2.3.4, 1.2.3.5 } to any label \ +"$nr:$proto:$srcaddr:$srcport:$dstaddr:$dstport" diff --git a/regress/sbin/pfctl/pf1.ok b/regress/sbin/pfctl/pf1.ok index 17ee5b6895f..f02e5704060 100644 --- a/regress/sbin/pfctl/pf1.ok +++ b/regress/sbin/pfctl/pf1.ok @@ -4,3 +4,5 @@ @3 pass in proto tcp from any to any port = smtp @4 pass in inet proto tcp from 10.0.0.0/8 port > 1024 to ! 10.1.2.3 port != ssh @5 pass in inet proto igmp from 10.0.0.0/8 to 10.1.1.1 allow-opts +@6 pass in inet proto tcp from 1.2.3.5 to any label 6:tcp:1.2.3.5::any: +@7 pass in inet proto tcp from 1.2.3.4 to any label 7:tcp:1.2.3.4::any: |