<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: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 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 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:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
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="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom:0in;margin-left:0in;margin-bottom:.0001pt;line-height:15.0pt;background:white">
We discovered that a change in the router’s time via NTP will cause dnsmasq to stop answering DHCPDISCOVER.  I<span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">n the wan.cap, NTP server gives an earlier time to the DUT and cause
 the dhcp server to stop working (ie. Answering DHCPDISCOVER)<o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom:0in;margin-left:0in;margin-bottom:.0001pt;line-height:15.0pt;background:white;orphans: auto;text-align:start;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">Our DUT's time is Aug 5, 2015 16:19:22.575786000, but NTP server provides Aug 5, 2015 16:00:19.588536000 which is about 19 mins before the DUT's time. Thus the dhcp server stop to
 work until 19mins later. During this 19 minute time period, dnsmasq does NOT answer dhcpdiscover or give out IP leases. After 19 minutes has expired, we see dnsmasq come back to life and begin answering dhcpdiscover messages again.<o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom:0in;margin-left:0in;margin-bottom:.0001pt;line-height:15.0pt;background:white">
<span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">I realize that this is an abnormal scenario, but we need to safeguard against this kind of failure.  It is showing up in our testing.  One thought on preventing this would be to in
 effect do a lease renew after the time has changed on the router.  I am not sure how to cause dnsmasq to refresh all of it’s leases?  Or should we be more forceful and force expiration of the leases and restart dnsmasq?  Any suggestions on how to best handle
 this scenario?<o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom:0in;margin-left:0in;margin-bottom:.0001pt;line-height:15.0pt;background:white">
<span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">One concern we have too is security.  If the NTP messages are hijacked and the time is changed, it could cause dnsmasq to stop functioning thus affecting the router’s users.  So,
 I think its necessary that we address this.  Hopefully someone has some recommendations on how to deal with this.<o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom:0in;margin-left:0in;margin-bottom:.0001pt;line-height:15.0pt;background:white">
<span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">Regards,  John<o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom:0in;margin-left:0in;margin-bottom:.0001pt;line-height:15.0pt;background:white">
<span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333"><o:p> </o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom:0in;margin-left:0in;margin-bottom:.0001pt;line-height:15.0pt;background:white">
<span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333"><o:p> </o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom:0in;margin-left:0in;margin-bottom:.0001pt;line-height:15.0pt;background:white">
<span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
__________________________________________________________________ Confidential This e-mail and any files transmitted with it are the property of Belkin International, Inc. and/or its affiliates, are confidential, and are intended solely for the use of the
 individual or entity to whom this e-mail is addressed. If you are not one of the named recipients or otherwise have reason to believe that you have received this e-mail in error, please notify the sender and delete this message immediately from your computer.
 Any other use, retention, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. Pour la version française: http://www.belkin.com/email-notice/French.html Für die deutsche Übersetzung: http://www.belkin.com/email-notice/German.html
 __________________________________________________________________
</body>
</html>