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

74 Commits

Author SHA1 Message Date
Shawn Routhier
2c85ac9b24 Switch isc urls from http to https and correct sw to services or software
for new web site as appropirate.
2009-07-23 18:52:21 +00:00
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
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
aabfa4de4c Some definitions not in phase with the IANA registry were updated 2007-12-20 21:58:38 +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
9ab0cc6a46 Client bugs introduced in development repaired. [ISC-Bugs #17192] 2007-10-05 14:47:43 +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
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
David Hankins
706792c9d3 Copyright++ 2007-05-19 19:16:28 +00:00
David Hankins
98bd7ca099 DHCPv6 branch merged to HEAD. 2007-05-08 23:05:22 +00:00
Shane Kerr
c57db45ce9 Spelling fixes. See RT ticket 16513 for details. 2007-01-29 10:25:55 +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
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
Shane Kerr
d5341d9b5f New options added, and some magic code to parse unknown options.
See ticket rt15925.
2006-07-26 15:43:52 +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
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
d758ad8cac Merge changes between 3.0rc7 and 3.0rc8pl2. 2001-06-27 00:31:20 +00:00
Ted Lemon
f834d4ff91 Use unparsable names for unknown options. 2001-03-14 15:39:32 +00:00
Ted Lemon
8120ab76d0 Add fqdn.fqdn suboption. 2001-01-08 17:21:38 +00:00
Ted Lemon
90439d6bfe Fix up internal documentation for option parse codes. 2000-12-29 06:46:23 +00:00
Ted Lemon
3fdb840514 Correctly implement the subnet selection option. 2000-12-28 23:20:53 +00:00
Damien Neil
b992d7e23d DDNS implementation rewrite. DDNS should now operate according to
<draft-ietf-dhc-dhcp-dns-12.txt>.

common/options.c, common/tables.c, includes/dhcp.h:
  Split the fqdn.name option into fqdn.hostname and fqdn.domainname.

includes/dhcpd.h, server/Makefile.dist, server/ddns.c, server/dhcp.c,
server/mdb.c, server/stables.c:
  Added a new file (server/ddns.c) containing the DDNS updates code.
  This file exports two functions: ddns_updates() and ddns_removals().
  ddns_updates() is called when a lease is granted, and ddns_removals()
  is called when the lease expires or is released.

server/dhcpd.c:
  Remove the previous DDNS update code, and add default code for the
  ddns-hostname, ddns-domainname, ddns-ttl, and ddns-rev-domainname
  server options.
2000-12-11 18:56:45 +00:00
Ted Lemon
781c0375bf - Add the FQDN option space.
- Add support for encapsulations in option format strings, and use it.
- Standardize the functions that access option universes.
2000-10-10 22:48:20 +00:00
Ted Lemon
4e501780c9 Use the nwip options in the nwip universe, not the dhcp options. 2000-09-27 19:21:25 +00:00
Ted Lemon
e78cd25941 Add Service Location Protocol options. Document new option format codes. 2000-09-16 20:03:01 +00:00
Damien Neil
c62871ba64 Moved hash.c from libdhcp to libomapi, in anticipation of moving the
tsig_key structure into libomapi.  (tsig_keys are stored in a hashtable,
and libomapi should not depend on libdhcp.)
2000-08-01 22:55:07 +00:00
Ted Lemon
20916cae75 - Fix all the OMAPI objects in the DHCP server and client that weren't
being correctly reference-counted.
- Make and use object-specific allocators.
- Add reference/dereference support to hash functions and to timeout
  functions.
2000-05-16 23:03:49 +00:00
Ted Lemon
1a634d5638 Define temporary subnet selection option code for testing. 2000-04-08 01:15:50 +00:00
Ted Lemon
68f5590808 Make universe_hash using new_hash. 2000-03-18 03:34:11 +00:00
Ted Lemon
7d9784f6fc Patch in TSIG, just to see how to get it to work. 2000-03-18 02:15:52 +00:00
Ted Lemon
49733f31d3 Go back to the BSD license. 2000-03-17 04:00:32 +00:00
Ted Lemon
7cb6a9437e Update calls to new_hash. 2000-03-06 23:20:45 +00:00
Ted Lemon
588af26930 Support parsing of configuration options in generic blocks. 2000-02-02 17:10:43 +00:00
Ted Lemon
4bd8800e89 Fix compilation errors introduced in the last set of checkins. 2000-01-26 14:56:18 +00:00
Ted Lemon
9f5a99d7d3 Add support for NetWare/IP and uap-servers options. 2000-01-08 01:38:04 +00:00
Ted Lemon
0b7eed7a60 Move server-specific tables to stables.c 1999-11-14 00:04:27 +00:00
Ted Lemon
2e82278cd3 Add 'declines' server option. 1999-10-21 02:35:06 +00:00
Ted Lemon
337b3e5296 Support allow/deny duplicates. 1999-10-20 20:55:48 +00:00
Ted Lemon
1a014e0b2d Add support for lease-file-name and pid-file-name config parameters. 1999-10-19 15:27:27 +00:00
Ted Lemon
b1b7b521fe Get a clean compile with all known gcc warnings. 1999-10-07 06:36:35 +00:00
Ted Lemon
b2345e0f6a Define server option types for ddns updates. 1999-07-01 19:00:13 +00:00
Ted Lemon
c549f62a42 Add always-broadcast option. 1999-06-22 13:14:53 +00:00
Ted Lemon
a6a43a8c60 Add a bunch of options that were added in RFC2132. 1999-04-23 22:20:49 +00:00
Ted Lemon
c8d91ebbe3 Add always-reply-rfc1048 server option. 1999-04-08 19:33:00 +00:00