summaryrefslogtreecommitdiff
path: root/testing/tests/pfkey/net2net-rekey/evaltest.dat
blob: 3bf3b274beeaed6631ce83e715ac423d2d0f70eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
moon::ipsec status 2> /dev/null::net-net.*ESTABLISHED.*moon.strongswan.org.*sun.strongswan.org::YES
sun:: ipsec status 2> /dev/null::net-net.*ESTABLISHED.*sun.strongswan.org.*moon.strongswan.org::YES
moon::ipsec status 2> /dev/null::net-net.*INSTALLED, TUNNEL::YES
sun:: ipsec status 2> /dev/null::net-net.*INSTALLED, TUNNEL::YES
# deleting the inbound SPI
moon::cat /var/log/daemon.log::deleted SAD entry with SPI::1
moon::sleep 6::wait for rekeying::NO
moon::cat /var/log/daemon.log::creating rekey job for CHILD_SA::YES
moon::cat /var/log/daemon.log::generating CREATE_CHILD_SA request.*REKEY_SA::YES
moon::cat /var/log/daemon.log::deleted SAD entry with SPI::3
alice::ping -c 1 PH_IP_BOB::64 bytes from PH_IP_BOB: icmp_.eq=1::YES
moon::sleep 2::wait until inbound SA is deleted::NO
moon::cat /var/log/daemon.log::deleted SAD entry with SPI::4
alice::ping -c 1 PH_IP_BOB::64 bytes from PH_IP_BOB: icmp_.eq=1::YES
sun::tcpdump::IP moon.strongswan.org > sun.strongswan.org: ESP::YES
sun::tcpdump::IP sun.strongswan.org > moon.strongswan.org: ESP::YES