summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pf7.in
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-12-05 16:55:41 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-12-05 16:55:41 +0000
commitfe7cac444b32dc6e0ed44848db8b342c9c76e77c (patch)
treec7ed4b93c4ff58043d38d63d02dba941a0eaab77 /regress/sbin/pfctl/pf7.in
parent62d05751e4964f63eea925974c38ec2bc7a05a97 (diff)
lo1, tun0, tun1 don't exist any more. thus, create the interfaces we need for
regress purposes before starting and destroy them afterwards. lo1 -> lo1000000 tun0 -> tun1000000 tun1 -> tun1000001 ok markus@
Diffstat (limited to 'regress/sbin/pfctl/pf7.in')
-rw-r--r--regress/sbin/pfctl/pf7.in42
1 files changed, 21 insertions, 21 deletions
diff --git a/regress/sbin/pfctl/pf7.in b/regress/sbin/pfctl/pf7.in
index 698a6f20ba4..1ce5b162236 100644
--- a/regress/sbin/pfctl/pf7.in
+++ b/regress/sbin/pfctl/pf7.in
@@ -1,32 +1,32 @@
# test modulate state
-block out log on tun0 all
-block in log on tun0 all
+block out log on tun1000000 all
+block in log on tun1000000 all
-block return-rst out log on tun0 proto tcp all
-block return-rst in log on tun0 proto tcp all
-block return-icmp out log on tun0 proto udp all
-block return-icmp in log on tun0 proto udp all
+block return-rst out log on tun1000000 proto tcp all
+block return-rst in log on tun1000000 proto tcp all
+block return-icmp out log on tun1000000 proto udp all
+block return-icmp in log on tun1000000 proto udp all
-block out log quick on tun0 from ! 157.161.48.183 to any
+block out log quick on tun1000000 from ! 157.161.48.183 to any
-block in quick on tun0 from any to 255.255.255.255
+block in quick on tun1000000 from any to 255.255.255.255
-block in log quick on tun0 from 10.0.0.0/8 to any
-block in log quick on tun0 from 172.16.0.0/12 to any
-block in log quick on tun0 from 192.168.0.0/16 to any
-block in log quick on tun0 from 255.255.255.255/32 to any
+block in log quick on tun1000000 from 10.0.0.0/8 to any
+block in log quick on tun1000000 from 172.16.0.0/12 to any
+block in log quick on tun1000000 from 192.168.0.0/16 to any
+block in log quick on tun1000000 from 255.255.255.255/32 to any
-pass out on tun0 inet proto icmp all icmp-type 8 code 0 keep state
-pass in on tun0 inet proto icmp all icmp-type 8 code 0 keep state
+pass out on tun1000000 inet proto icmp all icmp-type 8 code 0 keep state
+pass in on tun1000000 inet proto icmp all icmp-type 8 code 0 keep state
-pass out on tun0 proto udp all keep state
+pass out on tun1000000 proto udp all keep state
-pass in on tun0 proto udp from any to any port = domain keep state
+pass in on tun1000000 proto udp from any to any port = domain keep state
-pass out on tun0 proto tcp all modulate state
+pass out on tun1000000 proto tcp all modulate state
-pass in on tun0 proto tcp from any to any port = ssh modulate state
-pass in on tun0 proto tcp from any to any port = smtp modulate state
-pass in on tun0 proto tcp from any to any port = domain modulate state
-pass in on tun0 proto tcp from any to any port = auth modulate state
+pass in on tun1000000 proto tcp from any to any port = ssh modulate state
+pass in on tun1000000 proto tcp from any to any port = smtp modulate state
+pass in on tun1000000 proto tcp from any to any port = domain modulate state
+pass in on tun1000000 proto tcp from any to any port = auth modulate state