/testing/guestbin/swan-prep --nokeys
Creating empty NSS database
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec add west-to-east
"west-to-east": added IKEv1 connection
west #
 ipsec whack --impair suppress_retransmits
west #
 ipsec whack --impair block_inbound:yes
IMPAIR: recording all inbound messages
IMPAIR: block all inbound messages: no -> yes
west #
 echo "initdone"
initdone
west #
 ipsec up --asynchronous west-to-east
"west-to-east" #1: initiating IKEv1 Main Mode connection
"west-to-east" #1: sent Main Mode request
west #
 # step through the main mode exchange
west #
 ../../guestbin/wait-for-pluto.sh '#1: sent Main Mode request'
"west-to-east" #1: sent Main Mode request
west #
 ../../guestbin/drip-inbound.sh 1 '#1: sent Main Mode I2'
packet from 192.1.2.23:500: IMPAIR: blocking inbound message 1
IMPAIR: start processing inbound drip packet 1
IMPAIR: stop processing inbound drip packet 1
"west-to-east" #1: sent Main Mode I2
west #
 ../../guestbin/drip-inbound.sh 2 '#1: sent Main Mode I3'
packet from 192.1.2.23:500: IMPAIR: blocking inbound message 2
IMPAIR: start processing inbound drip packet 2
IMPAIR: stop processing inbound drip packet 2
"west-to-east" #1: sent Main Mode I3
west #
 ../../guestbin/drip-inbound.sh 3 '#1: ISAKMP SA established'
packet from 192.1.2.23:500: IMPAIR: blocking inbound message 3
IMPAIR: start processing inbound drip packet 3
IMPAIR: stop processing inbound drip packet 3
"west-to-east" #1: ISAKMP SA established {auth=PRESHARED_KEY cipher=AES_CBC_256 integ=HMAC_SHA1 group=MODP2048}
west #
 # wait for quick mode response
west #
 ../../guestbin/wait-for-pluto.sh '#2: sent Quick Mode request'
"west-to-east" #2: sent Quick Mode request
west #
 ../../guestbin/wait-for-inbound.sh 4
packet from 192.1.2.23:500: IMPAIR: blocking inbound message 4
west #
 # to be sure; initiator's already received it
west #
 ../../guestbin/wait-for-pluto.sh '#2: sent Quick'
"west-to-east" #2: sent Quick Mode request
west #
 ipsec down west-to-east
"west-to-east": terminating SAs using this connection
"west-to-east" #2: deleting IPsec SA (QUICK_I1) and NOT sending notification
"west-to-east" #1: deleting ISAKMP SA (MAIN_I4) and sending notification
west #
 
