From 3d47a6020c360bdd1ceaa003abf7d23056528146 Mon Sep 17 00:00:00 2001 From: Cedric Berger Date: Mon, 24 Feb 2003 10:51:38 +0000 Subject: More illegal table constructs. --- regress/sbin/pfctl/pfail19.in | 9 +++++++-- regress/sbin/pfctl/pfail19.ok | 6 ++++++ 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'regress/sbin/pfctl') diff --git a/regress/sbin/pfctl/pfail19.in b/regress/sbin/pfctl/pfail19.in index 79c6d0ca4e0..1d5ed147d6a 100644 --- a/regress/sbin/pfctl/pfail19.in +++ b/regress/sbin/pfctl/pfail19.in @@ -1,3 +1,8 @@ -# redirect to table not supported - +# invalid table constructs rdr on lo0 from any to any -> +nat on lo0 from any to any -> +binat on lo0 from 1.1.1.1 to any -> +binat on lo0 from to any -> 1.1.1.1 +pass in dup-to (lo0 ) all +pass in route-to (lo0 ) all +pass in reply-to (lo0 ) all diff --git a/regress/sbin/pfctl/pfail19.ok b/regress/sbin/pfctl/pfail19.ok index 9c95ad5f28d..03e3fc02e4b 100644 --- a/regress/sbin/pfctl/pfail19.ok +++ b/regress/sbin/pfctl/pfail19.ok @@ -1,2 +1,8 @@ +stdin:2: invalid use of table as the redirection address of a translation rule stdin:3: invalid use of table as the redirection address of a translation rule +stdin:4: invalid use of table as the redirect address of a binat rule +stdin:5: invalid use of table as the source address of a binat rule +stdin:6: invalid use of table in a route expression +stdin:7: invalid use of table in a route expression +stdin:8: invalid use of table in a route expression pfctl: Syntax error in file: pf rules not loaded -- cgit v1.2.3