| 1 |
/testing/guestbin/swan-prep --x509 |
| 2 |
Preparing X.509 files |
| 3 |
west # |
| 4 |
ipsec certutil -D -n east |
| 5 |
west # |
| 6 |
ipsec start |
| 7 |
Redirecting to: [initsystem] |
| 8 |
west # |
| 9 |
../../guestbin/wait-until-pluto-started |
| 10 |
west # |
| 11 |
ipsec auto --add san |
| 12 |
"san": added IKEv1 connection |
| 13 |
west # |
| 14 |
echo "initdone" |
| 15 |
initdone |
| 16 |
west # |
| 17 |
ipsec whack --impair suppress_retransmits |
| 18 |
west # |
| 19 |
# this should succeed |
| 20 |
west # |
| 21 |
ipsec auto --up san |
| 22 |
"san" #1: initiating IKEv1 Aggressive Mode connection |
| 23 |
"san" #1: I am sending a certificate request |
| 24 |
"san" #1: sent Aggressive Mode request |
| 25 |
"san" #1: Peer ID is ID_FQDN: '@east.testing.libreswan.org' |
| 26 |
"san" #1: authenticated peer certificate '@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, [email protected]' |
| 27 |
"san" #1: I am sending my cert |
| 28 |
"san" #1: ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA1 group=MODP1536} |
| 29 |
"san" #2: initiating Quick Mode IKEv1+RSASIG+ENCRYPT+TUNNEL+PFS+UP+AGGRESSIVE+IKE_FRAG_ALLOW+ESN_NO+ESN_YES |
| 30 |
"san" #2: sent Quick Mode request |
| 31 |
"san" #2: IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_CBC_128-HMAC_SHA1_96 DPD=passive} |
| 32 |
west # |
| 33 |
echo "done" |
| 34 |
done |
| 35 |
west # |
| 36 |
# confirm the right ID types were sent/received |
| 37 |
west # |
| 38 |
grep "ID type" /tmp/pluto.log | sort | uniq |
| 39 |
| ID type: ID_FQDN (0x2) |
| 40 |
west # |
| 41 |
|