Subject: Re: is dhcpd broken
To: Martin Husemann <martin@duskware.de>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: current-users
Date: 03/10/2003 15:30:26
martin@duskware.de said:
> > You probably have ddns-update-style set to ad-hoc, which is now
> > deprecated, if you read the man-page. :-)
> That is no excuse for not being able to parse code embeded in the
> server itself.
I had a look at the dhcp parsing code when this first came up
(PR bin/20460).
It appears that this code is completely broken when it comes to
variables in the scripts - the type checking code just doesn't handle
this case. This is not fixed easily in a way which is unlikely to conflict
with future vendor releases.
I didn't find a line of documentation which states the existence of
script variables at all; it occures just in this one embedded script
which probably gets kicked out soon since the "ad-hoc" mode is deprecated.
When this came up in the dhcp-server mailing list, there was no
statement by an ISC developer bringing light into the issue.
> This needs to be handled, or a *very* prominent warning put up for all
> people upgrading from 1.6 based machines, where ad-hoc style works just
> great.
Fully agreed.
best regards
Matthias