/testing/guestbin/swan-prep --x509
Preparing X.509 files
north #
 ipsec start
Redirecting to: [initsystem]
north #
 ../../guestbin/wait-until-pluto-started
north #
 ipsec auto --add north-east
"north-east": added IKEv1 connection
north #
 ipsec whack --xauthname 'xnorth' --xauthpass 'use1pass' --name north-east --initiate
"north-east" #1: initiating IKEv1 Main Mode connection
"north-east" #1: sent Main Mode request
"north-east" #1: sent Main Mode I2
"north-east" #1: I am sending my cert
"north-east" #1: I am sending a certificate request
"north-east" #1: sent Main Mode I3
"north-east" #1: Peer ID is ID_DER_ASN1_DN: 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org'
"north-east" #1: authenticated peer certificate 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org' and 3nnn-bit RSA with SHA1 signature issued by 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=Libreswan test CA for mainca, E=testing@libreswan.org'
"north-east" #1: ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048}
"north-east" #1: prompt for Username:
"north-east" #1: prompt for Password:
"north-east" #1: XAUTH: Answering XAUTH challenge with user='xnorth'
"north-east" #1: XAUTH client - possibly awaiting CFG_set {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048}
"north-east" #1: XAUTH: Successfully Authenticated
"north-east" #1: XAUTH client - possibly awaiting CFG_set {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048}
"north-east" #1: modecfg: Sending IP request (MODECFG_I1)
"north-east" #1: Received IPv4 address: 192.0.2.100/32
"north-east" #1: Received DNS server 1.2.3.4
"north-east" #1: Received DNS server 5.6.7.8
"north-east" #1: received and ignored CISCO_SPLIT_INC subnet 192.0.2.0/24
"north-east" #1: ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048}
"north-east" #2: initiating Quick Mode IKEv1+RSASIG+ENCRYPT+TUNNEL+PFS+UP+XAUTH+MODECFG_PULL+IKE_FRAG_ALLOW+ESN_NO+ESN_YES
"north-east" #2: sent Quick Mode request
"north-east" #2: up-client output: updating resolvconf
"north-east" #2: IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_CBC_128-HMAC_SHA1_96 DPD=passive username=xnorth}
north #
 ../../guestbin/ping-once.sh --up 192.0.2.254
up
north #
 ipsec whack --trafficstatus
#2: "north-east", username=xnorth, type=ESP, add_time=1234567890, inBytes=84, outBytes=84, maxBytes=2^63B, lease=192.0.2.100/32
north #
 echo initdone
initdone
north #
 # let road and north wait for east to show tunnels before shutting down
north #
 hostname | grep road > /dev/null && sleep 5
north #
 hostname | grep north > /dev/null && sleep 5
north #
 hostname | grep east > /dev/null && ipsec whack --trafficstatus
north #
 
