/testing/guestbin/swan-prep --hostkeys
Creating NSS database containing host keys
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ipsec auto --add westnet-eastnet-subnets
"westnet-eastnet-subnets/1x1": added IKEv1 connection
"westnet-eastnet-subnets/1x2": added IKEv1 connection
"westnet-eastnet-subnets/2x1": added IKEv1 connection
"westnet-eastnet-subnets/2x2": added IKEv1 connection
east #
 ipsec status | grep westnet-eastnet
"westnet-eastnet-subnets/1x1": 192.0.2.16/28===192.1.2.23[@east]...192.1.2.45[@west]===192.0.1.0/28; unrouted; my_ip=unset; their_ip=unset;
"westnet-eastnet-subnets/1x1":   host: oriented; local: 192.1.2.23; remote: 192.1.2.45;
"westnet-eastnet-subnets/1x1":   my_updown=ipsec _updown;
"westnet-eastnet-subnets/1x1":   xauth us:none, xauth them:none,  my_username=[any]; their_username=[any]
"westnet-eastnet-subnets/1x1":   our auth:rsasig, their auth:rsasig, our autheap:none, their autheap:none;
"westnet-eastnet-subnets/1x1":   modecfg info: us:none, them:none, modecfg policy:push, dns:unset, domains:unset, cat:unset;
"westnet-eastnet-subnets/1x1":   sec_label:unset;
"westnet-eastnet-subnets/1x1":   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%;
"westnet-eastnet-subnets/1x1":   iptfs: no; fragmentation: yes; packet-size: 0; max-queue-size: 0; drop-time: 0; init-delay: 0; reorder-window: 0;
"westnet-eastnet-subnets/1x1":   retransmit-interval: 9999ms; retransmit-timeout: 99s; iketcp:no; iketcp-port:4500;
"westnet-eastnet-subnets/1x1":   initial-contact:no; cisco-unity:no; fake-strongswan:no; send-vendorid:no; send-no-esp-tfc:no;
"westnet-eastnet-subnets/1x1":   policy: IKEv1+RSASIG+ENCRYPT+TUNNEL+PFS+IKE_FRAG_ALLOW+ESN_NO+ESN_YES;
"westnet-eastnet-subnets/1x1":   conn_prio: 28,28,0; interface: eth1; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none;
"westnet-eastnet-subnets/1x1":   nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:no;
"westnet-eastnet-subnets/1x1":   our idtype: ID_FQDN; our id=@east; their idtype: ID_FQDN; their id=@west
"westnet-eastnet-subnets/1x1":   dpd: passive; delay:0s; timeout:0s
"westnet-eastnet-subnets/1x1":   nat-traversal: encapsulation:auto; keepalive:20s; ikev1-method:rfc+drafts
"westnet-eastnet-subnets/1x1":   routing: unrouted;
"westnet-eastnet-subnets/1x1":   conn serial: $1;
"westnet-eastnet-subnets/1x1":   aliases: westnet-eastnet-subnets
"westnet-eastnet-subnets/1x2": 192.0.2.64/30===192.1.2.23[@east]...192.1.2.45[@west]===192.0.1.0/28; unrouted; my_ip=unset; their_ip=unset;
"westnet-eastnet-subnets/1x2":   host: oriented; local: 192.1.2.23; remote: 192.1.2.45;
"westnet-eastnet-subnets/1x2":   my_updown=ipsec _updown;
"westnet-eastnet-subnets/1x2":   xauth us:none, xauth them:none,  my_username=[any]; their_username=[any]
"westnet-eastnet-subnets/1x2":   our auth:rsasig, their auth:rsasig, our autheap:none, their autheap:none;
"westnet-eastnet-subnets/1x2":   modecfg info: us:none, them:none, modecfg policy:push, dns:unset, domains:unset, cat:unset;
"westnet-eastnet-subnets/1x2":   sec_label:unset;
"westnet-eastnet-subnets/1x2":   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%;
"westnet-eastnet-subnets/1x2":   iptfs: no; fragmentation: yes; packet-size: 0; max-queue-size: 0; drop-time: 0; init-delay: 0; reorder-window: 0;
"westnet-eastnet-subnets/1x2":   retransmit-interval: 9999ms; retransmit-timeout: 99s; iketcp:no; iketcp-port:4500;
"westnet-eastnet-subnets/1x2":   initial-contact:no; cisco-unity:no; fake-strongswan:no; send-vendorid:no; send-no-esp-tfc:no;
"westnet-eastnet-subnets/1x2":   policy: IKEv1+RSASIG+ENCRYPT+TUNNEL+PFS+IKE_FRAG_ALLOW+ESN_NO+ESN_YES;
"westnet-eastnet-subnets/1x2":   conn_prio: 30,28,0; interface: eth1; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none;
"westnet-eastnet-subnets/1x2":   nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:no;
"westnet-eastnet-subnets/1x2":   our idtype: ID_FQDN; our id=@east; their idtype: ID_FQDN; their id=@west
"westnet-eastnet-subnets/1x2":   dpd: passive; delay:0s; timeout:0s
"westnet-eastnet-subnets/1x2":   nat-traversal: encapsulation:auto; keepalive:20s; ikev1-method:rfc+drafts
"westnet-eastnet-subnets/1x2":   routing: unrouted;
"westnet-eastnet-subnets/1x2":   conn serial: $2;
"westnet-eastnet-subnets/1x2":   aliases: westnet-eastnet-subnets
"westnet-eastnet-subnets/2x1": 192.0.2.16/28===192.1.2.23[@east]...192.1.2.45[@west]===192.0.1.128/28; unrouted; my_ip=unset; their_ip=unset;
"westnet-eastnet-subnets/2x1":   host: oriented; local: 192.1.2.23; remote: 192.1.2.45;
"westnet-eastnet-subnets/2x1":   my_updown=ipsec _updown;
"westnet-eastnet-subnets/2x1":   xauth us:none, xauth them:none,  my_username=[any]; their_username=[any]
"westnet-eastnet-subnets/2x1":   our auth:rsasig, their auth:rsasig, our autheap:none, their autheap:none;
"westnet-eastnet-subnets/2x1":   modecfg info: us:none, them:none, modecfg policy:push, dns:unset, domains:unset, cat:unset;
"westnet-eastnet-subnets/2x1":   sec_label:unset;
"westnet-eastnet-subnets/2x1":   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%;
"westnet-eastnet-subnets/2x1":   iptfs: no; fragmentation: yes; packet-size: 0; max-queue-size: 0; drop-time: 0; init-delay: 0; reorder-window: 0;
"westnet-eastnet-subnets/2x1":   retransmit-interval: 9999ms; retransmit-timeout: 99s; iketcp:no; iketcp-port:4500;
"westnet-eastnet-subnets/2x1":   initial-contact:no; cisco-unity:no; fake-strongswan:no; send-vendorid:no; send-no-esp-tfc:no;
"westnet-eastnet-subnets/2x1":   policy: IKEv1+RSASIG+ENCRYPT+TUNNEL+PFS+IKE_FRAG_ALLOW+ESN_NO+ESN_YES;
"westnet-eastnet-subnets/2x1":   conn_prio: 28,28,0; interface: eth1; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none;
"westnet-eastnet-subnets/2x1":   nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:no;
"westnet-eastnet-subnets/2x1":   our idtype: ID_FQDN; our id=@east; their idtype: ID_FQDN; their id=@west
"westnet-eastnet-subnets/2x1":   dpd: passive; delay:0s; timeout:0s
"westnet-eastnet-subnets/2x1":   nat-traversal: encapsulation:auto; keepalive:20s; ikev1-method:rfc+drafts
"westnet-eastnet-subnets/2x1":   routing: unrouted;
"westnet-eastnet-subnets/2x1":   conn serial: $3;
"westnet-eastnet-subnets/2x1":   aliases: westnet-eastnet-subnets
"westnet-eastnet-subnets/2x2": 192.0.2.64/30===192.1.2.23[@east]...192.1.2.45[@west]===192.0.1.128/28; unrouted; my_ip=unset; their_ip=unset;
"westnet-eastnet-subnets/2x2":   host: oriented; local: 192.1.2.23; remote: 192.1.2.45;
"westnet-eastnet-subnets/2x2":   my_updown=ipsec _updown;
"westnet-eastnet-subnets/2x2":   xauth us:none, xauth them:none,  my_username=[any]; their_username=[any]
"westnet-eastnet-subnets/2x2":   our auth:rsasig, their auth:rsasig, our autheap:none, their autheap:none;
"westnet-eastnet-subnets/2x2":   modecfg info: us:none, them:none, modecfg policy:push, dns:unset, domains:unset, cat:unset;
"westnet-eastnet-subnets/2x2":   sec_label:unset;
"westnet-eastnet-subnets/2x2":   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%;
"westnet-eastnet-subnets/2x2":   iptfs: no; fragmentation: yes; packet-size: 0; max-queue-size: 0; drop-time: 0; init-delay: 0; reorder-window: 0;
"westnet-eastnet-subnets/2x2":   retransmit-interval: 9999ms; retransmit-timeout: 99s; iketcp:no; iketcp-port:4500;
"westnet-eastnet-subnets/2x2":   initial-contact:no; cisco-unity:no; fake-strongswan:no; send-vendorid:no; send-no-esp-tfc:no;
"westnet-eastnet-subnets/2x2":   policy: IKEv1+RSASIG+ENCRYPT+TUNNEL+PFS+IKE_FRAG_ALLOW+ESN_NO+ESN_YES;
"westnet-eastnet-subnets/2x2":   conn_prio: 30,28,0; interface: eth1; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none;
"westnet-eastnet-subnets/2x2":   nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:no;
"westnet-eastnet-subnets/2x2":   our idtype: ID_FQDN; our id=@east; their idtype: ID_FQDN; their id=@west
"westnet-eastnet-subnets/2x2":   dpd: passive; delay:0s; timeout:0s
"westnet-eastnet-subnets/2x2":   nat-traversal: encapsulation:auto; keepalive:20s; ikev1-method:rfc+drafts
"westnet-eastnet-subnets/2x2":   routing: unrouted;
"westnet-eastnet-subnets/2x2":   conn serial: $4;
"westnet-eastnet-subnets/2x2":   aliases: westnet-eastnet-subnets
east #
 echo "initdone"
initdone
east #
 ../../guestbin/ipsec-kernel-state.sh
east #
 ../../guestbin/ipsec-kernel-policy.sh
east #
 
