<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta name="x_Generator" content="Microsoft Word 15 (filtered medium)">
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:x_link, span.x_MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:x_visited, span.x_MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
.x_MsoChpDefault
        {}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
        {}
-->
</style>
<div lang="EN-US" link="blue" vlink="#954F72">
<div class="x_WordSection1">
<p class="x_MsoNormal">By default dpdaction=none, which disables sending dpd messages.
</p>
<p class="x_MsoNormal"> </p>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="x_MsoNormal" style="border:none; padding:0in"><b>From: </b><a href="mailto:kagarigi@cisco.com">Kalyani Garigipati (kagarigi)</a><br>
<b>Sent: </b>Thursday, January 11, 2018 10:47 AM<br>
<b>To: </b><a href="mailto:users@lists.strongswan.org">users@lists.strongswan.org</a><br>
<b>Subject: </b>[strongSwan] dpd not getting triggered</p>
</div>
<p class="x_MsoNormal"> </p>
</div>
</div>
<font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi,<br>
<br>
I am using strongswan version 5.6.1<br>
I found that even though I configured dpd using dpddelay and dpdtimeout, dpd is not getting triggered from strongswan client at all even though there is no traffic passing.<br>
Please let me know how to debug this.<br>
<br>
<br>
config setup<br>
         charondebug=all<br>
        # crlcheckinterval=600<br>
        # strictcrlpolicy=yes<br>
        # cachecrls=yes<br>
        # nat_traversal=yes<br>
        # charonstart=no<br>
<br>
conn %default<br>
       ikelifetime=100m<br>
       keylife=20m<br>
       rekeymargin=8m<br>
       keyingtries=1<br>
       authby=psk<br>
       keyexchange=ikev2<br>
       ike=aes256-sha256-modp1024<br>
       esp=3des-sha1<br>
       mobike=yes<br>
       dpddelay=5s<br>
       dpdtimeout=150s<br>
<br>
# Add connections here.<br>
<br>
# Add connections here.<br>
conn net-net<br>
        left=10.127.47.104<br>
        leftsubnet=10.127.47.104/32<br>
        leftid=10.127.47.104<br>
        right=10.104.108.110<br>
        rightsubnet=10.104.108.110/32<br>
        rightid=10.104.108.110<br>
        auto=start<br>
<br>
~<br>
Regards,<br>
kalyani<br>
<br>
</div>
</span></font>
</body>
</html>