2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-22 09:57:20 +00:00

55 Commits

Author SHA1 Message Date
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
Ted Lemon
ccff5ae188 - Add vendor-option-space server option.
- Add more initializations for the built-in option spaces.
1999-04-05 16:24:05 +00:00
Ted Lemon
038428e443 Allow vendor class identifier to be other than ASCII text. 1999-03-25 22:01:03 +00:00
Ted Lemon
f39b6e0089 Update license. 1999-03-16 05:50:46 +00:00
Ted Lemon
29df0fcc07 dhcp-class-identifier -> vendor-class-identifier. 1999-03-16 00:46:46 +00:00
Ted Lemon
74f45f9642 Sync with 2.0b1pl16. Fix some pool allocation problems. 1999-02-25 23:30:43 +00:00
Ted Lemon
8ae2d59584 Change names of error functions to be more consistent. 1999-02-24 17:56:53 +00:00
Ted Lemon
d2bc90bd80 Pull up recent 2.0 changes. 1999-02-14 19:04:05 +00:00
Ted Lemon
5bb74e19bc Get rid of ad-hoc option priority list. 1998-11-05 18:44:41 +00:00
Ted Lemon
383a87e2e3 Add server option universe. Install dhcp option universe set function. 1998-06-25 03:09:09 +00:00
Ted Lemon
e9a37ce5d0 Add agent option universe. 1998-04-19 23:20:06 +00:00
Ted Lemon
69858972fd Clean up unsigned char vs. signed char discrepencies. 1998-03-16 06:17:37 +00:00
Ted Lemon
db0ddc4f27 name-servers -> ien116-name-servers, to reduce confusion. Add nds- options 1997-05-09 08:13:38 +00:00
Ted Lemon
daffaf5e68 Allow users to specify vendor-encapsulated-options as a string of hex digits 1997-03-29 00:06:50 +00:00
Ted Lemon
a410588238 Add unknown options to end of option priority list 1996-09-11 06:34:25 +00:00
Ted Lemon
968d1ceb52 All unnamed options now take the X format, which means either an ASCII string or a series of hexadecimal octets seperated by colons. 1996-09-04 07:07:52 +00:00
Ted Lemon
575dff37f5 Put hostname in default reply list 1996-08-28 01:40:28 +00:00
Ted Lemon
04a2378320 Support for token ring hardware type 1996-08-27 09:55:25 +00:00
Ted Lemon
8def161873 Change parse specification for dhcp-class-identifier option; don't use a period in ieee802.3-encapsulation option name 1996-06-01 00:30:02 +00:00
Ted Lemon
e9776a952a Fix copyright 1996-05-20 00:29:43 +00:00