diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-02-26 13:29:13 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-02-26 13:29:13 +0000 |
commit | c668b13ee4d7ea7ce8e83fda7786b2ae47522676 (patch) | |
tree | 83a8eca152108a1cb2c2d572173bddbcdc832d4c | |
parent | 075abaeaa2c6654626c2dd93f04ddcbfc8389ac3 (diff) |
binat-anchor: no fromto, no proto list expansion
-rw-r--r-- | regress/sbin/pfctl/Makefile | 3 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfail28.in | 4 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfail28.ok | 3 |
3 files changed, 9 insertions, 1 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile index b91a54fe8d7..badb1f815d3 100644 --- a/regress/sbin/pfctl/Makefile +++ b/regress/sbin/pfctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.98 2003/02/26 13:25:20 henning Exp $ +# $OpenBSD: Makefile,v 1.99 2003/02/26 13:29:12 henning Exp $ # TARGETS # pf: feed pfNN.in through pfctl and check wether the output matches pfNN.ok @@ -14,6 +14,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 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 PFSIMPLE=1 2 PFSETUP=1 2 3 PFLOAD=1 2 3 4 5 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 28 29 diff --git a/regress/sbin/pfctl/pfail28.in b/regress/sbin/pfctl/pfail28.in new file mode 100644 index 00000000000..ee384425563 --- /dev/null +++ b/regress/sbin/pfctl/pfail28.in @@ -0,0 +1,4 @@ +# binat-anchor limits + +binat-anchor foo proto { tcp udp } all +binat-anchor foo from 10/8 diff --git a/regress/sbin/pfctl/pfail28.ok b/regress/sbin/pfctl/pfail28.ok new file mode 100644 index 00000000000..56e7fad5b78 --- /dev/null +++ b/regress/sbin/pfctl/pfail28.ok @@ -0,0 +1,3 @@ +stdin:3: proto list expansion not supported in binat-anchor +stdin:4: fromto parameter not supported in binat-anchor +pfctl: Syntax error in file: pf rules not loaded |