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

10 lines
373 B
Plaintext

log in all
count in tos 0x80 from any to any
pass in on ed0 tos 64 from localhost to localhost
block in log on lo0 ttl 0 from any to any
pass in quick ttl 1 from any to any
skip 3 out from 127.0.0.1 to any
auth out on foo0 proto tcp from any to any port = 80
preauth out on foo0 proto tcp from any to any port = 22
nomatch out on foo0 proto tcp from any port < 1024 to any