/testing/guestbin/swan-prep --x509
Preparing X.509 files
road #
 ipsec certutil -D -n east
road #
 ipsec start
Redirecting to: [initsystem]
road #
 ../../guestbin/wait-until-pluto-started
road #
 ipsec whack --impair suppress_retransmits
road #
 ipsec add road
"road": added IKEv2 connection
road #
 ipsec up road
"road"[1] 192.1.2.23 #1: initiating IKEv2 connection to 192.1.2.23 using UDP
"road"[1] 192.1.2.23 #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"road"[1] 192.1.2.23 #1: processed IKE_SA_INIT response from 192.1.2.23:UDP/4500 {cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=DH19}, initiating IKE_AUTH
"road"[1] 192.1.2.23 #1: sent IKE_AUTH request to 192.1.2.23:UDP/4500; Child SA #2 {ESPinUDP <0xESPESP}
"road"[1] 192.1.2.23 #1: initiator established IKE SA; authenticated peer certificate '@east.testing.libreswan.org' and 3nnn-bit RSASSA-PSS with SHA2_512 digital signature issued by 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=Libreswan test CA for mainca, E=testing@libreswan.org'
"road"[1] 192.1.2.23 #2: received INTERNAL_IP4_ADDRESS 100.64.0.1
"road"[1] 192.1.2.23 #2: received INTERNAL_IP4_DNS 1.2.3.4
"road"[1] 192.1.2.23 #2: received INTERNAL_IP4_DNS 8.8.8.8
"road"[1] 192.1.2.23 #2: up-client output: updating resolvconf
"road"[1] 192.1.2.23 #2: initiator established Child SA using #1; IPsec tunnel [100.64.0.1/32===192.0.2.0/24] {ESPinUDP/ESN=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE NATD=192.1.2.23:4500 DPD=active}
road #
 ../../guestbin/ping-once.sh --up -I 100.64.0.1 192.0.2.254
up
road #
 ipsec trafficstatus
#2: "road"[1] 192.1.2.23, type=ESP, add_time=1234567890, inBytes=84, outBytes=84, maxBytes=2^63B, id='@east.testing.libreswan.org', lease=100.64.0.1/32
road #
this should wait for MOBIKE but that doesn't happen
 ../../guestbin/wait-for-pluto.sh --match 'sending .* liveness probe'
| sending 61 bytes for liveness probe through eth0 from 192.1.3.209:4500 to 192.1.2.23:4500 using UDP (for #1)
road #
 ../../guestbin/ping-once.sh --up -I 100.64.0.1 192.0.2.254
up
# ping -n -c 1  -i 6 -w 5   -I 100.64.0.1 192.0.2.254
PING 192.0.2.254 (192.0.2.254) from 100.64.0.1 : 56(84) bytes of data. --- 192.0.2.254 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time XXXX
road #
 ipsec trafficstatus
#2: "road"[1] 192.1.2.23, type=ESP, add_time=1234567890, inBytes=84, outBytes=168, maxBytes=2^63B, id='@east.testing.libreswan.org', lease=100.64.0.1/32
road #
