--- west.console.txt 2020-10-28 10:59:11.611385367 +0000 +++ OUTPUT/west.console.txt 2020-10-31 15:25:38.126596798 +0000 @@ -1,2 +1,52 @@ +/testing/guestbin/swan-prep +west # + ipsec start +Redirecting to: [initsystem] +west # + /testing/pluto/bin/wait-until-pluto-started +west # + ipsec whack --impair suppress-retransmits +west # + echo "initdone" +initdone +west # + ipsec auto --up westnet-eastnet-default +1v2 "westnet-eastnet-default" #1: initiating IKEv2 connection +1v2 "westnet-eastnet-default" #1: sent IKE_SA_INIT request +1v2 "westnet-eastnet-default" #1: sent IKE_AUTH request {auth=IKEv2 cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=MODP2048} +002 "westnet-eastnet-default" #2: IKEv2 mode peer ID is ID_FQDN: '@east' +003 "westnet-eastnet-default" #1: authenticated using RSA with SHA2_512 +002 "westnet-eastnet-default" #2: negotiated connection [192.0.1.0-192.0.1.255:0-65535 0] -> [192.0.2.0-192.0.2.255:0-65535 0] +004 "westnet-eastnet-default" #2: IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE NATOA=none NATD=none DPD=passive} +west # + sleep 2 +west # + ipsec auto --down westnet-eastnet-default +002 "westnet-eastnet-default": terminating SAs using this connection +002 "westnet-eastnet-default" #2: deleting state (STATE_V2_ESTABLISHED_CHILD_SA) and sending notification +005 "westnet-eastnet-default" #2: ESP traffic information: in=0B out=0B +002 "westnet-eastnet-default" #1: deleting state (STATE_V2_ESTABLISHED_IKE_SA) and sending notification +west # + # be generous and give delete some time to notify +west # + sleep 3 +west # + # no eroute in use should appear using the other conn +west # + ipsec auto --up westnet-eastnet-zero +1v2 "westnet-eastnet-zero" #3: initiating IKEv2 connection +1v2 "westnet-eastnet-zero" #3: sent IKE_SA_INIT request +1v2 "westnet-eastnet-zero" #3: sent IKE_AUTH request {auth=IKEv2 cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=MODP2048} +002 "westnet-eastnet-zero" #4: IKEv2 mode peer ID is ID_FQDN: '@east' +003 "westnet-eastnet-zero" #3: authenticated using RSA with SHA2_512 +003 "westnet-eastnet-zero" #4: cannot install eroute -- it is in use for "westnet-eastnet-default" #0 +036 "westnet-eastnet-zero" #4: encountered fatal error in state STATE_PARENT_I2 +west # + echo done +done +west # + ../bin/check-for-core.sh +west # + if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi west #