diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-02-19 23:33:12 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-02-19 23:33:12 +0000 |
commit | dca62f16903e5629bbec382c2f2ee9ed5a568d16 (patch) | |
tree | 4bac4dac0bcdd8cb9e6d9daeee1d8ec5ae1f1daa | |
parent | 5f6f1e7227e22f8f4d1dd724ca7ea89b2762af8d (diff) |
address family uniqueness with NAT
-rw-r--r-- | regress/sbin/pfctl/Makefile | 4 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfail20.in | 6 | ||||
-rw-r--r-- | regress/sbin/pfctl/pfail20.ok | 4 |
3 files changed, 12 insertions, 2 deletions
diff --git a/regress/sbin/pfctl/Makefile b/regress/sbin/pfctl/Makefile index 349989befdc..616b72f9267 100644 --- a/regress/sbin/pfctl/Makefile +++ b/regress/sbin/pfctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.84 2003/02/19 23:27:20 henning Exp $ +# $OpenBSD: Makefile,v 1.85 2003/02/19 23:33:11 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 -PFFAIL=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 +PFFAIL=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 PFSIMPLE=1 PFSETUP=1 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/pfail20.in b/regress/sbin/pfctl/pfail20.in new file mode 100644 index 00000000000..c4a2c5fb0b8 --- /dev/null +++ b/regress/sbin/pfctl/pfail20.in @@ -0,0 +1,6 @@ +# dynamic interface expansion has limitations; and NAT stuff must be af uniq + +rdr on lo0 from any to any -> (lo0) +nat on lo0 from (lo) to any -> (lo0) +rdr on lo0 inet6 from 10.0.0.1 -> (lo0) +
\ No newline at end of file diff --git a/regress/sbin/pfctl/pfail20.ok b/regress/sbin/pfctl/pfail20.ok new file mode 100644 index 00000000000..d5967f82969 --- /dev/null +++ b/regress/sbin/pfctl/pfail20.ok @@ -0,0 +1,4 @@ +stdin:3: address family not given and translation address expands to multiple address families +stdin:4: address family not given and translation address expands to multiple address families +stdin:5: rule expands to no valid combination +pfctl: Syntax error in file: pf rules not loaded |