NetBSD/tests/ipf/regress/f16
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

11 lines
330 B
Plaintext

pass in all
skip 2 in proto tcp all
block in quick proto tcp all
skip 4 in proto udp all
block in quick proto udp all
pass in quick proto tcp from any to 1.1.1.1
pass in quick proto tcp from any to 1.1.1.2 port = 22
block in quick proto udp from any to any port = 53
pass in quick proto udp from any to any port = 53
block in all