2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00
Commit Graph

604 Commits

Author SHA1 Message Date
David Hankins
e889ded168 - 'dhcp.c(3953): non-null pointer' has been repaired. This fixes a flaw
wherein the DHCPv4 server may use seemingly random source addresses.
  [ISC-Bugs #16897]
2007-05-21 22:09:07 +00:00
David Hankins
d6614ea2ee - A bug in dhclient was repaired which caused it to send parameter request
lists of 55 bytes in length no matter how long the declared PRL was.
  [ISC-Bugs #16882]
2007-05-21 18:16:54 +00:00
David Hankins
fe5b0fdd70 - Replaced ./configure shellscripting with GNU Autoconf. [ISC-Bugs #16405b]
- RELNOTES/README++
- s/wether/whether/ in dhcp-options.5 manpage edits.
2007-05-19 18:47:15 +00:00
David Hankins
2cf8d0bddd - Fix documentation of the domain-search atom (quoted, with commas).
- Document DHCPv6 options presently in the default table.
2007-05-18 19:45:08 +00:00
David Hankins
8ea19a715c - dhclient will now fork() into the background once it binds to an
IPv6 address, or immediately if the -n flag is supplised.
  [ISC-Bugs #16872]

- -q is now the default behaviour on dhclient, with -d or -v enabling
  non-quiet (stderr logging) mode.  [ISC-Bugs #16872]
2007-05-18 18:45:51 +00:00
David Hankins
4ba5891941 - DHCPv4 I/O methods that failed to sense hardware address were corrected.
[ISC-Bugs #16881]

- DHCPv4 is now the default (as documented) rather than DHCPv6.  The default
  was set to DHCPv6 to facilitate ease early development, and forgotten.
  [ISC-Bugs #16881]

- Corrected a segmentation violation in DHCPv4 socket processing.
  [ISC-Bugs #16881]
2007-05-18 17:21:46 +00:00
David Hankins
f66f02cc9c - Duplicate dhclient-script updates for DHCPv6 to all provided scripts.
[ISC-Bugs #16875]
2007-05-18 17:18:05 +00:00
Shane Kerr
d9b43370a4 Expire old IPv6 leases. Also a number of fixes.
See RT ticket #16849 for details.
2007-05-18 09:26:58 +00:00
David Hankins
8c1752d2ce Diffed the snapshot against the DHCPv6 branch head and noticed we had not
documented the range6 addition since the snapshot.
2007-05-17 20:08:59 +00:00
Shane Kerr
99fe695e1c FreeBSD, NetBSD, OpenBSD support added in (again).
See RT ticket #16865 for more (still expect some warnings).
2007-05-16 22:27:35 +00:00
David Hankins
5a22eb63a2 Spell 'received' correctly. 2007-05-16 18:27:37 +00:00
David Hankins
a512d11b6d - Corrected some situations where variables might be used without being
initialized. [ISC-Bugs #16865]

- Silenced several other compiler warnings. [ISC-Bugs #16865]

- Include the more standard sys/uio.h rather than rely upon other header
  files to include it (fixes a BSDI compile failure). [ISC-Bugs #16865]
2007-05-11 15:50:18 +00:00
David Hankins
98bd7ca099 DHCPv6 branch merged to HEAD. 2007-05-08 23:05:22 +00:00
Evan Hunt
74dc3e0b27 Fixed a bug that caused OMAPI clients to hang when opening leases. [rt16495] 2007-05-07 17:19:17 +00:00
David Hankins
f546c28bf0 Change was in 3.0.6, not 3.1.0b2. Reflect wording changes made in
that release.
2007-05-02 22:50:19 +00:00
Evan Hunt
83c0372e28 Assorted fixes for broken network devices: IP header length field is now
determined from payload, because some NIC drivers return more data than
they actually recived; IP and UDP packets now stored in aligned data
structures; outgoing packet TTL increased from 16 to 128. [rt15583]
2007-04-27 23:54:06 +00:00
Evan Hunt
1ba87b376b A new server config option "fqdn-reply" specifies whether the server
should send out option 81 (FQDN).  Defaults to "on".  If set to "off",
the FQDN option is not sent, even if the client requested it.  This is
needed because some clients misbehave otherwise. [rt16624]
2007-04-27 22:48:00 +00:00
Evan Hunt
a58da042f5 Allow trace output files (-tf option) to be overwritten, rather than
crashing dhcpd if the file already exists [rt16459]
2007-04-27 22:38:03 +00:00
Evan Hunt
61252edfa9 Fix a bug where dhcpd segfaults if a pool is declared outside a subnet
in dhcpd.conf [rt16448]
2007-04-27 22:36:26 +00:00
David Hankins
d5b6835f89 - The server's "by client-id" and "by hardware address" hash table lists
are now sorted according to the preference to re-allocate that lease to
  returning clients.  This should eliminate pool starvation problems
  arising when "INIT" clients were given new leases rather than presently
  active ones. [ISC-Bugs #16831]
2007-04-26 20:06:25 +00:00
David Hankins
3d0c598a1d Relnotes entry in the wrong place. 2007-04-26 19:34:02 +00:00
David Hankins
4d97a043e4 - dhclient now closes its descriptor to dhclient.leases prior to executing
dhclient-script.  Thanks to a patch from Tomas Pospisek. [ISC-Bugs #16728]
2007-04-26 19:31:58 +00:00
David Hankins
9aa3f3a55d - Some bugs were fixed in the 'emergency relay agent options hologram'
which is used to retain relay agent option contents from when the
  client was in INIT or REBIND states.  This should solve problems where
  relay agent options were not echoed from the server, even when giaddr
  was set.  [ISC-Bugs #16787]
2007-04-20 15:25:26 +00:00
David Hankins
c759db75e0 - Several spelling typos were repaired, and some cross-references to other
relevant documents were included in the manpages, thanks to a patch
  by Andrew Pollock which got to us via Tomas Pospisek. [ISC-Bugs #16731]
2007-04-19 21:35:12 +00:00
David Hankins
830ebc4c5b - A grammar error in the dhclient.8 manpage was repaired thanks to a patch
from Chris Wagner. [ISC-Bugs #16565]
2007-04-19 21:18:50 +00:00
David Hankins
67674ffb38 - Timestamp parsing errors that indicated missing "minutes" fields rather
than the actually missing "seconds" fields have been repaired thanks to
  a patch from Kevin Steves. [ISC_Bugs #16505]
2007-04-16 17:32:02 +00:00
David Hankins
06211b4018 - A bug was repaired in subencapsulation support, where spaces separated
by empty spaces would not get included. [ISC-Bugs #16805]
2007-04-12 16:15:31 +00:00
David Hankins
ecde99a330 - A bug was fixed where the nwip virtual option space was referencing
the fqdn option's virtual option space's option cache. [ISC-Bugs #16801]
2007-04-11 02:04:39 +00:00
David Hankins
4d2eaafb35 - A new server config option, 'do-reverse-updates', has been added
which causes the server to abstain from performing updates on PTR
  records.  Thanks to a patch from Christof Chen at Allianz.
  [ISC-Bugs #16781]
2007-04-03 16:46:03 +00:00
David Hankins
23e10d3713 - A bug was fixed where the BOOTP header 'sname' field had a value, the
copy written to persistent storage was actually the contents of the
  'file' field.  [ISC-Bugs #16784]
2007-04-03 14:57:53 +00:00
David Hankins
27837f95b6 - Some uninitialized values were repaired in dhcpleasequery.c that
caused the server to abort. [ISC-Bugs #16783]
2007-04-02 23:00:05 +00:00
David Hankins
02428754a3 - In the case where an "L2" DHCP Relay Agent (one that does not set giaddr)
was directly attached to the same broadcast domain as the DHCP server,
  the RFC3046 relay agent information option was not being returned to the
  relay in the server's replies.  This was fixed; the dhcp server no longer
  requires the giaddr to reply with relay agent information.  Note that
  this also improves compatibility with L2 devices that "intercept" DHCP
  packets and expect relay agent information even in unicast (renewal)
  replies. [ISC-Bugs #16762]
2007-03-27 03:48:06 +00:00
David Hankins
d69fb6a8d4 - A memory leak in the minires_nsendsigned() function call was repaired.
Effectively, this leaked ~80 bytes per DDNS update.  [ISC-Bugs #16770]
2007-03-27 03:08:13 +00:00
David Hankins
75ab3070cc - A reference leak on binding scopes set by ddns updates was repaired.
[ISC-Bugs #16769]
2007-03-27 02:47:27 +00:00
Shane Kerr
c57db45ce9 Spelling fixes. See RT ticket 16513 for details. 2007-01-29 10:25:55 +00:00
David Hankins
85edef5cfe - A bug was fixed in dhclient rendering the textual output form of the
domain-search option syntax. [ISC-Bugs #16586]
2007-01-11 16:31:51 +00:00
David Hankins
bd2bc2faee - A bug was fixed where attempting to permit leasequeries results in a
fatal internal error, "Unable to find server option 49". [ISC-Bugs #16566]
2007-01-05 23:19:22 +00:00
David Hankins
a7ee93fe57 - A segfault bug in recursive encapsulation support has been corrected.
[ISC-Bugs #16480]
2006-11-09 22:08:28 +00:00
David Hankins
c1e6c8329f - A logic error in omapi interface code was repaired that might result in
incorrectly indicating 'up' state when any flags were set, rather than
  specifically the INTERFACE_REQUESTED flag. [ISC-Bugs #16431]
2006-11-07 23:40:14 +00:00
David Hankins
6708d944e1 - Some default hash table sizes were tweaked, some upwards, some downwards.
3.1.0a1's tables resulted in a reduction in default server memory use.
  The new selected values provide more of a zero sum (increasing the size
  of tables likely to be populated, decreasing the size of tables unlikely).

- Lease structures appear in three spearate hashes: by IP address, by UID,
  and by hardware address.  One type of table was used for all three, and
  improvements to IP address hashing were applied to all three (so UID and
  hardware addresses were treated like 4-byte integers).  There are now two
  types of tables, and the uid/hw hashes use functions more appropriate
  to their needs.

- The max-lease-misbalance percentage no longer causes scheduled rebalance
  runs to be skipped: it still governs the schedule, but every scheduled
  run will attempt balance.

[ISC-Bugs #16396]
2006-10-27 22:54:13 +00:00
David Hankins
66c8f7347a - An option definition referencing leak was fixed, which resulted in early
termination of dhclient upon the renewal event. [ISC-Bugs #16423]
2006-10-17 20:45:59 +00:00
David Hankins
7cbeb9f493 'Domain name list' was not added in 3.0.4rc1... 2006-10-12 18:50:42 +00:00
David Hankins
616d67cb0a - The servers now try harder to transmit pending binding updates when
entering normal state. [ISC-Bugs #16412]

- UPDREQ/UPDREQALL handling was optimized - it no longer dequeues and
  requeues all pending updates.  This should reduce the number of spurious
  'xid mismatch' log mesasges. [ISC-Bugs #16412]
2006-09-27 18:27:27 +00:00
David Hankins
bdddcb7d96 - A bug in the FQDN universe that added FQDN codes to the NWIP universe's
hash table was repaired. [ISC-Bugs #16395]
2006-09-18 17:35:44 +00:00
David Hankins
5120270750 s/acheiving/achieving/ 2006-09-01 14:58:55 +00:00
David Hankins
901306d503 s/saught/sought/ 2006-08-30 15:23:25 +00:00
David Hankins
5341f94371 s/sought/saught/ 2006-08-28 14:52:41 +00:00
David Hankins
87a08cccd5 - DHCPINFORM handling for clients that properly set ciaddr and come to the
server via a relay agent has been repaired. [ISC-Bugs #16355]
2006-08-22 17:13:25 +00:00
Shane Kerr
0a73b7b672 Merged rt16356. 2006-08-22 15:01:47 +00:00
Shane Kerr
96bbe8c538 Merge of rt16329, adds encapsulation within encapsulation. 2006-08-11 09:15:17 +00:00