/testing/guestbin/swan-prep --userland strongswan
east #
 strongswan starter --debug-all
Starting strongSwan 5.0.0 IPsec [starter]...
Loading config setup
Loading conn 'westnet-eastnet-ikev1'
  left=192.1.2.45
  leftid=@west
  right=192.1.2.23
  rightid=@east
  rightsubnet=192.0.2.0/24
  leftsubnet=192.0.1.0/24
  authby=secret
  keyexchange=ikev1
  auto=add
[ 00.00] NET: Registered protocol family 15
found netkey IPsec stack
east #
 echo "initdone"
initdone
east #
 ipsec look
east NOW
XFRM state:
src 192.1.2.23 dst 192.1.2.45
	proto esp spi 0x926a7379 reqid 1 mode tunnel
	replay-window 32 flag af-unspec
	auth-trunc hmac(sha1) 0x8e6ddd7bf1b8688e9131d31e374dc2725ee07aa8 96
	enc cbc(aes) 0x6e390411a84c211b74933de997d12280
src 192.1.2.45 dst 192.1.2.23
	proto esp spi 0xc2f4b7ee reqid 1 mode tunnel
	replay-window 32 flag af-unspec
	auth-trunc hmac(sha1) 0xe7735a271309d530af2d7fea634bfc54ea3ad281 96
	enc cbc(aes) 0xdf3cc5806df9d3c98d4b9a099df955bf
XFRM policy:
src 192.0.1.0/24 dst 192.0.2.0/24 
	dir fwd priority 1859 ptype main 
	tmpl src 192.1.2.45 dst 192.1.2.23
		proto esp reqid 1 mode tunnel
src 192.0.1.0/24 dst 192.0.2.0/24 
	dir in priority 1859 ptype main 
	tmpl src 192.1.2.45 dst 192.1.2.23
		proto esp reqid 1 mode tunnel
src 192.0.2.0/24 dst 192.0.1.0/24 
	dir out priority 1859 ptype main 
	tmpl src 192.1.2.23 dst 192.1.2.45
		proto esp reqid 1 mode tunnel
src ::/0 dst ::/0 
	socket in priority 0 ptype main 
src ::/0 dst ::/0 
	socket out priority 0 ptype main 
src ::/0 dst ::/0 
	socket in priority 0 ptype main 
src ::/0 dst ::/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 
XFRM done
IPSEC mangle TABLES
NEW_IPSEC_CONN mangle TABLES
ROUTING TABLES
default via 192.1.2.254 dev eth1 
169.254.0.0/16 dev eth0  scope link  metric 1002 
169.254.0.0/16 dev eth1  scope link  metric 1003 
169.254.0.0/16 dev eth2  scope link  metric 1004 
192.0.1.0/24 via 192.1.2.45 dev eth1 
192.0.2.0/24 dev eth0  proto kernel  scope link  src 192.0.2.254 
192.1.2.0/24 dev eth1  proto kernel  scope link  src 192.1.2.23 
192.9.2.0/24 dev eth2  proto kernel  scope link  src 192.9.2.23 
NSS_CERTIFICATES
Certificate Nickname                                         Trust Attributes
                                                             SSL,S/MIME,JAR/XPI
east #
east #
 if [ -n "`ls /tmp/core* 2>/dev/null`" ]; then echo CORE FOUND; mv /tmp/core* ./; fi
east #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi

