/testing/guestbin/swan-prep
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ipsec auto --add road-east
002 "road-east": added IKEv1 connection
east #
 ../../guestbin/tcpdump.sh --start -i eth1
tcpdump is not running
tcpdump started
east #
 echo "initdone"
initdone
east #
 ../../guestbin/xfrmcheck.sh
east #
 # traffic should be 0 bytes in both directions
east #
 ipsec whack --trafficstatus
006 #2: "road-east", type=ESP, add_time=1234567890, inBytes=0, outBytes=0, id='@road'
east #
 ../../guestbin/tcpdump.sh --stop
[ 00.00] device eth1 left promiscuous mode
tcpdump stopped
reading from file /tmp/east.ikev1-xfrmi-02-tcpdump.tcpdump.pcap, link-type EN10MB (Ethernet)
IP 192.1.3.209.isakmp > 192.1.2.23.isakmp: isakmp: phase 1 I ident
IP 192.1.2.23.isakmp > 192.1.3.209.isakmp: isakmp: phase 1 R ident
IP 192.1.3.209.isakmp > 192.1.2.23.isakmp: isakmp: phase 1 I ident
IP 192.1.2.23.isakmp > 192.1.3.209.isakmp: isakmp: phase 1 R ident
IP 192.1.3.209.isakmp > 192.1.2.23.isakmp: isakmp: phase 1 I ident[E]
IP 192.1.2.23.isakmp > 192.1.3.209.isakmp: isakmp: phase 1 R ident[E]
IP 192.1.3.209.isakmp > 192.1.2.23.isakmp: isakmp: phase 2/others I oakley-quick[E]
IP 192.1.2.23.isakmp > 192.1.3.209.isakmp: isakmp: phase 2/others R oakley-quick[E]
IP 192.1.3.209.isakmp > 192.1.2.23.isakmp: isakmp: phase 2/others I oakley-quick[E]
east #
 
