/testing/guestbin/swan-prep --x509
Preparing X.509 files
road #
 ip addr add 192.1.3.208/24 dev eth0
road #
 ipsec start
Redirecting to: systemctl start ipsec.service
road #
 /testing/pluto/bin/wait-until-pluto-started
road #
 echo "initdone"
initdone
road #
 ipsec auto --add road1
002 added connection description "road1"
road #
 ipsec auto --up road1
002 "road1" #1: initiating Main Mode
104 "road1" #1: STATE_MAIN_I1: initiate
106 "road1" #1: STATE_MAIN_I2: sent MI2, expecting MR2
002 "road1" #1: I am sending my cert
002 "road1" #1: I am sending a certificate request
108 "road1" #1: STATE_MAIN_I3: sent MI3, expecting MR3
002 "road1" #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'
002 "road1" #1: certificate verified OK: E=user-east@testing.libreswan.org,CN=east.testing.libreswan.org,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA
003 "road1" #1: Authenticated using RSA
004 "road1" #1: STATE_MAIN_I4: ISAKMP SA established {auth=RSA_SIG cipher=aes_256 integ=sha2_256 group=MODP2048}
002 "road1" #2: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO
117 "road1" #2: STATE_QUICK_I1: initiate
004 "road1" #2: STATE_QUICK_I2: sent QI2, IPsec SA established tunnel mode {ESP/NAT=>0xESPESP <0xESPESP xfrm=AES_CBC_128-HMAC_SHA1_96 NATOA=none NATD=192.1.2.23:4500 DPD=passive}
road #
 killall -9 pluto
road #
 ipsec start
Redirecting to: systemctl start ipsec.service
road #
 /testing/pluto/bin/wait-until-pluto-started
road #
 ipsec auto --add road2
002 added connection description "road2"
road #
 ipsec auto --up road2
002 "road2" #1: initiating Main Mode
104 "road2" #1: STATE_MAIN_I1: initiate
106 "road2" #1: STATE_MAIN_I2: sent MI2, expecting MR2
002 "road2" #1: I am sending my cert
002 "road2" #1: I am sending a certificate request
108 "road2" #1: STATE_MAIN_I3: sent MI3, expecting MR3
002 "road2" #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'
002 "road2" #1: certificate verified OK: E=user-east@testing.libreswan.org,CN=east.testing.libreswan.org,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA
003 "road2" #1: Authenticated using RSA
004 "road2" #1: STATE_MAIN_I4: ISAKMP SA established {auth=RSA_SIG cipher=aes_256 integ=sha2_256 group=MODP2048}
002 "road2" #2: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO
117 "road2" #2: STATE_QUICK_I1: initiate
004 "road2" #2: STATE_QUICK_I2: sent QI2, IPsec SA established tunnel mode {ESP/NAT=>0xESPESP <0xESPESP xfrm=AES_CBC_128-HMAC_SHA1_96 NATOA=none NATD=192.1.2.23:4500 DPD=passive}
road #
 echo done
done
road #
 
