diff options
-rw-r--r-- | regress/sbin/pfctl/Makefile | 6 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf85.in | 3 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf85.ok | 6 |
3 files changed, 12 insertions, 3 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile index 0496ab24d5b..2108d362952 100644 --- a/regress/sbin/pfctl/Makefile +++ b/regress/sbin/pfctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.172 2004/01/26 04:20:48 deraadt Exp $ +# $OpenBSD: Makefile,v 1.173 2004/02/03 19:39:45 henning Exp $ # TARGETS # pf: feed pfNN.in through pfctl and check wether the output matches pfNN.ok @@ -13,7 +13,7 @@ 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 41 42 43 44 45 46 47 48 49 50 PFTESTS+=51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 -PFTESTS+=74 75 76 77 78 79 80 81 82 83 84 +PFTESTS+=74 75 76 77 78 79 80 81 82 83 84 85 PFFAIL=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 PFFAIL+=28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 PFSIMPLE=1 2 @@ -25,7 +25,7 @@ PFALTQ=1 2 3 4 5 6 7 8 9 10 11 12 13 14 # disabled; no altq in anchors # PFLOAD+=33 35 37 42 43 45 51 58 59 62 63 64 # only testing parser, load test would be useless -# PFLOAD+=6 22 41 50 52 53 55 57 83 +# PFLOAD+=6 22 41 50 52 53 55 57 83 85 PFTABLE=1 2 3 4 5 6 7 8 9 10 11 12 13 PFOPT=1 2 3 4 5 PFIF2IP=1 2 3 diff --git a/regress/sbin/pfctl/pf85.in b/regress/sbin/pfctl/pf85.in new file mode 100644 index 00000000000..43dd0e07765 --- /dev/null +++ b/regress/sbin/pfctl/pf85.in @@ -0,0 +1,3 @@ +# test tag macro expansion +pass from { 127.0.0.1 127.0.0.2 127.0.0.3 } keep state tag "$srcaddr" +pass from { 127.0.0.1 127.0.0.2 127.0.0.3 } keep state tagged "$srcaddr" diff --git a/regress/sbin/pfctl/pf85.ok b/regress/sbin/pfctl/pf85.ok new file mode 100644 index 00000000000..3f62f6bc321 --- /dev/null +++ b/regress/sbin/pfctl/pf85.ok @@ -0,0 +1,6 @@ +pass inet from 127.0.0.1 to any keep state tag 127.0.0.1 +pass inet from 127.0.0.2 to any keep state tag 127.0.0.2 +pass inet from 127.0.0.3 to any keep state tag 127.0.0.3 +pass inet from 127.0.0.1 to any keep state tagged 127.0.0.1 +pass inet from 127.0.0.2 to any keep state tagged 127.0.0.2 +pass inet from 127.0.0.3 to any keep state tagged 127.0.0.3 |