2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 05:47:45 +00:00

1342 Commits

Author SHA1 Message Date
Francis Dupont
80c9fdb0e7 Add IA_TA and IA_PD support in server 2008-02-20 12:45:53 +00:00
Mark Andrews
00a002fc76 - Fix startup error messages to report a missing "subnet6 declaration", rather
than a missing "subnet declaration", when running as a DHCPv6 server.
2008-02-13 06:41:05 +00:00
David Hankins
961e7a5b0e Provide -working- sample configuration text for VIVSO. 2008-02-05 16:55:50 +00:00
Evan Hunt
dccb6edf66 Updated copyright strings for 4.1.0a1 release 2008-01-24 02:43:06 +00:00
Evan Hunt
575e64d6aa automake regeneration 2008-01-24 02:20:10 +00:00
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
Evan Hunt
771484ac04 Exit with warning when DHCPv6 config is used but -6 isn't specified [rt17334] 2008-01-22 18:48:04 +00:00
David Hankins
7dc9b5fb30 - MINUS tokens should be parseable again. [ISC-Bugs #17289] 2008-01-21 19:13:45 +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
cff9b78fca Build fixes for Solaris 9.
See RT ticket #17444 for more.
2008-01-09 23:02:42 +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
Francis Dupont
9d28ba1291 format_min_length() doesn't know IPv6 2007-12-20 15:33:15 +00:00
Francis Dupont
3453299d9d trivial fix in not (yet) used code 2007-12-15 10:59:37 +00:00
David Hankins
0c5673bc78 automake regeneration 2007-12-05 19:42:57 +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
Shane Kerr
22a3cd2738 automake regeneration + added forgotten example tests 2007-11-16 11:08:33 +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
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
c71c6399b1 - sendmsg()/recvmsg() control buffers are now declared in such a way to
ensure they are correctly aligned on all (esp. 64-bit) architectures.
  [ISC-Bugs #17087b]
2007-10-23 21:39:56 +00:00
David Hankins
2394b26b27 - Additional compilation problems on HP/UX have been repaired.
[ISC-Bugs #17201]
2007-10-08 14:27:53 +00:00
David Hankins
7285af3087 - DDNS updates state information are now stored in 'binding scopes' that
follow the leases through their lifecycles.  This enables DDNS teardowns
  on leases that are assigned and expired inbetween a server restart (the
  state is recovered from dhcpd.leases).  Arbitrary user-specified binding
  scopes ('set var = "value";') are not yet supported.
2007-10-05 22:29:51 +00:00
David Hankins
9ab0cc6a46 Client bugs introduced in development repaired. [ISC-Bugs #17192] 2007-10-05 14:47:43 +00:00
Shane Kerr
3ad9d48f8c Bug in decoding certain options fixed.
See RT ticket #17188 for more.
2007-10-04 12:14:42 +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
e9c596456f - The subnet-mask option inclusion now conforms with RFC2132 section 3.3;
it will only appear prior to the routers option if it is present on the
  Parameter-Request-List.  The subnet-mask option will also only be
  included by default (if it is not on the PRL) in response to DISCOVER
  or REQUEST messages.
  [ISC-Bugs #17117]
- The FQDN option is only supplied if the client supplied an FQDN option or
  if the FQDN option was explicitly requested on the PRL.
  [ISC-Bugs #17117]
2007-10-01 16:24:44 +00:00
Michael Graff
5eab8594b6 Cast arguments for isspace(), isascii(), and other is*() functions to int. 2007-10-01 14:47:35 +00:00
David Hankins
578645ff23 Clarify domain-list formatted option syntax. 2007-09-17 17:52:01 +00:00
David Hankins
ba0833b11d automake regeneration 2007-09-05 17:33:56 +00:00
David Hankins
39725d921f Version to 4.0.0a3.
README/RELNOTES to new version.
Copyright updates.
2007-09-05 17:32:10 +00:00
Shane Kerr
b645f9d559 Compile fix (unused variable).
See RT ticket #17116.
2007-08-29 21:58:32 +00:00
David Hankins
e9263b5c00 HEAD build failure reparation. [ISC-Bugs #17115] 2007-08-29 18:09:35 +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
Shane Kerr
f800f4f633 Support for zero-length options in config files.
See RT ticket #17029 for more.
2007-08-27 19:11:24 +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
c6785bb5e1 Compile fix for Linux 64-bit. 2007-08-23 13:46:23 +00:00
Shane Kerr
9aa669fc96 Warning-enabled build fixes for BSD. 2007-08-23 09:49:51 +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
9705034994 Fix for interface detection when no IPv4 addresses available.
See RT ticket #17086 for more.
2007-08-14 14:08:16 +00:00
Shane Kerr
0cfff8d8b3 Missed a file from RT ticket #16988. 2007-07-13 06:51:08 +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