/testing/guestbin/swan-prep --x509 --x509name key4096
Preparing X.509 files
road #
 ipsec start
Redirecting to: [initsystem]
road #
 ../../guestbin/wait-until-pluto-started
road #
 iptables -I INPUT -p udp -m length --length 0x5dc:0xffff -j DROP
road #
 ipsec auto --add x509
"x509": added IKEv2 connection
road #
 ipsec whack --impair suppress_retransmits
road #
 echo done
done
road #
 ipsec auto --up x509
"x509" #1: initiating IKEv2 connection to 192.1.2.23 using UDP
"x509" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"x509" #1: processed IKE_SA_INIT response from 192.1.2.23:UDP/500 {cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_256 group=DH19}, initiating IKE_AUTH
"x509" #1: sent IKE_AUTH request to 192.1.2.23:UDP/500
"x509" #1: initiator established IKE SA; authenticated peer certificate 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-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'
"x509" #2: initiator established Child SA using #1; IPsec tunnel [192.1.3.209/32===192.1.2.23/32] {ESP/ESN=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE DPD=passive}
road #
 echo done
done
road #
 grep -e 'fragment number:' -e 'total fragments:' /tmp/pluto.log
|    fragment number: 1 (00 01)
|    total fragments: 6 (00 06)
|    fragment number: 2 (00 02)
|    total fragments: 6 (00 06)
|    fragment number: 3 (00 03)
|    total fragments: 6 (00 06)
|    fragment number: 4 (00 04)
|    total fragments: 6 (00 06)
|    fragment number: 5 (00 05)
|    total fragments: 6 (00 06)
|    fragment number: 6 (00 06)
|    total fragments: 6 (00 06)
|    fragment number: 1 (00 01)
|    total fragments: 5 (00 05)
|    fragment number: 2 (00 02)
|    total fragments: 5 (00 05)
|    fragment number: 3 (00 03)
|    total fragments: 5 (00 05)
|    fragment number: 4 (00 04)
|    total fragments: 5 (00 05)
|    fragment number: 5 (00 05)
|    total fragments: 5 (00 05)
road #
 
