David Hankins [Tue, 7 Mar 2006 19:10:41 +0000 (19:10 +0000)]
Document the DOCSIS-device-class relay agent suboption per discussion on
the dhcp-server mailing list ("the document should describe every option
the server can accept").
David Hankins [Fri, 6 Jan 2006 22:09:23 +0000 (22:09 +0000)]
- The server was inappropriately sending leases to the RESET state in the
event that multiple active leases were found to match a singly-identified
client. This was changed to RELEASED (by accepting a different, ACTIVE
binding, the client is implicitly releasing its lease). This repairs a
bug wherein secondary servers in failover pairs detecting this condition
move leases to RESET, and primaries refuse to accept that state
transition (properly). [ISC-Bugs #15718]
David Hankins [Fri, 6 Jan 2006 22:07:11 +0000 (22:07 +0000)]
- DHCPINFORM processing is a little more careful about return addressing
its responses, or if responding via a relay. The INFORM related
messages also log the 'effective client ip address' rather than the
client's supplied ciaddr (since some clients produce null ciaddrs).
[ISC-Bugs #15738]
David Hankins [Tue, 1 Nov 2005 23:19:03 +0000 (23:19 +0000)]
- Changes to trailing NULL removal in 't' option-atoms has been rethought,
it now includes 'd' (domain name) types, and tries hard not to rewind an
option beyond the start of the text field it is un-terminating.
[ISC-Bugs #15561]
David Hankins [Thu, 27 Oct 2005 16:00:18 +0000 (16:00 +0000)]
- Changes to trailing NULL removal in 't' option-atoms has been rethought,
it now includes 'd' (domain name) types, and tries hard not to rewind an
option beyond the start of the text field it is un-terminating.
[ISC-Bugs #15541]
David Hankins [Thu, 27 Oct 2005 15:56:26 +0000 (15:56 +0000)]
- Command line parsing in omshell was repaired - it no longer closes
STDIN after reading one line. [ISC-Bugs #15545]
- The resolver library no longer closes the /etc/resolv.conf file
descriptor it opened twice. [ISC-Bugs #15545]
David Hankins [Fri, 14 Oct 2005 16:02:55 +0000 (16:02 +0000)]
- The server now tries harder to survive the condition where it is unable
to open a new lease file to rewrite the lease state database.
[ISC-Bugs #15503]
David Hankins [Fri, 14 Oct 2005 15:36:27 +0000 (15:36 +0000)]
- The linux build environment has had some minor improvements - better
sensing of 64-bit pointer sizes (only used for establishing an icmp_id),
and corrections to #if operators regarding LINUX_MAJOR should it ever
move to 3.[01].x. [ISC-Bugs #13115]
David Hankins [Fri, 14 Oct 2005 15:34:52 +0000 (15:34 +0000)]
- File handlers on configuration state (config files and lease dbs) should
be treated consistently, regardless of wether TRACING is defined or not.
[ISC-Bugs #13676]
David Hankins [Fri, 14 Oct 2005 15:32:56 +0000 (15:32 +0000)]
- "append"ing a string onto the end of a "t" type option (such as the
domain-name field) that had been improperly NULL-terminated by the
DHCP server will no longer result in a truncated string containing
only the option from the server, and not the expected appended value.
[ISC-Bugs #15293]
David Hankins [Mon, 10 Oct 2005 16:56:47 +0000 (16:56 +0000)]
- The special status of RELEASED/EXPIRED/RESET leases when a server
is operating in partner-down was fixed. It no longer requires a
lease be twice the MCLT beyond STOS to 'reallocate', and the expiry
event to turn these into FREE leases without peer acknowledgement
(after STOS+MCLT) has been repaired. [ISC-Bugs #15433]
David Hankins [Mon, 10 Oct 2005 16:52:13 +0000 (16:52 +0000)]
- The calculation of the maximum size of DHCP packets no longer includes
Ethernet framing overhead. The result is that the 'Maximum Message
Size' option advertised by clients, or the default value 576, is no
longer reduced by 14 bytes, and instead directly reflects the IP level
MTU (and the default, minimum allowed IP MTU of 576). [ISC-Bugs #14674]
David Hankins [Mon, 10 Oct 2005 16:48:03 +0000 (16:48 +0000)]
- When writing a trace file, the file is now created with permissions 0600,
to help administrators avoid accidentally publicising sensitive config
data. [ISC-Bugs #14593]
David Hankins [Mon, 10 Oct 2005 16:45:39 +0000 (16:45 +0000)]
- Several minor bugs, largely relating to treating 8-byte time values as
4-byte entities, have been repaired after careful review of the FreeBSD
ports collection's patch set. Thanks to the nameless entities who have
contributed to the FreeBSD ports. [ISC-bugs #13722]
David Hankins [Fri, 30 Sep 2005 17:51:04 +0000 (17:51 +0000)]
- Adjusted lease state validation checks in potential-conflict, to
account for possible clock skew similarly to normal state, and several
previously illegal transitions were made legal (ex: active->released).
[ISC-Bugs #14834]
David Hankins [Fri, 30 Sep 2005 17:43:49 +0000 (17:43 +0000)]
- Failover potential expiry calculations (TSTP) have been corrected. Results
should be substantially more consistent, and proper given the constraints.
[ISC-Bugs #1926]
David Hankins [Thu, 22 Sep 2005 16:22:31 +0000 (16:22 +0000)]
- If the lease db is deleted out from under the daemon, and it moves to rewrite
the db, it will go ahead with the operation and move the new db into place
once it detects the old db does not exist. [ISC-Bugs #14605]
David Hankins [Thu, 22 Sep 2005 16:20:00 +0000 (16:20 +0000)]
- A failover bug that was allowing leases that EXPIRED or were RELEASED
where tsfp and tstp are identical timestamps to languish in these
transitional states has been repaired. As a side effect, lease
databases should be kept more consistent overall, not just for these
transitional states. [ISC-Bugs #15429] [ISC-Support #694]
David Hankins [Thu, 3 Mar 2005 16:55:25 +0000 (16:55 +0000)]
- README, RELNOTES, version update to 3.0.3b1.
- Copyright updates in files changed between 3.0.2 and 3.0.3. LICENSE
was updated on an earlier commit (for custom release to PBSG I think).
David Hankins [Wed, 2 Mar 2005 23:35:19 +0000 (23:35 +0000)]
- A bug was fixed where a server might load balance a DHCP REQUEST to its
peer after already choosing not to load balance the preceeding DISCOVER.
The peer cannot allocate the originating server's lease. (Merge from
rt13624).
David Hankins [Wed, 2 Mar 2005 23:30:37 +0000 (23:30 +0000)]
- Host declarations matching on client identifier for dynamic leases will
no longer match fixed-address host declarations (this is a dynamic/static
mixup, in effect). (Merge from rt12751).
David Hankins [Wed, 2 Mar 2005 19:11:48 +0000 (19:11 +0000)]
- In rt13481, s/peek/next/ was done on some of these peek_token/next_token
bits to enforce parse warnings. The 'len' value is not intialized as a
result...the peeks did not fetch token length, the next's did.
David Hankins [Wed, 2 Mar 2005 16:44:43 +0000 (16:44 +0000)]
Error - 'medium' was never a valid dhclient.conf parameter, it was only
valid inside a lease {} or alias {} parameter in dhclient.conf or in the
client.leases file. So this is not a bugfix - this is a feature enhancement.
Backing the change out of V3-RELEASE-BRANCH, will revisit on HEAD (with
some client/clparse.c changes).
David Hankins [Fri, 25 Feb 2005 18:51:46 +0000 (18:51 +0000)]
- Forgot to attribute to Jason on some of his tickets. Didn't use his
patches on these, but he did report them and provide patches that we
worked off of.
David Hankins [Sat, 8 Jan 2005 00:15:55 +0000 (00:15 +0000)]
Copyright++ - we are publishing a change in dhcpd.conf.5 in this release
that was not in 3.0.2rc3. Other than that, we only need to change the
collection copyright (LICENSE). Software->Systems modifications were
done in 2004.
David Hankins [Wed, 17 Nov 2004 18:00:57 +0000 (18:00 +0000)]
- The .spec file is used to create rpms, I gather. Version to 3.0.2. There
really should be an automated way to put the system version string in
that location.
David Hankins [Fri, 12 Nov 2004 22:08:19 +0000 (22:08 +0000)]
- The Option Overloading support bugfix in 3.0.2b1 introduced two new
variables that were not initialized in the case where neither FILE nor
SNAME were suitable for option overloading. The result is a memset-to-zero
stack smash under the right conditions.
David Hankins [Thu, 4 Nov 2004 00:03:43 +0000 (00:03 +0000)]
- Complete rewrite of allocate_lease. The function is no longer recursive,
and should lack the corner case that was causing an FTS_ABANDONED lease to
be allocated indefinitely.