diff options
Diffstat (limited to 'tests/options-ipv4.rules')
-rw-r--r-- | tests/options-ipv4.rules | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/tests/options-ipv4.rules b/tests/options-ipv4.rules new file mode 100644 index 0000000..b4adc92 --- /dev/null +++ b/tests/options-ipv4.rules @@ -0,0 +1,52 @@ +# Generated by iptables-save v1.4.10 on Mon Jan 31 03:03:38 2011 +*mangle +:PREROUTING ACCEPT [2461:977932] +:INPUT ACCEPT [2461:977932] +:FORWARD ACCEPT [0:0] +:OUTPUT ACCEPT [1740:367048] +:POSTROUTING ACCEPT [1740:367048] + +# libipt_ +-A INPUT -p ah -m ah --ahspi 1 +-A INPUT -p ah -m ah --ahspi :2 +-A INPUT -p ah -m ah --ahspi 0:3 +-A INPUT -p ah -m ah --ahspi 4: +-A INPUT -p ah -m ah --ahspi 5:4294967295 + +-A FORWARD -p tcp -j ECN --ecn-tcp-remove +-A FORWARD -j LOG --log-prefix "hi" --log-tcp-sequence --log-tcp-options --log-ip-options --log-uid --log-macdecode +-A FORWARD -j TTL --ttl-inc 1 +-A FORWARD -j TTL --ttl-dec 1 +-A FORWARD -j TTL --ttl-set 1 +-A FORWARD -j ULOG --ulog-prefix "abc" --ulog-cprange 2 --ulog-qthreshold 2 +COMMIT +# Completed on Mon Jan 31 03:03:38 2011 +# Generated by iptables-save v1.4.10 on Mon Jan 31 03:03:38 2011 +*nat +:PREROUTING ACCEPT [0:0] +:INPUT ACCEPT [0:0] +:OUTPUT ACCEPT [0:0] +:POSTROUTING ACCEPT [0:0] +-A PREROUTING -d 1.2.3.4/32 -i lo -j CLUSTERIP --new --hashmode sourceip --clustermac 01:02:03:04:05:06 --total-nodes 9 --local-node 2 --hash-init 123456789 +-A PREROUTING -i dummy0 -j DNAT --to-destination 1.2.3.4 --random --persistent +-A PREROUTING -i dummy0 -p tcp -j REDIRECT --to-ports 1-2 --random +-A POSTROUTING -o dummy0 -p tcp -j MASQUERADE --to-ports 1-2 --random +-A POSTROUTING -o dummy0 -p tcp -j NETMAP --to 1.0.0.0/8 +-A POSTROUTING -o dummy0 -p tcp -j SNAT --to-source 1.2.3.4-1.2.3.5 --random --persistent +COMMIT +# Completed on Mon Jan 31 03:03:38 2011 +# Generated by iptables-save v1.4.10 on Mon Jan 31 03:03:38 2011 +*filter +:INPUT ACCEPT [76:13548] +:FORWARD ACCEPT [0:0] +:OUTPUT ACCEPT [59:11240] +#-A INPUT -m addrtype --src-type UNICAST --dst-type UNICAST --limit-iface-in +-A INPUT -p tcp -m ecn --ecn-tcp-ece --ecn-tcp-cwr --ecn-ip-ect 0 +-A INPUT -p tcp -m ecn --ecn-tcp-ece --ecn-tcp-cwr --ecn-ip-ect 1 +-A INPUT -p icmp -m icmp --icmp-type 5/0 +-A INPUT -p icmp -m icmp --icmp-type 5/1 +-A INPUT -p icmp -m icmp --icmp-type 5 +-A INPUT -m realm --realm 0x1 -m ttl --ttl-eq 64 -m ttl --ttl-lt 64 -m ttl --ttl-gt 64 +-A FORWARD -p tcp -j REJECT --reject-with tcp-reset +COMMIT +# Completed on Mon Jan 31 03:03:39 2011 |