/testing/guestbin/swan-prep road # cp road-ikev2-oe.conf /etc/ipsec.d/ikev2-oe.conf road # cp policies/* /etc/ipsec.d/policies/ road # echo "192.1.2.23/32" >> /etc/ipsec.d/policies/private-or-clear road # ipsec start Redirecting to: [initsystem] road # /testing/pluto/bin/wait-until-pluto-started road # ipsec whack --impair suppress-retransmits road # # ensure for tests acquires expire before our failureshunt=2m road # echo 30 > /proc/sys/net/core/xfrm_acq_expires road # # give OE policies time to load road # sleep 5 road # echo "initdone" initdone road # # one packet, which gets eaten by XFRM, so east does not initiate road # ping -q -w 2 -n -c 1 -I 192.1.3.209 192.1.2.23 PING 192.1.2.23 (192.1.2.23) from 192.1.3.209 : 56(84) bytes of data. --- 192.1.2.23 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time XXXX road # # wait on OE to establish road # sleep 2 road # # should show established tunnel and no bare shunts road # ipsec whack --trafficstatus whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) road # # ping should succeed through tunnel road # ping -q -w 4 -n -c 2 -I 192.1.3.209 192.1.2.23 PING 192.1.2.23 (192.1.2.23) from 192.1.3.209 : 56(84) bytes of data. --- 192.1.2.23 ping statistics --- 4 packets transmitted, 0 received, 100% packet loss, time XXXX road # ipsec whack --trafficstatus whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) road # echo done done road # road # ../bin/check-for-core.sh road # if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi