/testing/guestbin/swan-prep kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-timer\[root@west ikev2-child-ipsec-timer]# ipsec start Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Redirecting to: namespaces direct start via ipsec pluto kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-timer\[root@west ikev2-child-ipsec-timer]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-timer\[root@west ikev2-child-ipsec-timer]# ipsec auto --add westnet-eastnet-ikev2 002 added connection description "westnet-eastnet-ikev2" kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-timer\[root@west ikev2-child-ipsec-timer]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-timer\[root@west ikev2-child-ipsec-timer]# ipsec auto --up westnet-eastnet-ikev2 002 "westnet-eastnet-ikev2" #1: initiating v2 parent SA 181 "westnet-eastnet-ikev2" #1: initiate 002 "westnet-eastnet-ikev2": constructed local IKE proposals for westnet-eastnet-ikev2 (IKE SA initiator selecting KE): 1:IKE:ENCR=AES_GCM_C_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 2:IKE:ENCR=AES_GCM_C_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 3:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 4:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 181 "westnet-eastnet-ikev2" #1: STATE_PARENT_I1: sent v2I1, expected v2R1 002 "westnet-eastnet-ikev2": constructed local ESP/AH proposals for westnet-eastnet-ikev2 (IKE SA initiator emitting ESP/AH proposals): 1:ESP:ENCR=AES_GCM_C_256;INTEG=NONE;DH=NONE;ESN=DISABLED 2:ESP:ENCR=AES_GCM_C_128;INTEG=NONE;DH=NONE;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=NONE;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=NONE;ESN=DISABLED 182 "westnet-eastnet-ikev2" #2: STATE_PARENT_I2: sent v2I2, expected v2R2 {auth=IKEv2 cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=MODP2048} 002 "westnet-eastnet-ikev2" #2: IKEv2 mode peer ID is ID_FQDN: '@east' 003 "westnet-eastnet-ikev2" #2: Authenticated using authby=secret 002 "westnet-eastnet-ikev2" #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-ikev2" #2: STATE_V2_IPSEC_I: IPsec SA established tunnel mode {ESP=>0x4b62b35d <0x9a0d492a xfrm=AES_GCM_16_256-NONE NATOA=none NATD=none DPD=passive} kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-timer\[root@west ikev2-child-ipsec-timer]# sleep 5 kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-timer\[root@west ikev2-child-ipsec-timer]# ipsec status |grep STATE_ 000 #1: "westnet-eastnet-ikev2":500 STATE_PARENT_I3 (PARENT SA established); EVENT_SA_REKEY in 15s; newest ISAKMP; idle; 000 #2: "westnet-eastnet-ikev2":500 STATE_V2_IPSEC_I (IPsec SA established); EVENT_SA_REKEY in 28788s; newest IPSEC; eroute owner; isakmp#1; idle; kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-timer\[root@west ikev2-child-ipsec-timer]# # rerunning --up should use CREATE_CHILD_SA kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-timer\[root@west ikev2-child-ipsec-timer]# ipsec auto --up westnet-eastnet-ikev2 002 "westnet-eastnet-ikev2": constructed local ESP/AH proposals for westnet-eastnet-ikev2 (ESP/AH initiator emitting proposals): 1:ESP:ENCR=AES_GCM_C_256;INTEG=NONE;DH=MODP2048;ESN=DISABLED 2:ESP:ENCR=AES_GCM_C_128;INTEG=NONE;DH=MODP2048;ESN=DISABLED 3:ESP:ENCR=AES_CBC_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED 4:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048;ESN=DISABLED 188 "westnet-eastnet-ikev2" #3: STATE_V2_CREATE_I: sent IPsec Child req wait response 002 "westnet-eastnet-ikev2" #3: 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-ikev2" #3: STATE_V2_IPSEC_I: IPsec SA established tunnel mode {ESP=>0xb2e01ecb <0xbb696855 xfrm=AES_GCM_16_256-NONE-MODP2048 NATOA=none NATD=none DPD=passive} kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-timer\[root@west ikev2-child-ipsec-timer]# ipsec status |grep STATE_ 000 #1: "westnet-eastnet-ikev2":500 STATE_PARENT_I3 (PARENT SA established); EVENT_SA_REKEY in 15s; newest ISAKMP; idle; 000 #2: "westnet-eastnet-ikev2":500 STATE_V2_IPSEC_I (IPsec SA established); EVENT_SA_REKEY in 28788s; isakmp#1; idle; 000 #3: "westnet-eastnet-ikev2":500 STATE_V2_IPSEC_I (IPsec SA established); EVENT_SA_REKEY in 28791s; newest IPSEC; eroute owner; isakmp#1; idle; kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-timer\[root@west ikev2-child-ipsec-timer]# sleep 45 kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-timer\[root@west ikev2-child-ipsec-timer]# ipsec status |grep STATE_ whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-timer\[root@west ikev2-child-ipsec-timer 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 westrun.sh 'ipsec status |grep STATE_' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec auto --status' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi' <<<<<<<<<