<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hi, thank you for the insight. Actually, I want this implementation on my router(which is running mipsel-linux), can't just simply install on it. Therefore, I have to run the binary there but I'm not getting the MAC address of the connected clients when
I add the add-mac option in the conf file.</p>
<div style="color: rgb(0, 0, 0);">
<div>
<hr style="display:inline-block; width:98%" tabindex="-1">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Dnsmasq-discuss <dnsmasq-discuss-bounces@lists.thekelleys.org.uk> on behalf of dnsmasq-discuss-request@lists.thekelleys.org.uk <dnsmasq-discuss-request@lists.thekelleys.org.uk><br>
<b>Sent:</b> Tuesday, November 22, 2016 12:14 AM<br>
<b>To:</b> dnsmasq-discuss@lists.thekelleys.org.uk<br>
<b>Subject:</b> Dnsmasq-discuss Digest, Vol 138, Issue 13</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Send Dnsmasq-discuss mailing list submissions to<br>
dnsmasq-discuss@lists.thekelleys.org.uk<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" id="LPlnk626296" previewremoved="true">
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
or, via email, send a message with subject or body 'help' to<br>
dnsmasq-discuss-request@lists.thekelleys.org.uk<br>
<br>
You can reach the person managing the list at<br>
dnsmasq-discuss-owner@lists.thekelleys.org.uk<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Dnsmasq-discuss digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Help: Changes when service dnsmasq start is executed (Rahul Jain)<br>
2. Re: Help: Changes when service dnsmasq start is executed<br>
(Albert ARIBAUD)<br>
3. Re: Help: Changes when service dnsmasq start is executed<br>
(/dev/rob0)<br>
4. Re: DHCPv6 ULA & Global address allocation & Apple devices<br>
(Kevin Darbyshire-Bryant)<br>
5. Re: Dnsmasq-discuss search facility (s.O.T.) (Simon Kelley)<br>
6. Re: DHCPv6 ULA & Global address allocation & Apple devices<br>
(Kevin Darbyshire-Bryant)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 21 Nov 2016 13:43:24 +0000<br>
From: Rahul Jain <rahul2308@outlook.com><br>
To: "dnsmasq-discuss@lists.thekelleys.org.uk"<br>
<dnsmasq-discuss@lists.thekelleys.org.uk><br>
Subject: [Dnsmasq-discuss] Help: Changes when service dnsmasq start is<br>
executed<br>
Message-ID:<br>
<MWHPR19MB09582C4881F3ACA46E62C10BB7B50@MWHPR19MB0958.namprd19.prod.outlook.com><br>
<br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi all,<br>
<br>
I want to know about all the changes(internally as in files etc) when "service dnsmasq start" is executed. I noticed one change that it edits the /etc/resolv.conf. The reason is when I set the add-mac option in /etc/dnsmasq.conf and start the dnsmasq service,
I'm able to get the EDNS0 option in a dns query but when I compiled from the source and ran it, the same thing doesn't happen.<br>
<br>
<br>
Thanks & Regards,<br>
<br>
Rahul Jain<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20161121/fb2c706e/attachment-0001.html" id="LPlnk268111" previewremoved="true">http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20161121/fb2c706e/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 21 Nov 2016 15:45:25 +0100<br>
From: Albert ARIBAUD <albert.aribaud@free.fr><br>
To: Rahul Jain <rahul2308@outlook.com><br>
Cc: "dnsmasq-discuss@lists.thekelleys.org.uk"<br>
<dnsmasq-discuss@lists.thekelleys.org.uk><br>
Subject: Re: [Dnsmasq-discuss] Help: Changes when service dnsmasq<br>
start is executed<br>
Message-ID: <20161121154525.0df935ba@lilith><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
Hi Rahul,<br>
<br>
Le Mon, 21 Nov 2016 13:43:24 +0000<br>
Rahul Jain <rahul2308@outlook.com> a ?crit:<br>
<br>
> Hi all,<br>
> <br>
> I want to know about all the changes(internally as in files etc)<br>
> when "service dnsmasq start" is executed. I noticed one change that<br>
> it edits the /etc/resolv.conf. The reason is when I set the add-mac<br>
> option in /etc/dnsmasq.conf and start the dnsmasq service, I'm able<br>
> to get the EDNS0 option in a dns query but when I compiled from the<br>
> source and ran it, the same thing doesn't happen.<br>
<br>
I believe you are mistaking two things here: the dnsmasq executable on<br>
the one hand, and the operating system use of dnsmasq on the other hand.<br>
<br>
The dnsmasq project only provides the dnsmasq executable. It does not<br>
provide the scripts that the "service dnsmasq start" or "service<br>
dnsmasq stop" commands will run.<br>
<br>
These scripts are part of the operating system, and may actually vary<br>
from distribution to distribution.<br>
<br>
For instance, dnsmasq *never* edits the /etc/resolv.conf file -- this<br>
is a system change which only the system can perform in a consistent<br>
way.<br>
<br>
To understand what "service dnsmasq *" does on your system, you should<br>
refer to the documentation of the distribution you are using.<br>
<br>
> Thanks & Regards,<br>
> <br>
> Rahul Jain<br>
<br>
Amicalement,<br>
-- <br>
Albert.<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Mon, 21 Nov 2016 09:44:31 -0600<br>
From: /dev/rob0 <rob0@gmx.co.uk><br>
To: dnsmasq-discuss@lists.thekelleys.org.uk<br>
Subject: Re: [Dnsmasq-discuss] Help: Changes when service dnsmasq<br>
start is executed<br>
Message-ID: <20161121154431.GA6068@harrier.slackbuilds.org><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
On Mon, Nov 21, 2016 at 01:43:24PM +0000, Rahul Jain wrote:<br>
> I want to know about all the changes(internally as in files etc) <br>
> when "service dnsmasq start" is executed. I noticed one change that<br>
<br>
This question should be directed to your distro. Whilst Simon might <br>
have some involvement with implementing the init scripts on certain <br>
distros, it cannot be answered without knowing what distro (and the <br>
version thereof) you are using.<br>
<br>
> it edits the /etc/resolv.conf. The reason is when I set the add-mac <br>
> option in /etc/dnsmasq.conf and start the dnsmasq service, I'm able <br>
> to get the EDNS0 option in a dns query but when I compiled from the <br>
> source and ran it, the same thing doesn't happen.<br>
<br>
-- <br>
<a href="http://rob0.nodns4.us/" id="LPlnk548382" previewremoved="true">http://rob0.nodns4.us/</a>
<div id="LPBorder_GT_14797925691790.7650206832803872" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14797925691760.09526455577014148" cellspacing="0" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="ImageCell_14797925691770.009490468941293129" colspan="1" style="width: 250px; position: relative; display: table-cell; padding-right: 20px;">
<div id="LPImageContainer_14797925691770.9554380248707506" style="background-color: rgb(255, 255, 255); height: 91px; position: relative; margin: auto; display: table; width: 130px;">
<a id="LPImageAnchor_14797925691770.8028632539344491" href="http://rob0.nodns4.us/" target="_blank" style="display: table-cell; text-align: center;"><img aria-label="Preview image with link selected. Double-tap to open the link." id="LPThumbnailImageID_14797925691780.7738785669569881" width="130" height="91" style="display: inline-block; max-width: 250px; max-height: 250px; height: 91px; width: 130px; border-width: 0px; vertical-align: bottom;" src="http://rob0.nodns4.us/mysza.gif"></a></div>
</td>
<td id="TextCell_14797925691780.46964186496650107" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_14797925691780.8082109543222775"></div>
<div id="LPTitle_14797925691780.11902632894300536" style="top: 0px; color: rgb(0, 120, 215); font-weight: normal; font-size: 21px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14797925691780.8326311671533999" href="http://rob0.nodns4.us/" target="_blank" style="text-decoration: none;">/dev/rob0 email & Linux admin</a></div>
<div id="LPMetadata_14797925691780.5131708459911422" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
rob0.nodns4.us</div>
<div id="LPDescription_14797925691790.924508777902989" style="display: block; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
/dev/rob0. Postfix, DNS and general Linux system administration and consulting. Email is complex. Getting it right can be very difficult. I can help you with the mail ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Mon, 21 Nov 2016 15:52:47 +0000<br>
From: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk><br>
To: <dnsmasq-discuss@lists.thekelleys.org.uk><br>
Subject: Re: [Dnsmasq-discuss] DHCPv6 ULA & Global address allocation<br>
& Apple devices<br>
Message-ID:<br>
<3e1951b2-d9e4-341e-bd7f-a070dc9706f1@darbyshire-bryant.me.uk><br>
Content-Type: text/plain; charset="windows-1252"; format=flowed<br>
<br>
I've got some packet captures now that have helped answer some of the <br>
questions.<br>
<br>
1) The DHCPADVERTISE in the log are included in just one packet.<br>
<br>
2) The solicits from my ipad and the advertises are identical except <br>
dnsmasq presents the ULA address first whereas odhcpd presents the <br>
global address first. Both ULA & global are included, just the order <br>
gets swapped.<br>
<br>
3) The ipad requests the IPv6 address presented first in the solicit. <br>
So for odhcpd it requests global, whereas for dnsmasq it requests ULA.<br>
<br>
4) dnsmasq replies with and only with the requested address (ULA) in <br>
this case. odhcpd replies with both global and ULA addresses.<br>
<br>
<br>
A few questions result:<br>
<br>
1) Should dnsmasq reply with all available dhcpv6 ranges even if one <br>
specific address only is requested, like odhcpd?<br>
<br>
2) Should dnsmasq re-order its replies in the solicits to present global <br>
first?<br>
<br>
3) Is Apple wrong?<br>
<br>
<br>
Help! :-)<br>
<br>
<br>
Kevin<br>
<br>
<br>
PS: As a total hack, I got dnsmasq to ignore any requested addresses. <br>
Dnsmasq replies with both ULA & Global addresses in the reply...and my <br>
iPad is happy...it takes the global address.<br>
<br>
<br>
<br>
<br>
--- a/src/rfc3315.c<br>
+++ b/src/rfc3315.c<br>
@@ -867,13 +867,10 @@ static int dhcp6_no_relay(struct state *<br>
if (!check_ia(state, opt, &ia_end, &ia_option))<br>
continue;<br>
<br>
- if (!ia_option)<br>
- {<br>
/* If we get a request with a IA_*A without addresses, <br>
treat it exactly like<br>
a SOLICT with rapid commit set. */<br>
save_counter(start);<br>
goto request_no_address;<br>
- }<br>
<br>
o = build_ia(state, &t1cntr);<br>
<br>
<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Mon, 21 Nov 2016 18:08:00 +0000<br>
From: Simon Kelley <simon@thekelleys.org.uk><br>
To: dnsmasq-discuss@lists.thekelleys.org.uk<br>
Subject: Re: [Dnsmasq-discuss] Dnsmasq-discuss search facility<br>
(s.O.T.)<br>
Message-ID: <bc6bd114-4b06-39e1-9f7d-373148ebec7e@thekelleys.org.uk><br>
Content-Type: text/plain; charset=windows-1252<br>
<br>
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA256<br>
<br>
I'm almost completely sure I've never done anything to remove the<br>
advertising from the mail-archive pages. I'm absolutely that I've not<br>
paid for that.<br>
<br>
<br>
Cheers,<br>
<br>
Simon.<br>
<br>
<br>
<br>
On 17/11/16 16:18, Jim Alles wrote:<br>
> Simon,<br>
> <br>
> I very much like the mail-archive facility for searching previous<br>
> topics, <br>
> <a href="https://www.mail-archive.com/dnsmasq-discuss@lists.thekelleys.org.uk/i" id="LPlnk201270" previewremoved="true">
https://www.mail-archive.com/dnsmasq-discuss@lists.thekelleys.org.uk/i</a><br>
ndex.html<br>
><br>
> and have suggested it to another mailman administrator.<br>
> <br>
> Can you tell me if you have paid the folks at mail-archive to<br>
> remove advertising from the mail pages?<br>
> <br>
> Thanks, Jim A.<br>
> <br>
> <br>
> <br>
> _______________________________________________ Dnsmasq-discuss<br>
> mailing list Dnsmasq-discuss@lists.thekelleys.org.uk <br>
> <a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" id="LPlnk239174" previewremoved="true">
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a>
<div id="LPBorder_GT_14797926175020.4918826582233935" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14797926175010.9673082761085829" cellspacing="0" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="TextCell_14797926175010.21582569718909395" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_14797926175010.9224186745398879"></div>
<div id="LPTitle_14797926175010.41111852900566315" style="top: 0px; color: rgb(0, 120, 215); font-weight: normal; font-size: 21px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14797926175020.1760180234380584" href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank" style="text-decoration: none;">Dnsmasq-discuss Info Page</a></div>
<div id="LPMetadata_14797926175020.589174609503142" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
lists.thekelleys.org.uk</div>
<div id="LPDescription_14797926175020.7607357891241502" style="display: block; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
A list for discussion about the dnsmasq DNS and DHCP server. Configuration, bugs and development. To control spam, only subscribers are allowed to post to the list.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
> <br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.22 (GNU/Linux)<br>
<br>
iQIcBAEBCAAGBQJYMzf/AAoJEBXN2mrhkTWi4TwP/RwkbNsRXW6frD+YCnklLyYV<br>
QdKACi7wBmrr1ILYpLErCFYPQD1pgK6NLzISjSXK1hnh1ucmEuc+Y9HYT0A7VcYa<br>
dLYiJuTslYYU1XShrrwn4hHjCdomK39OWQeSWZ3vHgGsHPuLaIVy+xwZx8J9N+lA<br>
98q9L7pD6hDBA/e5ygbtRLiQPOv5VkVv/nlNDwEH6+sTyp1RSfR+1EEz6rVcMQ/1<br>
L2IDDvz/MdRV4QVg+5hFxnaytm6af6L7qomhxzjqjaf2DF0ENAUq1R/RIubuetMw<br>
Q5fxcPhY9ID4B0G2whPgZ4PB8NAY3elNmjuKffrKRGjVKvrqyInUhRslw1PQLP7B<br>
2pk3oUTWsmsVBQGsNxVSTJzpD7zo0nZUVlzxO5tC08Qx5hxBl9yH3ZbY5aodTE+L<br>
vYP1bl1S08loSdGKxsbhsaYewoCkUI7HTbn4fa8bIy0UEqk++ZW0RmF5a79HiRPo<br>
RGryj96R9jYGYfmGjprwF8r1yek1LmZmLFKtQcPSu3BZ+Z08/65t+2zaMhV76OjR<br>
mayaQBg5DRgIBxBt0AHey9akfe8NJbjKLekbxEWkL/N875Vjc0DsGFzdp9ocoX2T<br>
NqYfSpxiyXHefYcORiC7HXmbTBWuX1AhQeYDhr0H/ktB+B8kG+aJf45q7dlTZQZr<br>
/1rwE0Op5SYBKVKq4a9X<br>
=Ek2Y<br>
-----END PGP SIGNATURE-----<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Mon, 21 Nov 2016 18:44:35 +0000<br>
From: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk><br>
To: <dnsmasq-discuss@lists.thekelleys.org.uk><br>
Subject: Re: [Dnsmasq-discuss] DHCPv6 ULA & Global address allocation<br>
& Apple devices<br>
Message-ID:<br>
<5916a05c-4114-2b4b-0aae-67cdf4589274@darbyshire-bryant.me.uk><br>
Content-Type: text/plain; charset="windows-1252"; format=flowed<br>
<br>
<br>
<br>
On 21/11/16 15:52, Kevin Darbyshire-Bryant wrote:<br>
><br>
><br>
> PS: As a total hack, I got dnsmasq to ignore any requested addresses.<br>
> Dnsmasq replies with both ULA & Global addresses in the reply...and my<br>
> iPad is happy...it takes the global address.<br>
><br>
><br>
<br>
Nope, the above worked temporarily by luck rather than judgement.<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
Dnsmasq-discuss@lists.thekelleys.org.uk<br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" id="LPlnk108210" previewremoved="true">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a>
<div id="LPBorder_GT_14797926174710.4181004647550439" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14797926174700.7477608744782978" cellspacing="0" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="TextCell_14797926174710.9711750844267741" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_14797926174710.6545638645024106"></div>
<div id="LPTitle_14797926174710.037571963893034965" style="top: 0px; color: rgb(0, 120, 215); font-weight: normal; font-size: 21px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14797926174710.0718410377195926" href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank" style="text-decoration: none;">Dnsmasq-discuss Info Page</a></div>
<div id="LPMetadata_14797926174710.8548153426573117" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
lists.thekelleys.org.uk</div>
<div id="LPDescription_14797926174710.3945602358767595" style="display: block; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
A list for discussion about the dnsmasq DNS and DHCP server. Configuration, bugs and development. To control spam, only subscribers are allowed to post to the list.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
End of Dnsmasq-discuss Digest, Vol 138, Issue 13<br>
************************************************<br>
</div>
</span></font></div>
</div>
</body>
</html>