/testing/guestbin/swan-prep kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand\[root@north ikev2-59-alias-ondemand]# rm -fr /var/run/pluto/pluto.pid kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand\[root@north ikev2-59-alias-ondemand]# /usr/local/sbin/ipsec _stackmanager start --netkey kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand\[root@north ikev2-59-alias-ondemand]# PLUTO_CRYPTO_HELPER_DELAY=1 /usr/local/libexec/ipsec/pluto --config /etc/ipsec.conf kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand\[root@north ikev2-59-alias-ondemand]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand\[root@north ikev2-59-alias-ondemand]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand\[root@north ikev2-59-alias-ondemand]# ping -f -c 100000 -I 192.0.3.254 192.0.2.254 2>&1 >/dev/null & [1] 11054 kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand\[root@north ikev2-59-alias-ondemand]# ping -f -c 100000 -I 192.0.3.254 192.0.2.251 2>&1 >/dev/null & [2] 11117 kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand\[root@north ikev2-59-alias-ondemand]# ping -f -c 100000 -I 192.0.3.254 192.0.22.254 2>&1 >/dev/null & [3] 11158 kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand\[root@north ikev2-59-alias-ondemand]# ping -f -c 100000 -I 192.0.3.254 192.0.22.251 2>&1 >/dev/null & [4] 11183 kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand\[root@north ikev2-59-alias-ondemand]# ipsec auto --add north-eastnets 002 added connection description "north-eastnets/0x1" 002 added connection description "north-eastnets/0x2" kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand\[root@north ikev2-59-alias-ondemand]# ipsec auto --up north-eastnets 000 initiating all conns with alias='north-eastnets' 002 "north-eastnets/0x2" #1: initiating v2 parent SA 181 "north-eastnets/0x2" #1: initiate 002 "north-eastnets/0x2": constructed local IKE proposals for north-eastnets/0x2 (IKE SA initiator selecting KE): 1:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_256;INTEG=HMAC_SHA2_256_128;DH=MODP2048 181 "north-eastnets/0x2" #1: STATE_PARENT_I1: sent v2I1, expected v2R1 002 "north-eastnets/0x1": constructed local ESP/AH proposals for north-eastnets/0x1 (IKE SA initiator emitting ESP/AH proposals): 1:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256;DH=NONE;ESN=DISABLED 182 "north-eastnets/0x1" #2: STATE_PARENT_I2: sent v2I2, expected v2R2 {auth=IKEv2 cipher=AES_CBC_256 integ=HMAC_SHA2_256_128 prf=HMAC_SHA2_256 group=MODP2048} 002 "north-eastnets/0x1" #2: IKEv2 mode peer ID is ID_FQDN: '@east' 003 "north-eastnets/0x1" #2: Authenticated using RSA 002 "north-eastnets/0x1" #2: negotiated connection [192.0.3.0-192.0.3.255:0-65535 0] -> [192.0.2.0-192.0.2.255:0-65535 0] 004 "north-eastnets/0x1" #2: STATE_V2_IPSEC_I: IPsec SA established tunnel mode {ESP=>0x602eb9b6 <0x5af53a14 xfrm=AES_CBC_128-HMAC_SHA2_512_256 NATOA=none NATD=none DPD=passive} 002 "north-eastnets/0x2": constructed local ESP/AH proposals for north-eastnets/0x2 (ESP/AH initiator emitting proposals): 1:ESP:ENCR=AES_CBC_128;INTEG=HMAC_SHA2_512_256;DH=MODP3072;ESN=DISABLED 188 "north-eastnets/0x2" #3: STATE_V2_CREATE_I: sent IPsec Child req wait response 010 "north-eastnets/0x2" #3: STATE_V2_CREATE_I: retransmission; will wait 0.05 seconds for response 010 "north-eastnets/0x2" #3: STATE_V2_CREATE_I: retransmission; will wait 0.1 seconds for response 002 "north-eastnets/0x2" #3: negotiated connection [192.0.3.0-192.0.3.255:0-65535 0] -> [192.0.22.0-192.0.22.255:0-65535 0] 004 "north-eastnets/0x2" #3: STATE_V2_IPSEC_I: IPsec SA established tunnel mode {ESP=>0xb0df2a5a <0xe98abc5c xfrm=AES_CBC_128-HMAC_SHA2_512_256-MODP3072 NATOA=none NATD=none DPD=passive} kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand\[root@north ikev2-59-alias-ondemand]# sleep 16 [1] Done ping -f -c 100000 -I 192.0.3.254 192.0.2.254 2>&1 > /dev/null [2] Done ping -f -c 100000 -I 192.0.3.254 192.0.2.251 2>&1 > /dev/null [3]- Done ping -f -c 100000 -I 192.0.3.254 192.0.22.254 2>&1 > /dev/null [4]+ Done ping -f -c 100000 -I 192.0.3.254 192.0.22.251 2>&1 > /dev/null kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand\[root@north ikev2-59-alias-ondemand]# ping -n -c 2 -I 192.0.3.254 192.0.2.254 PING 192.0.2.254 (192.0.2.254) from 192.0.3.254 : 56(84) bytes of data. 64 bytes from 192.0.2.254: icmp_seq=1 ttl=64 time=0.090 ms 64 bytes from 192.0.2.254: icmp_seq=2 ttl=64 time=0.097 ms --- 192.0.2.254 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 34ms rtt min/avg/max/mdev = 0.090/0.093/0.097/0.010 ms kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand\[root@north ikev2-59-alias-ondemand]# # should end up traffic flowing wheather tehre are 2 or more tunnels kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand\[root@north ikev2-59-alias-ondemand]# echo done done kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand\[root@north ikev2-59-alias-ondemand]# ipsec whack --trafficstatus whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand\[root@north ikev2-59-alias-ondemand 33]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec whack --trafficstatus' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec status' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi' <<<<<<<<<