/testing/guestbin/swan-prep
road #
 ipsec start
Redirecting to: systemctl start ipsec.service
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 us:none, xauth them:none,  my_username=[any]; their_username=[any]
000 "road-eastnet-psk":   our auth:secret, their auth:secret
000 "road-eastnet-psk":   modecfg info: us:none, them:none, modecfg policy:push, dns1:unset, dns2:unset, domain:unset, banner:unset, cat:unset;
000 "road-eastnet-psk":   labeled_ipsec:no;
000 "road-eastnet-psk":   policy_label:unset;
000 "road-eastnet-psk":   ike_life: 3600s; ipsec_life: 28800s; replay_window: 32; rekey_margin: 540s; rekey_fuzz: 100%; keyingtries: 0;
000 "road-eastnet-psk":   retransmit-interval: 9999ms; retransmit-timeout: 99s;
000 "road-eastnet-psk":   sha2-truncbug:no; initial-contact:no; cisco-unity:no; fake-strongswan:no; send-vendorid:no; send-no-esp-tfc:no;
000 "road-eastnet-psk":   policy: PSK+ENCRYPT+TUNNEL+PFS+AGGRESSIVE+IKEV1_ALLOW+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO;
000 "road-eastnet-psk":   conn_prio: 32,24; interface: eth0; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none;
000 "road-eastnet-psk":   nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no;
000 "road-eastnet-psk":   dpd: action:hold; delay:0; timeout:0; nat-t: encaps:auto; 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)-MODP2048(14), 3DES_CBC(5)_000-SHA1(2)-MODP1536(5)
000 "road-eastnet-psk":   IKE algorithms found:  3DES_CBC(5)_192-SHA1(2)-MODP2048(14), 3DES_CBC(5)_192-SHA1(2)-MODP1536(5)
road #
 echo "initdone"
initdone
road #
 ipsec whack --debug-all --impair-retransmits
road #
 ipsec auto --up road-eastnet-psk
003 "road-eastnet-psk": IKEv1 Aggressive Mode with PSK is vulnerable to dictionary attacks and is cracked on large scale by TLA's
003 "road-eastnet-psk" #1: multiple DH groups in aggressive mode can cause interop failure
003 "road-eastnet-psk" #1: Deleting previous proposal in the hopes of selecting DH 2 or DH 5
002 "road-eastnet-psk" #1: initiating Aggressive Mode
003 "road-eastnet-psk" #1: multiple DH groups in aggressive mode can cause interop failure
003 "road-eastnet-psk" #1: Deleting previous proposal in the hopes of selecting DH 2 or DH 5
112 "road-eastnet-psk" #1: STATE_AGGR_I1: initiate
002 "road-eastnet-psk" #1: Aggressive mode peer ID is ID_FQDN: '@east'
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
002 "road-eastnet-psk" #1: deleting state (STATE_AGGR_I1)
road #
 echo done
done
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

