/testing/guestbin/swan-prep kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@east newoe-18-private-private-32]# cp policies/* /etc/ipsec.d/policies/ kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@east newoe-18-private-private-32]# echo "192.1.3.209/32" >> /etc/ipsec.d/policies/private kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@east newoe-18-private-private-32]# 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. 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. 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/newoe-18-private-private-32\[root@east newoe-18-private-private-32]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@east newoe-18-private-private-32]# # give OE policies time to load kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@east newoe-18-private-private-32]# sleep 5 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@east newoe-18-private-private-32]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@east newoe-18-private-private-32]# ../../pluto/bin/ipsec-look.sh ==== cut ==== start raw xfrm state: src 192.1.2.23/32 dst 192.1.3.209/32 \ dir out priority 2088927 ptype main \ tmpl src 192.1.2.23 dst 192.1.3.209\ proto esp reqid 16429 mode tunnel\ src 192.1.3.209/32 dst 192.1.2.23/32 \ dir fwd priority 2088927 ptype main \ tmpl src 192.1.3.209 dst 192.1.2.23\ proto esp reqid 16429 mode tunnel\ src 192.1.3.209/32 dst 192.1.2.23/32 \ dir in priority 2088927 ptype main \ tmpl src 192.1.3.209 dst 192.1.2.23\ proto esp reqid 16429 mode tunnel\ src 192.1.2.253/32 dst 192.1.2.23/32 \ dir fwd priority 1564639 ptype main \ src 192.1.2.253/32 dst 192.1.2.23/32 \ dir in priority 1564639 ptype main \ src 192.1.2.23/32 dst 192.1.2.253/32 \ dir out priority 1564639 ptype main \ src 192.1.3.253/32 dst 192.1.2.23/32 \ dir fwd priority 1564639 ptype main \ src 192.1.3.253/32 dst 192.1.2.23/32 \ dir in priority 1564639 ptype main \ src 192.1.2.23/32 dst 192.1.3.253/32 \ dir out priority 1564639 ptype main \ src 192.1.3.254/32 dst 192.1.2.23/32 \ dir fwd priority 1564639 ptype main \ src 192.1.3.254/32 dst 192.1.2.23/32 \ dir in priority 1564639 ptype main \ src 192.1.2.23/32 dst 192.1.3.254/32 \ dir out priority 1564639 ptype main \ src 192.1.2.254/32 dst 192.1.2.23/32 \ dir fwd priority 1564639 ptype main \ src 192.1.2.254/32 dst 192.1.2.23/32 \ dir in priority 1564639 ptype main \ src 192.1.2.23/32 dst 192.1.2.254/32 \ dir out priority 1564639 ptype main \ end raw xfrm state: ==== tuc ==== east Mon Aug 26 13:20:01 UTC 2019 XFRM state: src 192.1.3.209 dst 192.1.2.23 proto esp spi 0x23aa7d3c reqid 16429 mode tunnel replay-window 32 flag af-unspec aead rfc4106(gcm(aes)) 0x0a5ffe1be7d12d4a439c0320e7cd513f43ce3c3e3d4572507a16f1fbc37ad07e13027187 128 anti-replay context: seq 0x2, oseq 0x0, bitmap 0x00000003 src 192.1.2.23 dst 192.1.3.209 proto esp spi 0xf1e91e48 reqid 16429 mode tunnel replay-window 32 flag af-unspec aead rfc4106(gcm(aes)) 0x21875efb89c9cb9d1049b0f7e9c1a410cd5ebdf4774bc8178202fab5d576dcf5d4880f4f 128 anti-replay context: seq 0x0, oseq 0x2, bitmap 0x00000000 XFRM policy: src 192.1.2.23/32 dst 192.1.2.253/32 dir out priority 1564639 ptype main src 192.1.2.23/32 dst 192.1.2.254/32 dir out priority 1564639 ptype main src 192.1.2.23/32 dst 192.1.3.253/32 dir out priority 1564639 ptype main src 192.1.2.23/32 dst 192.1.3.254/32 dir out priority 1564639 ptype main src 192.1.2.253/32 dst 192.1.2.23/32 dir fwd priority 1564639 ptype main src 192.1.2.253/32 dst 192.1.2.23/32 dir in priority 1564639 ptype main src 192.1.2.254/32 dst 192.1.2.23/32 dir fwd priority 1564639 ptype main src 192.1.2.254/32 dst 192.1.2.23/32 dir in priority 1564639 ptype main src 192.1.3.253/32 dst 192.1.2.23/32 dir fwd priority 1564639 ptype main src 192.1.3.253/32 dst 192.1.2.23/32 dir in priority 1564639 ptype main src 192.1.3.254/32 dst 192.1.2.23/32 dir fwd priority 1564639 ptype main src 192.1.3.254/32 dst 192.1.2.23/32 dir in priority 1564639 ptype main src 192.1.2.23/32 dst 192.1.3.209/32 dir out priority 2088927 ptype main tmpl src 192.1.2.23 dst 192.1.3.209 proto esp reqid 16429 mode tunnel src 192.1.3.209/32 dst 192.1.2.23/32 dir fwd priority 2088927 ptype main tmpl src 192.1.3.209 dst 192.1.2.23 proto esp reqid 16429 mode tunnel src 192.1.3.209/32 dst 192.1.2.23/32 dir in priority 2088927 ptype main tmpl src 192.1.3.209 dst 192.1.2.23 proto esp reqid 16429 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/newoe-18-private-private-32\[root@east newoe-18-private-private-32]# # tunnel should have been established once - idleness check should prevent rekeying for OE kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@east newoe-18-private-private-32]# grep "negotiated connection" /tmp/pluto.log "private#192.1.3.209/32"[1] ...192.1.3.209 #2: negotiated connection [192.1.2.23-192.1.2.23:0-65535 0] -> [192.1.3.209-192.1.3.209:0-65535 0] kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@east newoe-18-private-private-32]# : ==== cut ==== kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@east newoe-18-private-private-32]# ipsec auto --status whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@east newoe-18-private-private-32 33]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec auto --status' <<<<<<<<<