/testing/guestbin/swan-prep --46 --x509 Preparing X.509 files east # ipsec start Redirecting to: [initsystem] east # /testing/pluto/bin/wait-until-pluto-started east # ipsec auto --add road-east-ipv4-psk-ikev2 002 added IKEv2 connection "road-east-ipv4-psk-ikev2/1x0" 002 added IKEv2 connection "road-east-ipv4-psk-ikev2/2x0" east # ipsec auto --add road-east-ipv6-psk-ikev2 002 added IKEv2 connection "road-east-ipv6-psk-ikev2" east # ipsec auto --status | grep road-east 000 "road-east-ipv4-psk-ikev2/1x0": 192.0.2.0/24===192.1.2.23<192.1.2.23>[C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org]---192.1.2.254...192.1.3.209<192.1.3.209>[C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=road.testing.libreswan.org, E=user-road@testing.libreswan.org]===192.0.1.0/24; unrouted; eroute owner: #0 000 "road-east-ipv4-psk-ikev2/1x0": oriented; my_ip=unset; their_ip=unset; mycert=east; peercert=road; my_updown=ipsec _updown; 000 "road-east-ipv4-psk-ikev2/1x0": xauth us:none, xauth them:none, my_username=[any]; their_username=[any] 000 "road-east-ipv4-psk-ikev2/1x0": our auth:rsasig, their auth:rsasig 000 "road-east-ipv4-psk-ikev2/1x0": modecfg info: us:none, them:none, modecfg policy:push, dns:unset, domains:unset, banner:unset, cat:unset; 000 "road-east-ipv4-psk-ikev2/1x0": policy_label:unset; 000 "road-east-ipv4-psk-ikev2/1x0": CAs: 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=Libreswan test CA for mainca, E=testing@libreswan.org'...'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=Libreswan test CA for mainca, E=testing@libreswan.org' 000 "road-east-ipv4-psk-ikev2/1x0": ike_life: 300s; ipsec_life: 28800s; replay_window: 32; rekey_margin: 40s; rekey_fuzz: 100%; keyingtries: 0; 000 "road-east-ipv4-psk-ikev2/1x0": retransmit-interval: 9999ms; retransmit-timeout: 99s; iketcp:no; iketcp-port:4500; 000 "road-east-ipv4-psk-ikev2/1x0": initial-contact:no; cisco-unity:no; fake-strongswan:no; send-vendorid:no; send-no-esp-tfc:no; 000 "road-east-ipv4-psk-ikev2/1x0": policy: RSASIG+ECDSA+ENCRYPT+TUNNEL+IKEV2_ALLOW+IKE_FRAG_ALLOW+ESN_NO+RSASIG_v1_5; 000 "road-east-ipv4-psk-ikev2/1x0": v2-auth-hash-policy: SHA2_256+SHA2_384+SHA2_512; 000 "road-east-ipv4-psk-ikev2/1x0": conn_prio: 24,24; interface: eth1; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none; 000 "road-east-ipv4-psk-ikev2/1x0": nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:auto; 000 "road-east-ipv4-psk-ikev2/1x0": our idtype: ID_DER_ASN1_DN; our id=C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org; their idtype: ID_DER_ASN1_DN; their id=C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=road.testing.libreswan.org, E=user-road@testing.libreswan.org 000 "road-east-ipv4-psk-ikev2/1x0": dpd: action:hold; delay:0; timeout:0; nat-t: encaps:auto; nat_keepalive:yes; ikev1_natt:both 000 "road-east-ipv4-psk-ikev2/1x0": newest ISAKMP SA: #0; newest IPsec SA: #0; conn serial: $1; 000 "road-east-ipv4-psk-ikev2/1x0": aliases: road-east-ipv4-psk-ikev2 000 "road-east-ipv4-psk-ikev2/2x0": 192.0.2.0/24===192.1.2.23<192.1.2.23>[C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org]---192.1.2.254...192.1.3.209<192.1.3.209>[C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=road.testing.libreswan.org, E=user-road@testing.libreswan.org]===192.0.11.0/24; unrouted; eroute owner: #0 000 "road-east-ipv4-psk-ikev2/2x0": oriented; my_ip=unset; their_ip=unset; mycert=east; peercert=road; my_updown=ipsec _updown; 000 "road-east-ipv4-psk-ikev2/2x0": xauth us:none, xauth them:none, my_username=[any]; their_username=[any] 000 "road-east-ipv4-psk-ikev2/2x0": our auth:rsasig, their auth:rsasig 000 "road-east-ipv4-psk-ikev2/2x0": modecfg info: us:none, them:none, modecfg policy:push, dns:unset, domains:unset, banner:unset, cat:unset; 000 "road-east-ipv4-psk-ikev2/2x0": policy_label:unset; 000 "road-east-ipv4-psk-ikev2/2x0": CAs: 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=Libreswan test CA for mainca, E=testing@libreswan.org'...'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=Libreswan test CA for mainca, E=testing@libreswan.org' 000 "road-east-ipv4-psk-ikev2/2x0": ike_life: 300s; ipsec_life: 28800s; replay_window: 32; rekey_margin: 40s; rekey_fuzz: 100%; keyingtries: 0; 000 "road-east-ipv4-psk-ikev2/2x0": retransmit-interval: 9999ms; retransmit-timeout: 99s; iketcp:no; iketcp-port:4500; 000 "road-east-ipv4-psk-ikev2/2x0": initial-contact:no; cisco-unity:no; fake-strongswan:no; send-vendorid:no; send-no-esp-tfc:no; 000 "road-east-ipv4-psk-ikev2/2x0": policy: RSASIG+ECDSA+ENCRYPT+TUNNEL+IKEV2_ALLOW+IKE_FRAG_ALLOW+ESN_NO+RSASIG_v1_5; 000 "road-east-ipv4-psk-ikev2/2x0": v2-auth-hash-policy: SHA2_256+SHA2_384+SHA2_512; 000 "road-east-ipv4-psk-ikev2/2x0": conn_prio: 24,24; interface: eth1; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none; 000 "road-east-ipv4-psk-ikev2/2x0": nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:auto; 000 "road-east-ipv4-psk-ikev2/2x0": our idtype: ID_DER_ASN1_DN; our id=C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org; their idtype: ID_DER_ASN1_DN; their id=C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=road.testing.libreswan.org, E=user-road@testing.libreswan.org 000 "road-east-ipv4-psk-ikev2/2x0": dpd: action:hold; delay:0; timeout:0; nat-t: encaps:auto; nat_keepalive:yes; ikev1_natt:both 000 "road-east-ipv4-psk-ikev2/2x0": newest ISAKMP SA: #0; newest IPsec SA: #0; conn serial: $2; 000 "road-east-ipv4-psk-ikev2/2x0": aliases: road-east-ipv4-psk-ikev2 000 "road-east-ipv6-psk-ikev2": 2001:db8:0:2::/64===2001:db8:1:2::23<2001:db8:1:2::23>[@east]---2001:db8:1:2::45...2001:db8:1:3::209<2001:db8:1:3::209>[@road]===2001:db8:0:3::/64; unrouted; eroute owner: #0 000 "road-east-ipv6-psk-ikev2": oriented; my_ip=unset; their_ip=unset; my_updown=ipsec _updown; 000 "road-east-ipv6-psk-ikev2": xauth us:none, xauth them:none, my_username=[any]; their_username=[any] 000 "road-east-ipv6-psk-ikev2": our auth:rsasig, their auth:rsasig 000 "road-east-ipv6-psk-ikev2": modecfg info: us:none, them:none, modecfg policy:push, dns:unset, domains:unset, banner:unset, cat:unset; 000 "road-east-ipv6-psk-ikev2": policy_label:unset; 000 "road-east-ipv6-psk-ikev2": ike_life: 300s; ipsec_life: 28800s; replay_window: 32; rekey_margin: 40s; rekey_fuzz: 100%; keyingtries: 0; 000 "road-east-ipv6-psk-ikev2": retransmit-interval: 9999ms; retransmit-timeout: 99s; iketcp:no; iketcp-port:4500; 000 "road-east-ipv6-psk-ikev2": initial-contact:no; cisco-unity:no; fake-strongswan:no; send-vendorid:no; send-no-esp-tfc:no; 000 "road-east-ipv6-psk-ikev2": policy: RSASIG+ECDSA+ENCRYPT+TUNNEL+IKEV2_ALLOW+IKE_FRAG_ALLOW+ESN_NO+RSASIG_v1_5; 000 "road-east-ipv6-psk-ikev2": v2-auth-hash-policy: SHA2_256+SHA2_384+SHA2_512; 000 "road-east-ipv6-psk-ikev2": conn_prio: 64,64; interface: eth1; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none; 000 "road-east-ipv6-psk-ikev2": nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:auto; 000 "road-east-ipv6-psk-ikev2": our idtype: ID_FQDN; our id=@east; their idtype: ID_FQDN; their id=@road 000 "road-east-ipv6-psk-ikev2": dpd: action:hold; delay:0; timeout:0; nat-t: encaps:auto; nat_keepalive:yes; ikev1_natt:both 000 "road-east-ipv6-psk-ikev2": newest ISAKMP SA: #0; newest IPsec SA: #0; conn serial: $3; east # echo "initdone" initdone east # ../../pluto/bin/ipsec-look.sh east NOW XFRM state: src 192.1.3.209 dst 192.1.2.23 proto esp spi 0xSPISPI reqid REQID mode tunnel replay-window 32 flag af-unspec aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128 src 192.1.2.23 dst 192.1.3.209 proto esp spi 0xSPISPI reqid REQID mode tunnel replay-window 32 flag af-unspec aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128 src 192.1.3.209 dst 192.1.2.23 proto esp spi 0xSPISPI reqid REQID mode tunnel replay-window 32 flag af-unspec aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128 src 192.1.2.23 dst 192.1.3.209 proto esp spi 0xSPISPI reqid REQID mode tunnel replay-window 32 flag af-unspec aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128 XFRM policy: src 192.0.1.0/24 dst 192.0.2.0/24 dir fwd priority 2084814 ptype main tmpl src 192.1.3.209 dst 192.1.2.23 proto esp reqid REQID mode tunnel src 192.0.1.0/24 dst 192.0.2.0/24 dir in priority 2084814 ptype main tmpl src 192.1.3.209 dst 192.1.2.23 proto esp reqid REQID mode tunnel src 192.0.11.0/24 dst 192.0.2.0/24 dir fwd priority 2084814 ptype main tmpl src 192.1.3.209 dst 192.1.2.23 proto esp reqid REQID mode tunnel src 192.0.11.0/24 dst 192.0.2.0/24 dir in priority 2084814 ptype main tmpl src 192.1.3.209 dst 192.1.2.23 proto esp reqid REQID mode tunnel src 192.0.2.0/24 dst 192.0.1.0/24 dir out priority 2084814 ptype main tmpl src 192.1.2.23 dst 192.1.3.209 proto esp reqid REQID mode tunnel src 192.0.2.0/24 dst 192.0.11.0/24 dir out priority 2084814 ptype main tmpl src 192.1.2.23 dst 192.1.3.209 proto esp reqid REQID mode tunnel src ::/0 dst ::/0 proto ipv6-icmp type 135 dir fwd priority 1 ptype main src ::/0 dst ::/0 proto ipv6-icmp type 135 dir in priority 1 ptype main src ::/0 dst ::/0 proto ipv6-icmp type 135 dir out priority 1 ptype main src ::/0 dst ::/0 proto ipv6-icmp type 136 dir fwd priority 1 ptype main src ::/0 dst ::/0 proto ipv6-icmp type 136 dir in priority 1 ptype main src ::/0 dst ::/0 proto ipv6-icmp type 136 dir out priority 1 ptype main XFRM done IPSEC mangle TABLES NEW_IPSEC_CONN mangle TABLES ROUTING TABLES default via 192.1.2.254 dev eth1 192.0.1.0/24 via 192.1.2.45 dev eth1 192.0.2.0/24 dev eth0 proto kernel scope link src 192.0.2.254 192.1.2.0/24 dev eth1 proto kernel scope link src 192.1.2.23 2001:db8:0:1::/64 via 2001:db8:1:2::45 dev eth1 metric 1024 2001:db8:0:2::/64 dev eth0 proto kernel metric 256 2001:db8:1:2::/64 dev eth1 proto kernel metric 256 fe80::/64 dev eth0 proto kernel metric 256 fe80::/64 dev eth1 proto kernel metric 256 default via 2001:db8:1:2::254 dev eth1 NSS_CERTIFICATES Certificate Nickname Trust Attributes SSL,S/MIME,JAR/XPI Libreswan test CA for mainca - Libreswan CT,, east u,u,u hashsha1 P,, nic P,, north P,, road P,, west P,, west-ec P,, east # ../bin/check-for-core.sh east # if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi east #