NetBSD/tests/ipf/expected/i12
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

40 lines
1.8 KiB
Plaintext

pass in from 1.1.1.1/32 to 2.2.2.2/32
pass in from 2.2.2.0/24 to 4.4.4.4/32
pass in from 3.3.3.3/32 to 4.4.4.4/32
pass in from 2.2.2.0/24 to 5.5.5.5/32
pass in from 3.3.3.3/32 to 5.5.5.5/32
pass in from 2.2.2.0/24 to 6.6.6.6/32
pass in from 3.3.3.3/32 to 6.6.6.6/32
pass in from 2.2.2.0/24 to 5.5.5.5/32 port = 22
pass in from 3.3.3.3/32 to 5.5.5.5/32 port = 22
pass in from 2.2.2.0/24 to 6.6.6.6/32 port = 22
pass in from 3.3.3.3/32 to 6.6.6.6/32 port = 22
pass in from 2.2.2.0/24 to 5.5.5.5/32 port = 25
pass in from 3.3.3.3/32 to 5.5.5.5/32 port = 25
pass in from 2.2.2.0/24 to 6.6.6.6/32 port = 25
pass in from 3.3.3.3/32 to 6.6.6.6/32 port = 25
pass in proto tcp from 2.2.2.0/24 port = 53 to 5.5.5.5/32
pass in proto tcp from 3.3.3.3/32 port = 53 to 5.5.5.5/32
pass in proto tcp from 2.2.2.0/24 port = 9 to 5.5.5.5/32
pass in proto tcp from 3.3.3.3/32 port = 9 to 5.5.5.5/32
pass in proto tcp from 2.2.2.0/24 port = 53 to 6.6.6.6/32
pass in proto tcp from 3.3.3.3/32 port = 53 to 6.6.6.6/32
pass in proto tcp from 2.2.2.0/24 port = 9 to 6.6.6.6/32
pass in proto tcp from 3.3.3.3/32 port = 9 to 6.6.6.6/32
pass in proto udp from 2.2.2.0/24 to 5.5.5.5/32 port = 53
pass in proto udp from 3.3.3.3/32 to 5.5.5.5/32 port = 53
pass in proto udp from 2.2.2.0/24 to 6.6.6.6/32 port = 53
pass in proto udp from 3.3.3.3/32 to 6.6.6.6/32 port = 53
pass in proto udp from 2.2.2.0/24 to 5.5.5.5/32 port = 9
pass in proto udp from 3.3.3.3/32 to 5.5.5.5/32 port = 9
pass in proto udp from 2.2.2.0/24 to 6.6.6.6/32 port = 9
pass in proto udp from 3.3.3.3/32 to 6.6.6.6/32 port = 9
pass in from 10.10.10.10/32 to 11.11.11.11/32
pass in from pool/101(!) to hash/202(!)
pass in from hash/303(!) to pool/404(!)
table role = ipf type = tree name =
{ ! 1.1.1.1/32; 2.2.2.2/32; ! 2.2.0.0/16; };
table role = ipf type = tree name =
{ 1.1.0.0/16; };
pass in from pool/0(!) to pool/0(!)