/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
002 "x509": added IKEv2 connection
road #
 ipsec whack --impair suppress-retransmits
road #
 echo done
done
road #
 ipsec auto --up x509
1v2 "x509" #1: initiating IKEv2 connection
1v2 "x509" #1: sent IKE_SA_INIT request to 192.1.2.23:500
1v2 "x509" #1: sent IKE_AUTH request {cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_256 group=MODP2048}
003 "x509" #1: initiator established IKE SA; authenticated peer '3nnn-bit RSASSA-PSS with SHA2_512' digital signature using peer certificate 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org' issued by CA 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=Libreswan test CA for mainca, E=testing@libreswan.org'
004 "x509" #2: initiator established Child SA using #1; IPsec tunnel [192.1.3.209-192.1.3.209:0-65535 0] -> [192.1.2.23-192.1.2.23:0-65535 0] {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 #
 
