/testing/guestbin/swan-prep ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand[root@north ikev2-59-alias-ondemand]# rm -fr /var/run/pluto/pluto.pid ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand[root@north ikev2-59-alias-ondemand]# /usr/local/sbin/ipsec _stackmanager start --netkey ]0;root@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 ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand[root@north ikev2-59-alias-ondemand]# /testing/pluto/bin/wait-until-pluto-started ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand[root@north ikev2-59-alias-ondemand]# echo "initdone" initdone ]0;root@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] 2152368 ]0;root@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] 2152402 ]0;root@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] 2152437 ]0;root@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] 2152475 ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand[root@north ikev2-59-alias-ondemand]# ipsec auto --add north-eastnets 002 added IKEv2 connection "north-eastnets/0x1" 002 added IKEv2 connection "north-eastnets/0x2" ]0;root@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' 181 "north-eastnets/0x2" #1: initiating IKEv2 connection 000 "north-eastnets/0x1": queuing pending IPsec SA negotiating with 192.1.2.23 IKE SA #1 "north-eastnets/0x2" 181 "north-eastnets/0x2" #1: sent IKE_SA_INIT request 182 "north-eastnets/0x2" #1: sent IKE_AUTH request {auth=IKEv2 cipher=AES_CBC_256 integ=HMAC_SHA2_256_128 prf=HMAC_SHA2_256 group=MODP2048} 002 "north-eastnets/0x1" #3: IKEv2 mode peer ID is ID_FQDN: '@east' 003 "north-eastnets/0x2" #1: authenticated using RSA with SHA2_512 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: route-client output: Error: Peer netns reference is invalid. 002 "north-eastnets/0x1" #3: 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" #3: IPsec SA established tunnel mode {ESP=>0x323e8a54 <0x1e003267 xfrm=AES_CBC_128-HMAC_SHA2_512_256 NATOA=none NATD=none DPD=passive} 189 "north-eastnets/0x2" #4: sent CREATE_CHILD_SA request for new IPsec SA 002 "north-eastnets/0x2" #4: 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" #4: IPsec SA established tunnel mode {ESP=>0x98b3bf89 <0x8a51674e xfrm=AES_CBC_128-HMAC_SHA2_512_256-MODP3072 NATOA=none NATD=none DPD=passive} ]0;root@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 ]0;root@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.092 ms --- 192.0.2.254 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1064ms rtt min/avg/max/mdev = 0.090/0.091/0.092/0.001 ms ]0;root@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 ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand[root@north ikev2-59-alias-ondemand]# echo done done ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand[root@north ikev2-59-alias-ondemand]# ipsec whack --trafficstatus 006 #3: "north-eastnets/0x1", type=ESP, add_time=1604157896, inBytes=20640984, outBytes=20640984, id='@east' 006 #6: "north-eastnets/0x1", type=ESP, add_time=0, inBytes=8212848, outBytes=8213352, id='@east' 006 #4: "north-eastnets/0x2", type=ESP, add_time=0, inBytes=28581672, outBytes=28581756, id='@east' 006 #5: "north-eastnets/0x2", type=ESP, add_time=1604157897, inBytes=4860492, outBytes=4877376, id='@east' ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand[root@north ikev2-59-alias-ondemand]# ../../pluto/bin/ipsec-look.sh ==== cut ==== start raw xfrm state: src 192.0.3.0/24 dst 192.0.2.0/24 \ dir out priority 2084814 ptype main \ tmpl src 192.1.3.33 dst 192.1.2.23\ proto esp reqid 16389 mode tunnel\ src 192.0.3.0/24 dst 192.0.22.0/24 \ dir out priority 2084814 ptype main \ tmpl src 192.1.3.33 dst 192.1.2.23\ proto esp reqid 16393 mode tunnel\ src 192.0.22.0/24 dst 192.0.3.0/24 \ dir fwd priority 2084814 ptype main \ tmpl src 192.1.2.23 dst 192.1.3.33\ proto esp reqid 16393 mode tunnel\ src 192.0.22.0/24 dst 192.0.3.0/24 \ dir in priority 2084814 ptype main \ tmpl src 192.1.2.23 dst 192.1.3.33\ proto esp reqid 16393 mode tunnel\ src 192.0.2.0/24 dst 192.0.3.0/24 \ dir fwd priority 2084814 ptype main \ tmpl src 192.1.2.23 dst 192.1.3.33\ proto esp reqid 16389 mode tunnel\ src 192.0.2.0/24 dst 192.0.3.0/24 \ dir in priority 2084814 ptype main \ tmpl src 192.1.2.23 dst 192.1.3.33\ proto esp reqid 16389 mode tunnel\ src 0.0.0.0/0 dst 0.0.0.0/0 \ socket out priority 0 ptype main \ src 0.0.0.0/0 dst 0.0.0.0/0 \ socket in priority 0 ptype main \ src 0.0.0.0/0 dst 0.0.0.0/0 \ socket out priority 0 ptype main \ src 0.0.0.0/0 dst 0.0.0.0/0 \ socket in priority 0 ptype main \ src 0.0.0.0/0 dst 0.0.0.0/0 \ socket out priority 0 ptype main \ src 0.0.0.0/0 dst 0.0.0.0/0 \ socket in priority 0 ptype main \ src 0.0.0.0/0 dst 0.0.0.0/0 \ socket out priority 0 ptype main \ src 0.0.0.0/0 dst 0.0.0.0/0 \ socket in priority 0 ptype main \ src 0.0.0.0/0 dst 0.0.0.0/0 \ socket out priority 0 ptype main \ src 0.0.0.0/0 dst 0.0.0.0/0 \ socket in priority 0 ptype main \ src 0.0.0.0/0 dst 0.0.0.0/0 \ socket out priority 0 ptype main \ src 0.0.0.0/0 dst 0.0.0.0/0 \ socket in priority 0 ptype main \ end raw xfrm state: ==== tuc ==== north Sat Oct 31 15:25:17 UTC 2020 XFRM state: src 192.1.2.23 dst 192.1.3.33 proto esp spi 0xe2910ac0 reqid 16389 mode tunnel replay-window 32 flag af-unspec auth-trunc hmac(sha512) 0x4f8c6a0edf1ddec9b45eb27bf260082e9c53da9f065dbbc9ca64b84e99ad7e94c7f5b6c8be8e07fc466c93c3ea9080f4c3451123d9dc17554f2e03f2e0b36c3f 256 enc cbc(aes) 0x4d32d16d58e1b5d9b8f50940509bb1a2 anti-replay context: seq 0x17dee, oseq 0x0, bitmap 0xffffffff src 192.1.3.33 dst 192.1.2.23 proto esp spi 0xbd68e0ed reqid 16389 mode tunnel replay-window 32 flag af-unspec auth-trunc hmac(sha512) 0x1b50d9c22341f5f71cfa460e7d90589ccaaabf673d5b98578a81e8cdac9406401c6ef0e4acd03b6b69673f3de620a0662c455e326e5f2b8ece3f8a2832c50819 256 enc cbc(aes) 0xb7407506178784cfb8615e5faa4a25a1 anti-replay context: seq 0x0, oseq 0x17df2, bitmap 0x00000000 src 192.1.2.23 dst 192.1.3.33 proto esp spi 0x8a51674e reqid 16393 mode tunnel replay-window 32 flag af-unspec auth-trunc hmac(sha512) 0x00665b5d6e3ac4df3f2c7cc1ccdc34c144bbaefdaadacbbfdd42e88d1c6c5c2d5f339d7694b978597ac632a80b0c702359c80c581beaf3d99c1678fa47b74dac 256 enc cbc(aes) 0x63ffd67c3746e03ec709711e61afde62 anti-replay context: seq 0x5328a, oseq 0x0, bitmap 0xffffffff src 192.1.3.33 dst 192.1.2.23 proto esp spi 0x98b3bf89 reqid 16393 mode tunnel replay-window 32 flag af-unspec auth-trunc hmac(sha512) 0xa7c4f62046f0f48dea4f6955092ac1451a6595f4570fd69d875d90e11df4da76b0c4cdc70e5c28de0833422d46d22312afa8bf776c377e45f3535a01ac1d8a9d 256 enc cbc(aes) 0x3ff7c19349318b0c515b8e76013d1112 anti-replay context: seq 0x0, oseq 0x53123, bitmap 0x00000000 src 192.1.2.23 dst 192.1.3.33 proto esp spi 0xf040d50e reqid 16393 mode tunnel replay-window 32 flag af-unspec auth-trunc hmac(sha512) 0x75c0e2da37faf82433972e1dae848015213f7fa44466e1f767039f924a4e71f3425b681b856c99b1427d9a0987a6be51dac89f6ede1c4760163ea99c9cdf9581 256 enc cbc(aes) 0xe187fe54f610eaf3a66b32104a606d8d anti-replay context: seq 0xe207, oseq 0x0, bitmap 0xffffffff src 192.1.3.33 dst 192.1.2.23 proto esp spi 0xde706675 reqid 16393 mode tunnel replay-window 32 flag af-unspec auth-trunc hmac(sha512) 0xc4719f8f34a478a04d03bb08409e37596cb659aeb70bbfc77bcbd40bd6079d4c742ea025ae656e6e2d823ed5feda74750b7b61de2303abe9c196aedd7c84aba9 256 enc cbc(aes) 0xe96239c693247702e591d9d57854d8f1 anti-replay context: seq 0x0, oseq 0xe2d0, bitmap 0x00000000 src 192.1.2.23 dst 192.1.3.33 proto esp spi 0x1e003267 reqid 16389 mode tunnel replay-window 32 flag af-unspec auth-trunc hmac(sha512) 0xa96702d6d7347b77cf9821b38492178664b20fa1051f99443dc57a410d1a5ede97f41de9b42ea2a7541432d9c08b5649c4594168797effa873a14071d421b69b 256 enc cbc(aes) 0xd2435f9ef1d6ae77843d3b6c154e99e5 anti-replay context: seq 0x3bfe3, oseq 0x0, bitmap 0xffffffff src 192.1.3.33 dst 192.1.2.23 proto esp spi 0x323e8a54 reqid 16389 mode tunnel replay-window 32 flag af-unspec auth-trunc hmac(sha512) 0x0e3e0d91f4199e113dc668970278e327a849201274feebfdd9a5d89fe440ef5934367cf63cdbbbbfc944459d73e24c9ceaac5187b65746164a6624037fe7cb35 256 enc cbc(aes) 0xfa66c5b5087ecc0fe6308abbafcdb05f anti-replay context: seq 0x0, oseq 0x3bfde, bitmap 0x00000000 XFRM policy: src 192.0.2.0/24 dst 192.0.3.0/24 dir fwd priority 2084814 ptype main tmpl src 192.1.2.23 dst 192.1.3.33 proto esp reqid 16389 mode tunnel src 192.0.2.0/24 dst 192.0.3.0/24 dir in priority 2084814 ptype main tmpl src 192.1.2.23 dst 192.1.3.33 proto esp reqid 16389 mode tunnel src 192.0.22.0/24 dst 192.0.3.0/24 dir fwd priority 2084814 ptype main tmpl src 192.1.2.23 dst 192.1.3.33 proto esp reqid 16393 mode tunnel src 192.0.22.0/24 dst 192.0.3.0/24 dir in priority 2084814 ptype main tmpl src 192.1.2.23 dst 192.1.3.33 proto esp reqid 16393 mode tunnel src 192.0.3.0/24 dst 192.0.2.0/24 dir out priority 2084814 ptype main tmpl src 192.1.3.33 dst 192.1.2.23 proto esp reqid 16389 mode tunnel src 192.0.3.0/24 dst 192.0.22.0/24 dir out priority 2084814 ptype main tmpl src 192.1.3.33 dst 192.1.2.23 proto esp reqid 16393 mode tunnel XFRM done IPSEC mangle TABLES NEW_IPSEC_CONN mangle TABLES ROUTING TABLES default via 192.1.3.254 dev eth1 192.0.3.0/24 dev eth0 proto kernel scope link src 192.0.3.254 192.1.3.0/24 dev eth1 proto kernel scope link src 192.1.3.33 NSS_CERTIFICATES Certificate Nickname Trust Attributes SSL,S/MIME,JAR/XPI ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand[root@north ikev2-59-alias-ondemand]# : ==== cut ==== ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand[root@north ikev2-59-alias-ondemand]# ipsec status 000 using kernel interface: xfrm 000 000 interface lo UDP 127.0.0.1:4500 000 interface lo UDP 127.0.0.1:500 000 interface eth0 UDP 192.0.3.254:4500 000 interface eth0 UDP 192.0.3.254:500 000 interface eth1 UDP 192.1.3.33:4500 000 interface eth1 UDP 192.1.3.33:500 000 000 fips mode=disabled; 000 SElinux=disabled 000 seccomp=disabled 000 000 config setup options: 000 000 configdir=/etc, configfile=/etc/ipsec.conf, secrets=/etc/ipsec.secrets, ipsecdir=/etc/ipsec.d 000 nssdir=/var/lib/ipsec/nss, dumpdir=/tmp, statsbin=unset 000 dnssec-rootkey-file=/var/lib/unbound/root.key, dnssec-trusted= 000 sbindir=/usr/local/sbin, libexecdir=/usr/local/libexec/ipsec 000 pluto_version=v4.1-88-gf1d1933837ef-main, pluto_vendorid=OE-Libreswan-v4.1-88, audit-log=yes 000 nhelpers=-1, uniqueids=yes, dnssec-enable=yes, logappend=no, logip=yes, shuntlifetime=900s, xfrmlifetime=30s 000 ddos-cookies-threshold=25000, ddos-max-halfopen=50000, ddos-mode=auto, ikev1-policy=accept 000 ikebuf=0, msg_errqueue=yes, crl-strict=no, crlcheckinterval=0, listen=, nflog-all=0 000 ocsp-enable=no, ocsp-strict=no, ocsp-timeout=2, ocsp-uri= 000 ocsp-trust-name= 000 ocsp-cache-size=1000, ocsp-cache-min-age=3600, ocsp-cache-max-age=86400, ocsp-method=get 000 global-redirect=no, global-redirect-to= 000 secctx-attr-type=32001 000 debug: base+cpu-usage 000 000 nat-traversal=yes, keep-alive=20, nat-ikeport=4500 000 virtual-private (%priv): 000 000 Kernel algorithms supported: 000 000 algorithm ESP encrypt: name=3DES_CBC, keysizemin=192, keysizemax=192 000 algorithm ESP encrypt: name=AES_CBC, keysizemin=128, keysizemax=256 000 algorithm ESP encrypt: name=AES_CCM_12, keysizemin=128, keysizemax=256 000 algorithm ESP encrypt: name=AES_CCM_16, keysizemin=128, keysizemax=256 000 algorithm ESP encrypt: name=AES_CCM_8, keysizemin=128, keysizemax=256 000 algorithm ESP encrypt: name=AES_CTR, keysizemin=128, keysizemax=256 000 algorithm ESP encrypt: name=AES_GCM_12, keysizemin=128, keysizemax=256 000 algorithm ESP encrypt: name=AES_GCM_16, keysizemin=128, keysizemax=256 000 algorithm ESP encrypt: name=AES_GCM_8, keysizemin=128, keysizemax=256 000 algorithm ESP encrypt: name=CAMELLIA_CBC, keysizemin=128, keysizemax=256 000 algorithm ESP encrypt: name=CHACHA20_POLY1305, keysizemin=256, keysizemax=256 000 algorithm ESP encrypt: name=NULL, keysizemin=0, keysizemax=0 000 algorithm ESP encrypt: name=NULL_AUTH_AES_GMAC, keysizemin=128, keysizemax=256 000 algorithm AH/ESP auth: name=AES_CMAC_96, key-length=128 000 algorithm AH/ESP auth: name=AES_XCBC_96, key-length=128 000 algorithm AH/ESP auth: name=HMAC_MD5_96, key-length=128 000 algorithm AH/ESP auth: name=HMAC_SHA1_96, key-length=160 000 algorithm AH/ESP auth: name=HMAC_SHA2_256_128, key-length=256 000 algorithm AH/ESP auth: name=HMAC_SHA2_256_TRUNCBUG, key-length=256 000 algorithm AH/ESP auth: name=HMAC_SHA2_384_192, key-length=384 000 algorithm AH/ESP auth: name=HMAC_SHA2_512_256, key-length=512 000 algorithm AH/ESP auth: name=NONE, key-length=0 000 000 IKE algorithms supported: 000 000 algorithm IKE encrypt: v1id=5, v1name=OAKLEY_3DES_CBC, v2id=3, v2name=3DES, blocksize=8, keydeflen=192 000 algorithm IKE encrypt: v1id=8, v1name=OAKLEY_CAMELLIA_CBC, v2id=23, v2name=CAMELLIA_CBC, blocksize=16, keydeflen=128 000 algorithm IKE encrypt: v1id=-1, v1name=n/a, v2id=20, v2name=AES_GCM_C, blocksize=16, keydeflen=128 000 algorithm IKE encrypt: v1id=-1, v1name=n/a, v2id=19, v2name=AES_GCM_B, blocksize=16, keydeflen=128 000 algorithm IKE encrypt: v1id=-1, v1name=n/a, v2id=18, v2name=AES_GCM_A, blocksize=16, keydeflen=128 000 algorithm IKE encrypt: v1id=13, v1name=OAKLEY_AES_CTR, v2id=13, v2name=AES_CTR, blocksize=16, keydeflen=128 000 algorithm IKE encrypt: v1id=7, v1name=OAKLEY_AES_CBC, v2id=12, v2name=AES_CBC, blocksize=16, keydeflen=128 000 algorithm IKE encrypt: v1id=-1, v1name=n/a, v2id=28, v2name=CHACHA20_POLY1305, blocksize=16, keydeflen=256 000 algorithm IKE PRF: name=HMAC_MD5, hashlen=16 000 algorithm IKE PRF: name=HMAC_SHA1, hashlen=20 000 algorithm IKE PRF: name=HMAC_SHA2_256, hashlen=32 000 algorithm IKE PRF: name=HMAC_SHA2_384, hashlen=48 000 algorithm IKE PRF: name=HMAC_SHA2_512, hashlen=64 000 algorithm IKE PRF: name=AES_XCBC, hashlen=16 000 algorithm IKE DH Key Exchange: name=MODP1536, bits=1536 000 algorithm IKE DH Key Exchange: name=MODP2048, bits=2048 000 algorithm IKE DH Key Exchange: name=MODP3072, bits=3072 000 algorithm IKE DH Key Exchange: name=MODP4096, bits=4096 000 algorithm IKE DH Key Exchange: name=MODP6144, bits=6144 000 algorithm IKE DH Key Exchange: name=MODP8192, bits=8192 000 algorithm IKE DH Key Exchange: name=DH19, bits=512 000 algorithm IKE DH Key Exchange: name=DH20, bits=768 000 algorithm IKE DH Key Exchange: name=DH21, bits=1056 000 algorithm IKE DH Key Exchange: name=DH31, bits=256 000 000 stats db_ops: {curr_cnt, total_cnt, maxsz} :context={0,0,0} trans={0,0,0} attrs={0,0,0} 000 000 Connection list: 000 000 "north-eastnets/0x1": 192.0.3.0/24===192.1.3.33<192.1.3.33>[@north]...192.1.2.23<192.1.2.23>[@east]===192.0.2.0/24; erouted; eroute owner: #6 000 "north-eastnets/0x1": oriented; my_ip=unset; their_ip=unset; my_updown=ipsec _updown; 000 "north-eastnets/0x1": xauth us:none, xauth them:none, my_username=[any]; their_username=[any] 000 "north-eastnets/0x1": our auth:rsasig, their auth:rsasig 000 "north-eastnets/0x1": modecfg info: us:none, them:none, modecfg policy:push, dns:unset, domains:unset, banner:unset, cat:unset; 000 "north-eastnets/0x1": policy_label:unset; 000 "north-eastnets/0x1": ike_life: 3600s; ipsec_life: 28800s; replay_window: 32; rekey_margin: 540s; rekey_fuzz: 100%; keyingtries: 0; 000 "north-eastnets/0x1": retransmit-interval: 50ms; retransmit-timeout: 60s; iketcp:no; iketcp-port:4500; 000 "north-eastnets/0x1": initial-contact:no; cisco-unity:no; fake-strongswan:no; send-vendorid:no; send-no-esp-tfc:no; 000 "north-eastnets/0x1": policy: RSASIG+ECDSA+ENCRYPT+TUNNEL+PFS+UP+IKEV2_ALLOW+IKE_FRAG_ALLOW+ESN_NO+RSASIG_v1_5; 000 "north-eastnets/0x1": v2-auth-hash-policy: SHA2_256+SHA2_384+SHA2_512; 000 "north-eastnets/0x1": conn_prio: 24,24; interface: eth1; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none; 000 "north-eastnets/0x1": nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:auto; 000 "north-eastnets/0x1": our idtype: ID_FQDN; our id=@north; their idtype: ID_FQDN; their id=@east 000 "north-eastnets/0x1": dpd: action:hold; delay:0; timeout:0; nat-t: encaps:auto; nat_keepalive:yes; ikev1_natt:both 000 "north-eastnets/0x1": newest ISAKMP SA: #0; newest IPsec SA: #6; conn serial: $1; 000 "north-eastnets/0x1": aliases: north-eastnets 000 "north-eastnets/0x1": IKE algorithms: AES_CBC_256-HMAC_SHA2_256-MODP2048 000 "north-eastnets/0x1": ESP algorithms: AES_CBC_128-HMAC_SHA2_512_256-MODP3072 000 "north-eastnets/0x1": ESP algorithm newest: AES_CBC_128-HMAC_SHA2_512_256; pfsgroup= 000 "north-eastnets/0x2": 192.0.3.0/24===192.1.3.33<192.1.3.33>[@north]...192.1.2.23<192.1.2.23>[@east]===192.0.22.0/24; erouted; eroute owner: #4 000 "north-eastnets/0x2": oriented; my_ip=unset; their_ip=unset; my_updown=ipsec _updown; 000 "north-eastnets/0x2": xauth us:none, xauth them:none, my_username=[any]; their_username=[any] 000 "north-eastnets/0x2": our auth:rsasig, their auth:rsasig 000 "north-eastnets/0x2": modecfg info: us:none, them:none, modecfg policy:push, dns:unset, domains:unset, banner:unset, cat:unset; 000 "north-eastnets/0x2": policy_label:unset; 000 "north-eastnets/0x2": ike_life: 3600s; ipsec_life: 28800s; replay_window: 32; rekey_margin: 540s; rekey_fuzz: 100%; keyingtries: 0; 000 "north-eastnets/0x2": retransmit-interval: 50ms; retransmit-timeout: 60s; iketcp:no; iketcp-port:4500; 000 "north-eastnets/0x2": initial-contact:no; cisco-unity:no; fake-strongswan:no; send-vendorid:no; send-no-esp-tfc:no; 000 "north-eastnets/0x2": policy: RSASIG+ECDSA+ENCRYPT+TUNNEL+PFS+UP+IKEV2_ALLOW+IKE_FRAG_ALLOW+ESN_NO+RSASIG_v1_5; 000 "north-eastnets/0x2": v2-auth-hash-policy: SHA2_256+SHA2_384+SHA2_512; 000 "north-eastnets/0x2": conn_prio: 24,24; interface: eth1; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none; 000 "north-eastnets/0x2": nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:auto; 000 "north-eastnets/0x2": our idtype: ID_FQDN; our id=@north; their idtype: ID_FQDN; their id=@east 000 "north-eastnets/0x2": dpd: action:hold; delay:0; timeout:0; nat-t: encaps:auto; nat_keepalive:yes; ikev1_natt:both 000 "north-eastnets/0x2": newest ISAKMP SA: #2; newest IPsec SA: #4; conn serial: $2; 000 "north-eastnets/0x2": aliases: north-eastnets 000 "north-eastnets/0x2": IKE algorithms: AES_CBC_256-HMAC_SHA2_256-MODP2048 000 "north-eastnets/0x2": IKEv2 algorithm newest: AES_CBC_256-HMAC_SHA2_256-MODP2048 000 "north-eastnets/0x2": ESP algorithms: AES_CBC_128-HMAC_SHA2_512_256-MODP3072 000 "north-eastnets/0x2": ESP algorithm newest: AES_CBC_128-HMAC_SHA2_512_256; pfsgroup= 000 000 Total IPsec connections: loaded 2, active 2 000 000 State Information: DDoS cookies not required, Accepting new IKE connections 000 IKE SAs: total(2), half-open(0), open(0), authenticated(2), anonymous(0) 000 IPsec SAs: total(4), authenticated(4), anonymous(0) 000 000 #3: "north-eastnets/0x1":500 STATE_V2_ESTABLISHED_CHILD_SA (IPsec SA established); EVENT_SA_REKEY in 28027s; isakmp#1; idle; 000 #3: "north-eastnets/0x1" esp.323e8a54@192.1.2.23 esp.1e003267@192.1.3.33 tun.0@192.1.2.23 tun.0@192.1.3.33 Traffic: ESPin=19MB ESPout=19MB! ESPmax=0B 000 #6: "north-eastnets/0x1":500 STATE_V2_ESTABLISHED_CHILD_SA (IPsec SA established); EVENT_SA_REKEY in 28511s; newest IPSEC; eroute owner; isakmp#2; idle; 000 #6: "north-eastnets/0x1" esp.bd68e0ed@192.1.2.23 esp.e2910ac0@192.1.3.33 tun.0@192.1.2.23 tun.0@192.1.3.33 Traffic: ESPin=7MB ESPout=7MB! ESPmax=0B 000 #1: "north-eastnets/0x2":500 STATE_V2_ESTABLISHED_IKE_SA (established IKE SA); EVENT_SA_REKEY in 2586s; idle; 000 #2: "north-eastnets/0x2":500 STATE_V2_ESTABLISHED_IKE_SA (established IKE SA); EVENT_SA_REKEY in 3309s; newest ISAKMP; idle; 000 #4: "north-eastnets/0x2":500 STATE_V2_ESTABLISHED_CHILD_SA (IPsec SA established); EVENT_SA_REKEY in 27819s; newest IPSEC; eroute owner; isakmp#1; idle; 000 #4: "north-eastnets/0x2" esp.98b3bf89@192.1.2.23 esp.8a51674e@192.1.3.33 tun.0@192.1.2.23 tun.0@192.1.3.33 Traffic: ESPin=27MB ESPout=27MB! ESPmax=0B 000 #5: "north-eastnets/0x2":500 STATE_V2_ESTABLISHED_CHILD_SA (IPsec SA established); EVENT_SA_REKEY in 28509s; isakmp#2; idle; 000 #5: "north-eastnets/0x2" esp.de706675@192.1.2.23 esp.f040d50e@192.1.3.33 tun.0@192.1.2.23 tun.0@192.1.3.33 Traffic: ESPin=4MB ESPout=4MB! ESPmax=0B 000 000 Bare Shunt list: 000 ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand[root@north ikev2-59-alias-ondemand]# : ==== tuc ==== ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand[root@north ikev2-59-alias-ondemand]# ../bin/check-for-core.sh ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand[root@north ikev2-59-alias-ondemand]# if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-59-alias-ondemand[root@north ikev2-59-alias-ondemand 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi' <<<<<<<<<>>>>>>>>>cut>>>>>>>>>> done <<<<<<<<<