/testing/guestbin/swan-prep --x509 --x509name key4096
Preparing X.509 files
road #
 ipsec start
Redirecting to: systemctl start ipsec.service
road #
 /testing/pluto/bin/wait-until-pluto-started
road #
 iptables -I INPUT -p udp -m length --length 0x5dc:0xffff -j LOGDROP
road #
 ipsec auto --add x509
002 added connection description "x509"
road #
 echo done
done
road #
 ipsec auto --up x509
002 "x509" #1: initiating Main Mode
1v1 "x509" #1: STATE_MAIN_I1: initiate
1v1 "x509" #1: STATE_MAIN_I2: sent MI2, expecting MR2
002 "x509" #1: I am sending my cert
002 "x509" #1: I am sending a certificate request
1v1 "x509" #1: STATE_MAIN_I3: sent MI3, expecting MR3
010 "x509" #1: STATE_MAIN_I3: retransmission; will wait 0.5 seconds for response
[ 00.00] IN=eth0 OUT= MAC=12:00:00:ab:cd:02:12:00:00:32:64:ba:08:00 SRC=192.1.2.23 DST=192.1.3.209 LEN=XXXX TOS=0x00 PREC=0x00 TTL=63 ID=XXXXX PROTO=UDP SPT=500 DPT=500 LEN=XXXX 
010 "x509" #1: STATE_MAIN_I3: retransmission; will wait 1 seconds for response
002 "x509" #1: Peer ID is ID_DER_ASN1_DN: 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org'
002 "x509" #1: certificate verified OK: E=user-east@testing.libreswan.org,CN=east.testing.libreswan.org,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA
003 "x509" #1: Authenticated using RSA
004 "x509" #1: STATE_MAIN_I4: ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048}
002 "x509" #2: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO
1v1 "x509" #2: STATE_QUICK_I1: initiate
004 "x509" #2: STATE_QUICK_I2: sent QI2, IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_CBC_128-HMAC_SHA1_96 NATOA=none NATD=none DPD=passive}
road #
 echo done
done
road #
 grep "fragment" /tmp/pluto.log
| peer supports fragmentation
| sending IKE fragment id '1', number '1'
| sending IKE fragment id '1', number '2'
| sending IKE fragment id '1', number '3'
| sending IKE fragment id '1', number '4'
| sending IKE fragment id '1', number '5' (last)
| sending IKE fragment id '1', number '1'
| sending IKE fragment id '1', number '2'
| sending IKE fragment id '1', number '3'
| sending IKE fragment id '1', number '4'
| sending IKE fragment id '1', number '5' (last)
|    fragment id: 1 (0x1)
|    fragment number: 1 (0x1)
| received IKE fragment id '1', number '1'
|    fragment id: 1 (0x1)
|    fragment number: 2 (0x2)
| received IKE fragment id '1', number '2'
|    fragment id: 1 (0x1)
|    fragment number: 3 (0x3)
| received IKE fragment id '1', number '3'
|    fragment id: 1 (0x1)
|    fragment number: 4 (0x4)
| received IKE fragment id '1', number '4'(last)
|  updated IKE fragment state to respond using fragments without waiting for re-transmits
road #
road #
 ../bin/check-for-core.sh
road #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi

