/testing/guestbin/swan-prep kroot@swantest:/home/build/libreswan/testing/pluto/xauth-pluto-28-twobehindnat\[root@east xauth-pluto-28-twobehindnat]# 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. 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. Starting pluto IKE daemon for IPsec: kroot@swantest:/home/build/libreswan/testing/pluto/xauth-pluto-28-twobehindnat\[root@east xauth-pluto-28-twobehindnat]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/xauth-pluto-28-twobehindnat\[root@east xauth-pluto-28-twobehindnat]# ipsec auto --add east-any 002 added connection description "east-any" kroot@swantest:/home/build/libreswan/testing/pluto/xauth-pluto-28-twobehindnat\[root@east xauth-pluto-28-twobehindnat]# echo initdone initdone kroot@swantest:/home/build/libreswan/testing/pluto/xauth-pluto-28-twobehindnat\[root@east xauth-pluto-28-twobehindnat]# # on east this should show 2 sets of in/fwd/out policies kroot@swantest:/home/build/libreswan/testing/pluto/xauth-pluto-28-twobehindnat\[root@east xauth-pluto-28-twobehindnat]# ../../pluto/bin/ipsec-look.sh ==== cut ==== start raw xfrm state: src 0.0.0.0/0 dst 192.0.2.102/32 \ dir out priority 1048543 ptype main \ tmpl src 192.1.2.23 dst 192.1.2.254\ proto esp reqid 16401 mode tunnel\ src 192.0.2.102/32 dst 0.0.0.0/0 \ dir fwd priority 1048543 ptype main \ tmpl src 192.1.2.254 dst 192.1.2.23\ proto esp reqid 16401 mode tunnel\ src 192.0.2.102/32 dst 0.0.0.0/0 \ dir in priority 1048543 ptype main \ tmpl src 192.1.2.254 dst 192.1.2.23\ proto esp reqid 16401 mode tunnel\ src 0.0.0.0/0 dst 192.0.2.101/32 \ dir out priority 1048543 ptype main \ tmpl src 192.1.2.23 dst 192.1.2.254\ proto esp reqid 16397 mode tunnel\ src 192.0.2.101/32 dst 0.0.0.0/0 \ dir fwd priority 1048543 ptype main \ tmpl src 192.1.2.254 dst 192.1.2.23\ proto esp reqid 16397 mode tunnel\ src 192.0.2.101/32 dst 0.0.0.0/0 \ dir in priority 1048543 ptype main \ tmpl src 192.1.2.254 dst 192.1.2.23\ proto esp reqid 16397 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 ==== east Mon Aug 26 13:27:02 UTC 2019 XFRM state: src 192.1.2.254 dst 192.1.2.23 proto esp spi 0x6c4b5947 reqid 16401 mode tunnel replay-window 32 flag af-unspec auth-trunc hmac(sha1) 0xcae38347144b6f36c148969e43b10aa13477aede 96 enc cbc(aes) 0xbfa0b206b13c1fe2de2fd84645bfd328 encap type espinudp sport 49277 dport 4500 addr 0.0.0.0 anti-replay context: seq 0x4, oseq 0x0, bitmap 0x0000000f src 192.1.2.23 dst 192.1.2.254 proto esp spi 0x364739f6 reqid 16401 mode tunnel replay-window 32 flag af-unspec auth-trunc hmac(sha1) 0xb9f2e392ba22693e2c97484b1cd1f97298d641db 96 enc cbc(aes) 0x713fddeb15b94ced23643300d447bf38 encap type espinudp sport 4500 dport 49277 addr 0.0.0.0 anti-replay context: seq 0x0, oseq 0x4, bitmap 0x00000000 src 192.1.2.254 dst 192.1.2.23 proto esp spi 0x74682ec3 reqid 16397 mode tunnel replay-window 32 flag af-unspec auth-trunc hmac(sha1) 0xc365f82a06cc607253e8db4ad2277ca7e9f7284a 96 enc cbc(aes) 0xdc52e52fa6271c48f986f13a2499c931 encap type espinudp sport 4500 dport 4500 addr 0.0.0.0 anti-replay context: seq 0x4, oseq 0x0, bitmap 0x0000000f src 192.1.2.23 dst 192.1.2.254 proto esp spi 0xf3a892e4 reqid 16397 mode tunnel replay-window 32 flag af-unspec auth-trunc hmac(sha1) 0x0dbc22a75cea465a8da8865faafade849c56ec6f 96 enc cbc(aes) 0x6da94db9fc2d471adc58e7a3758fd12d encap type espinudp sport 4500 dport 4500 addr 0.0.0.0 anti-replay context: seq 0x0, oseq 0x4, bitmap 0x00000000 XFRM policy: src 0.0.0.0/0 dst 192.0.2.101/32 dir out priority 1048543 ptype main tmpl src 192.1.2.23 dst 192.1.2.254 proto esp reqid 16397 mode tunnel src 0.0.0.0/0 dst 192.0.2.102/32 dir out priority 1048543 ptype main tmpl src 192.1.2.23 dst 192.1.2.254 proto esp reqid 16401 mode tunnel src 192.0.2.101/32 dst 0.0.0.0/0 dir fwd priority 1048543 ptype main tmpl src 192.1.2.254 dst 192.1.2.23 proto esp reqid 16397 mode tunnel src 192.0.2.101/32 dst 0.0.0.0/0 dir in priority 1048543 ptype main tmpl src 192.1.2.254 dst 192.1.2.23 proto esp reqid 16397 mode tunnel src 192.0.2.102/32 dst 0.0.0.0/0 dir fwd priority 1048543 ptype main tmpl src 192.1.2.254 dst 192.1.2.23 proto esp reqid 16401 mode tunnel src 192.0.2.102/32 dst 0.0.0.0/0 dir in priority 1048543 ptype main tmpl src 192.1.2.254 dst 192.1.2.23 proto esp reqid 16401 mode tunnel XFRM done IPSEC mangle TABLES NEW_IPSEC_CONN mangle TABLES ROUTING TABLES default via 192.1.2.254 dev eth1 192.0.1.0/24 via 192.1.2.45 dev eth1 192.0.2.0/24 dev eth0 proto kernel scope link src 192.0.2.254 192.1.2.0/24 dev eth1 proto kernel scope link src 192.1.2.23 NSS_CERTIFICATES Certificate Nickname Trust Attributes SSL,S/MIME,JAR/XPI kroot@swantest:/home/build/libreswan/testing/pluto/xauth-pluto-28-twobehindnat\[root@east xauth-pluto-28-twobehindnat]# ../bin/check-for-core.sh kroot@swantest:/home/build/libreswan/testing/pluto/xauth-pluto-28-twobehindnat\[root@east xauth-pluto-28-twobehindnat]# if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi kroot@swantest:/home/build/libreswan/testing/pluto/xauth-pluto-28-twobehindnat\[root@east xauth-pluto-28-twobehindnat 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi' <<<<<<<<<