<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Century Gothic";
        panose-1:2 11 5 2 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">I request you urgent help in understanding this behavior.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When a connection is configured in /etc/ipsec.conf but the left side of the connection is not responding (say left is unreachable) I see the ping behavior as below<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:.9pt;margin-bottom:0in;margin-left:13.6pt;margin-bottom:.0001pt;text-indent:-7.5pt;text-autospace:none">
<span style="font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:teal">root@ffd-ipsec-189 sanjay]# ping 10.204.74.188<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">basically ping is stuck or blocked.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Now if I do not have a connection configured in the /etc/ipsec.conf I see that the ping responds like this<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:.9pt;margin-bottom:0in;margin-left:13.6pt;margin-bottom:.0001pt;text-indent:-7.5pt;text-autospace:none">
<span style="font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:teal">root@ffd-ipsec-189 sanjay]# ping 10.204.74.188<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:.9pt;margin-bottom:0in;margin-left:13.6pt;margin-bottom:.0001pt;text-autospace:none">
<span style="font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:teal">PING 10.204.74.188 (10.204.74.188) 56(84) bytes of data.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:.9pt;margin-bottom:0in;margin-left:13.6pt;margin-bottom:.0001pt;text-autospace:none">
<span style="font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:teal">From 10.204.74.189 icmp_seq=2 Destination Host Unreachable<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:.9pt;margin-bottom:0in;margin-left:13.6pt;margin-bottom:.0001pt;text-autospace:none">
<span style="font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:teal">From 10.204.74.189 icmp_seq=3 Destination Host Unreachable<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:.9pt;margin-bottom:0in;margin-left:13.6pt;margin-bottom:.0001pt;text-autospace:none">
<span style="font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:teal">From 10.204.74.189 icmp_seq=5 Destination Host Unreachable<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What settings can be done for a timeout to occurs to that a program that is trying to reach an ip may not be blocked forever if ipsec SA cannot be established ?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My connection setting as follows<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">#Below Are The Configuration for CCM_CCM IPSec Tunnel<o:p></o:p></p>
<p class="MsoNormal">conn LocalIP_LocalIP_10.204.74.188<o:p></o:p></p>
<p class="MsoNormal">        left=10.204.74.189<o:p></o:p></p>
<p class="MsoNormal">        leftcert=ServLcl.pem<o:p></o:p></p>
<p class="MsoNormal">        leftsendcert=yes<o:p></o:p></p>
<p class="MsoNormal">        leftupdown=/opt/ipc/security/ipsectunnel/rightdown.sh<o:p></o:p></p>
<p class="MsoNormal">        right=10.204.74.188<o:p></o:p></p>
<p class="MsoNormal">        rightid=%any<o:p></o:p></p>
<p class="MsoNormal">        keyexchange=ikev2<o:p></o:p></p>
<p class="MsoNormal">        type=transport<o:p></o:p></p>
<p class="MsoNormal">        reauth=no<o:p></o:p></p>
<p class="MsoNormal">        dpddelay=5s<o:p></o:p></p>
<p class="MsoNormal">        dpdaction=restart<o:p></o:p></p>
<p class="MsoNormal">        keyingtries=%forever<o:p></o:p></p>
<p class="MsoNormal">        auto=route<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">regards,<o:p></o:p></p>
<p class="MsoNormal">-sanjay<o:p></o:p></p>
</div>
<p><span style="FONT-FAMILY: 'Palatino Linotype','serif'; COLOR: green; FONT-SIZE: 10pt; mso-bidi-font-family: Calibri"><em><span style="FONT-FAMILY: 'Palatino Linotype','serif'; mso-bidi-font-family: Calibri"><font size="1"></font></span></em></span> </p>
<p><span style="FONT-FAMILY: 'Palatino Linotype','serif'; COLOR: green; FONT-SIZE: 10pt; mso-bidi-font-family: Calibri"><em><span style="FONT-FAMILY: 'Palatino Linotype','serif'; mso-bidi-font-family: Calibri"><font size="1"><img alt="" src="cid:tree5753.png"><span style="FONT-FAMILY: 'Palatino Linotype','serif'; COLOR: green; FONT-SIZE: 10pt; mso-bidi-font-family: Calibri"><em><span style="FONT-FAMILY: 'Palatino Linotype','serif'; mso-bidi-font-family: Calibri"><font size="1">Please
 consider the environment before printing this email.</font></span></em></span></font></span></em></span></p>
<br>
<br>
<hr>
<font face="Arial" color="Gray" size="2">DISCLAIMER: This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any
 means. Please delete it and any attachments and notify the sender that you have received it in error. Unintended recipients are prohibited from taking action on the basis of information in this e-mail.E-mail messages may contain computer viruses or other defects,
 may not be accurately replicated on other systems, or may be intercepted, deleted or interfered with without the knowledge of the sender or the intended recipient. If you are not comfortable with the risks associated with e-mail messages, you may decide not
 to use e-mail to communicate with IPC. IPC reserves the right, to the extent and under circumstances permitted by applicable law, to retain, monitor and intercept e-mail messages to and from its systems.<br>
</font>
</body>
</html>