/testing/guestbin/swan-prep --x509 Preparing X.509 files kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-hostpair-02\[root@road ikev2-hostpair-02]# 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. 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. 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-hostpair-02\[root@road ikev2-hostpair-02]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-hostpair-02\[root@road ikev2-hostpair-02]# ipsec whack --impair suppress-retransmits kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-hostpair-02\[root@road ikev2-hostpair-02]# ipsec auto --add westnet-eastnet-ipv4-psk-ikev2 002 added connection description "westnet-eastnet-ipv4-psk-ikev2" kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-hostpair-02\[root@road ikev2-hostpair-02]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-hostpair-02\[root@road ikev2-hostpair-02]# ipsec auto --up westnet-eastnet-ipv4-psk-ikev2 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #1: initiating v2 parent SA 181 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #1: initiate 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: constructed local IKE proposals for westnet-eastnet-ipv4-psk-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-ipv4-psk-ikev2"[1] 192.1.2.23 #1: STATE_PARENT_I1: sent v2I1, expected v2R1 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #1: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: constructed local ESP/AH proposals for westnet-eastnet-ipv4-psk-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-ipv4-psk-ikev2"[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 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 002 "westnet-eastnet-ipv4-psk-ikev2"[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 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: IKEv2 mode peer ID is ID_DER_ASN1_DN: 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org' 003 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: Authenticated using RSA 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: received INTERNAL_IP4_ADDRESS 192.0.2.1 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: received INTERNAL_IP4_DNS 1.2.3.4 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: received INTERNAL_IP4_DNS 8.8.8.8 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: up-client output: updating resolvconf 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: up-client output: rm: cannot remove '/etc/resolv.conf': Device or resource busy 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: negotiated connection [192.0.2.1-192.0.2.1:0-65535 0] -> [192.1.2.23-192.1.2.23:0-65535 0] 004 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: STATE_V2_IPSEC_I: IPsec SA established tunnel mode {ESP/NAT=>0x48e0c427 <0xaac0ba6d xfrm=AES_GCM_16_256-NONE NATOA=none NATD=192.1.2.23:4500 DPD=passive} kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-hostpair-02\[root@road ikev2-hostpair-02]# ping -n -c 2 -I 192.0.2.1 192.1.2.23 PING 192.1.2.23 (192.1.2.23) from 192.0.2.1 : 56(84) bytes of data. 64 bytes from 192.1.2.23: icmp_seq=1 ttl=64 time=0.086 ms 64 bytes from 192.1.2.23: icmp_seq=2 ttl=64 time=0.797 ms --- 192.1.2.23 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 14ms rtt min/avg/max/mdev = 0.086/0.441/0.797/0.356 ms kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-hostpair-02\[root@road ikev2-hostpair-02]# ipsec whack --trafficstatus 006 #2: "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23, type=ESP, add_time=0, inBytes=168, outBytes=168, id='C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org', lease=192.0.2.1/32 kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-hostpair-02\[root@road ikev2-hostpair-02]# # create havoc kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-hostpair-02\[root@road ikev2-hostpair-02]# ipsec whack --impair send-no-delete kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-hostpair-02\[root@road ikev2-hostpair-02]# ipsec auto --add westnet-eastnet-ipv4-psk-ikev2 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: terminating SAs using this connection 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: deleting state (STATE_V2_IPSEC_I) aged 1.463s and NOT sending notification 005 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: ESP traffic information: in=168B out=168B 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #2: down-client output: restoring resolvconf 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #1: deleting state (STATE_PARENT_I3) aged 1.503s and NOT sending notification 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: deleting connection "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 instance with peer 192.1.2.23 {isakmp=#0/ipsec=#0} 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 added connection description "westnet-eastnet-ipv4-psk-ikev2" kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-hostpair-02\[root@road ikev2-hostpair-02]# ipsec auto --up westnet-eastnet-ipv4-psk-ikev2 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #3: initiating v2 parent SA 181 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #3: initiate 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: constructed local IKE proposals for westnet-eastnet-ipv4-psk-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-ipv4-psk-ikev2"[1] 192.1.2.23 #3: STATE_PARENT_I1: sent v2I1, expected v2R1 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #3: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: constructed local ESP/AH proposals for westnet-eastnet-ipv4-psk-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-ipv4-psk-ikev2"[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 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 002 "westnet-eastnet-ipv4-psk-ikev2"[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 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: IKEv2 mode peer ID is ID_DER_ASN1_DN: 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org' 003 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: Authenticated using RSA 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: received INTERNAL_IP4_ADDRESS 192.0.2.1 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: received INTERNAL_IP4_DNS 1.2.3.4 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: up-client output: updating resolvconf 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: up-client output: rm: cannot remove '/etc/resolv.conf': Device or resource busy 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: negotiated connection [192.0.2.1-192.0.2.1:0-65535 0] -> [192.1.2.23-192.1.2.23:0-65535 0] 004 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: STATE_V2_IPSEC_I: IPsec SA established tunnel mode {ESP/NAT=>0x15a47cd3 <0xe3ceed7a xfrm=AES_GCM_16_256-NONE NATOA=none NATD=192.1.2.23:4500 DPD=passive} kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-hostpair-02\[root@road ikev2-hostpair-02]# ipsec auto --add westnet-eastnet-ipv4-psk-ikev2 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: terminating SAs using this connection 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: deleting state (STATE_V2_IPSEC_I) aged 0.169s and NOT sending notification 005 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: ESP traffic information: in=0B out=0B 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #4: down-client output: restoring resolvconf 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #3: deleting state (STATE_PARENT_I3) aged 0.204s and NOT sending notification 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: deleting connection "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 instance with peer 192.1.2.23 {isakmp=#0/ipsec=#0} 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 added connection description "westnet-eastnet-ipv4-psk-ikev2" kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-hostpair-02\[root@road ikev2-hostpair-02]# ipsec auto --up westnet-eastnet-ipv4-psk-ikev2 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #5: initiating v2 parent SA 181 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #5: initiate 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: constructed local IKE proposals for westnet-eastnet-ipv4-psk-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-ipv4-psk-ikev2"[1] 192.1.2.23 #5: STATE_PARENT_I1: sent v2I1, expected v2R1 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #5: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: constructed local ESP/AH proposals for westnet-eastnet-ipv4-psk-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-ipv4-psk-ikev2"[1] 192.1.2.23 #6: 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-ipv4-psk-ikev2"[1] 192.1.2.23 #6: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: 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 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: IKEv2 mode peer ID is ID_DER_ASN1_DN: 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org' 003 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: Authenticated using RSA 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: received INTERNAL_IP4_ADDRESS 192.0.2.1 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: received INTERNAL_IP4_DNS 1.2.3.4 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: up-client output: updating resolvconf 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: up-client output: rm: cannot remove '/etc/resolv.conf': Device or resource busy 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: negotiated connection [192.0.2.1-192.0.2.1:0-65535 0] -> [192.1.2.23-192.1.2.23:0-65535 0] 004 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: STATE_V2_IPSEC_I: IPsec SA established tunnel mode {ESP/NAT=>0xfde50f66 <0x2fa105b7 xfrm=AES_GCM_16_256-NONE NATOA=none NATD=192.1.2.23:4500 DPD=passive} kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-hostpair-02\[root@road ikev2-hostpair-02]# ipsec auto --add westnet-eastnet-ipv4-psk-ikev2 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: terminating SAs using this connection 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: deleting state (STATE_V2_IPSEC_I) aged 0.167s and NOT sending notification 005 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: ESP traffic information: in=0B out=0B 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #6: down-client output: restoring resolvconf 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #5: deleting state (STATE_PARENT_I3) aged 0.202s and NOT sending notification 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: deleting connection "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 instance with peer 192.1.2.23 {isakmp=#0/ipsec=#0} 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: unroute-client output: Error: Peer netns reference is invalid. 002 added connection description "westnet-eastnet-ipv4-psk-ikev2" kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-hostpair-02\[root@road ikev2-hostpair-02]# ipsec auto --up westnet-eastnet-ipv4-psk-ikev2 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #7: initiating v2 parent SA 181 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #7: initiate 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: constructed local IKE proposals for westnet-eastnet-ipv4-psk-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-ipv4-psk-ikev2"[1] 192.1.2.23 #7: STATE_PARENT_I1: sent v2I1, expected v2R1 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #7: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23: constructed local ESP/AH proposals for westnet-eastnet-ipv4-psk-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-ipv4-psk-ikev2"[1] 192.1.2.23 #8: 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-ipv4-psk-ikev2"[1] 192.1.2.23 #8: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: 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 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: IKEv2 mode peer ID is ID_DER_ASN1_DN: 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org' 003 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: Authenticated using RSA 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: received INTERNAL_IP4_ADDRESS 192.0.2.1 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: received INTERNAL_IP4_DNS 1.2.3.4 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: up-client output: updating resolvconf 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: up-client output: rm: cannot remove '/etc/resolv.conf': Device or resource busy 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: route-client output: Error: Peer netns reference is invalid. 002 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: negotiated connection [192.0.2.1-192.0.2.1:0-65535 0] -> [192.1.2.23-192.1.2.23:0-65535 0] 004 "westnet-eastnet-ipv4-psk-ikev2"[1] 192.1.2.23 #8: STATE_V2_IPSEC_I: IPsec SA established tunnel mode {ESP/NAT=>0xf601ddd4 <0x495b6e82 xfrm=AES_GCM_16_256-NONE NATOA=none NATD=192.1.2.23:4500 DPD=passive} kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-hostpair-02\[root@road ikev2-hostpair-02]# ping -n -c 4 -I 192.0.2.1 192.1.2.23 PING 192.1.2.23 (192.1.2.23) from 192.0.2.1 : 56(84) bytes of data. --- 192.1.2.23 ping statistics --- 4 packets transmitted, 0 received, 100% packet loss, time 65ms kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-hostpair-02\[root@road ikev2-hostpair-02 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 roadrun.sh 'ping -n -c 4 -I 192.0.2.1 192.1.2.23' <<<<<<<<<