/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. 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/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 Sat Sep 21 07:36:36 UTC 2019 XFRM state: src 192.1.2.254 dst 192.1.2.23 proto esp spi 0x90cd5619 reqid 16401 mode tunnel replay-window 32 flag af-unspec auth-trunc hmac(sha1) 0x95598ffd29c51e351be5ca67f7df7bafcbddfde4 96 enc cbc(aes) 0xc17f7b12d0cf0722bb7ce773935447d8 encap type espinudp sport 38743 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 0x1e584d39 reqid 16401 mode tunnel replay-window 32 flag af-unspec auth-trunc hmac(sha1) 0x953ea41585629ba8b1d0ad1e6455d08725b6dcb0 96 enc cbc(aes) 0x10d1c6e525716a567bb2eeb8b3a49519 encap type espinudp sport 4500 dport 38743 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 0x1950f0eb reqid 16397 mode tunnel replay-window 32 flag af-unspec auth-trunc hmac(sha1) 0x8837eb689b47fee38492acec7f1ffdfe197d50aa 96 enc cbc(aes) 0xd5d22bcf2dc6e9269060402ebb31aadf 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 0x4ce7a26c reqid 16397 mode tunnel replay-window 32 flag af-unspec auth-trunc hmac(sha1) 0x4524844625fc08a9042d394dd3e88b0d1aa40d6c 96 enc cbc(aes) 0x8287dd07cec20028d5c541960809d56f 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' <<<<<<<<<