| 1 |
/testing/guestbin/swan-prep --hostkeys |
| 2 |
Creating NSS database containing host keys |
| 3 |
west # |
| 4 |
echo 3 > /proc/sys/net/core/xfrm_acq_expires |
| 5 |
west # |
| 6 |
# install selinux; generated in OUTPUT by east |
| 7 |
west # |
| 8 |
semodule -i OUTPUT/ipsecspd-full-perm.pp |
| 9 |
west # |
| 10 |
# start pluto |
| 11 |
west # |
| 12 |
ipsec start |
| 13 |
Redirecting to: [initsystem] |
| 14 |
west # |
| 15 |
../../guestbin/wait-until-pluto-started |
| 16 |
west # |
| 17 |
ipsec whack --impair revival |
| 18 |
west # |
| 19 |
ipsec auto --add labeled |
| 20 |
"labeled": added IKEv2 connection |
| 21 |
west # |
| 22 |
echo "initdone" |
| 23 |
initdone |
| 24 |
west # |
| 25 |
ipsec whack --impair timeout_on_retransmit |
| 26 |
west # |
| 27 |
# expected to fail |
| 28 |
west # |
| 29 |
ipsec auto --up labeled |
| 30 |
"labeled" #1: initiating IKEv2 connection to 192.1.2.23 using UDP |
| 31 |
"labeled" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500 |
| 32 |
"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 |
| 33 |
"labeled" #1: sent IKE_AUTH request to 192.1.2.23:UDP/500 |
| 34 |
"labeled" #1: initiator established IKE SA; authenticated peer using preloaded certificate '@east' and 2nnn-bit RSASSA-PSS with SHA2_512 digital signature |
| 35 |
"labeled" #2: IKE_AUTH response rejected Child SA with TS_UNACCEPTABLE |
| 36 |
"labeled" #2: connection is supposed to remain up; revival attempt 1 scheduled in 0 seconds |
| 37 |
"labeled" #2: IMPAIR: revival: skip scheduling revival event |
| 38 |
west # |
| 39 |
echo done |
| 40 |
done |
| 41 |
west # |
| 42 |
grep '^".* do not match ' /tmp/pluto.log |
| 43 |
west # |
| 44 |
grep "no IKEv2 connection found" /tmp/pluto.log |
| 45 |
west # |
| 46 |
|