/testing/guestbin/swan-prep --x509 --x509name key4096
Preparing X.509 files
road #
 ipsec setup start
[ 00.00] registered KLIPS /proc/sys/net
[ 00.00] ipsec_3des_init(alg_type=15 alg_id=3 name=3des): ret=0
[ 00.00] KLIPS cryptoapi interface: alg_type=15 alg_id=12 name=cbc(aes) keyminbits=128 keymaxbits=256, found(0)
[ 00.00] KLIPS cryptoapi interface: alg_type=15 alg_id=253 name=cbc(twofish) keyminbits=128 keymaxbits=256, found(0)
[ 00.00] KLIPS cryptoapi interface: alg_type=15 alg_id=252 name=cbc(serpent) keyminbits=128 keymaxbits=256, found(0)
[ 00.00] KLIPS cryptoapi interface: alg_type=15 alg_id=6 name=cbc(cast5) keyminbits=128 keymaxbits=128, found(0)
[ 00.00] KLIPS cryptoapi interface: alg_type=15 alg_id=3 name=cbc(des3_ede) keyminbits=192 keymaxbits=192, found(0)
[ 00.00] KLIPS: lookup for ciphername=cipher_null: not found
[ 00.00] KLIPS cryptoapi interface: alg_type=14 alg_id=2 name=hmac(md5) ctx_size=88 keyminbits=128 keymaxbits=128, found(0)
[ 00.00] KLIPS cryptoapi interface: alg_type=14 alg_id=3 name=hmac(sha1) ctx_size=88 keyminbits=160 keymaxbits=160, found(0)
[ 00.00] KLIPS cryptoapi interface: alg_type=14 alg_id=5 name=hmac(sha256) ctx_size=88 keyminbits=256 keymaxbits=256, found(0)
[ 00.00] KLIPS cryptoapi interface: alg_type=14 alg_id=6 name=hmac(sha384) ctx_size=88 keyminbits=384 keymaxbits=384, found(0)
[ 00.00] KLIPS cryptoapi interface: alg_type=14 alg_id=7 name=hmac(sha512) ctx_size=88 keyminbits=512 keymaxbits=512, found(0)
[ 00.00] KLIPS cryptoapi interface: alg_type=14 alg_id=252 name=hmac(sha256) ctx_size=88 keyminbits=256 keymaxbits=256, found(0)
[ 00.00] 
Redirecting to: systemctl start ipsec.service
[ 00.00] 
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 whack --debug-all --impair-retransmits
road #
 ipsec auto --up x509
002 "x509" #1: initiating Main Mode
104 "x509" #1: STATE_MAIN_I1: initiate
003 "x509" #1: received Vendor ID payload [Dead Peer Detection]
003 "x509" #1: received Vendor ID payload [RFC 3947]
002 "x509" #1: enabling possible NAT-traversal with method RFC 3947 (NAT-Traversal)
106 "x509" #1: STATE_MAIN_I2: sent MI2, expecting MR2
003 "x509" #1: NAT-Traversal: Result using RFC 3947 (NAT-Traversal) sender port 500: no NAT detected
002 "x509" #1: I am sending my cert
002 "x509" #1: I am sending a certificate request
108 "x509" #1: STATE_MAIN_I3: sent MI3, expecting MR3
003 "x509" #1: discarding duplicate packet; already STATE_MAIN_I3
002 "x509" #1: supressing retransmit because IMPAIR_RETRANSMITS is set
031 "x509" #1: max number of retransmissions (0) reached STATE_MAIN_I3.  Possible authentication failure: no acceptable response to our first encrypted message
002 "x509" #1: deleting state #1 (STATE_MAIN_I3)
road #
 grep "fragment number" /tmp/pluto.log
road #
 echo done
done
road #
 egrep -i fragment /tmp/pluto.log
road #
road #
 if [ -n "`ls /tmp/core* 2>/dev/null`" ]; then echo CORE FOUND; mv /tmp/core* OUTPUT/; fi
road #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi

