/testing/guestbin/swan-prep --nokeys
Initializing NSS database
north #
 /testing/x509/import.sh real/mainca/north.p12
 ipsec pk12util -w nss-pw -i real/mainca/north.p12
pk12util: PKCS12 IMPORT SUCCESSFUL
 ipsec certutil -M -n mainca -t CT,,
 ipsec certutil -O -n north
"mainca" [E=testing@libreswan.org,CN=Libreswan test CA for mainca,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA]
  "north" [E=user-north@testing.libreswan.org,CN=north.testing.libreswan.org,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA]
north #
 /testing/x509/import.sh real/mainca/east.end.cert
 ipsec certutil -A -n east -t P,, -i real/mainca/east.end.cert
 ipsec certutil -O -n east
"mainca" [E=testing@libreswan.org,CN=Libreswan test CA for mainca,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA]
  "east" [E=user-east@testing.libreswan.org,CN=east.testing.libreswan.org,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA]
north #
 ipsec start
Redirecting to: [initsystem]
north #
 ../../guestbin/wait-until-pluto-started
north #
 ipsec auto --add north-east
"north-east": added oriented IKEv1 connection
north #
 echo "initdone"
initdone
north #
 # temp while the test still fails
north #
 ipsec whack --impair suppress_retransmits
north #
 ipsec auto --up north-east
"north-east" #1: initiating IKEv1 Aggressive Mode connection
"north-east" #1: I am sending a certificate request
"north-east" #1: sent Aggressive Mode request
"north-east" #1: Peer ID is 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 raw 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: I am sending my cert
"north-east" #1: ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_128 integ=HMAC_SHA1 group=MODP2048}
"north-east" #2: initiating Quick Mode IKEv1+RSASIG+ENCRYPT+TUNNEL+PFS+UP+AGGRESSIVE+IKE_FRAG_ALLOW+ESN_NO+ESN_YES {using isakmp#1 msgid:MSGID proposal=AES_CBC_128-HMAC_SHA1_96 pfsgroup=MODP2048}
"north-east" #2: sent Quick Mode request
"north-east" #2: IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_CBC_128-HMAC_SHA1_96 DPD=passive}
north #
 echo done
done
north #
 # should not match anything
north #
 grep "already in use" /tmp/pluto.log
north #
 # should only show 1 connection
north #
 ipsec whack --trafficstatus
#2: "north-east", type=ESP, add_time=1234567890, inBytes=0, outBytes=0, maxBytes=2^63B, id='C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org'
north #
