PRE-TEST moon# echo 1 > /proc/sys/net/ipv4/ip_forward carol# ipsec start Starting strongSwan IPsec 2.8.11 [starter]... dave# ipsec start Starting strongSwan IPsec 2.8.11 [starter]... moon# ipsec start Starting strongSwan IPsec 2.8.11 [starter]... carol# sleep 2 carol# ipsec up alice 002 "alice" #1: initiating Main Mode 104 "alice" #1: STATE_MAIN_I1: initiate 003 "alice" #1: ignoring Vendor ID payload [strongSwan 2.8.11] 003 "alice" #1: received Vendor ID payload [XAUTH] 003 "alice" #1: received Vendor ID payload [Dead Peer Detection] 106 "alice" #1: STATE_MAIN_I2: sent MI2, expecting MR2 002 "alice" #1: we have a cert and are sending it upon request 108 "alice" #1: STATE_MAIN_I3: sent MI3, expecting MR3 002 "alice" #1: Peer ID is ID_FQDN: '@moon.strongswan.org' 002 "alice" #1: crl not found 002 "alice" #1: certificate status unknown 002 "alice" #1: ISAKMP SA established 004 "alice" #1: STATE_MAIN_I4: ISAKMP SA established 002 "alice" #2: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP {using isakmp#1} 112 "alice" #2: STATE_QUICK_I1: initiate 002 "alice" #2: sent QI2, IPsec SA established {ESP=>0x370be10c <0x4b7a125c} 004 "alice" #2: STATE_QUICK_I2: sent QI2, IPsec SA established {ESP=>0x370be10c <0x4b7a125c} carol# ipsec up venus 002 "venus" #3: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP {using isakmp#1} 112 "venus" #3: STATE_QUICK_I1: initiate 010 "venus" #3: STATE_QUICK_I1: retransmission; will wait 20s for response 010 "venus" #3: STATE_QUICK_I1: retransmission; will wait 40s for response 031 "venus" #3: max number of retransmissions (2) reached STATE_QUICK_I1. No acceptable response to our first Quick Mode message: perhaps peer likes no proposal dave# ipsec up venus 002 "venus" #1: initiating Main Mode 104 "venus" #1: STATE_MAIN_I1: initiate 003 "venus" #1: ignoring Vendor ID payload [strongSwan 2.8.11] 003 "venus" #1: received Vendor ID payload [XAUTH] 003 "venus" #1: received Vendor ID payload [Dead Peer Detection] 106 "venus" #1: STATE_MAIN_I2: sent MI2, expecting MR2 002 "venus" #1: we have a cert and are sending it upon request 108 "venus" #1: STATE_MAIN_I3: sent MI3, expecting MR3 002 "venus" #1: Peer ID is ID_FQDN: '@moon.strongswan.org' 002 "venus" #1: crl not found 002 "venus" #1: certificate status unknown 002 "venus" #1: ISAKMP SA established 004 "venus" #1: STATE_MAIN_I4: ISAKMP SA established 002 "venus" #2: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP {using isakmp#1} 112 "venus" #2: STATE_QUICK_I1: initiate 002 "venus" #2: sent QI2, IPsec SA established {ESP=>0x13b5d29c <0x6f66832b} 004 "venus" #2: STATE_QUICK_I2: sent QI2, IPsec SA established {ESP=>0x13b5d29c <0x6f66832b} dave# ipsec up alice 002 "alice" #3: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP {using isakmp#1} 112 "alice" #3: STATE_QUICK_I1: initiate 010 "alice" #3: STATE_QUICK_I1: retransmission; will wait 20s for response 010 "alice" #3: STATE_QUICK_I1: retransmission; will wait 40s for response 031 "alice" #3: max number of retransmissions (2) reached STATE_QUICK_I1. No acceptable response to our first Quick Mode message: perhaps peer likes no proposal TEST carol# cat /var/log/auth.log | grep 'alice.*we have a cert and are sending it upon request' [YES] Jul 20 07:11:45 carol pluto[8897]: "alice" #1: we have a cert and are sending it upon request moon# cat /var/log/auth.log | grep 'alice.*we have a cert and are sending it upon request' [YES] Jul 20 07:11:45 moon pluto[10433]: "alice"[1] 192.168.0.100 #1: we have a cert and are sending it upon request dave# cat /var/log/auth.log | grep 'venus.*we have a cert and are sending it upon request' [YES] Jul 20 07:12:58 dave pluto[5345]: "venus" #1: we have a cert and are sending it upon request moon# cat /var/log/auth.log | grep 'venus.*we have a cert and are sending it upon request' [YES] Jul 20 07:12:59 moon pluto[10433]: "venus"[3] 192.168.0.200 #3: we have a cert and are sending it upon request carol# ipsec status | grep 'alice.*STATE_QUICK_I2.*IPsec SA established' [YES] 000 #2: "alice" STATE_QUICK_I2 (sent QI2, IPsec SA established); EVENT_SA_REPLACE in 866s; newest IPSEC; eroute owner moon# ipsec status | grep 'alice.*192.168.0.100.*STATE_QUICK_R2.*IPsec SA established' [YES] 000 #2: "alice"[1] 192.168.0.100 STATE_QUICK_R2 (IPsec SA established); EVENT_SA_REPLACE in 964s; newest IPSEC; eroute owner carol# ipsec status | grep 'venus.*STATE_QUICK_I2.*IPsec SA established' [NO] moon# ipsec status | grep 'venus.*192.168.0.100.*STATE_QUICK_R2.*IPsec SA established' [NO] dave# ipsec status | grep 'venus.*STATE_QUICK_I2.*IPsec SA established' [YES] 000 #2: "venus" STATE_QUICK_I2 (sent QI2, IPsec SA established); EVENT_SA_REPLACE in 803s; newest IPSEC; eroute owner moon# ipsec status | grep 'venus.*192.168.0.200.*STATE_QUICK_R2.*IPsec SA established' [YES] 000 #4: "venus"[3] 192.168.0.200 STATE_QUICK_R2 (IPsec SA established); EVENT_SA_REPLACE in 1036s; newest IPSEC; eroute owner dave# ipsec status | grep 'alice.*STATE_QUICK_I2.*IPsec SA established' [NO] moon# ipsec status | grep 'alice.*192.168.0.200.*STATE_QUICK_R2.*IPsec SA established' [NO] POST-TEST moon# ipsec stop Stopping strongSwan IPsec... carol# ipsec stop Stopping strongSwan IPsec... dave# ipsec stop Stopping strongSwan IPsec... moon# rm /etc/ipsec.d/cacerts/*