Annotation of embedaddon/strongswan/testing/tests/route-based/net2net-xfrmi-netns/evaltest.dat, revision 1.1
1.1 ! misho 1: moon::swanctl --list-sas --ike-id 1 --raw 2> /dev/null::gw.*version=2 state=ESTABLISHED local-host=PH_IP_MOON local-port=4500 local-id=moon.strongswan.org remote-host=PH_IP_SUN remote-port=4500 remote-id=sun.strongswan.org.*child-sas.*net.*reqid=1 state=INSTALLED mode=TUNNEL.*ESP.*local-ts=\[0.0.0.0/0] remote-ts=\[0.0.0.0/0]::YES
! 2: sun::swanctl --list-sas --ike-id 1 --raw 2> /dev/null::gw.*version=2 state=ESTABLISHED local-host=PH_IP_SUN local-port=4500 local-id=sun.strongswan.org remote-host=PH_IP_MOON remote-port=4500 remote-id=moon.strongswan.org.*child-sas.*net.*reqid=1 state=INSTALLED mode=TUNNEL.*ESP.*local-ts=\[0.0.0.0/0] remote-ts=\[0.0.0.0/0]::YES
! 3: alice::ping -c 1 PH_IP_BOB::64 bytes from PH_IP_BOB: icmp_.eq=1::YES
! 4: moon::ip netns add xfrmi-test::.*::NO
! 5: moon::ip link set xfrm-moon netns xfrmi-test::.*::NO
! 6: moon::ip netns exec xfrmi-test ip addr add 10.1.0.42/32 dev xfrm-moon::.*::NO
! 7: moon::ip netns exec xfrmi-test ip link set dev xfrm-moon up::.*::NO
! 8: moon::ip netns exec xfrmi-test ip route add 10.2.0.0/16 dev xfrm-moon src 10.1.0.42::.*::NO
! 9: moon::ip netns exec xfrmi-test ip xfrm state::.*::NO
! 10: moon::ip netns exec xfrmi-test ping -c 1 PH_IP_BOB::64 bytes from PH_IP_BOB: icmp_.eq=1::YES
! 11: alice::ping -c 1 -W 1 PH_IP_BOB::64 bytes from PH_IP_BOB: icmp_.eq=1::NO
! 12: moon::ip netns exec xfrmi-test ip link set xfrm-moon netns 1::.*::NO
! 13: moon::ip netns del xfrmi-test::.*::NO
! 14: moon::ip link set dev xfrm-moon up::.*::NO
! 15: moon::ip route add 10.2.0.0/16 dev xfrm-moon::.*::NO
! 16: alice::ping -c 1 PH_IP_BOB::64 bytes from PH_IP_BOB: icmp_.eq=1::YES
! 17: sun::tcpdump::IP moon.strongswan.org > sun.strongswan.org: ESP::YES
! 18: sun::tcpdump::IP sun.strongswan.org > moon.strongswan.org: ESP::YES
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>