/testing/guestbin/swan-prep kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-12\[root@west basic-pluto-12]# 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. Redirecting to: namespaces direct start via ipsec pluto kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-12\[root@west basic-pluto-12]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-12\[root@west basic-pluto-12]# ipsec whack --impair suppress-retransmits kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-12\[root@west basic-pluto-12]# ipsec auto --add westnet-eastnet 002 added connection description "westnet-eastnet" kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-12\[root@west basic-pluto-12]# ipsec auto --add westnet-eastnet-22 002 added connection description "westnet-eastnet-22" kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-12\[root@west basic-pluto-12]# ipsec auto --route westnet-eastnet-22 kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-12\[root@west basic-pluto-12]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-12\[root@west basic-pluto-12]# ipsec auto --up westnet-eastnet 002 "westnet-eastnet" #1: initiating Main Mode 002 "westnet-eastnet" #1: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 102 "westnet-eastnet" #1: STATE_MAIN_I1: initiate 002 "westnet-eastnet" #1: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 104 "westnet-eastnet" #1: STATE_MAIN_I2: sent MI2, expecting MR2 002 "westnet-eastnet" #1: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 106 "westnet-eastnet" #1: STATE_MAIN_I3: sent MI3, expecting MR3 002 "westnet-eastnet" #1: Peer ID is ID_FQDN: '@east' 003 "westnet-eastnet" #1: Authenticated using RSA 004 "westnet-eastnet" #1: STATE_MAIN_I4: ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048} 002 "westnet-eastnet" #2: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO {using isakmp#1 msgid:38a7e4c4 proposal=defaults pfsgroup=MODP2048} 002 "westnet-eastnet" #2: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 115 "westnet-eastnet" #2: STATE_QUICK_I1: initiate 004 "westnet-eastnet" #2: STATE_QUICK_I2: sent QI2, IPsec SA established tunnel mode {ESP=>0x9c4137d0 <0xa08703b6 xfrm=AES_CBC_128-HMAC_SHA1_96 NATOA=none NATD=none DPD=passive} kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-12\[root@west basic-pluto-12]# # counters are zero kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-12\[root@west basic-pluto-12]# ipsec whack --trafficstatus 006 #2: "westnet-eastnet", type=ESP, add_time=0, inBytes=0, outBytes=0, id='@east' kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-12\[root@west basic-pluto-12]# echo take-passthrough-unencrpted | nc -s 192.0.1.254 192.0.2.254 22 Ncat: Connection refused. kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-12\[root@west basic-pluto-12 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 westrun.sh 'echo take-passthrough-unencrpted | nc -s 192.0.1.254 192.0.2.254 22' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 westrun.sh '# still zero' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 westrun.sh 'echo take-conn-encrypted | nc -s 192.0.1.254 192.0.2.254 222' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 westrun.sh '# this moved through the tunnel, so non-zero' <<<<<<<<<>>>>>>>>>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' <<<<<<<<<