<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:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@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;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
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;}
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 Definitions */
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
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="ZH-CN" link="#0563C1" vlink="#954F72" style="text-justify-trim:punctuation">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">My dhclient process received a Confirm message from dnsmasq-dhcp, when the dhclient process sent a Confirm message which contains a ip address that is not appropriate for the link to the dnsmasq-dhcp.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"># tcpdump -i veth1 port 547<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">dropped privs to tcpdump<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">tcpdump: verbose output suppressed, use -v[v]... for full protocol decode<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">listening on veth1, link-type EN10MB (Ethernet), snapshot length 262144 bytes<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">15:12:51.998726 IP6 fe80::b0bb:d2ff:fea6:138d.dhcpv6-client > ff02::1:2.dhcpv6-server: dhcp6 confirm<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">15:12:51.998942 IP6 fe80::cb1:2aff:fe23:593f.dhcpv6-server > fe80::b0bb:d2ff:fea6:138d.dhcpv6-client: dhcp6 confirm<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The reason is that dnsmasq-dhcp does not set the message type correctly.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">---<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">src/rfc3315.c | 2 +-<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">1 file changed, 1 insertion(+), 1 deletion(-)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">diff --git a/src/rfc3315.c b/src/rfc3315.c<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">index c2e2692..3a52d0e 100644<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">--- a/src/rfc3315.c<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">+++ b/src/rfc3315.c<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">@@ -1101,7 +1101,7 @@ static int dhcp6_no_relay(struct state *state, int msg_type, unsigned char *inbu<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> put_opt6_string(_("confirm failed"));<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> end_opt6(o1);<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> log6_quiet(state, "DHCPREPLY", &req_addr, _("confirm failed"));<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">- return 1;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">+ goto done;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> }<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> good_addr = 1;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">--<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2.33.0<o:p></o:p></span></p>
</div>
</body>
</html>