/testing/guestbin/swan-prep west # ipsec start Redirecting to: [initsystem] west # /testing/pluto/bin/wait-until-pluto-started west # ipsec auto --add westnet-eastnet-ipv4-psk-ikev2 002 added connection description "westnet-eastnet-ipv4-psk-ikev2" west # echo "initdone" initdone west # # expect quick fail west # ipsec whack --impair ke-payload:omit --impair delete-on-retransmit west # ipsec auto --up westnet-eastnet-ipv4-psk-ikev2 002 "westnet-eastnet-ipv4-psk-ikev2" #1: initiating Main Mode 1v1 "westnet-eastnet-ipv4-psk-ikev2" #1: STATE_MAIN_I1: initiate 002 "westnet-eastnet-ipv4-psk-ikev2" #1: IMPAIR: sending no KE (g^x) payload 1v1 "westnet-eastnet-ipv4-psk-ikev2" #1: STATE_MAIN_I2: sent MI2, expecting MR2 002 "westnet-eastnet-ipv4-psk-ikev2" #1: IMPAIR: retransmit so deleting SA 002 "westnet-eastnet-ipv4-psk-ikev2" #1: deleting state (STATE_MAIN_I2) and NOT sending notification west # ipsec whack --impair none west # west # # expect slower fail west # ipsec whack --impair suppress-retransmits west # ipsec auto --up westnet-eastnet-ipv4-psk-ikev2 west # west # echo done done west # ../../pluto/bin/ipsec-look.sh west NOW XFRM state: XFRM policy: XFRM done IPSEC mangle TABLES NEW_IPSEC_CONN mangle TABLES ROUTING TABLES default via 192.1.2.254 dev eth1 192.0.1.0/24 dev eth0 proto kernel scope link src 192.0.1.254 192.0.2.0/24 via 192.1.2.23 dev eth1 192.1.2.0/24 dev eth1 proto kernel scope link src 192.1.2.45 NSS_CERTIFICATES Certificate Nickname Trust Attributes SSL,S/MIME,JAR/XPI west # west # ../bin/check-for-core.sh west # if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi