diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2002-12-07 23:25:31 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2002-12-07 23:25:31 +0000 |
commit | 797998eaf140e9dfa2f6a57d44c7876babf2a2fa (patch) | |
tree | c199e728420ff3d1082f24104043bdd88922bb79 /regress/sbin/pfctl | |
parent | bc554f6991df7eb6b76a8406651114bbb8dea8c0 (diff) |
regress test anchor syntax
Diffstat (limited to 'regress/sbin/pfctl')
-rw-r--r-- | regress/sbin/pfctl/Makefile | 4 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf41.in | 9 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf41.ok | 9 |
3 files changed, 20 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile index 6231e2f07f4..8369c0add7e 100644 --- a/regress/sbin/pfctl/Makefile +++ b/regress/sbin/pfctl/Makefile @@ -1,7 +1,7 @@ -# $OpenBSD: Makefile,v 1.52 2002/12/06 14:29:55 dhartmei Exp $ +# $OpenBSD: Makefile,v 1.53 2002/12/07 23:25:30 dhartmei Exp $ PFTESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 -PFTESTS+=28 29 30 31 32 33 34 35 36 37 38 39 40 +PFTESTS+=28 29 30 31 32 33 34 35 36 37 38 39 40 41 PFFAIL=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 PFSIMPLE=1 2 PFSETUP=1 diff --git a/regress/sbin/pfctl/pf41.in b/regress/sbin/pfctl/pf41.in new file mode 100644 index 00000000000..de5dc1e2ff2 --- /dev/null +++ b/regress/sbin/pfctl/pf41.in @@ -0,0 +1,9 @@ +anchor foo +anchor bar all +anchor bar from any to any +anchor foo inet +anchor foo inet6 +anchor foo inet all +anchor foo proto tcp +anchor foo inet proto tcp from 10.1.2.3 port smtp to 10.2.3.4 port ssh +anchor foobar inet6 proto udp from ::1 port 1 to ::1 port 2 diff --git a/regress/sbin/pfctl/pf41.ok b/regress/sbin/pfctl/pf41.ok new file mode 100644 index 00000000000..5377a19c253 --- /dev/null +++ b/regress/sbin/pfctl/pf41.ok @@ -0,0 +1,9 @@ +anchor foo all +anchor bar all +anchor bar all +anchor foo inet all +anchor foo inet6 all +anchor foo inet all +anchor foo proto tcp all +anchor foo inet proto tcp from 10.1.2.3 port = smtp to 10.2.3.4 port = ssh +anchor foobar inet6 proto udp from ::1 port = 1 to ::1 port = 2 |