Jul 20 15:39:21 moon charon: 01[DMN] starting charon (strongSwan Version 4.2.17) Jul 20 15:39:21 moon charon: 01[CFG] loading ca certificates from '/etc/ipsec.d/cacerts' Jul 20 15:39:21 moon charon: 01[LIB] loaded certificate file '/etc/ipsec.d/cacerts/strongswanCert.pem' Jul 20 15:39:21 moon charon: 01[CFG] loading aa certificates from '/etc/ipsec.d/aacerts' Jul 20 15:39:21 moon charon: 01[CFG] loading ocsp signer certificates from '/etc/ipsec.d/ocspcerts' Jul 20 15:39:21 moon charon: 01[CFG] loading attribute certificates from '/etc/ipsec.d/acerts' Jul 20 15:39:21 moon charon: 01[CFG] loading crls from '/etc/ipsec.d/crls' Jul 20 15:39:21 moon charon: 01[CFG] loading secrets from '/etc/ipsec.secrets' Jul 20 15:39:21 moon charon: 01[CFG] loaded private key file '/etc/ipsec.d/private/moonKey.pem' Jul 20 15:39:21 moon charon: 01[DMN] loaded plugins: curl aes des sha1 sha2 md5 gmp random x509 pubkey hmac xcbc stroke kernel-netlink Jul 20 15:39:21 moon charon: 01[KNL] listening on interfaces: Jul 20 15:39:22 moon charon: 01[KNL] eth0 Jul 20 15:39:22 moon charon: 01[KNL] 192.168.0.1 Jul 20 15:39:22 moon charon: 01[KNL] fec0::1 Jul 20 15:39:22 moon charon: 01[KNL] fe80::fcfd:c0ff:fea8:1 Jul 20 15:39:22 moon charon: 01[KNL] eth1 Jul 20 15:39:22 moon charon: 01[KNL] 10.1.0.1 Jul 20 15:39:22 moon charon: 01[KNL] fec1::1 Jul 20 15:39:22 moon charon: 01[KNL] fe80::fcfd:aff:fe01:1 Jul 20 15:39:22 moon charon: 01[DMN] integrity test of libstrongswan code Jul 20 15:39:22 moon charon: 01[LIB] TEXT: 0x40024e08 + 52128 = 0x400319a8 Jul 20 15:39:22 moon charon: 01[LIB] RODATA: 0x40031a20 + 9716 = 0x40034014 Jul 20 15:39:22 moon charon: 01[LIB] SHA-1 HMAC key: strongSwan Version 4.2.17 Jul 20 15:39:22 moon charon: 01[LIB] SHA-1 HMAC sig: a8:79:ce:93:03:c1:35:1f:be:cd:2f:9b:ac:57:0d:9a Jul 20 15:39:22 moon charon: 01[DMN] integrity test passed Jul 20 15:39:22 moon charon: 01[JOB] spawning 16 worker threads Jul 20 15:39:22 moon charon: 03[CFG] received stroke: add connection 'alice' Jul 20 15:39:22 moon charon: 03[CFG] left nor right host is our side, assuming left=local Jul 20 15:39:22 moon charon: 03[LIB] loaded certificate file '/etc/ipsec.d/certs/moonCert.pem' Jul 20 15:39:22 moon charon: 03[CFG] peerid %any not confirmed by certificate, defaulting to subject DN Jul 20 15:39:22 moon charon: 03[CFG] added configuration 'alice': %any[C=CH, O=Linux strongSwan, CN=moon.strongswan.org]...10.1.0.10[C=CH, O=Linux strongSwan, OU=Sales, CN=alice@strongswan.org] Jul 20 15:39:22 moon charon: 08[CFG] received stroke: route 'alice' Jul 20 15:39:22 moon charon: 12[IKE] CHILD_SA routed Jul 20 15:39:22 moon charon: 10[CFG] received stroke: add connection 'sun' Jul 20 15:39:22 moon charon: 10[CFG] left nor right host is our side, assuming left=local Jul 20 15:39:22 moon charon: 10[LIB] loaded certificate file '/etc/ipsec.d/certs/moonCert.pem' Jul 20 15:39:22 moon charon: 10[CFG] peerid %any not confirmed by certificate, defaulting to subject DN Jul 20 15:39:22 moon charon: 10[CFG] added configuration 'sun': %any[C=CH, O=Linux strongSwan, CN=moon.strongswan.org]...192.168.0.2[C=CH, O=Linux strongSwan, CN=sun.strongswan.org] Jul 20 15:39:22 moon charon: 13[CFG] received stroke: route 'sun' Jul 20 15:39:22 moon charon: 17[IKE] CHILD_SA routed Jul 20 15:39:24 moon charon: 04[KNL] creating acquire job for policy 10.1.0.1/32[udp/57711] === 10.1.0.10/32[udp/1025] with reqid {1} Jul 20 15:39:24 moon charon: 09[IKE] initiating IKE_SA alice[1] to 10.1.0.10 Jul 20 15:39:25 moon charon: 09[ENC] generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) ] Jul 20 15:39:25 moon charon: 09[NET] sending packet: from 10.1.0.1[500] to 10.1.0.10[500] Jul 20 15:39:25 moon charon: 03[NET] received packet: from 10.1.0.10[500] to 10.1.0.1[500] Jul 20 15:39:25 moon charon: 03[ENC] parsed IKE_SA_INIT response 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) CERTREQ ] Jul 20 15:39:25 moon charon: 03[IKE] received cert request for "C=CH, O=Linux strongSwan, CN=strongSwan Root CA" Jul 20 15:39:25 moon charon: 03[IKE] sending cert request for "C=CH, O=Linux strongSwan, CN=strongSwan Root CA" Jul 20 15:39:25 moon charon: 03[IKE] authentication of 'C=CH, O=Linux strongSwan, CN=moon.strongswan.org' (myself) with RSA signature successful Jul 20 15:39:25 moon charon: 03[IKE] sending end entity cert "C=CH, O=Linux strongSwan, CN=moon.strongswan.org" Jul 20 15:39:25 moon charon: 03[IKE] establishing CHILD_SA alice{1} Jul 20 15:39:25 moon charon: 03[ENC] generating IKE_AUTH request 1 [ IDi CERT CERTREQ IDr AUTH N(IPCOMP_SUPP) N(USE_TRANSP) SA TSi TSr ] Jul 20 15:39:25 moon charon: 03[NET] sending packet: from 10.1.0.1[500] to 10.1.0.10[500] Jul 20 15:39:25 moon charon: 11[NET] received packet: from 10.1.0.10[500] to 10.1.0.1[500] Jul 20 15:39:25 moon charon: 11[ENC] parsed IKE_AUTH response 1 [ IDr CERT AUTH N(IPCOMP_SUPP) N(USE_TRANSP) SA TSi TSr N(AUTH_LFT) ] Jul 20 15:39:25 moon charon: 11[IKE] received end entity cert "C=CH, O=Linux strongSwan, OU=Sales, CN=alice@strongswan.org" Jul 20 15:39:25 moon charon: 11[CFG] using certificate "C=CH, O=Linux strongSwan, OU=Sales, CN=alice@strongswan.org" Jul 20 15:39:25 moon charon: 11[CFG] using trusted ca certificate "C=CH, O=Linux strongSwan, CN=strongSwan Root CA" Jul 20 15:39:25 moon charon: 11[CFG] checking certificate status of "C=CH, O=Linux strongSwan, OU=Sales, CN=alice@strongswan.org" Jul 20 15:39:25 moon charon: 11[CFG] fetching crl from 'http://crl.strongswan.org/strongswan.crl' ... Jul 20 15:39:25 moon charon: 11[CFG] using trusted certificate "C=CH, O=Linux strongSwan, CN=strongSwan Root CA" Jul 20 15:39:25 moon charon: 11[CFG] crl correctly signed by "C=CH, O=Linux strongSwan, CN=strongSwan Root CA" Jul 20 15:39:25 moon charon: 11[CFG] crl is valid: until Aug 19 13:47:17 2009 Jul 20 15:39:25 moon charon: 11[CFG] certificate status is good Jul 20 15:39:25 moon charon: 11[IKE] authentication of 'C=CH, O=Linux strongSwan, OU=Sales, CN=alice@strongswan.org' with RSA signature successful Jul 20 15:39:25 moon charon: 11[IKE] scheduling reauthentication in 3279s Jul 20 15:39:25 moon charon: 11[IKE] maximum IKE_SA lifetime 3459s Jul 20 15:39:25 moon charon: 11[IKE] IKE_SA alice[1] established between 10.1.0.1[C=CH, O=Linux strongSwan, CN=moon.strongswan.org]...10.1.0.10[C=CH, O=Linux strongSwan, OU=Sales, CN=alice@strongswan.org] Jul 20 15:39:25 moon charon: 11[IKE] CHILD_SA alice{1} established with SPIs cb794ed6_i cbb0fe03_o and TS 10.1.0.1/32 === 10.1.0.10/32 Jul 20 15:39:25 moon charon: 11[IKE] received AUTH_LIFETIME of 3284s, scheduling reauthentication in 3104s Jul 20 15:39:28 moon charon: 04[KNL] creating acquire job for policy 192.168.0.1/32[udp/41255] === 192.168.0.2/32[udp/1025] with reqid {2} Jul 20 15:39:28 moon charon: 08[IKE] initiating IKE_SA sun[2] to 192.168.0.2 Jul 20 15:39:28 moon charon: 08[ENC] generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) ] Jul 20 15:39:28 moon charon: 08[NET] sending packet: from 192.168.0.1[500] to 192.168.0.2[500] Jul 20 15:39:28 moon charon: 14[NET] received packet: from 192.168.0.2[500] to 192.168.0.1[500] Jul 20 15:39:28 moon charon: 14[ENC] parsed IKE_SA_INIT response 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) CERTREQ ] Jul 20 15:39:28 moon charon: 14[IKE] received cert request for "C=CH, O=Linux strongSwan, CN=strongSwan Root CA" Jul 20 15:39:28 moon charon: 14[IKE] sending cert request for "C=CH, O=Linux strongSwan, CN=strongSwan Root CA" Jul 20 15:39:28 moon charon: 14[IKE] authentication of 'C=CH, O=Linux strongSwan, CN=moon.strongswan.org' (myself) with RSA signature successful Jul 20 15:39:28 moon charon: 14[IKE] sending end entity cert "C=CH, O=Linux strongSwan, CN=moon.strongswan.org" Jul 20 15:39:28 moon charon: 14[IKE] establishing CHILD_SA sun{2} Jul 20 15:39:28 moon charon: 14[ENC] generating IKE_AUTH request 1 [ IDi CERT CERTREQ IDr AUTH N(IPCOMP_SUPP) N(USE_TRANSP) SA TSi TSr ] Jul 20 15:39:28 moon charon: 14[NET] sending packet: from 192.168.0.1[500] to 192.168.0.2[500] Jul 20 15:39:28 moon charon: 12[NET] received packet: from 192.168.0.2[500] to 192.168.0.1[500] Jul 20 15:39:28 moon charon: 12[ENC] parsed IKE_AUTH response 1 [ IDr CERT AUTH N(IPCOMP_SUPP) N(USE_TRANSP) SA TSi TSr N(AUTH_LFT) ] Jul 20 15:39:28 moon charon: 12[IKE] received end entity cert "C=CH, O=Linux strongSwan, CN=sun.strongswan.org" Jul 20 15:39:28 moon charon: 12[CFG] using certificate "C=CH, O=Linux strongSwan, CN=sun.strongswan.org" Jul 20 15:39:28 moon charon: 12[CFG] using trusted ca certificate "C=CH, O=Linux strongSwan, CN=strongSwan Root CA" Jul 20 15:39:28 moon charon: 12[CFG] checking certificate status of "C=CH, O=Linux strongSwan, CN=sun.strongswan.org" Jul 20 15:39:28 moon charon: 12[CFG] using trusted certificate "C=CH, O=Linux strongSwan, CN=strongSwan Root CA" Jul 20 15:39:28 moon charon: 12[CFG] crl correctly signed by "C=CH, O=Linux strongSwan, CN=strongSwan Root CA" Jul 20 15:39:28 moon charon: 12[CFG] crl is valid: until Aug 19 13:47:17 2009 Jul 20 15:39:28 moon charon: 12[CFG] using cached crl Jul 20 15:39:28 moon charon: 12[CFG] certificate status is good Jul 20 15:39:28 moon charon: 12[IKE] authentication of 'C=CH, O=Linux strongSwan, CN=sun.strongswan.org' with RSA signature successful Jul 20 15:39:28 moon charon: 12[IKE] scheduling reauthentication in 3372s Jul 20 15:39:28 moon charon: 12[IKE] maximum IKE_SA lifetime 3552s Jul 20 15:39:28 moon charon: 12[IKE] IKE_SA sun[2] established between 192.168.0.1[C=CH, O=Linux strongSwan, CN=moon.strongswan.org]...192.168.0.2[C=CH, O=Linux strongSwan, CN=sun.strongswan.org] Jul 20 15:39:28 moon charon: 12[IKE] CHILD_SA sun{2} established with SPIs cf6f216c_i c7fa94d1_o and TS 192.168.0.1/32 === 192.168.0.2/32 Jul 20 15:39:28 moon charon: 12[IKE] received AUTH_LIFETIME of 3413s, scheduling reauthentication in 3233s Jul 20 15:39:36 moon charon: 12[IKE] sending DPD request Jul 20 15:39:36 moon charon: 12[ENC] generating INFORMATIONAL request 2 [ ] Jul 20 15:39:36 moon charon: 12[NET] sending packet: from 10.1.0.1[500] to 10.1.0.10[500] Jul 20 15:39:36 moon charon: 10[NET] received packet: from 10.1.0.10[500] to 10.1.0.1[500] Jul 20 15:39:36 moon charon: 10[ENC] parsed INFORMATIONAL response 2 [ ] Jul 20 15:39:39 moon charon: 13[NET] received packet: from 192.168.0.2[500] to 192.168.0.1[500] Jul 20 15:39:39 moon charon: 13[ENC] parsed INFORMATIONAL request 0 [ ] Jul 20 15:39:39 moon charon: 13[ENC] generating INFORMATIONAL response 0 [ ] Jul 20 15:39:39 moon charon: 13[NET] sending packet: from 192.168.0.1[500] to 192.168.0.2[500] Jul 20 15:39:46 moon charon: 12[NET] received packet: from 10.1.0.10[500] to 10.1.0.1[500] Jul 20 15:39:46 moon charon: 12[ENC] parsed INFORMATIONAL request 0 [ ] Jul 20 15:39:46 moon charon: 12[ENC] generating INFORMATIONAL response 0 [ ] Jul 20 15:39:46 moon charon: 12[NET] sending packet: from 10.1.0.1[500] to 10.1.0.10[500] Jul 20 15:39:49 moon charon: 16[IKE] sending DPD request Jul 20 15:39:49 moon charon: 16[ENC] generating INFORMATIONAL request 2 [ ] Jul 20 15:39:49 moon charon: 16[NET] sending packet: from 192.168.0.1[500] to 192.168.0.2[500] Jul 20 15:39:49 moon charon: 13[NET] received packet: from 192.168.0.2[500] to 192.168.0.1[500] Jul 20 15:39:49 moon charon: 13[ENC] parsed INFORMATIONAL response 2 [ ] Jul 20 15:39:53 moon charon: 17[NET] received packet: from 10.1.0.10[500] to 10.1.0.1[500] Jul 20 15:39:53 moon charon: 17[ENC] parsed INFORMATIONAL request 1 [ D ] Jul 20 15:39:53 moon charon: 17[IKE] received DELETE for IKE_SA alice[1] Jul 20 15:39:53 moon charon: 17[IKE] deleting IKE_SA alice[1] between 10.1.0.1[C=CH, O=Linux strongSwan, CN=moon.strongswan.org]...10.1.0.10[C=CH, O=Linux strongSwan, OU=Sales, CN=alice@strongswan.org] Jul 20 15:39:53 moon charon: 17[IKE] CHILD_SA routed Jul 20 15:39:53 moon charon: 17[IKE] routing CHILD_SA failed: already routed Jul 20 15:39:53 moon charon: 17[IKE] IKE_SA deleted Jul 20 15:39:53 moon charon: 17[ENC] generating INFORMATIONAL response 1 [ ] Jul 20 15:39:53 moon charon: 17[NET] sending packet: from 10.1.0.1[500] to 10.1.0.10[500] Jul 20 15:39:53 moon charon: 17[IKE] CHILD_SA routed Jul 20 15:39:55 moon charon: 01[DMN] signal of type SIGINT received. Shutting down Jul 20 15:39:55 moon charon: 01[IKE] deleting IKE_SA sun[2] between 192.168.0.1[C=CH, O=Linux strongSwan, CN=moon.strongswan.org]...192.168.0.2[C=CH, O=Linux strongSwan, CN=sun.strongswan.org] Jul 20 15:39:55 moon charon: 01[IKE] sending DELETE for IKE_SA sun[2] Jul 20 15:39:55 moon charon: 01[ENC] generating INFORMATIONAL request 3 [ D ] Jul 20 15:39:55 moon charon: 01[NET] sending packet: from 192.168.0.1[500] to 192.168.0.2[500] Jul 20 15:39:55 moon charon: 01[IKE] deleting unestablished IKE_SA