PRE-TEST carol# rm /etc/ipsec.d/cacerts/* 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 home 002 "home" #1: initiating Main Mode 003 "home" #1: buffer space exhausted in alg_info_snprint_ike(), buflen=-28 002 "home" #1: ike alg: crypter SERPENT_CBC not present 002 "home" #1: ike alg: crypter SERPENT_CBC not present 002 "home" #1: ike alg: crypter SERPENT_CBC not present 002 "home" #1: ike alg: crypter SERPENT_CBC not present 002 "home" #1: ike alg: crypter TWOFISH_CBC not present 002 "home" #1: ike alg: crypter TWOFISH_CBC not present 002 "home" #1: ike alg: crypter TWOFISH_CBC not present 002 "home" #1: ike alg: crypter TWOFISH_CBC not present 104 "home" #1: STATE_MAIN_I1: initiate 003 "home" #1: ignoring Vendor ID payload [strongSwan] 003 "home" #1: received Vendor ID payload [XAUTH] 003 "home" #1: received Vendor ID payload [Dead Peer Detection] 106 "home" #1: STATE_MAIN_I2: sent MI2, expecting MR2 108 "home" #1: STATE_MAIN_I3: sent MI3, expecting MR3 002 "home" #1: Peer ID is ID_FQDN: 'moon.strongswan.org' 002 "home" #1: ISAKMP SA established 004 "home" #1: STATE_MAIN_I4: ISAKMP SA established 002 "home" #2: initiating Quick Mode PSK+ENCRYPT+TUNNEL+PFS+UP {using isakmp#1} 112 "home" #2: STATE_QUICK_I1: initiate 002 "home" #2: sent QI2, IPsec SA established {ESP=>0x4c4c0614 <0xfc9be470} 004 "home" #2: STATE_QUICK_I2: sent QI2, IPsec SA established {ESP=>0x4c4c0614 <0xfc9be470} dave# ipsec up home 002 "home" #1: initiating Main Mode 104 "home" #1: STATE_MAIN_I1: initiate 003 "home" #1: ignoring Vendor ID payload [strongSwan] 003 "home" #1: received Vendor ID payload [XAUTH] 003 "home" #1: received Vendor ID payload [Dead Peer Detection] 106 "home" #1: STATE_MAIN_I2: sent MI2, expecting MR2 002 "home" #1: we have a cert and are sending it upon request 108 "home" #1: STATE_MAIN_I3: sent MI3, expecting MR3 002 "home" #1: Peer ID is ID_FQDN: 'moon.strongswan.org' 002 "home" #1: crl not found 002 "home" #1: certificate status unknown 002 "home" #1: ISAKMP SA established 004 "home" #1: STATE_MAIN_I4: ISAKMP SA established 002 "home" #2: initiating Quick Mode PUBKEY+ENCRYPT+TUNNEL+PFS+UP {using isakmp#1} 112 "home" #2: STATE_QUICK_I1: initiate 002 "home" #2: sent QI2, IPsec SA established {ESP=>0x7b67acca <0x0f11f27c} 004 "home" #2: STATE_QUICK_I2: sent QI2, IPsec SA established {ESP=>0x7b67acca <0x0f11f27c} TEST carol# ipsec status | grep 'home.*STATE_QUICK_I2.*IPsec SA established' [YES] 000 #2: "home" STATE_QUICK_I2 (sent QI2, IPsec SA established); EVENT_SA_REPLACE in 945s; newest IPSEC; eroute owner dave# ipsec status | grep 'home.*STATE_QUICK_I2.*IPsec SA established' [YES] 000 #2: "home" STATE_QUICK_I2 (sent QI2, IPsec SA established); EVENT_SA_REPLACE in 949s; newest IPSEC; eroute owner moon# cat /var/log/auth.log | grep 'peer requests PSK authentication' [YES] Feb 27 23:43:55 moon pluto[26702]: | preparse_isakmp_policy: peer requests PSK authentication moon# ipsec status | grep 'rw-psk.*192.168.0.100 STATE_QUICK_R2.*IPsec SA established' [YES] 000 #2: "rw-psk"[2] 192.168.0.100 STATE_QUICK_R2 (IPsec SA established); EVENT_SA_REPLACE in 1105s; newest IPSEC; eroute owner moon# cat /var/log/auth.log | grep 'peer requests PUBKEY authentication' [YES] Feb 27 23:43:58 moon pluto[26702]: | preparse_isakmp_policy: peer requests PUBKEY authentication moon# ipsec status | grep 'rw-rsasig.*192.168.0.200 STATE_QUICK_R2.*IPsec SA established' [YES] 000 #4: "rw-rsasig"[2] 192.168.0.200 STATE_QUICK_R2 (IPsec SA established); EVENT_SA_REPLACE in 1109s; newest IPSEC; eroute owner POST-TEST moon# ipsec stop Stopping strongSwan IPsec... carol# ipsec stop Stopping strongSwan IPsec... dave# ipsec stop Stopping strongSwan IPsec...