[Dnsmasq-discuss] Option 66 Bug?

Dayton Turner dayton at voxter.ca
Fri Mar 26 20:54:49 GMT 2010


I¹ve tried doing that already (wireshark)

Because its a phone making the request, I am not able to tcpdump on the
phone, of course, and because the router has such little space, I am not
able to get tcpdump on  to it.

I did do a tcpdump while doing a dhcp request from my mac, and I do not see
the option 66 packet in the response at all.  I¹m not familiar enough with
DHCP to know if there are conditions in which Option 66 is sent or not sent
(does the DHCP requesting device have to ask the DHCP server for it?)


On 3/26/10 1:50 PM, "richardvoigt at gmail.com" <richardvoigt at gmail.com> wrote:

> On Fri, Mar 26, 2010 at 2:53 PM, Dayton Turner <dayton at voxter.ca> wrote:
>> > Richard,
>> >
>> > I tried setting the option 66 value to the IP that you suggested, and got
>> > the same results.  First ³7² is stripped..  Interesting, I don¹t know if
>> > this presents anything of interest to you, but if I set the value to begin
>> > with ³774.² it strips both 7¹s. Almost like its looking for the option to
>> > start with a 7 and removing any of them?
>> >
>> > Dayton
> 
> Well that seems like it's not a length issue.  Of course, 774 isn't a
> valid octet at all, I'm surprised that it would even parse.  But maybe
> it doesn't get parsed if that option is sent as a string rather than
> an IP address.
> 
> Can you use wireshark to capture the packet dnsmasq sends?  That's
> similar to DHCP logging, better in some ways and not in others.
> 
> 
>> >
>> >
>> > On 3/26/10 6:16 AM, "richardvoigt at gmail.com" <richardvoigt at gmail.com>
>> wrote:
>> >
>> > On Fri, Mar 26, 2010 at 1:35 AM, Dayton Turner <dayton at voxter.ca> wrote:
>>> >> Hi List,
>>> >>
>>> >> I have some VoIP phones here that get their DHCP from dnsmasq running on
a
>>> >> dd-wrt router.  Usually this all works great, I had been handing out DHCP
>>> >> Option 66 as such up until now:
>>> >>
>>> >> dhcp-option=66,²69.90.91.195²
>>> >>
>>> >> Well we recently had to change our IP block, to something that starts >>>
with
>>> >> a
>>> >> 7.  74.141.209.195. When I update the dnsmasq config to read
>>> >>
>>> >> dhcp-option=66,²74.141.209.195²
>>> >>
>>> >> The phones (I tried an Aastra phone, and a Citel phone) both only receive
>>> >> Œ4.141.209.195¹ trimming the leading 7 off.
>>> >>
>>> >> Any ideas?
>> >
>> > I note that your new configuration is also longer as measured by
>> > strlen.  Perhaps this is related?  i.e. what would happen if the IP
>> > address were changed to 74.141.209.5 ?
>> >
>>> >>
>>> >> Dayton
>>> >>
>>> >> _______________________________________________
>>> >> Dnsmasq-discuss mailing list
>>> >> Dnsmasq-discuss at lists.thekelleys.org.uk
>>> >> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>>> >>
>>> >>
>> >
>> >
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20100326/bc7d4d12/attachment-0001.htm 


More information about the Dnsmasq-discuss mailing list