/testing/guestbin/swan-prep west # # confirm that the network is alive west # ../../pluto/bin/wait-until-alive -I 192.0.1.254 192.0.2.254 destination -I 192.0.1.254 192.0.2.254 is alive west # # ensure that clear text does not get through west # iptables -A INPUT -i eth1 -s 192.0.2.0/24 -j LOGDROP west # iptables -I INPUT -m policy --dir in --pol ipsec -j ACCEPT west # # confirm clear text does not get through west # ../../pluto/bin/ping-once.sh --down -I 192.0.1.254 192.0.2.254 [ 00.00] IN=eth1 OUT= MAC=12:00:00:64:64:45:12:00:00:64:64:23:08:00 SRC=192.0.2.254 DST=192.0.1.254 LEN=XXXX TOS=0x00 PREC=0x00 TTL=64 ID=XXXXX PROTO=ICMP TYPE=0 CODE=0 ID=XXXX SEQ=1 down west # ipsec start Redirecting to: [initsystem] west # /testing/pluto/bin/wait-until-pluto-started west # ipsec auto --add westnet-eastnet 002 added connection description "westnet-eastnet" west # echo "initdone" initdone west # # Proper test connection, should work west # ipsec whack --impair none west # ../bin/libreswan-up-down.sh westnet-eastnet -I 192.0.1.254 192.0.2.254 002 "westnet-eastnet": terminating SAs using this connection 002 added connection description "westnet-eastnet" 002 "westnet-eastnet" #1: initiating Main Mode 1v1 "westnet-eastnet" #1: STATE_MAIN_I1: initiate 1v1 "westnet-eastnet" #1: STATE_MAIN_I2: sent MI2, expecting MR2 1v1 "westnet-eastnet" #1: STATE_MAIN_I3: sent MI3, expecting MR3 002 "westnet-eastnet" #1: Peer ID is ID_FQDN: '@east' 003 "westnet-eastnet" #1: Authenticated using RSA 004 "westnet-eastnet" #1: STATE_MAIN_I4: ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048} 002 "westnet-eastnet" #2: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO 1v1 "westnet-eastnet" #2: STATE_QUICK_I1: initiate 004 "westnet-eastnet" #2: STATE_QUICK_I2: sent QI2, IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_CBC_128-HMAC_SHA1_96 NATOA=none NATD=none DPD=passive} destination -I 192.0.1.254 192.0.2.254 is alive 002 "westnet-eastnet": terminating SAs using this connection 002 "westnet-eastnet" #2: deleting state (STATE_QUICK_I2) and sending notification 005 "westnet-eastnet" #2: ESP traffic information: in=84B out=84B 002 "westnet-eastnet" #1: deleting state (STATE_MAIN_I4) and sending notification 002 "westnet-eastnet": terminating SAs using this connection west # # Quick: west # ipsec whack --impair none west # ipsec whack --impair revival west # ipsec whack --impair suppress-retransmits west # ipsec whack --impair v1-hash-exchange:quick west # # HASH payload omited - should fail west # ipsec whack --impair v1-hash-payload:omit west # ../bin/libreswan-up-down.sh westnet-eastnet -I 192.0.1.254 192.0.2.254 002 added connection description "westnet-eastnet" 002 "westnet-eastnet" #3: initiating Main Mode 1v1 "westnet-eastnet" #3: STATE_MAIN_I1: initiate 1v1 "westnet-eastnet" #3: STATE_MAIN_I2: sent MI2, expecting MR2 1v1 "westnet-eastnet" #3: STATE_MAIN_I3: sent MI3, expecting MR3 002 "westnet-eastnet" #3: Peer ID is ID_FQDN: '@east' 003 "westnet-eastnet" #3: Authenticated using RSA 004 "westnet-eastnet" #3: STATE_MAIN_I4: ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048} 002 "westnet-eastnet" #4: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO 002 "westnet-eastnet" #4: IMPAIR: omitting HASH payload for outI1 1v1 "westnet-eastnet" #4: STATE_QUICK_I1: initiate 031 "westnet-eastnet" #4: STATE_QUICK_I1: 60 second timeout exceeded after 0 retransmits. No acceptable response to our first Quick Mode message: perhaps peer likes no proposal 000 "westnet-eastnet" #4: starting keying attempt 2 of an unlimited number, but releasing whack west # # HASH payload empty - should fail west # ipsec whack --impair v1-hash-payload:empty west # ../bin/libreswan-up-down.sh westnet-eastnet -I 192.0.1.254 192.0.2.254 002 added connection description "westnet-eastnet" 002 "westnet-eastnet" #6: initiating Main Mode 1v1 "westnet-eastnet" #6: STATE_MAIN_I1: initiate 1v1 "westnet-eastnet" #6: STATE_MAIN_I2: sent MI2, expecting MR2 1v1 "westnet-eastnet" #6: STATE_MAIN_I3: sent MI3, expecting MR3 002 "westnet-eastnet" #6: Peer ID is ID_FQDN: '@east' 003 "westnet-eastnet" #6: Authenticated using RSA 004 "westnet-eastnet" #6: STATE_MAIN_I4: ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048} 002 "westnet-eastnet" #7: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO 002 "westnet-eastnet" #7: IMPAIR: sending HASH payload with no data for outI1 1v1 "westnet-eastnet" #7: STATE_QUICK_I1: initiate 031 "westnet-eastnet" #7: STATE_QUICK_I1: 60 second timeout exceeded after 0 retransmits. No acceptable response to our first Quick Mode message: perhaps peer likes no proposal 000 "westnet-eastnet" #7: starting keying attempt 2 of an unlimited number, but releasing whack west # # HASH payload badly calculated - should fail west # ipsec whack --impair v1-hash-payload:0 west # ../bin/libreswan-up-down.sh westnet-eastnet -I 192.0.1.254 192.0.2.254 002 added connection description "westnet-eastnet" 002 "westnet-eastnet" #9: initiating Main Mode 1v1 "westnet-eastnet" #9: STATE_MAIN_I1: initiate 1v1 "westnet-eastnet" #9: STATE_MAIN_I2: sent MI2, expecting MR2 1v1 "westnet-eastnet" #9: STATE_MAIN_I3: sent MI3, expecting MR3 002 "westnet-eastnet" #9: Peer ID is ID_FQDN: '@east' 003 "westnet-eastnet" #9: Authenticated using RSA 004 "westnet-eastnet" #9: STATE_MAIN_I4: ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048} 002 "westnet-eastnet" #10: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO 002 "westnet-eastnet" #10: IMPAIR: setting HASH payload bytes to 00 1v1 "westnet-eastnet" #10: STATE_QUICK_I1: initiate 031 "westnet-eastnet" #10: STATE_QUICK_I1: 60 second timeout exceeded after 0 retransmits. No acceptable response to our first Quick Mode message: perhaps peer likes no proposal 000 "westnet-eastnet" #10: starting keying attempt 2 of an unlimited number, but releasing whack west # echo done done west # # Delete west # ipsec whack --impair none west # ipsec whack --impair revival west # ipsec whack --impair suppress-retransmits west # ipsec whack --impair v1-hash-exchange:delete west # # HASH payload omited - should fail west # ipsec whack --impair v1-hash-payload:omit west # ../bin/libreswan-up-down.sh westnet-eastnet -I 192.0.1.254 192.0.2.254 002 added connection description "westnet-eastnet" 002 "westnet-eastnet" #12: initiating Main Mode 1v1 "westnet-eastnet" #12: STATE_MAIN_I1: initiate 1v1 "westnet-eastnet" #12: STATE_MAIN_I2: sent MI2, expecting MR2 1v1 "westnet-eastnet" #12: STATE_MAIN_I3: sent MI3, expecting MR3 002 "westnet-eastnet" #12: Peer ID is ID_FQDN: '@east' 003 "westnet-eastnet" #12: Authenticated using RSA 004 "westnet-eastnet" #12: STATE_MAIN_I4: ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048} 002 "westnet-eastnet" #13: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO 1v1 "westnet-eastnet" #13: STATE_QUICK_I1: initiate 004 "westnet-eastnet" #13: STATE_QUICK_I2: sent QI2, IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_CBC_128-HMAC_SHA1_96 NATOA=none NATD=none DPD=passive} destination -I 192.0.1.254 192.0.2.254 is alive 002 "westnet-eastnet": terminating SAs using this connection 002 "westnet-eastnet" #13: deleting state (STATE_QUICK_I2) and sending notification 005 "westnet-eastnet" #13: ESP traffic information: in=84B out=84B 002 "westnet-eastnet" #13: IMPAIR: omitting HASH payload for send delete 002 "westnet-eastnet" #12: deleting state (STATE_MAIN_I4) and sending notification 002 "westnet-eastnet" #12: IMPAIR: omitting HASH payload for send delete 002 "westnet-eastnet": terminating SAs using this connection west # # HASH payload empty - should fail west # ipsec whack --impair v1-hash-payload:empty west # ../bin/libreswan-up-down.sh westnet-eastnet -I 192.0.1.254 192.0.2.254 002 added connection description "westnet-eastnet" 002 "westnet-eastnet" #14: initiating Main Mode 1v1 "westnet-eastnet" #14: STATE_MAIN_I1: initiate 1v1 "westnet-eastnet" #14: STATE_MAIN_I2: sent MI2, expecting MR2 1v1 "westnet-eastnet" #14: STATE_MAIN_I3: sent MI3, expecting MR3 002 "westnet-eastnet" #14: Peer ID is ID_FQDN: '@east' 003 "westnet-eastnet" #14: Authenticated using RSA 004 "westnet-eastnet" #14: STATE_MAIN_I4: ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048} 002 "westnet-eastnet" #15: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO 1v1 "westnet-eastnet" #15: STATE_QUICK_I1: initiate 004 "westnet-eastnet" #15: STATE_QUICK_I2: sent QI2, IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_CBC_128-HMAC_SHA1_96 NATOA=none NATD=none DPD=passive} destination -I 192.0.1.254 192.0.2.254 is alive 002 "westnet-eastnet": terminating SAs using this connection 002 "westnet-eastnet" #15: deleting state (STATE_QUICK_I2) and sending notification 005 "westnet-eastnet" #15: ESP traffic information: in=84B out=84B 002 "westnet-eastnet" #15: IMPAIR: sending HASH payload with no data for send delete 002 "westnet-eastnet" #14: deleting state (STATE_MAIN_I4) and sending notification 002 "westnet-eastnet" #14: IMPAIR: sending HASH payload with no data for send delete 002 "westnet-eastnet": terminating SAs using this connection west # # HASH payload badly calculated - should fail west # ipsec whack --impair v1-hash-payload:0 west # ../bin/libreswan-up-down.sh westnet-eastnet -I 192.0.1.254 192.0.2.254 002 added connection description "westnet-eastnet" 002 "westnet-eastnet" #16: initiating Main Mode 1v1 "westnet-eastnet" #16: STATE_MAIN_I1: initiate 1v1 "westnet-eastnet" #16: STATE_MAIN_I2: sent MI2, expecting MR2 1v1 "westnet-eastnet" #16: STATE_MAIN_I3: sent MI3, expecting MR3 002 "westnet-eastnet" #16: Peer ID is ID_FQDN: '@east' 003 "westnet-eastnet" #16: Authenticated using RSA 004 "westnet-eastnet" #16: STATE_MAIN_I4: ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048} 002 "westnet-eastnet" #17: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO 1v1 "westnet-eastnet" #17: STATE_QUICK_I1: initiate 004 "westnet-eastnet" #17: STATE_QUICK_I2: sent QI2, IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_CBC_128-HMAC_SHA1_96 NATOA=none NATD=none DPD=passive} destination -I 192.0.1.254 192.0.2.254 is alive 002 "westnet-eastnet": terminating SAs using this connection 002 "westnet-eastnet" #17: deleting state (STATE_QUICK_I2) and sending notification 005 "westnet-eastnet" #17: ESP traffic information: in=84B out=84B 002 "westnet-eastnet" #17: IMPAIR: setting HASH payload bytes to 00 002 "westnet-eastnet" #16: deleting state (STATE_MAIN_I4) and sending notification 002 "westnet-eastnet" #16: IMPAIR: setting HASH payload bytes to 00 002 "westnet-eastnet": terminating SAs using this connection west # echo done done west # # XAUTH: west # ipsec whack --impair none west # ipsec whack --impair revival west # ipsec whack --impair suppress-retransmits west # ipsec whack --impair v1-hash-exchange:xauth west # # HASH payload omited - should fail west # ipsec whack --impair v1-hash-payload:omit west # ../bin/libreswan-up-down.sh westnet-eastnet -I 192.0.1.254 192.0.2.254 002 added connection description "westnet-eastnet" 002 "westnet-eastnet" #18: initiating Main Mode 1v1 "westnet-eastnet" #18: STATE_MAIN_I1: initiate 1v1 "westnet-eastnet" #18: STATE_MAIN_I2: sent MI2, expecting MR2 1v1 "westnet-eastnet" #18: STATE_MAIN_I3: sent MI3, expecting MR3 002 "westnet-eastnet" #18: Peer ID is ID_FQDN: '@east' 003 "westnet-eastnet" #18: Authenticated using RSA 004 "westnet-eastnet" #18: STATE_MAIN_I4: ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048} 002 "westnet-eastnet" #19: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO 1v1 "westnet-eastnet" #19: STATE_QUICK_I1: initiate 004 "westnet-eastnet" #19: STATE_QUICK_I2: sent QI2, IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_CBC_128-HMAC_SHA1_96 NATOA=none NATD=none DPD=passive} destination -I 192.0.1.254 192.0.2.254 is alive 002 "westnet-eastnet": terminating SAs using this connection 002 "westnet-eastnet" #19: deleting state (STATE_QUICK_I2) and sending notification 005 "westnet-eastnet" #19: ESP traffic information: in=84B out=84B 002 "westnet-eastnet" #18: deleting state (STATE_MAIN_I4) and sending notification 002 "westnet-eastnet": terminating SAs using this connection west # # HASH payload empty - should fail west # ipsec whack --impair v1-hash-payload:empty west # ../bin/libreswan-up-down.sh westnet-eastnet -I 192.0.1.254 192.0.2.254 002 added connection description "westnet-eastnet" 002 "westnet-eastnet" #20: initiating Main Mode 1v1 "westnet-eastnet" #20: STATE_MAIN_I1: initiate 1v1 "westnet-eastnet" #20: STATE_MAIN_I2: sent MI2, expecting MR2 1v1 "westnet-eastnet" #20: STATE_MAIN_I3: sent MI3, expecting MR3 002 "westnet-eastnet" #20: Peer ID is ID_FQDN: '@east' 003 "westnet-eastnet" #20: Authenticated using RSA 004 "westnet-eastnet" #20: STATE_MAIN_I4: ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048} 002 "westnet-eastnet" #21: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO 1v1 "westnet-eastnet" #21: STATE_QUICK_I1: initiate 004 "westnet-eastnet" #21: STATE_QUICK_I2: sent QI2, IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_CBC_128-HMAC_SHA1_96 NATOA=none NATD=none DPD=passive} destination -I 192.0.1.254 192.0.2.254 is alive 002 "westnet-eastnet": terminating SAs using this connection 002 "westnet-eastnet" #21: deleting state (STATE_QUICK_I2) and sending notification 005 "westnet-eastnet" #21: ESP traffic information: in=84B out=84B 002 "westnet-eastnet" #20: deleting state (STATE_MAIN_I4) and sending notification 002 "westnet-eastnet": terminating SAs using this connection west # # HASH payload badly calculated - should fail west # ipsec whack --impair v1-hash-payload:0 west # ../bin/libreswan-up-down.sh westnet-eastnet -I 192.0.1.254 192.0.2.254 002 added connection description "westnet-eastnet" 002 "westnet-eastnet" #22: initiating Main Mode 1v1 "westnet-eastnet" #22: STATE_MAIN_I1: initiate 1v1 "westnet-eastnet" #22: STATE_MAIN_I2: sent MI2, expecting MR2 1v1 "westnet-eastnet" #22: STATE_MAIN_I3: sent MI3, expecting MR3 002 "westnet-eastnet" #22: Peer ID is ID_FQDN: '@east' 003 "westnet-eastnet" #22: Authenticated using RSA 004 "westnet-eastnet" #22: STATE_MAIN_I4: ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048} 002 "westnet-eastnet" #23: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO 1v1 "westnet-eastnet" #23: STATE_QUICK_I1: initiate 004 "westnet-eastnet" #23: STATE_QUICK_I2: sent QI2, IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_CBC_128-HMAC_SHA1_96 NATOA=none NATD=none DPD=passive} destination -I 192.0.1.254 192.0.2.254 is alive 002 "westnet-eastnet": terminating SAs using this connection 002 "westnet-eastnet" #23: deleting state (STATE_QUICK_I2) and sending notification 005 "westnet-eastnet" #23: ESP traffic information: in=84B out=84B 002 "westnet-eastnet" #22: deleting state (STATE_MAIN_I4) and sending notification 002 "westnet-eastnet": terminating SAs using this connection west # echo done done west # # INFO west # ipsec whack --impair none west # ipsec whack --impair revival west # ipsec whack --impair suppress-retransmits west # ipsec whack --impair v1-hash-exchange:notification west # # HASH payload omited - should fail west # ipsec whack --impair v1-hash-payload:omit west # ../bin/libreswan-up-down.sh westnet-eastnet -I 192.0.1.254 192.0.2.254 002 added connection description "westnet-eastnet" 002 "westnet-eastnet" #24: initiating Main Mode 1v1 "westnet-eastnet" #24: STATE_MAIN_I1: initiate 1v1 "westnet-eastnet" #24: STATE_MAIN_I2: sent MI2, expecting MR2 1v1 "westnet-eastnet" #24: STATE_MAIN_I3: sent MI3, expecting MR3 002 "westnet-eastnet" #24: Peer ID is ID_FQDN: '@east' 003 "westnet-eastnet" #24: Authenticated using RSA 004 "westnet-eastnet" #24: STATE_MAIN_I4: ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048} 002 "westnet-eastnet" #25: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO 1v1 "westnet-eastnet" #25: STATE_QUICK_I1: initiate 004 "westnet-eastnet" #25: STATE_QUICK_I2: sent QI2, IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_CBC_128-HMAC_SHA1_96 NATOA=none NATD=none DPD=passive} destination -I 192.0.1.254 192.0.2.254 is alive 002 "westnet-eastnet": terminating SAs using this connection 002 "westnet-eastnet" #25: deleting state (STATE_QUICK_I2) and sending notification 005 "westnet-eastnet" #25: ESP traffic information: in=84B out=84B 002 "westnet-eastnet" #24: deleting state (STATE_MAIN_I4) and sending notification 002 "westnet-eastnet": terminating SAs using this connection west # # HASH payload empty - should fail west # ipsec whack --impair v1-hash-payload:empty west # ../bin/libreswan-up-down.sh westnet-eastnet -I 192.0.1.254 192.0.2.254 002 added connection description "westnet-eastnet" 002 "westnet-eastnet" #26: initiating Main Mode 1v1 "westnet-eastnet" #26: STATE_MAIN_I1: initiate 1v1 "westnet-eastnet" #26: STATE_MAIN_I2: sent MI2, expecting MR2 1v1 "westnet-eastnet" #26: STATE_MAIN_I3: sent MI3, expecting MR3 002 "westnet-eastnet" #26: Peer ID is ID_FQDN: '@east' 003 "westnet-eastnet" #26: Authenticated using RSA 004 "westnet-eastnet" #26: STATE_MAIN_I4: ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048} 002 "westnet-eastnet" #27: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO 1v1 "westnet-eastnet" #27: STATE_QUICK_I1: initiate 004 "westnet-eastnet" #27: STATE_QUICK_I2: sent QI2, IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_CBC_128-HMAC_SHA1_96 NATOA=none NATD=none DPD=passive} destination -I 192.0.1.254 192.0.2.254 is alive 002 "westnet-eastnet": terminating SAs using this connection 002 "westnet-eastnet" #27: deleting state (STATE_QUICK_I2) and sending notification 005 "westnet-eastnet" #27: ESP traffic information: in=84B out=84B 002 "westnet-eastnet" #26: deleting state (STATE_MAIN_I4) and sending notification 002 "westnet-eastnet": terminating SAs using this connection west # # HASH payload badly calculated - should fail west # ipsec whack --impair v1-hash-payload:0 west # ../bin/libreswan-up-down.sh westnet-eastnet -I 192.0.1.254 192.0.2.254 002 added connection description "westnet-eastnet" 002 "westnet-eastnet" #28: initiating Main Mode 1v1 "westnet-eastnet" #28: STATE_MAIN_I1: initiate 1v1 "westnet-eastnet" #28: STATE_MAIN_I2: sent MI2, expecting MR2 1v1 "westnet-eastnet" #28: STATE_MAIN_I3: sent MI3, expecting MR3 002 "westnet-eastnet" #28: Peer ID is ID_FQDN: '@east' 003 "westnet-eastnet" #28: Authenticated using RSA 004 "westnet-eastnet" #28: STATE_MAIN_I4: ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048} 002 "westnet-eastnet" #29: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO 1v1 "westnet-eastnet" #29: STATE_QUICK_I1: initiate 004 "westnet-eastnet" #29: STATE_QUICK_I2: sent QI2, IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_CBC_128-HMAC_SHA1_96 NATOA=none NATD=none DPD=passive} destination -I 192.0.1.254 192.0.2.254 is alive 002 "westnet-eastnet": terminating SAs using this connection 002 "westnet-eastnet" #29: deleting state (STATE_QUICK_I2) and sending notification 005 "westnet-eastnet" #29: ESP traffic information: in=84B out=84B 002 "westnet-eastnet" #28: deleting state (STATE_MAIN_I4) and sending notification 002 "westnet-eastnet": terminating SAs using this connection west # echo done done west # west # ipsec stop Redirecting to: [initsystem] west # : what should be looked for? west # sed -n -f payloads.sed /tmp/pluto.log -- start message (ID) | next payload type: ISAKMP_NEXT_ID (0x5) | ***parse ISAKMP Signature Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 278 (0x116) "westnet-eastnet" #1: Authenticated using RSA -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | ***parse ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_SA (0x1) | length: 36 (0x24) | received 'quick_inR1_outI2' message HASH(2) data ok -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... -- start message (ID) | next payload type: ISAKMP_NEXT_ID (0x5) | ***parse ISAKMP Signature Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 278 (0x116) "westnet-eastnet" #3: Authenticated using RSA "westnet-eastnet" #4: IMPAIR: omitting HASH payload for outI1 "westnet-eastnet" #5: IMPAIR: omitting HASH payload for outI1 -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... -- start message (ID) | next payload type: ISAKMP_NEXT_ID (0x5) | ***parse ISAKMP Signature Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 278 (0x116) "westnet-eastnet" #6: Authenticated using RSA "westnet-eastnet" #7: IMPAIR: sending HASH payload with no data for outI1 "westnet-eastnet" #8: IMPAIR: sending HASH payload with no data for outI1 -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... -- start message (ID) | next payload type: ISAKMP_NEXT_ID (0x5) | ***parse ISAKMP Signature Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 278 (0x116) "westnet-eastnet" #9: Authenticated using RSA "westnet-eastnet" #10: IMPAIR: setting HASH payload bytes to 00 "westnet-eastnet" #11: IMPAIR: setting HASH payload bytes to 00 -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... -- start message (ID) | next payload type: ISAKMP_NEXT_ID (0x5) | ***parse ISAKMP Signature Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 278 (0x116) "westnet-eastnet" #12: Authenticated using RSA -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | ***parse ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_SA (0x1) | length: 36 (0x24) | received 'quick_inR1_outI2' message HASH(2) data ok "westnet-eastnet" #13: IMPAIR: omitting HASH payload for send delete "westnet-eastnet" #12: IMPAIR: omitting HASH payload for send delete -- start message (ID) | next payload type: ISAKMP_NEXT_ID (0x5) | ***parse ISAKMP Signature Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 278 (0x116) "westnet-eastnet" #14: Authenticated using RSA -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | ***parse ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_SA (0x1) | length: 36 (0x24) | received 'quick_inR1_outI2' message HASH(2) data ok "westnet-eastnet" #15: IMPAIR: sending HASH payload with no data for send delete "westnet-eastnet" #14: IMPAIR: sending HASH payload with no data for send delete -- start message (ID) | next payload type: ISAKMP_NEXT_ID (0x5) | ***parse ISAKMP Signature Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 278 (0x116) "westnet-eastnet" #16: Authenticated using RSA -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | ***parse ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_SA (0x1) | length: 36 (0x24) | received 'quick_inR1_outI2' message HASH(2) data ok "westnet-eastnet" #17: IMPAIR: setting HASH payload bytes to 00 "westnet-eastnet" #16: IMPAIR: setting HASH payload bytes to 00 -- start message (ID) | next payload type: ISAKMP_NEXT_ID (0x5) | ***parse ISAKMP Signature Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 278 (0x116) "westnet-eastnet" #18: Authenticated using RSA -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | ***parse ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_SA (0x1) | length: 36 (0x24) | received 'quick_inR1_outI2' message HASH(2) data ok -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... -- start message (ID) | next payload type: ISAKMP_NEXT_ID (0x5) | ***parse ISAKMP Signature Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 278 (0x116) "westnet-eastnet" #20: Authenticated using RSA -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | ***parse ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_SA (0x1) | length: 36 (0x24) | received 'quick_inR1_outI2' message HASH(2) data ok -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... -- start message (ID) | next payload type: ISAKMP_NEXT_ID (0x5) | ***parse ISAKMP Signature Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 278 (0x116) "westnet-eastnet" #22: Authenticated using RSA -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | ***parse ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_SA (0x1) | length: 36 (0x24) | received 'quick_inR1_outI2' message HASH(2) data ok -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... -- start message (ID) | next payload type: ISAKMP_NEXT_ID (0x5) | ***parse ISAKMP Signature Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 278 (0x116) "westnet-eastnet" #24: Authenticated using RSA -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | ***parse ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_SA (0x1) | length: 36 (0x24) | received 'quick_inR1_outI2' message HASH(2) data ok -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... -- start message (ID) | next payload type: ISAKMP_NEXT_ID (0x5) | ***parse ISAKMP Signature Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 278 (0x116) "westnet-eastnet" #26: Authenticated using RSA -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | ***parse ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_SA (0x1) | length: 36 (0x24) | received 'quick_inR1_outI2' message HASH(2) data ok -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... -- start message (ID) | next payload type: ISAKMP_NEXT_ID (0x5) | ***parse ISAKMP Signature Payload: | next payload type: ISAKMP_NEXT_NONE (0x0) | length: 278 (0x116) "westnet-eastnet" #28: Authenticated using RSA -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | ***parse ISAKMP Hash Payload: | next payload type: ISAKMP_NEXT_SA (0x1) | length: 36 (0x24) | received 'quick_inR1_outI2' message HASH(2) data ok -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... -- start message (HASH) | next payload type: ISAKMP_NEXT_HASH (0x8) | Informational Exchange is for an unknown (expired?) SA with MSGID:0x.... west # ../bin/check-for-core.sh west # if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi