added test cases from NAT team

updated all IKEv2 tests to work with new status output
This commit is contained in:
Martin Willi
2006-07-13 12:45:18 +00:00
parent 1279eda042
commit 7af345e11e
74 changed files with 1069 additions and 15 deletions
@@ -0,0 +1,10 @@
sun::ipsec statusall::rw-alice.*ESTABLISHED::YES
alice::ipsec statusall::home.*ESTABLISHED::YES
moon::cmd::iptables -t nat -F::YES
moon::cmd::iptables -t nat -A POSTROUTING -o eth0 -s 10.1.0.0/16 -p udp -j SNAT --to-source PH_IP_MOON:3024-3100::YES
moon::cmd::iptables -t nat -A POSTROUTING -o eth0 -s 10.1.0.0/16 -p tcp -j SNAT --to-source PH_IP_MOON:4000-4100::YES
moon::cmd::conntrack -F::YES
alice::cmd::sleep 75::YES
bob::ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_seq=1::YES
moon::tcpdump::IP moon.strongswan.org.* > sun.strongswan.org.ipsec-nat-t: UDP, length: 132::YES
moon::tcpdump::IP sun.strongswan.org.ipsec-nat-t > moon.strongswan.org.*: UDP, length: 132::YES