/testing/guestbin/swan-prep
west #
 echo 3 > /proc/sys/net/core/xfrm_acq_expires
west #
 # install selinux; generated in OUTPUT by east
west #
 semodule -i OUTPUT/ipsecspd-full-perm.pp
west #
 # start pluto
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec whack --impair revival
west #
 ipsec auto --add labeled
"labeled": added IKEv2 connection
west #
 echo "initdone"
initdone
west #
 ipsec whack --impair timeout_on_retransmit
west #
 # expected to fail
west #
 ipsec auto --up labeled
"labeled" #1: initiating IKEv2 connection to 192.1.2.23 using UDP
"labeled" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"labeled" #1: processed IKE_SA_INIT response from 192.1.2.23:UDP/500 {cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=DH19}, initiating IKE_AUTH
"labeled" #1: sent IKE_AUTH request to 192.1.2.23:UDP/500
"labeled" #1: initiator established IKE SA; authenticated peer using preloaded certificate '@east' and 2nnn-bit RSASSA-PSS with SHA2_512 digital signature
"labeled" #2: IKE_AUTH response rejected Child SA with TS_UNACCEPTABLE
"labeled" #2: connection is supposed to remain up; revival attempt 1 scheduled in 0 seconds
"labeled" #2: IMPAIR: revival: skip scheduling revival event
west #
 echo done
done
west #
 grep '^".* do not match ' /tmp/pluto.log
west #
 grep "no IKEv2 connection found" /tmp/pluto.log
west #
 
