/testing/guestbin/swan-prep --x509
Preparing X.509 files
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ipsec auto --add westnet-eastnet-ikev2
"westnet-eastnet-ikev2": added IKEv2 connection
east #
 ipsec whack --impair replay_inbound
IMPAIR: recording all inbound messages
IMPAIR: replay all inbound messages old-to-new: no -> yes
east #
 echo "initdone"
initdone
east #
 # On east this shows the duplicates on west there is nothing.
east #
 sed -n -e '/; retransmitting response/p' -e 's/\(; message dropped\).*/\1/p' /tmp/pluto.log
"westnet-eastnet-ikev2" #1: received duplicate IKE_SA_INIT request; retransmitting response
"westnet-eastnet-ikev2" #1: received duplicate IKE_SA_INIT request; retransmitting response
"westnet-eastnet-ikev2" #1: received duplicate IKE_SA_INIT request; retransmitting response
"westnet-eastnet-ikev2" #1: received duplicate IKE_SA_INIT request; retransmitting response
"westnet-eastnet-ikev2" #1: received duplicate IKE_SA_INIT request; retransmitting response
"westnet-eastnet-ikev2" #1: IKE_AUTH request fragment 1 of 5 has duplicate Message ID 1; retransmitting response
| "westnet-eastnet-ikev2" #1: Message ID: IKE_AUTH request fragment 2 of 5 has duplicate Message ID 1 but is not fragment 1; message dropped
| "westnet-eastnet-ikev2" #1: Message ID: IKE_AUTH request fragment 3 of 5 has duplicate Message ID 1 but is not fragment 1; message dropped
| "westnet-eastnet-ikev2" #1: Message ID: IKE_AUTH request fragment 4 of 5 has duplicate Message ID 1 but is not fragment 1; message dropped
| "westnet-eastnet-ikev2" #1: Message ID: IKE_AUTH request fragment 5 of 5 has duplicate Message ID 1 but is not fragment 1; message dropped
east #
 ../../guestbin/ipsec-kernel-state.sh
east #
 ../../guestbin/ipsec-kernel-policy.sh
east #
 
