/testing/guestbin/swan-prep
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] 
Redirecting to: systemctl start ipsec.service
[ 00.00] 
road #
 /testing/pluto/bin/wait-until-pluto-started
road #
 ipsec whack --debug-all --impair-retransmits
road #
 ipsec auto --add road-eastnet-psk
002 added connection description "road-eastnet-psk"
road #
 ipsec auto --status | grep road-eastnet-psk
000 "road-eastnet-psk": 192.1.3.209[@roadrandom]---192.1.3.254...192.1.2.23<192.1.2.23>[@east]===192.0.2.0/24; unrouted; eroute owner: #0
000 "road-eastnet-psk":     oriented; my_ip=unset; their_ip=unset
000 "road-eastnet-psk":   xauth info: us:none, them:none,  my_xauthuser=[any]; their_xauthuser=[any]
000 "road-eastnet-psk":   modecfg info: us:none, them:none, modecfg policy:push, dns1:unset, dns2:unset, domain:unset, banner:unset;
000 "road-eastnet-psk":   labeled_ipsec:no, loopback:no; 
000 "road-eastnet-psk":    policy_label:unset; 
000 "road-eastnet-psk":   ike_life: 3600s; ipsec_life: 28800s; rekey_margin: 540s; rekey_fuzz: 100%; keyingtries: 0;
000 "road-eastnet-psk":   sha2_truncbug:no; initial_contact:no; cisco_unity:no; send_vendorid:no;
000 "road-eastnet-psk":   policy: PSK+ENCRYPT+TUNNEL+PFS+AGGRESSIVE+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW; 
000 "road-eastnet-psk":   conn_prio: 32,24; interface: eth0; metric: 0; mtu: unset; sa_prio:auto;
000 "road-eastnet-psk":   dpd: action:hold; delay:0; timeout:0; nat-t: force_encaps:no; nat_keepalive:yes; ikev1_natt:both
000 "road-eastnet-psk":   newest ISAKMP SA: #0; newest IPsec SA: #0; 
000 "road-eastnet-psk":   IKE algorithms wanted: 3DES_CBC(5)_000-SHA1(2)_000-MODP2048(14), 3DES_CBC(5)_000-SHA1(2)_000-MODP1536(5), 3DES_CBC(5)_000-SHA1(2)_000-MODP1024(2)
000 "road-eastnet-psk":   IKE algorithms found:  3DES_CBC(5)_192-SHA1(2)_160-MODP2048(14), 3DES_CBC(5)_192-SHA1(2)_160-MODP1536(5), 3DES_CBC(5)_192-SHA1(2)_160-MODP1024(2)
road #
 echo "initdone"
initdone
road #
 ipsec auto --up road-eastnet-psk
003 "road-eastnet-psk" #1: multiple DH groups were set in aggressive mode. Only first one used.
003 "road-eastnet-psk" #1: transform (OAKLEY_3DES_CBC,OAKLEY_SHA1,OAKLEY_GROUP_MODP1536 keylen 0) ignored.
003 "road-eastnet-psk" #1: transform (OAKLEY_3DES_CBC,OAKLEY_SHA1,OAKLEY_GROUP_MODP1024 keylen 0) ignored.
002 "road-eastnet-psk" #1: initiating Aggressive Mode #1, connection "road-eastnet-psk"
003 "road-eastnet-psk" #1: multiple DH groups were set in aggressive mode. Only first one used.
003 "road-eastnet-psk" #1: transform (OAKLEY_3DES_CBC,OAKLEY_SHA1,OAKLEY_GROUP_MODP1536 keylen 0) ignored.
003 "road-eastnet-psk" #1: transform (OAKLEY_3DES_CBC,OAKLEY_SHA1,OAKLEY_GROUP_MODP1024 keylen 0) ignored.
112 "road-eastnet-psk" #1: STATE_AGGR_I1: initiate
003 "road-eastnet-psk" #1: received Vendor ID payload [Dead Peer Detection]
003 "road-eastnet-psk" #1: received Vendor ID payload [RFC 3947]
002 "road-eastnet-psk" #1: Aggressive mode peer ID is ID_FQDN: '@east'
002 "road-eastnet-psk" #1: enabling possible NAT-traversal with method RFC 3947 (NAT-Traversal)
003 "road-eastnet-psk" #1: NAT-Traversal: Result using RFC 3947 (NAT-Traversal) sender port 500: no NAT detected
003 "road-eastnet-psk" #1: received Hash Payload does not match computed value
223 "road-eastnet-psk" #1: STATE_AGGR_I1: INVALID_HASH_INFORMATION
002 "road-eastnet-psk" #1: sending notification INVALID_HASH_INFORMATION to 192.1.2.23:500

[ flow issues due to whack not being released - needs fixing ]

#\[root@road ]#  timedout send line: ipsec auto --up road-eastnet-psk
echo done.
road #
if [ -n "`ls /tmp/core* 2>/dev/null`" ]; then echo CORE FOUND; mv /tmp/core* OUTPUT/; fi
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi

