diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2001-07-26 14:33:46 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2001-07-26 14:33:46 +0000 |
commit | 1887cc9dc6d127e58763111e1d5bdcf121f35d3e (patch) | |
tree | 0cd2404b97c5a1579b7069d7ad6aac3115d8038d /regress/sbin/pfctl/pf2.in | |
parent | 36538c059e1d086b4a498e3ecb93314034bf1adb (diff) |
initial tests for the pfctl parser
Diffstat (limited to 'regress/sbin/pfctl/pf2.in')
-rw-r--r-- | regress/sbin/pfctl/pf2.in | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf2.in b/regress/sbin/pfctl/pf2.in new file mode 100644 index 00000000000..dda840a4ca0 --- /dev/null +++ b/regress/sbin/pfctl/pf2.in @@ -0,0 +1,32 @@ +# test + +block out log on kue0 all +block in log on kue0 all + +block return-rst out log on kue0 proto tcp all +block return-rst in log on kue0 proto tcp all +block return-icmp out log on kue0 proto udp all +block return-icmp in log on kue0 proto udp all + +block out log quick on kue0 from ! 157.161.48.183 to any + +block in quick on kue0 from any to 255.255.255.255 + +block in log quick on kue0 from 10.0.0.0/8 to any +block in log quick on kue0 from 172.16.0.0/12 to any +block in log quick on kue0 from 192.168.0.0/16 to any +block in log quick on kue0 from 255.255.255.255/32 to any + +pass out on kue0 proto icmp all icmp-type 8 code 0 keep state +pass in on kue0 proto icmp all icmp-type 8 code 0 keep state + +pass out on kue0 proto udp all keep state + +pass in on kue0 proto udp from any to any port = domain keep state + +pass out on kue0 proto tcp all keep state + +pass in on kue0 proto tcp from any to any port = ssh keep state +pass in on kue0 proto tcp from any to any port = smtp keep state +pass in on kue0 proto tcp from any to any port = domain keep state +pass in on kue0 proto tcp from any to any port = auth keep state |