Debian Codegraph @

testing/pluto/ikev1-x509-aggr-08-san-dns-mismatch/west.console.txt

raw
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 timeout_on_retransmit
18 west #
19 # this should fail
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: '@NOTeast.testing.libreswan.org'
26 "san" #1: X509: authentication failed; peer certificate subjectAltName extension does not match ID_FQDN 'NOTeast.testing.libreswan.org'
27 "san" #1: initial Aggressive Mode packet claiming to be from @NOTeast.testing.libreswan.org on 192.1.2.23:500 but no connection has been authorized
28 "san" #1: sending notification INVALID_ID_INFORMATION to 192.1.2.23:500
29 "san" #1: IMPAIR: retransmit so timing out SA (may retry)
30 "san" #1: connection is supposed to remain up; revival attempt 1 scheduled in 0 seconds
31 "san" #1: deleting ISAKMP SA (AGGR_I1) and NOT sending notification
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