2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-26 11:57:43 +00:00

173 Commits

Author SHA1 Message Date
Evan Hunt
dccb6edf66 Updated copyright strings for 4.1.0a1 release 2008-01-24 02:43:06 +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
Francis Dupont
9d28ba1291 format_min_length() doesn't know IPv6 2007-12-20 15:33:15 +00:00
Francis Dupont
20ae1affb0 almost editorial stuff 2007-11-30 21:51:43 +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
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
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
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
Shane Kerr
c6785bb5e1 Compile fix for Linux 64-bit. 2007-08-23 13:46:23 +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
David Hankins
c9feb859e0 - Corrected a flaw that broke encapsulated spaces included due to presence
on the parameter request list. [ISC-Bugs #16625]
2007-05-23 19:25:40 +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
3496f11e70 Update comment per rt16841. 2007-05-16 21:29:57 +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
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
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
a7ee93fe57 - A segfault bug in recursive encapsulation support has been corrected.
[ISC-Bugs #16480]
2006-11-09 22:08:28 +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
f2c69b72a8 - Silence warnings from robie. [ISC-Bugs #16358] 2006-08-24 14:58:55 +00:00
Shane Kerr
96bbe8c538 Merge of rt16329, adds encapsulation within encapsulation. 2006-08-11 09:15:17 +00:00
Shane Kerr
4cba29f04f Pulling in rt16318, a set of fixes for 3.1 from Hankins. 2006-08-04 10:59:33 +00:00
David Hankins
5786874726 Several minor bugs never seen in any public release corrected.
[ISC-Bugs #16316]
2006-08-02 22:36:00 +00:00
David Hankins
b543fea9d4 - A new common configuration executable statement, execute(), has been
added.  This permits dhcpd or dhclient to execute a named external
  program with command line arguments specified from other configuration
  language.  Thanks to a patch written by Mattias Ronnblom, gotten to us
  via Robin Breathe. [ISC-Bugs #13728]
2006-07-31 22:19:51 +00:00
Shane Kerr
07de837526 Added associated-ip to priority list, for rt16180. 2006-07-25 13:36:58 +00:00
Shane Kerr
6d103865fb Merged rt12324, DHCPLEASEQUERY. 2006-07-25 13:26:00 +00:00
David Hankins
dba5803b95 - Support for compressed 'domain name list' style DHCP option contents, and
in particular the domain search option (#119) was added. [ISC-Bugs #15934]
2006-07-22 02:24:16 +00:00
David Hankins
f7fdb21693 - Varying option space code and length bit widths (8/16/32) are now
supported.  This is a milestone in acheiving RFC 3925 "VIVSO" and
  DHCPv6 support. [ISC-Bugs #15979]
2006-06-01 20:23:18 +00:00
David Hankins
ee91252816 - The subnet-mask option is now supplied by default, but at lowest
priority.  This helps a small minority of clients that provide parameter
  request lists, but do not list the subnet-mask option because they were
  designed to interoperate with a server that behaves in this manner.
  [ISC-Bugs #1196]
- The FQDN option is similarly supplied even if it does not appear on the
  parameter request list, but not to the exclusion of options that do
  appear at the parameter request list.  Up until now it had ultimate
  priority over the client's parameter request list.  [ISC-Bugs #1196]
2006-05-30 19:58:14 +00:00
David Hankins
88cd8aca9e - Merge changes between 3.0.3RC1 and 3.0.4-BETA-3 into HEAD (silence
robie).
2006-02-24 23:16:32 +00:00
David Hankins
98311e4ba9 MASSIVE merge from V3-RELEASE-BRANCH into HEAD. HEAD and V3-RELEASE are
now synced as of tag V3-0-3-BETA-1.
2005-03-17 20:15:29 +00:00
Ted Lemon
a609e69bba sync with branch 2001-08-10 10:50:50 +00:00
Ted Lemon
d758ad8cac Merge changes between 3.0rc7 and 3.0rc8pl2. 2001-06-27 00:31:20 +00:00
Ted Lemon
530de8b20c Apply a signed vs. unsigned fix suggested by Onno Van Der Linden. 2001-03-01 21:44:31 +00:00
Ted Lemon
98f56cef60 Fix memory leak, bug in nwip option handling. 2001-02-12 19:43:32 +00:00
Ted Lemon
1891a87e99 Don't dump core if asked to look up an option where there are no options. 2001-01-26 06:17:01 +00:00
Ted Lemon
1ecf93b561 Follow proper coding standards for allocating refcnted objects. 2001-01-25 21:55:08 +00:00
Ted Lemon
1472e6f3e4 - Use option_chain_head structure for linked option spaces.
- Fix a memory leak.
2001-01-25 08:21:59 +00:00
Ted Lemon
b1c45d8a31 Do careful bounds checking on the incoming fqdn option. 2001-01-19 10:56:06 +00:00
Ted Lemon
33454222e7 Add a send statement that behaves the same as the supersede statement. 2001-01-16 23:00:49 +00:00
Ted Lemon
19903d4c86 Don't include the '.' in the fqdn.domainname. 2001-01-11 23:13:50 +00:00
Ted Lemon
eb814f9d98 fqdn.fqdn starts at the beginning of the fqdn, not at the next token. 2001-01-11 02:14:51 +00:00
Ted Lemon
f6eb925b20 - Fix linked option space to use pairs rather than direct links on option
cache structures, which may be used by more than one option state at
  the same time.
2001-01-09 06:56:11 +00:00
Ted Lemon
42623ef893 - Store the complete FQDN as an accessible option, and use that when
encapsulating the FQDN option to the client.
2001-01-08 17:19:59 +00:00
Ted Lemon
3a9992b455 Add support (not debugged) for printing enumerations. 2000-12-29 06:45:00 +00:00