[ipfilter-cvs] ipfilter/test/regress in100_6, v5-1-RELEASE in101_6, v5-1-RELEASE in102_6, v5-1-RELE
Brought to you by:
darren_r
Update of /cvsroot/ipfilter/ipfilter/test/regress In directory vz-cvs-4.sog:/tmp/cvs-serv24069/regress Added Files: Tag: v5-1-RELEASE in100_6 in101_6 in102_6 in1_6 in2_6 in3_6 in4_6 in5_6 in6_6 in8_6 Log Message: 3561650 no testing of ipv6 nat parsing --- NEW FILE: in102_6 --- rewrite in on bge0 inet6 proto tcp from any to any -> src 0/0 dst dstlist/a; rewrite in on bge0 inet6 proto tcp from 1:1:1::1 to any -> src 0/0 dst dstlist/bee; rewrite in on bge0 inet6 proto tcp from 1:1:1::1 to 2:2::2:2 -> src 0/0 dst dstlist/cat; rewrite in on bge0 inet6 proto tcp from pool/a to 2:2::2:2 -> src 0/0 dst dstlist/bat; rewrite in on bge0 inet6 proto tcp from pool/a to pool/1 -> src 0/0 dst dstlist/ant; --- NEW FILE: in3_6 --- bimap le0 inet6 0/0 -> 0/128 bimap le0 inet6 1/128 -> 1/128 bimap le0 inet6 128::/1 -> 0/0 bimap le0 inet6 10::/16 -> 1:2:3::0/96 bimap le0 inet6 10:0:5::6/96 -> 1:2:3::4/96 --- NEW FILE: in4_6 --- map-block le0 inet6 10::/96 -> 203:1:1::/96 map-block le0 inet6 10::/96 -> 203:1:1::/96 ports 0 map-block le0 inet6 10::/96 -> 203:1:1::/96 ports 256 map-block le0 inet6 10::/96 -> 203:1:1::/96 ports auto map-block le0 inet6 10::/16 -> 203:1:1::/96 ports auto --- NEW FILE: in1_6 --- map le0 inet6 0/0 -> 0/128 map le0 inet6 1/128 -> 1/128 map le0 inet6 128::/1 -> 0/0 map le0 inet6 10::0/16 -> 1:2:3::0/96 map le0 inet6 10::5/16 -> 1:2:3::4/96 map le0 inet6 192:168::/32 -> range 203:1:1::23-203:1:3::45 map ppp0 inet6 192:168::/32 -> 0/128 portmap tcp 10000:19999 map ppp0 inet6 192:168::/32 -> 0/128 portmap udp 20000:29999 map ppp0 inet6 192:168::/32 -> 0/128 portmap tcp/udp 30000:39999 map ppp0 inet6 192:168::/32 -> 0/128 portmap tcp auto map ppp0 inet6 192:168::/32 -> 0/128 portmap udp auto map ppp0 inet6 192:168::/32 -> 0/128 portmap tcpudp auto map ppp0 inet6 192:168::/32 -> 0/128 proxy port ftp ftp/6 map ppp0 inet6 192:168::/32 -> 0/128 proxy port 1010 ftp/tcp map le0 inet6 0/0 -> 0/128 frag map le0 inet6 192:168::/32 -> range 203:1:1::23-203:1:3::45 frag map ppp0 inet6 192:168::/32 -> 0/128 portmap tcp 10000:19999 frag map ppp0 inet6 192:168::/32 -> 0/128 proxy port ftp ftp/tcp frag map le0 inet6 0/0 -> 0/128 age 10 map le0 inet6 192:168::/32 -> range 203:1:1::23-203:1:3::45 age 10/20 map ppp0 inet6 192:168::/32 -> 0/128 portmap tcp 10000:19999 age 30 map le0 inet6 0/0 -> 0/128 frag age 10 map le0 inet6 192:168::/32 -> range 203:1:1::23-203:1:3::45 frag age 10/20 map ppp0 inet6 192:168::/32 -> 0/128 portmap tcp 10000:19999 frag age 30 map fxp0 inet6 from 192:168::/18 to 0/0 port = 21 -> 1:2:3::4/128 proxy port 21 ftp/tcp map thisisalonginte inet6 0/0 -> 0/128 mssclamp 1452 tag freddyliveshere map bar0 inet6 0/0 -> 0/128 icmpidmap ipv6-icmp 1000:2000 map ppp0,adsl0 inet6 0/0 -> 0/128 map ppp0 inet6 from 192:168::/32 to any port = 123 -> 0/128 age 30/1 udp --- NEW FILE: in8_6 --- map zx0 inet6 10:1::1:1/128 -> 10:2:2::2/128 purge map zx0 inet6 10:1::1:1/128 -> 10:2:2::2/128 tcp purge map zx0 inet6 10:1::1:1/128 -> 10:2:2::2/128 mssclamp 1000 purge map zx0 inet6 10:1::1:1/128 -> 10:2:2::2/128 portmap tcp/udp 10000:11000 purge map zx0 inet6 10:1::1:1/128 -> 10:2:2::2/128 portmap tcp/udp 10000:11000 sequential purge map zx0 inet6 10:1::1:1/128 -> 10:2:2::2/128 portmap tcp/udp 10000:11000 sequential purge --- NEW FILE: in5_6 --- map le0 inet6 from 9:8:7::6/128 port > 1024 to any -> 1.1.1.1 portmap 10000:20000 tcp map le0 inet6 from 9:8:7::6/128 port > 1024 to ! 1.2.3.4 -> 1.1.1.1 portmap 10000:20000 tcp rdr le0 inet6 from any to 9:8:7::6/128 port = 0 -> 1.1.1.1 port 0 tcp rdr le0 inet6 from any to 9:8:7::6/128 port = 0 -> 1.1.1.1 port 0 ip rdr le0 inet6 ! from 1.2.3.4 to 9:8:7::6 port = 8888 -> 1.1.1.1 port 888 tcp rdr le0 inet6 from any to 9:8:7::6/255.255.255.255 port = 8888 -> 1.1.1.1 port 888 ip rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1.1.1.1 port 888 tcp rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1.1.1.1 port 888 udp rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1.1.1.1 port 888 tcp/udp rdr le0 inet6 from any to 9:8:7::6/128 -> 1.1.1.1 port 888 icmp rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1.1.1.1,1.1.1.2 port 888 tcp rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1.1.1.1 port 888 tcp round-robin rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1.1.1.1,1.1.1.2 port 888 tcp round-robin rdr le0 inet6 from any to 9:8:7::6/128 -> 1.1.1.1 port 0 ip frag rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1.1.1.1 port 888 icmp frag rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1.1.1.1,1.1.1.2 port 888 tcp frag rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1.1.1.1 port 888 tcp round-robin frag rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1.1.1.1,1.1.1.2 port 888 tcp round-robin frag rdr le0 inet6 from any to 9:8:7::6/128 -> 1.1.1.1 port 0 ip frag age 10 rdr le0 inet6 from any to 9:8:7::6/128 port = 0 -> 1.1.1.1 port 0 ip frag age 10/20 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1.1.1.1 port 888 icmp frag age 10 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1.1.1.1,1.1.1.2 port 888 tcp frag age 20 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1.1.1.1 port 888 tcp round-robin frag age 30 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1.1.1.1,1.1.1.2 port 888 tcp round-robin frag age 40 --- NEW FILE: in101_6 --- rewrite in on bge0 proto icmp from 1:1:1::1 to 2:2::2:2 -> src 3:3:3::3 dst 4::4:4:4; rewrite in on bge0 proto udp from 1:1:1::1 to 2:2::2:2 -> src 3:3:3::3 dst 4::4:4:4; rewrite out on bge0 proto tcp from 1:1:1::1/128 to 2:2::2:2 -> src 3:3:3::0/24 dst 4::4:4:4; rewrite in on bge0 proto tcp/udp from 1:1:1::1/128 to 2:2::2:2/32 -> src 3:3:3::0/24,20202 dst 4::4:4:4/24,10101; --- NEW FILE: in2_6 --- rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 tcp rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 255 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 tcp rdr le0 inet6 9:8:7::6/128 -> 1:1:1::1 ip rdr le0 inet6 9:8:7::6/32 -> 1:1:1::1 ip rdr le0 inet6 9:8:7::6/64 -> 1:1:1::1 ip rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 tcp rdr le0 inet6 9:8:7::6/128 port 80 -> 0/0 port 80 tcp rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 udp rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 tcp/udp rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 icmp rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 tcp round-robin rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp round-robin rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 ip frag rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 icmp frag rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcpudp frag rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 tcp round-robin frag rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp round-robin frag rdr le0 inet6 9:8:7::6/128 -> 1:1:1::1 ip frag age 10 rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 ip frag age 10/20 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 icmp frag age 10 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp frag age 20 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 tcp round-robin frag age 30 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp round-robin frag age 40 rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 ip sticky rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 ip frag sticky rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 icmp frag sticky rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp frag sticky rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 tcp round-robin frag sticky rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp round-robin frag sticky rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 ip frag age 10 sticky rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 ip frag age 10/20 sticky rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 icmp frag age 10 sticky rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp frag age 20 sticky rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 tcp round-robin frag age 30 sticky rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp round-robin frag age 40 sticky rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 ip mssclamp 1000 rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 ip sticky mssclamp 1000 rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 ip frag sticky mssclamp 1000 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 icmp frag sticky mssclamp 1000 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp frag sticky mssclamp 1000 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 tcp round-robin frag sticky mssclamp 1000 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp round-robin frag sticky mssclamp 1000 rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 ip frag age 10 sticky mssclamp 1000 rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 ip frag age 10/20 sticky mssclamp 1000 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 icmp frag age 10 sticky mssclamp 1000 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp frag age 20 sticky mssclamp 1000 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 tcp round-robin frag age 30 sticky mssclamp 1000 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp round-robin frag age 40 sticky mssclamp 1000 rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 ip tag nattagcacheline rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 ip mssclamp 1000 tag nattagcacheline rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 ip sticky mssclamp 1000 tag nattagcacheline rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 ip frag sticky mssclamp 1000 tag nattagcacheline rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 icmp frag sticky mssclamp 1000 tag nattagcacheline rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp frag sticky mssclamp 1000 tag nattagcacheline rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 tcp round-robin frag sticky mssclamp 1000 tag nattagcacheline rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp round-robin frag sticky mssclamp 1000 tag nattagcacheline rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 ip frag age 10 sticky mssclamp 1000 tag nattagcacheline rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 ip frag age 10/20 sticky mssclamp 1000 tag nattagcacheline rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 icmp frag age 10 sticky mssclamp 1000 tag nattagcacheline rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp frag age 20 sticky mssclamp 1000 tag nattagcacheline rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 tcp round-robin frag age 30 sticky mssclamp 1000 tag nattagcacheline rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp round-robin frag age 40 sticky mssclamp 1000 tag nattagcacheline rdr ge0 9:8:7::6/128 -> 1:1:1::1 proxy port 21 ftp/tcp rdr ge0 9:8:7::6/128 port 21 -> 1:1:1::1 port 21 tcp proxy ftp rdr le0 inet6 9:8:7::6/128 port 1000-2000 -> 1:1:1::1 port 5555 tcp rdr le0 inet6 9:8:7::6/128 port 1000-2000 -> 1:1:1::1 port = 5555 tcp rdr le0 inet6 0/0 -> test.host.dots rdr le0 inet6 any -> test.host.dots,test.host.dots rdr adsl0,ppp0 9:8:7::6/128 port 1000-2000 -> 1:1:1::1 port 5555-7777 tcp --- NEW FILE: in100_6 --- rewrite in on bge0 inet6 from 1:1:1::1 to 2:2::2:2 -> src 3:3:3::3 dst 4::4:4:4; rewrite out on bge0 inet6 from 1:1:1::1/128 to 2:2::2:2 -> src 3:3:3::0/96 dst 4::4:4:4; rewrite in on bge0 inet6 from 1:1:1::1/128 to 2:2::2:2/128 -> src 3:3:3::0/96 dst 4::4:4:4/96; --- NEW FILE: in6_6 --- map foo0 inet6 from any port = 1 to any port != 0 -> 0/32 udp map foo0 inet6 from any port eq 1 to any port ne 0 -> 0/32 udp map foo0 inet6 from any port < 1 to any port > 0 -> 0/32 tcp map foo0 inet6 from any port lt 1 to any port gt 0 -> 0/32 tcp map foo0 inet6 from any port <= 1 to any port >= 0 -> 0/32 tcp/udp map foo0 inet6 from any port le 1 to any port ge 0 -> 0/32 tcp/udp map foo0 inet6 from any port 1 >< 20 to any port 20 <> 40 -> 0/32 tcp/udp map foo0 inet6 from any port 10:20 to any port 30:40 -> 0/32 tcp/udp |