[Dnsmasq-discuss] dnsmasq.conf 2.41 violates RFC-2132 on dhcp-option=47

Matthias Andree matthias.andree at gmx.de
Thu Sep 4 15:14:23 BST 2008


Simon Kelley schrieb:

> I'm no expert on NetBios configuration (in fact I know almost nothing
> about it....) Those suggested options came from a third party, long ago.

I don't know NetBIOS either.

Some more detail though: the upstream dhcpcd 3.2.3 version is fine, it's a
Novell/openSUSE patch that breaks the dhcpcd client on openSUSE 11.0, in
that it requests option 47. Plain dhcpcd doesn't do that (dhclient neither)
and hence doesn't get this malformed response.

Novell patched dhcpcd apparently (and incorrectly) in order to support
Samba client reconfiguration - introducing nice inconsistencies with
dhclient along the way...

<sigh> Why do vendors always resort to such undocumented, half-baked
package breaking... undocumented, bogus patches, ... I wish Roy Marples had
left it at the GPL, that Novell had been required to state they broke the
package.

https://bugzilla.novell.com/show_bug.cgi?id=423145

> Is there a "empty netbios scope" which is one character long?

I don't know.

Apparently the empty value was meant to override possible Windows Registry
configuration on clients, but a snippet I've found in older Samba
instructions on the web, namely "options netbios-scope="";", is ignored by
ISC dhcpd v3.0.6 (I checked openSUSE 11.0, whatever contorted patches THAT
package might have applied).

OTOH, I wouldn't be too surprised if some Microsoftish DHCP server were to
return bogus zero-length option 47 records in violation of RFC-2132...

> If not,
> I'm inclined simply to delete that line from the example file, or maybe
> change to to show how to set the scope to "example.com" or similar.

Your suggestion seems sensible to me.

Workaround: leave dhcp-option=47 commented out...

-- 
Matthias Andree




More information about the Dnsmasq-discuss mailing list