PRE-TEST winnetou# /etc/init.d/slapd start * Starting ldap-server ... [ ok ] moon# /etc/init.d/iptables start 2> /dev/null * Caching service dependencies ... [ ok ] * Starting firewall ... [ ok ] 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 002 "alice" #1: initiating Main Mode 104 "alice" #1: STATE_MAIN_I1: initiate 003 "alice" #1: ignoring Vendor ID payload [strongSwan] 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 003 "alice" #1: ignoring informational payload, type INVALID_KEY_INFORMATION 003 "alice" #1: discarding duplicate packet; already STATE_MAIN_I3 010 "alice" #1: STATE_MAIN_I3: retransmission; will wait 20s for response 003 "alice" #1: next payload type of ISAKMP Hash Payload has an unknown value: 175 003 "alice" #1: malformed payload in packet 003 "alice" #1: discarding duplicate packet; already STATE_MAIN_I3 010 "alice" #1: STATE_MAIN_I3: retransmission; will wait 40s for response 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 PUBKEY+ENCRYPT+TUNNEL+PFS+UP {using isakmp#1} 112 "alice" #2: STATE_QUICK_I1: initiate 002 "alice" #2: sent QI2, IPsec SA established {ESP=>0xd630871b <0x7fc56451} 004 "alice" #2: STATE_QUICK_I2: sent QI2, IPsec SA established {ESP=>0xd630871b <0x7fc56451} carol# ipsec up venus 002 "venus" #3: initiating Quick Mode PUBKEY+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] 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 003 "venus" #1: ignoring informational payload, type INVALID_KEY_INFORMATION 003 "venus" #1: discarding duplicate packet; already STATE_MAIN_I3 010 "venus" #1: STATE_MAIN_I3: retransmission; will wait 20s for response 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 PUBKEY+ENCRYPT+TUNNEL+PFS+UP {using isakmp#1} 112 "venus" #2: STATE_QUICK_I1: initiate 002 "venus" #2: sent QI2, IPsec SA established {ESP=>0x094c0871 <0x0b111af7} 004 "venus" #2: STATE_QUICK_I2: sent QI2, IPsec SA established {ESP=>0x094c0871 <0x0b111af7} dave# ipsec up alice 002 "alice" #3: initiating Quick Mode PUBKEY+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 moon# cat /var/log/auth.log | grep '192.168.0.100.*X.509 certificate rejected' [YES] Feb 27 23:14:31 moon pluto[18924]: "venus"[1] 192.168.0.100 #1: X.509 certificate rejected Feb 27 23:14:42 moon pluto[18924]: "venus"[1] 192.168.0.100 #1: X.509 certificate rejected carol# cat /var/log/auth.log | grep 'ignoring informational payload, type INVALID_KEY_INFORMATION' [YES] Feb 27 23:14:31 carol pluto[15821]: "alice" #1: ignoring informational payload, type INVALID_KEY_INFORMATION moon# cat /var/log/auth.log | grep '192.168.0.200.*X.509 certificate rejected' [YES] Feb 27 23:16:17 moon pluto[18924]: "venus"[2] 192.168.0.200 #3: X.509 certificate rejected dave# cat /var/log/auth.log | grep 'ignoring informational payload, type INVALID_KEY_INFORMATION' [YES] Feb 27 23:16:17 dave pluto[8660]: "venus" #1: ignoring informational payload, type INVALID_KEY_INFORMATION moon# cat /var/log/auth.log | grep 'fetching crl from .*ldap://ldap.strongswan.org' [YES] Feb 27 23:14:31 moon pluto[18924]: fetching crl from 'ldap://ldap.strongswan.org/cn=Research CA, ou=Research, o=Linux strongSwan, c=CH?certificateRevocationList' ... Feb 27 23:14:42 moon pluto[18924]: fetching crl from 'ldap://ldap.strongswan.org/cn=strongSwan Root CA, o=Linux strongSwan, c=CH?certificateRevocationList' ... Feb 27 23:16:17 moon pluto[18924]: fetching crl from 'ldap://ldap.strongswan.org/cn=Sales CA, ou=Sales, o=Linux strongSwan, c=CH?certificateRevocationList' ... 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 793s; 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 954s; 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 878s; 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 1038s; 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/* winnetou# /etc/init.d/slapd stop * Stopping ldap-server ... [ ok ] moon# /etc/init.d/iptables stop 2> /dev/null * Stopping firewall ... [ ok ]