NetBSD/tests/ipf/regress/f15
jmmv b9daf172a0 Add the ipf tests developed by Lukasz Strzygowski as part of the atfify
GSoC 2008 project.  These were originally inside the kernel subdirectory
but I think they belong in their own top-level directory because ipf
consists of more components than just the kernel-level packet filter.
2009-02-20 21:42:59 +00:00

9 lines
530 B
Plaintext

block in log quick on hme0 from any to 195.134.65.0/25 head 10
block return-rst in log quick proto tcp all flags S head 100 group 10
pass in quick proto tcp from any to any port = 22 keep state group 100
pass in quick proto tcp from any to any port = 23 keep state group 100
pass in quick proto tcp from any to any port = 21 keep state group 100
block return-icmp in quick proto udp all keep state head 110 group 10
pass in quick proto udp from any to any port = 53 keep state group 110
block in log quick on hme0 from any to any