west:~#
 TESTNAME=mast-pluto-02
west:~#
 source /testing/pluto/bin/westlocal.sh
west:~#
 ipsec setup start
ipsec_setup: Starting Openswan IPsec VERSION
west:~#
 ipsec auto --add west-east
west:~#
 ipsec whack --debug-control --debug-controlmore --debug-parsing --debug-crypt
west:~#
 /testing/pluto/bin/wait-until-pluto-started
west:~#
 echo done
done
west:~#
 ipsec auto --up  west-east
104 "west-east" #1: STATE_MAIN_I1: initiate
003 "west-east" #1: received Vendor ID payload [Openswan 
003 "west-east" #1: received Vendor ID payload [Dead Peer Detection]
106 "west-east" #1: STATE_MAIN_I2: sent MI2, expecting MR2
108 "west-east" #1: STATE_MAIN_I3: sent MI3, expecting MR3
004 "west-east" #1: STATE_MAIN_I4: ISAKMP SA established {auth=OAKLEY_RSA_SIG cipher=oakley_3des_cbc_192 prf=oakley_md5 group=modp1536}
117 "west-east" #2: STATE_QUICK_I1: initiate
004 "west-east" #2: STATE_QUICK_I2: sent QI2, IPsec SA established tunnel mode
west:~#
 ipsec look
west NOW
esp0x1515a536@192.1.2.45 ESP_3DES_HMAC_MD5: dir=in  src=192.1.2.23 iv_bits=64bits iv=0x65c2f20a6c5895a6 ooowin=64 alen=128 aklen=128 eklen=192 life(c,s,h)=addtime(1,0,0) natencap=none natsport=0 natdport=0 refcount=3 ref=4 refhim=1
esp0xa5e73ca@192.1.2.23 ESP_3DES_HMAC_MD5: dir=out src=192.1.2.45 iv_bits=64bits iv=0x051a78c06af77e22 ooowin=64 alen=128 aklen=128 eklen=192 life(c,s,h)=addtime(1,0,0) natencap=none natsport=0 natdport=0 refcount=3 ref=2 refhim=0
tun0x1001@192.1.2.23 IPIP: dir=out src=192.1.2.45 life(c,s,h)=addtime(1,0,0) natencap=none natsport=0 natdport=0 refcount=3 ref=1 refhim=0
tun0x1002@192.1.2.45 IPIP: dir=in  src=192.1.2.23 life(c,s,h)=addtime(1,0,0) natencap=none natsport=0 natdport=0 refcount=3 ref=3 refhim=1
IPSEC TABLE
Chain IPSEC (2 references)
target     prot opt source               destination         
MARK       all  --  192.1.2.45           192.1.2.23         MARK set 0x80010000 
ROUTING TABLE
west:~#
 ping -c 2 east-out
PING east-out (192.1.2.23): 56 data bytes
64 bytes from 192.1.2.23: icmp_seq=0 ttl=257 time=999 ms
64 bytes from 192.1.2.23: icmp_seq=1 ttl=257 time=999 ms

--- east-out ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 3.1/4.5/9.26 ms
west:~#
 echo done
done
west:~#
 

west:~#
west:~#
 if [ -f /tmp/core ]; then echo CORE FOUND; mv /tmp/core /var/tmp; fi
west:~#

