| 1 | ipsec auto --up westnet-eastnet-ipv4-psk-ikev2 |
| 2 | ../../guestbin/ping-once.sh --up -I 192.0.1.254 192.0.2.254 |
| 3 | # Message ID 0+1 used to establish Child SA |
| 4 | # probe=1s; so 8 problems is 8s which is more than east's 5s probe timer |
| 5 | # 8+1 == 9 |
| 6 | ../../guestbin/wait-for.sh --match 'received message response 9' -- sed -n -e '/Message ID/ s/ (.*/ (...)/pscip-shell filesystem . . `/Message ID/ s/ (.*/ (...)/p`.' /tmp/pluto.logscip-shell filesystem . . `/tmp/pluto.log`. |
| 7 | # check other end sent no probes |
| 8 | ../../guestbin/wait-for.sh --no-match 'received message request 0' -- sed -n -e '/Message ID/ s/ (.*/ (...)/pscip-shell filesystem . . `/Message ID/ s/ (.*/ (...)/p`.' /tmp/pluto.logscip-shell filesystem . . `/tmp/pluto.log`. |