testing/pluto/interop-ikev2-strongswan-35-initiator-rekey/westrun.sh
raw| 1 | ipsec auto --up westnet-eastnet |
| 2 | ../../guestbin/ping-once.sh --up -I 192.0.1.254 192.0.2.254 |
| 3 | ipsec trafficstatus |
| 4 | # does not work on 3.29 for now leave it timer based rekey |
| 5 | ipsec whack --rekey-child --name westnet-eastnet |
| 6 | sleep 15 |
| 7 | ../../guestbin/ping-once.sh --up -I 192.0.1.254 192.0.2.254 |
| 8 | # only #3 should be there with traffic |
| 9 | ipsec trafficstatus |
| 10 | ipsec status | grep westnet-eastnet |
| 11 | # give time to strongswan to expire old one |
| 12 | sleep 53 |