/testing/guestbin/swan-prep
road #
 ipsec setup start
[ 00.00] NET: Registered protocol family 15
Redirecting to: systemctl start ipsec.service
road #
 /testing/pluto/bin/wait-until-pluto-started
road #
 ipsec auto --add road-eastnet-nat
road #
 echo "initdone"
initdone
road #
 ipsec auto --up road-eastnet-nat
104 "road-eastnet-nat" #1: STATE_MAIN_I1: initiate
003 "road-eastnet-nat" #1: received Vendor ID payload [Dead Peer Detection]
003 "road-eastnet-nat" #1: received Vendor ID payload [FRAGMENTATION]
003 "road-eastnet-nat" #1: received Vendor ID payload [RFC 3947]
106 "road-eastnet-nat" #1: STATE_MAIN_I2: sent MI2, expecting MR2
003 "road-eastnet-nat" #1: NAT-Traversal: Result using RFC 3947 (NAT-Traversal): i am NATed
108 "road-eastnet-nat" #1: STATE_MAIN_I3: sent MI3, expecting MR3
003 "road-eastnet-nat" #1: received Vendor ID payload [CAN-IKEv2]
004 "road-eastnet-nat" #1: STATE_MAIN_I4: ISAKMP SA established {auth=OAKLEY_RSA_SIG cipher=aes_128 prf=oakley_sha group=modp2048}
117 "road-eastnet-nat" #2: STATE_QUICK_I1: initiate
004 "road-eastnet-nat" #2: STATE_QUICK_I2: sent QI2, IPsec SA established tunnel mode {ESP=>0xESPESP<0xESPESP xfrm=AES_128-HMAC_SHA1 NATOA=none NATD=none DPD=none}
road #

[ PAUL: It should show ESP/NAT ]

 ping -q -c 8 -n 192.0.2.219
PING 192.0.2.219 (192.0.2.219) 56(84) bytes of data.
--- 192.0.2.219 ping statistics ---
8 packets transmitted, 8 received, 0% packet loss, time XXXX
rtt min/avg/max/mdev = 0.XXX/0.XXX/0.XXX/0.XXX ms
road #
 echo done
done
road #
 ipsec look
road NOW
XFRM state:
src 192.1.2.23 dst 192.1.3.209
	proto esp spi 0xSPISPIXX reqid REQID mode tunnel
	replay-window 32 flag af-unspec
	auth-trunc hmac(sha1) 0xHASHKEY 96
	enc cbc(aes) 0xENCKEY
	encap type espinudp sport 4500 dport 4500 addr 0.0.0.0
src 192.1.3.209 dst 192.1.2.23
	proto esp spi 0xSPISPIXX reqid REQID mode tunnel
	replay-window 32 flag af-unspec
	auth-trunc hmac(sha1) 0xHASHKEY 96
	enc cbc(aes) 0xENCKEY
	encap type espinudp sport 4500 dport 4500 addr 0.0.0.0
XFRM policy:
src 192.0.2.219/32 dst 192.0.2.0/24 
	dir out priority 2088 ptype main 
	tmpl src 192.1.3.209 dst 192.1.2.23
		proto esp reqid REQID mode tunnel
src 192.0.2.0/24 dst 192.0.2.219/32 
	dir fwd priority 2088 ptype main 
	tmpl src 192.1.2.23 dst 192.1.3.209
		proto esp reqid REQID mode tunnel
src 192.0.2.0/24 dst 192.0.2.219/32 
	dir in priority 2088 ptype main 
	tmpl src 192.1.2.23 dst 192.1.3.209
		proto esp reqid REQID mode tunnel
src 0.0.0.0/0 dst 0.0.0.0/0 
	socket out priority 0 ptype main 
src 0.0.0.0/0 dst 0.0.0.0/0 
	socket in priority 0 ptype main 
src 0.0.0.0/0 dst 0.0.0.0/0 
	socket out priority 0 ptype main 
src 0.0.0.0/0 dst 0.0.0.0/0 
	socket in priority 0 ptype main 
src 0.0.0.0/0 dst 0.0.0.0/0 
	socket out priority 0 ptype main 
src 0.0.0.0/0 dst 0.0.0.0/0 
	socket in priority 0 ptype main 
src 0.0.0.0/0 dst 0.0.0.0/0 
	socket out priority 0 ptype main 
src 0.0.0.0/0 dst 0.0.0.0/0 
	socket in priority 0 ptype main 
XFRM done
IPSEC mangle TABLES
NEW_IPSEC_CONN mangle TABLES
ROUTING TABLES
default via 192.1.3.254 dev eth0 
169.254.0.0/16 dev eth0  scope link  metric 1002 
192.0.2.0/24 dev eth0  scope link  src 192.0.2.219 
192.1.3.0/24 dev eth0  proto kernel  scope link  src 192.1.3.209 
NSS_CERTIFICATES
Certificate Nickname                                         Trust Attributes
                                                             SSL,S/MIME,JAR/XPI
road #
road #
 if [ -n "`ls /tmp/core* 2>/dev/null`" ]; then echo CORE FOUND; mv /tmp/core* ./; fi
road #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi

