/testing/guestbin/swan-prep east # cp policies/* /etc/ipsec.d/policies/ east # echo "192.1.3.0/24" >> /etc/ipsec.d/policies/private-or-clear east # ipsec start Redirecting to: [initsystem] east # /testing/pluto/bin/wait-until-pluto-started east # # give OE policies time to load east # sleep 5 east # echo "initdone" initdone east # # A tunnel should have established east # grep "negotiated connection" /tmp/pluto.log "private-or-clear#192.1.3.0/24"[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] east # # check for proper state counting east # hostname | grep east && ipsec status | grep "SAs: total" east whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) east # sleep 10 east # ipsec auto --delete private-or-clear whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) east # sleep 5 east # # should show 0 states left east # ipsec status | grep "SAs: total" whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) east # east # ../bin/check-for-core.sh east # if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi