/testing/guestbin/swan-prep --x509 Preparing X.509 files kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-31-wifi-assist\[root@road ikev2-x509-31-wifi-assist]# ip addr add 192.1.3.210/24 dev eth0 kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-31-wifi-assist\[root@road ikev2-x509-31-wifi-assist]# 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. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Redirecting to: /etc/init.d/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. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Starting pluto IKE daemon for IPsec: kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-31-wifi-assist\[root@road ikev2-x509-31-wifi-assist]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-31-wifi-assist\[root@road ikev2-x509-31-wifi-assist]# ipsec whack --impair suppress-retransmits kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-31-wifi-assist\[root@road ikev2-x509-31-wifi-assist]# ipsec auto --add rw-lte 002 added connection description "rw-lte" kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-31-wifi-assist\[root@road ikev2-x509-31-wifi-assist]# ipsec auto --add rw-wifi 002 added connection description "rw-wifi" kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-31-wifi-assist\[root@road ikev2-x509-31-wifi-assist]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-31-wifi-assist\[root@road ikev2-x509-31-wifi-assist]# ipsec auto --up rw-lte 002 "rw-lte"[1] 192.1.2.23 #1: initiating v2 parent SA 181 "rw-lte"[1] 192.1.2.23 #1: initiate 002 "rw-lte"[1] 192.1.2.23: constructed local IKE proposals for rw-lte (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 "rw-lte"[1] 192.1.2.23 #1: STATE_PARENT_I1: sent v2I1, expected v2R1 002 "rw-lte"[1] 192.1.2.23 #1: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 002 "rw-lte"[1] 192.1.2.23: constructed local ESP/AH proposals for rw-lte (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 "rw-lte"[1] 192.1.2.23 #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 "rw-lte"[1] 192.1.2.23 #2: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 002 "rw-lte"[1] 192.1.2.23 #2: certificate verified OK: E=user-east@testing.libreswan.org,CN=east.testing.libreswan.org,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA 002 "rw-lte"[1] 192.1.2.23 #2: IKEv2 mode peer ID is ID_FQDN: '@east.testing.libreswan.org' 003 "rw-lte"[1] 192.1.2.23 #2: Authenticated using RSA 002 "rw-lte"[1] 192.1.2.23 #2: received INTERNAL_IP4_ADDRESS 100.64.0.1 002 "rw-lte"[1] 192.1.2.23 #2: received INTERNAL_IP4_DNS 1.2.3.4 002 "rw-lte"[1] 192.1.2.23 #2: received INTERNAL_IP4_DNS 8.8.8.8 002 "rw-lte"[1] 192.1.2.23 #2: up-client output: updating resolvconf 002 "rw-lte"[1] 192.1.2.23 #2: up-client output: rm: cannot remove '/etc/resolv.conf': Device or resource busy 002 "rw-lte"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "rw-lte"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "rw-lte"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "rw-lte"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "rw-lte"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "rw-lte"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "rw-lte"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "rw-lte"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "rw-lte"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "rw-lte"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "rw-lte"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "rw-lte"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "rw-lte"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "rw-lte"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "rw-lte"[1] 192.1.2.23 #2: negotiated connection [100.64.0.1-100.64.0.1:0-65535 0] -> [192.0.2.0-192.0.2.255:0-65535 0] 004 "rw-lte"[1] 192.1.2.23 #2: STATE_V2_IPSEC_I: IPsec SA established tunnel mode {ESP/NAT=>0x12a719d6 <0x0b8114eb xfrm=AES_GCM_16_256-NONE NATOA=none NATD=192.1.2.23:4500 DPD=passive} kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-31-wifi-assist\[root@road ikev2-x509-31-wifi-assist]# ping -n -c 2 -I 100.64.0.1 192.0.2.254 PING 192.0.2.254 (192.0.2.254) from 100.64.0.1 : 56(84) bytes of data. 64 bytes from 192.0.2.254: icmp_seq=1 ttl=64 time=0.071 ms 64 bytes from 192.0.2.254: icmp_seq=2 ttl=64 time=0.112 ms --- 192.0.2.254 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 27ms rtt min/avg/max/mdev = 0.071/0.091/0.112/0.022 ms kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-31-wifi-assist\[root@road ikev2-x509-31-wifi-assist]# ipsec whack --trafficstatus 006 #2: "rw-lte"[1] 192.1.2.23, type=ESP, add_time=0, inBytes=168, outBytes=168, id='@east.testing.libreswan.org', lease=100.64.0.1/32 kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-31-wifi-assist\[root@road ikev2-x509-31-wifi-assist]# ipsec auto --up rw-wifi 002 "rw-wifi"[1] 192.1.2.23 #3: initiating v2 parent SA 181 "rw-wifi"[1] 192.1.2.23 #3: initiate 002 "rw-wifi"[1] 192.1.2.23: constructed local IKE proposals for rw-wifi (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 "rw-wifi"[1] 192.1.2.23 #3: STATE_PARENT_I1: sent v2I1, expected v2R1 002 "rw-wifi"[1] 192.1.2.23 #3: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 002 "rw-wifi"[1] 192.1.2.23: constructed local ESP/AH proposals for rw-wifi (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 "rw-wifi"[1] 192.1.2.23 #4: STATE_PARENT_I2: sent v2I2, expected v2R2 {auth=IKEv2 cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=MODP2048} 002 "rw-wifi"[1] 192.1.2.23 #4: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 002 "rw-wifi"[1] 192.1.2.23 #4: certificate verified OK: E=user-east@testing.libreswan.org,CN=east.testing.libreswan.org,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA 002 "rw-wifi"[1] 192.1.2.23 #4: IKEv2 mode peer ID is ID_FQDN: '@east.testing.libreswan.org' 003 "rw-wifi"[1] 192.1.2.23 #4: Authenticated using RSA 002 "rw-wifi"[1] 192.1.2.23 #4: received INTERNAL_IP4_ADDRESS 100.64.0.2 002 "rw-wifi"[1] 192.1.2.23 #4: received INTERNAL_IP4_DNS 1.2.3.4 002 "rw-wifi"[1] 192.1.2.23 #4: up-client output: updating resolvconf 002 "rw-wifi"[1] 192.1.2.23 #4: up-client output: Current resolv.conf is generated by Libreswan, and backup resolv.conf already exists, so doing nothing 002 "rw-wifi"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "rw-wifi"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "rw-wifi"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "rw-wifi"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "rw-wifi"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "rw-wifi"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "rw-wifi"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "rw-wifi"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "rw-wifi"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "rw-wifi"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "rw-wifi"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "rw-wifi"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "rw-wifi"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "rw-wifi"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "rw-wifi"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "rw-wifi"[1] 192.1.2.23 #4: negotiated connection [100.64.0.2-100.64.0.2:0-65535 0] -> [192.0.2.0-192.0.2.255:0-65535 0] 004 "rw-wifi"[1] 192.1.2.23 #4: STATE_V2_IPSEC_I: IPsec SA established tunnel mode {ESP/NAT=>0x94b9e910 <0x1a2877cf xfrm=AES_GCM_16_256-NONE NATOA=none NATD=192.1.2.23:4500 DPD=passive} kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-31-wifi-assist\[root@road ikev2-x509-31-wifi-assist]# # both should remain up and working - aka wifi-assist kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-31-wifi-assist\[root@road ikev2-x509-31-wifi-assist]# ping -n -c 2 -I 100.64.0.2 192.0.2.254 PING 192.0.2.254 (192.0.2.254) from 100.64.0.2 : 56(84) bytes of data. --- 192.0.2.254 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 61ms kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-31-wifi-assist\[root@road ikev2-x509-31-wifi-assist 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 roadrun.sh 'ping -n -c 2 -I 100.64.0.2 192.0.2.254' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 roadrun.sh 'ping -n -c 2 -I 100.64.0.1 192.0.2.254' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 roadrun.sh 'ipsec whack --trafficstatus' <<<<<<<<<