PRE-TEST moon# echo 1 > /proc/sys/net/ipv4/ip_forward carol# ipsec start Starting strongSwan 4.3.6 IPsec [starter]... dave# ipsec start Starting strongSwan 4.3.6 IPsec [starter]... moon# ipsec start Starting strongSwan 4.3.6 IPsec [starter]... carol# sleep 2 carol# ipsec up alice initiating IKE_SA alice[1] to 192.168.0.1 generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) ] sending packet: from 192.168.0.100[500] to 192.168.0.1[500] received packet: from 192.168.0.1[500] to 192.168.0.100[500] parsed IKE_SA_INIT response 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) CERTREQ N(MULT_AUTH) ] received cert request for "C=CH, O=Linux strongSwan, CN=strongSwan Root CA" sending cert request for "C=CH, O=Linux strongSwan, CN=strongSwan Root CA" authentication of 'C=CH, O=Linux strongSwan, OU=Research, CN=carol@strongswan.org' (myself) with RSA signature successful sending end entity cert "C=CH, O=Linux strongSwan, OU=Research, CN=carol@strongswan.org" sending issuer cert "C=CH, O=Linux strongSwan, OU=Research, CN=Research CA" establishing CHILD_SA alice generating IKE_AUTH request 1 [ IDi CERT CERT CERTREQ IDr AUTH SA TSi TSr N(MOBIKE_SUP) N(ADD_6_ADDR) N(MULT_AUTH) N(EAP_ONLY) ] sending packet: from 192.168.0.100[4500] to 192.168.0.1[4500] received packet: from 192.168.0.1[4500] to 192.168.0.100[4500] parsed IKE_AUTH response 1 [ IDr CERT AUTH SA TSi TSr N(AUTH_LFT) N(MOBIKE_SUP) N(ADD_4_ADDR) N(ADD_6_ADDR) N(ADD_6_ADDR) ] received end entity cert "C=CH, O=Linux strongSwan, CN=moon.strongswan.org" using certificate "C=CH, O=Linux strongSwan, CN=moon.strongswan.org" using trusted ca certificate "C=CH, O=Linux strongSwan, CN=strongSwan Root CA" checking certificate status of "C=CH, O=Linux strongSwan, CN=moon.strongswan.org" fetching crl from 'http://crl.strongswan.org/strongswan.crl' ... using trusted certificate "C=CH, O=Linux strongSwan, CN=strongSwan Root CA" crl correctly signed by "C=CH, O=Linux strongSwan, CN=strongSwan Root CA" crl is valid: until Mar 29 23:27:26 2010 certificate status is good reached self-signed root ca with a path length of 0 authentication of 'moon.strongswan.org' with RSA signature successful IKE_SA alice[1] established between 192.168.0.100[C=CH, O=Linux strongSwan, OU=Research, CN=carol@strongswan.org]...192.168.0.1[moon.strongswan.org] scheduling reauthentication in 3278s maximum IKE_SA lifetime 3458s dave# ipsec up venus initiating IKE_SA venus[1] to 192.168.0.1 generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) ] sending packet: from 192.168.0.200[500] to 192.168.0.1[500] received packet: from 192.168.0.1[500] to 192.168.0.200[500] parsed IKE_SA_INIT response 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) CERTREQ N(MULT_AUTH) ] received cert request for "C=CH, O=Linux strongSwan, CN=strongSwan Root CA" sending cert request for "C=CH, O=Linux strongSwan, CN=strongSwan Root CA" authentication of 'C=CH, O=Linux strongSwan, OU=Sales, CN=dave@strongswan.org' (myself) with RSA signature successful sending end entity cert "C=CH, O=Linux strongSwan, OU=Sales, CN=dave@strongswan.org" sending issuer cert "C=CH, O=Linux strongSwan, OU=Sales, CN=Sales CA" establishing CHILD_SA venus generating IKE_AUTH request 1 [ IDi CERT CERT CERTREQ IDr AUTH SA TSi TSr N(MOBIKE_SUP) N(ADD_6_ADDR) N(MULT_AUTH) N(EAP_ONLY) ] sending packet: from 192.168.0.200[4500] to 192.168.0.1[4500] received packet: from 192.168.0.1[4500] to 192.168.0.200[4500] parsed IKE_AUTH response 1 [ IDr CERT AUTH SA TSi TSr N(AUTH_LFT) N(MOBIKE_SUP) N(ADD_4_ADDR) N(ADD_6_ADDR) N(ADD_6_ADDR) ] received end entity cert "C=CH, O=Linux strongSwan, CN=moon.strongswan.org" using certificate "C=CH, O=Linux strongSwan, CN=moon.strongswan.org" using trusted ca certificate "C=CH, O=Linux strongSwan, CN=strongSwan Root CA" checking certificate status of "C=CH, O=Linux strongSwan, CN=moon.strongswan.org" fetching crl from 'http://crl.strongswan.org/strongswan.crl' ... using trusted certificate "C=CH, O=Linux strongSwan, CN=strongSwan Root CA" crl correctly signed by "C=CH, O=Linux strongSwan, CN=strongSwan Root CA" crl is valid: until Mar 29 23:27:26 2010 certificate status is good reached self-signed root ca with a path length of 0 authentication of 'moon.strongswan.org' with RSA signature successful IKE_SA venus[1] established between 192.168.0.200[C=CH, O=Linux strongSwan, OU=Sales, CN=dave@strongswan.org]...192.168.0.1[moon.strongswan.org] scheduling reauthentication in 3357s maximum IKE_SA lifetime 3537s TEST carol# cat /var/log/daemon.log | grep 'sending issuer cert.*CN=Research CA' [YES] Feb 28 00:28:50 carol charon: 15[IKE] sending issuer cert "C=CH, O=Linux strongSwan, OU=Research, CN=Research CA" dave# cat /var/log/daemon.log | grep 'sending issuer cert.*CN=Sales CA' [YES] Feb 28 00:28:51 dave charon: 15[IKE] sending issuer cert "C=CH, O=Linux strongSwan, OU=Sales, CN=Sales CA" moon# cat /var/log/daemon.log | grep 'fetching crl from.*http.*research.crl' [YES] Feb 28 00:28:50 moon charon: 03[CFG] fetching crl from 'http://crl.strongswan.org/research.crl' ... moon# cat /var/log/daemon.log | grep 'crl correctly signed by.*Research CA' [YES] Feb 28 00:28:50 moon charon: 03[CFG] crl correctly signed by "C=CH, O=Linux strongSwan, OU=Research, CN=Research CA" moon# cat /var/log/daemon.log | grep 'fetching crl from.*http.*sales.crl' [YES] Feb 28 00:28:51 moon charon: 01[CFG] fetching crl from 'http://crl.strongswan.org/sales.crl' ... moon# cat /var/log/daemon.log | grep 'crl correctly signed by.*Sales CA' [YES] Feb 28 00:28:51 moon charon: 01[CFG] crl correctly signed by "C=CH, O=Linux strongSwan, OU=Sales, CN=Sales CA" moon# cat /var/log/daemon.log | grep 'fetching crl from.*http.*strongswan.crl' [YES] Feb 28 00:28:50 moon charon: 03[CFG] fetching crl from 'http://crl.strongswan.org/strongswan.crl' ... moon# cat /var/log/daemon.log | grep 'crl correctly signed by.*strongSwan Root CA' [YES] Feb 28 00:28:50 moon charon: 03[CFG] crl correctly signed by "C=CH, O=Linux strongSwan, CN=strongSwan Root CA" Feb 28 00:28:51 moon charon: 01[CFG] crl correctly signed by "C=CH, O=Linux strongSwan, CN=strongSwan Root CA" carol# ipsec status | grep 'alice.*INSTALLED' [YES] alice{1}: INSTALLED, TUNNEL, ESP SPIs: cb3cb6a9_i c631cb27_o moon# ipsec status | grep 'alice.*INSTALLED' [YES] alice{1}: INSTALLED, TUNNEL, ESP SPIs: c631cb27_i cb3cb6a9_o dave# ipsec status | grep 'venus.*INSTALLED' [YES] venus{1}: INSTALLED, TUNNEL, ESP SPIs: c804ca46_i ca47daa9_o moon# ipsec status | grep 'venus.*INSTALLED' [YES] venus{2}: INSTALLED, TUNNEL, ESP SPIs: ca47daa9_i c804ca46_o POST-TEST moon# ipsec stop Stopping strongSwan IPsec... carol# ipsec stop Stopping strongSwan IPsec... dave# ipsec stop Stopping strongSwan IPsec... carol# rm /etc/ipsec.d/cacerts/* dave# rm /etc/ipsec.d/cacerts/*