1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
/testing/guestbin/swan-prep
west #
# there are no keys, but spell it out
west #
rm -f /etc/ipsec.d/*db
west #
ipsec initnss > /dev/null 2> /dev/null
west #
ipsec start
Redirecting to: [initsystem]
west #
../../guestbin/wait-until-pluto-started
west #
ipsec whack --impair revival
west #
ipsec auto --add westnet-eastnet
"westnet-eastnet": added IKEv1 connection
west #
echo "initdone"
initdone
west #
ipsec whack --impair suppress_retransmits
west #
# this is expected to fail to our own misconfigured key
west #
ipsec auto --up westnet-eastnet
"westnet-eastnet" #1: initiating IKEv1 Main Mode connection
"westnet-eastnet" #1: sent Main Mode request
"westnet-eastnet" #1: sent Main Mode I2
"westnet-eastnet" #1: private key matching CKAID '4651cb327d8ee9c2a0f71f176c7d172f33205dc2' not found: can't find the private key matching the NSS CKAID
"westnet-eastnet" #1: unable to locate my private key for RSA Signature
"westnet-eastnet" #1: sending notification AUTHENTICATION_FAILED to 192.1.2.23:500
"westnet-eastnet" #1: private key matching CKAID '4651cb327d8ee9c2a0f71f176c7d172f33205dc2' not found: can't find the private key matching the NSS CKAID
"westnet-eastnet" #1: unable to locate my private key for RSA Signature
"westnet-eastnet" #1: sending notification AUTHENTICATION_FAILED to 192.1.2.23:500
"westnet-eastnet" #1: private key matching CKAID '4651cb327d8ee9c2a0f71f176c7d172f33205dc2' not found: can't find the private key matching the NSS CKAID
"westnet-eastnet" #1: unable to locate my private key for RSA Signature
"westnet-eastnet" #1: sending notification AUTHENTICATION_FAILED to 192.1.2.23:500
"westnet-eastnet" #1: private key matching CKAID '4651cb327d8ee9c2a0f71f176c7d172f33205dc2' not found: can't find the private key matching the NSS CKAID
"westnet-eastnet" #1: unable to locate my private key for RSA Signature
"westnet-eastnet" #1: sending notification AUTHENTICATION_FAILED to 192.1.2.23:500
"westnet-eastnet" #1: private key matching CKAID '4651cb327d8ee9c2a0f71f176c7d172f33205dc2' not found: can't find the private key matching the NSS CKAID
"westnet-eastnet" #1: unable to locate my private key for RSA Signature
"westnet-eastnet" #1: sending notification AUTHENTICATION_FAILED to 192.1.2.23:500
"westnet-eastnet" #1: private key matching CKAID '4651cb327d8ee9c2a0f71f176c7d172f33205dc2' not found: can't find the private key matching the NSS CKAID
"westnet-eastnet" #1: unable to locate my private key for RSA Signature
"westnet-eastnet" #1: sending notification AUTHENTICATION_FAILED to 192.1.2.23:500
"westnet-eastnet" #1: connection is supposed to remain up; revival attempt 1 scheduled in 0 seconds
"westnet-eastnet" #1: IMPAIR: revival: skip scheduling revival event
"westnet-eastnet" #1: deleting ISAKMP SA (MAIN_I2) and NOT sending notification
west #
# we should not see any leftover states
west #
ipsec showstates
west #
echo done
done
west #
|