/testing/guestbin/swan-prep
road #
 ipsec start
Redirecting to: systemctl start ipsec.service
road #
 /testing/pluto/bin/wait-until-pluto-started
road #
 ipsec whack --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; my_updown=ipsec _updown;
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, dns:unset, domains: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":   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; nic-offload:auto;
000 "road-eastnet-psk":   our idtype: ID_FQDN; our id=@roadrandom; their idtype: ID_FQDN; their id=@east
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: 3DES_CBC-HMAC_SHA1-MODP2048, 3DES_CBC-HMAC_SHA1-MODP1536
road #
 echo "initdone"
initdone
road #
 ipsec whack --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
002 "road-eastnet-psk" #1: IMPAIR RETRANSMITS: scheduling timeout in 0.5 seconds
112 "road-eastnet-psk" #1: STATE_AGGR_I1: initiate
002 "road-eastnet-psk" #1: Peer ID is ID_FQDN: '@east'
002 "road-eastnet-psk" #1: 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) and NOT sending notification
road #
 echo done
done
road #
road #
 ../bin/check-for-core.sh
road #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi

