2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 12:57:42 +00:00

847 Commits

Author SHA1 Message Date
Mark Andrews
b8c0eda0e5 DHCP now builds under AIX 2008-01-23 22:49:54 +00:00
Evan Hunt
4cafb81543 Added explicit parser support for zero-length DHCP options, such as
rapid-commit, via format code 'Z' [rt17355]
2008-01-23 19:19:22 +00:00
David Hankins
6368a1bd72 - Multiple (up to "delayed-ack x;" maximum) DHCPv4 packets are now queued and
released in bursts after single fsync() events when the upper limit is
  reached or if the receiving sockets go dry.  The practical upshot is
  that fsync-coupled server performance is now multiplicitively increased.
  The default delayed ack limit is 28.  Thanks entirely to a patch from
  Christof Chen.
2008-01-21 19:53:21 +00:00
David Hankins
219a65eb6e - Fixed a compilation problems on platforms that define a value for FDDI,
which conflicts with a dhcp configuration syntax token by the same name.
  [ISC-Bugs #16898]
2008-01-16 22:57:01 +00:00
Shane Kerr
c4d29896d3 Build fix for OS X Leopard (10.5).
See RT ticket #17406.
2008-01-11 14:00:06 +00:00
David Hankins
2c9bf1f4bf - The minimum site code value was set to 224 in 3.1.0 to track RFC3942. This
broke a lot of legacy site local configurations.  The new code in place will
  track site local space minimum option codes and logs a warning to encourage
  updates and exploration of site local code migration problems.  Option
  codes less than 128 in site local spaces remain inaccessible.
  [ISC-Bugs #17203]
- A possible relay agent option bug was repaired where random server
  initialization state may have been used to signal the relay agent
  information options sub-option code for the 'END' of the option space.
  [ISC-Bugs #17203]
2008-01-09 17:13:16 +00:00
Francis Dupont
be62cf0675 finer granularity timers 2008-01-03 00:30:14 +00:00
Francis Dupont
1d9774ab57 Cleanup IA_NA dependencies 2008-01-02 23:47:22 +00:00
Francis Dupont
aabfa4de4c Some definitions not in phase with the IANA registry were updated 2007-12-20 21:58:38 +00:00
David Hankins
1e8eb3531c automake regeneration 2007-12-12 19:24:39 +00:00
David Hankins
31259901b0 Include additional files in 'make dist'. [ISC-Bugs #17361] 2007-12-12 19:23:42 +00:00
Evan Hunt
e32529a528 dhc6_lease_destroy() and dhc6_ia_destroy() now set lease and IA
pointers to NULL after freeing, to prevent subsequent accesses to freed
memory.  [rt17352]
2007-12-08 19:36:00 +00:00
Shane Kerr
b9137d42af Insure we let people Request addresses that we suggested in Advertise.
See RT ticket #17302 for more.
2007-12-06 00:07:12 +00:00
David Hankins
0c5673bc78 automake regeneration 2007-12-05 19:42:57 +00:00
David Hankins
cb09988fad autoheader regeneration 2007-12-05 19:42:53 +00:00
Francis Dupont
c54db70868 fix dhcp6.status-code success parsing 2007-12-03 19:10:19 +00:00
Francis Dupont
20ae1affb0 almost editorial stuff 2007-11-30 21:51:43 +00:00
David Hankins
b024480eba - The server now limits clients that request multiple addresses to one
address per IA by default, which can be adjusted through the
  "limit-addrs-per-ia" configuration option.  [ISC-Bugs #17271]
2007-11-20 18:34:37 +00:00
Shane Kerr
6e999c3c8a Unit test framework now added.
See RT ticket #17223 for more.
2007-11-16 11:04:12 +00:00
David Hankins
bead14ea8b - The server will now include multiple IA_NA's and multiple IAADDRs within
them, if advertised by the client.  It still only seeks to allocate one
  new address. [ISC-Bugs #17254]
2007-11-14 23:44:46 +00:00
David Hankins
290b43b9cb Remove unreviewed sources from HEAD. 2007-11-06 18:31:36 +00:00
David Hankins
b1d3778ce8 - Relative time may now be used as a qualifier for 'allow' and 'deny' access
control lists.  These directives may be used to assist in re-addressing
  address pools without having to constantly reconfigure the server.  Please
  see 'man dhcpd.conf' for more information on allow/deny 'after time' syntax.
  Thanks to a patch from Christof Chen.  [ISC-Bugs #17110]
2007-10-31 19:13:33 +00:00
David Hankins
e4a6be15e8 Might even work. 2007-10-30 23:08:16 +00:00
Evan Hunt
75135a3f7f Use different paths for PID and lease files when running in DHCPv4 or
DHCPv6 mode, so that servers for both protcols can be run simultaneously on
a single interface. [rt17227]
2007-10-27 19:15:37 +00:00
Evan Hunt
e2624b82f1 - Reworked cons_options() and store_options() to fix a buffer
overflow that could result in a DoS (CVS 2007-0062).  Also general
  code tidying. [rt17090]
- Also fixed a spurious error message on the client. [rt17250]
2007-10-26 22:46:50 +00:00
David Hankins
5279b8f3ee - The client leasing subsystem was streamlined and corrected to account
more closely for changes in client link attachment selection.
  [ISC-Bugs #17198]
2007-10-24 00:54:12 +00:00
David Hankins
8eab95f2ee - DHCPv6 server Confirm message processing has been enhanced - it no
longer replies only to clients with host {} records, it now replies
  as directed in RFC3315 section 18.2.2 - that is, to all clients
  regardless of the existence of bindings. [ISC-Bugs #17183]
2007-10-05 15:57:48 +00:00
David Hankins
109e00db7f - Compilation with DLPI and -Werror has been repaired. [ISC-Bugs #17189] 2007-10-03 23:36:27 +00:00
David Hankins
ba0833b11d automake regeneration 2007-09-05 17:33:56 +00:00
David Hankins
073f43fd92 autoheader regeneration 2007-09-05 17:33:42 +00:00
Shane Kerr
d19e816ece Fix ugly output on config errors.
See RT ticket #17011 for more.
2007-08-29 15:56:56 +00:00
David Hankins
0c20eab3c8 - 'request' and 'also request' syntaxes have been added to accomodate
the DHCPv6 client configuration.  'send dhcp6.oro' is no longer
  necessary.  [ISC-Bugs #17023]
2007-08-23 16:06:09 +00:00
Shane Kerr
06eb8bab55 Fix a number of warnings (and a few real bugs) found by enabling
gcc warnings.

See RT ticket #17013 for more.
2007-08-22 13:41:37 +00:00
Shane Kerr
28868515f6 Code cleanup to remove warnings from "gcc -Wall".
See RT ticket #16988 for more.
2007-07-13 06:43:43 +00:00
Evan Hunt
4595871d1d automake regeneration 2007-07-10 22:08:52 +00:00
Evan Hunt
f005219774 autoheader regeneration 2007-07-10 22:00:08 +00:00
Shane Kerr
cf8aca47a2 Build fixes for Solaris. (CVS checkin, part 4)
See RT ticket #16966 for more.
2007-06-26 09:58:41 +00:00
Shane Kerr
bda3316935 Handle IPv6 parsing better. Adds generic whitespace handling to
parser.
See RT ticket #16862 for more.
2007-06-20 10:38:55 +00:00
Shane Kerr
9b21e73e3c Check for valid prefixes in configuration.
See RT ticket #16944 for more information.
2007-06-19 17:06:03 +00:00
David Hankins
d72e14c7e5 autoheader regeneration 2007-06-08 14:59:13 +00:00
David Hankins
8da06bb1f5 - Compilation on HP/UX has been repaired. The changes should generally
apply to any architecture that supplies SIOCGLIFCONF but does not
  use 'struct lifconf' structures to pass values. [ISC-Bugs #16928]
2007-06-08 14:58:20 +00:00
David Hankins
627ad6d620 - AC_CHECK_HEADERS() defines HAVE_NET_IF_DL_H not HAVE_IF_DL_H. 2007-06-07 23:40:19 +00:00
David Hankins
da59e03ddc automake++, second round. 2007-06-07 16:45:31 +00:00
David Hankins
dff902ba2c automake updated 2007-06-07 15:57:10 +00:00
David Hankins
0ccd352429 autoheader updated 2007-06-07 15:56:47 +00:00
David Hankins
dd3282251e - Two new operators, ~= and ~~, have been integrated to implement
boolean matches by regular expression (such as may be used in
  class matching statements).  Thanks to a patch by Alexandr S.
  Agranovsky, which underwent slight modification.  [ISC-Bugs #8155]
2007-06-07 15:52:30 +00:00
Evan Hunt
af5fa17626 - Add support for dhcpv6 "Release" messages [rt16905]
- Add -x option, which causes running dhclient processes to exist
  gracefully *without* releasing leases [rt16741]
(Merging both at once because the first one depended on the second one)
2007-06-06 22:57:32 +00:00
Shane Kerr
a36687f00d regen 2007-06-05 08:34:37 +00:00
Shane Kerr
f125dc8b41 Fix DHCP build on Slackware with 2.4 kernel.
See RT ticket #16918 for more information.
2007-06-04 14:18:08 +00:00
Evan Hunt
804401cc8e Merge in changes that were needed in 3.1.0 to silence NetBSD compiler
warnings. [rt16907]
2007-05-29 18:11:56 +00:00