/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 --impair suppress_retransmits
north #
 echo "initdone"
initdone
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 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: 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
"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 #
 # change ip to a new one and restart pluto
north #
 # PAUL: should no longer matter!
north #
 ../../guestbin/ip.sh address del 192.1.3.33/24 dev eth1
north #
 ../../guestbin/ip.sh address add 192.1.3.34/24 dev eth1
north #
 ../../guestbin/ip.sh route add 0.0.0.0/0 via 192.1.3.254 dev eth1
north #
 ipsec whack --impair send_no_delete
north #
 ipsec restart
Redirecting to: [initsystem]
north #
 ../../guestbin/wait-until-pluto-started
north #
 # temp while the test still fails
north #
 ipsec whack --impair suppress_retransmits
north #
 ipsec auto --add north-east
"north-east": added IKEv1 connection
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 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: 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
"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 #
 hostname | grep nic > /dev/null || 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 #
 
