/testing/guestbin/swan-prep
road #
 echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
road #
 ipsec start
Redirecting to: [initsystem]
road #
 /testing/pluto/bin/wait-until-pluto-started
road #
 ipsec whack --impair suppress-retransmits
road #
 ipsec whack --impair revival
road #
 ipsec auto --add road
002 added IKEv2 connection "road"
road #
 echo "initdone"
initdone
road #
 ipsec auto --up road
1v2 "road" #1: initiating IKEv2 connection
1v2 "road" #1: sent IKE_SA_INIT request
1v2 "road" #1: sent IKE_AUTH request {auth=IKEv2 cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=MODP2048}
002 "road" #2: IKEv2 mode peer ID is ID_FQDN: '@east'
003 "road" #1: authenticated using authby=secret
002 "road" #2: negotiated connection [192.1.3.209-192.1.3.209:0-65535 0] -> [192.1.2.23-192.1.2.23:0-65535 0]
004 "road" #2: IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE NATOA=none NATD=none DPD=passive}
road #
 # do not send a ping yet. It would confuse the tcpdump output
road #
 # ping -w 4 -c 4 192.1.2.23
road #
 echo done
done
road #
 ../bin/xfrmcheck.sh
road #
 # traffic should be 0 bytes in both directions
road #
 ipsec whack --trafficstatus
006 #2: "road", type=ESP, add_time=1234567890, inBytes=0, outBytes=0, id='@east'
road #
 ../bin/tcpdump.sh --stop --host east
road #
 hostname | grep east > /dev/null && ip -s link show ipsec1
road #
 hostname | grep east > /dev/null && ip rule show
road #
 hostname | grep east > /dev/null && ip route show table 50
road #
 hostname | grep east > /dev/null && ip route
road #
 ../bin/check-for-core.sh
road #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi
road #
 
