/testing/guestbin/swan-prep --46
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ipsec auto --add east
"east": added IKEv2 connection
east #
 ipsec auto --status | grep east
"east": 2001:db8:0:2::/64===2001:db8:1:2::23[@east,MS+S=C]...%any[+MC+S=C]; unrouted; my_ip=unset; their_ip=unset;
"east":   host: oriented; local: 2001:db8:1:2::23; remote: %any;
"east":   my_updown=ipsec _updown;
"east":   xauth us:none, xauth them:none,  my_username=[any]; their_username=[any]
"east":   our auth:secret, their auth:secret, our autheap:none, their autheap:none;
"east":   modecfg info: us:server, them:client, modecfg policy:push, dns:unset, domains:unset, cat:unset;
"east":   sec_label:unset;
"east":   ike_life: 28800s; ipsec_life: 28800s; ipsec_max_bytes: 2^63B; ipsec_max_packets: 2^63; replay_window: 128; rekey_margin: 540s; rekey_fuzz: 100%;
"east":   retransmit-interval: 9999ms; retransmit-timeout: 99s; iketcp:no; iketcp-port:4500;
"east":   initial-contact:no; cisco-unity:no; fake-strongswan:no; send-vendorid:no; send-no-esp-tfc:no;
"east":   policy: IKEv2+PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW_NARROWING+IKE_FRAG_ALLOW+ESN_NO+ESN_YES;
"east":   v2-auth-hash-policy: none;
"east":   conn_prio: 64,0; interface: eth1; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none;
"east":   nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:no;
"east":   our idtype: ID_FQDN; our id=@east; their idtype: %none; their id=(none)
"east":   liveness: passive; dpddelay:0s; retransmit-timeout:60s
"east":   nat-traversal: encapsulation:auto; keepalive:20s
"east":   routing: unrouted;
"east":   conn serial: $1;
east #
 echo "initdone"
initdone
east #
 if [ -f /var/run/pluto/pluto.pid ]; then ../../guestbin/ipsec-kernel-state.sh ; fi
east #
 if [ -f /var/run/pluto/pluto.pid ]; then ../../guestbin/ipsec-kernel-policy.sh ; fi
src ::/0 dst ::/0 proto ipv6-icmp type 135
	dir fwd priority PRIORITY ptype main
src ::/0 dst ::/0 proto ipv6-icmp type 135
	dir in priority PRIORITY ptype main
src ::/0 dst ::/0 proto ipv6-icmp type 135
	dir out priority PRIORITY ptype main
src ::/0 dst ::/0 proto ipv6-icmp type 136
	dir fwd priority PRIORITY ptype main
src ::/0 dst ::/0 proto ipv6-icmp type 136
	dir in priority PRIORITY ptype main
src ::/0 dst ::/0 proto ipv6-icmp type 136
	dir out priority PRIORITY ptype main
east #
 if [ -f /var/run/charon.pid -o -f /var/run/strongswan/charon.pid ]; then strongswan status ; fi
east #
 
