2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 13:57:50 +00:00

1205 Commits

Author SHA1 Message Date
Ted Lemon
5fac73d638 Only do new-style ddns updates if that style is enabled. 2000-12-29 06:48:14 +00:00
Ted Lemon
3c8073547f - Partially document new DDNS code.
- Move the DDNS parameters to where all the other parameters are documented,
  and document the new parameters.
2000-12-29 05:10:41 +00:00
Ted Lemon
4bcdb16d41 Fix a case where leases could wind up with too many references. 2000-12-28 23:34:08 +00:00
Ted Lemon
a25a18d772 Document lease abandonment and reallocation. 2000-12-28 23:29:47 +00:00
Ted Lemon
4f76762762 - If we receive a dhcp-server-identifier option in a DHCPREQUEST, print it
in the log.
- Fix abandoned lease reclamation.
- Do correct reference counting when doing one-lease-per-client.
2000-12-28 23:28:17 +00:00
Ted Lemon
0598e123df Tweak the way the dhcid is computed. 2000-12-28 23:23:46 +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
38d717583a Don't blow away bindings and such when releasing or abandoning leases. 2000-12-05 07:32:26 +00:00
Ted Lemon
f229bd4c1d Don't do the DNS update for static hosts. 2000-12-05 07:30:37 +00:00
Ted Lemon
c6708cba5c Remember lease flags when doing the commit routine. 2000-12-05 07:21:31 +00:00
Ted Lemon
c8ba1c796a Fix up RAS examples 2000-11-30 14:15:41 +00:00
Ted Lemon
1d8b8d992a Restore code that was removed for debugging and accidentally committed. 2000-11-30 14:04:06 +00:00
Ted Lemon
a1249be66f Fix a missing eol quote in nsupdate routine. 2000-11-29 05:35:02 +00:00
Ted Lemon
e7c318f41b Remove bogus reminder 2000-11-28 23:50:01 +00:00
Ted Lemon
9e3831637a Pass client state to eval functions. Lots of other stuff. 2000-11-28 23:27:24 +00:00
Ted Lemon
812022ffd6 Add in a couple of missing break statements. 2000-11-24 04:19:05 +00:00
Damien Neil
2e3e0f9214 Fixed OMAPI lookups based on hardware-address. The hardware type
is now specified via the hardware-type field.
2000-10-20 01:01:41 +00:00
Ted Lemon
bca944231b Disable unicast broadcast hack, but leave a place for it to be configured. 2000-10-13 18:58:12 +00:00
Ted Lemon
f07d12c622 Fix documentation for address statement in peer declaration. 2000-10-11 08:00:30 +00:00
Ted Lemon
e929278f0b Fix up universe initializations, and define vendor_cfg_option global. 2000-10-10 23:09:17 +00:00
Ted Lemon
9030b3137f Get rid of all the special-case encapsulations. 2000-10-10 23:07:24 +00:00
Ted Lemon
63b935b669 Fix up calls to cons_options. 2000-10-10 23:01:05 +00:00
Ted Lemon
f717263951 Add object initializer support. Fix off-by-one bug in host stuffer. 2000-10-10 19:14:37 +00:00
Ted Lemon
8c63dd893f - Don't return information on the lease that's not present on the lease.
- Don't freak out when the client sends back information that's not settable.
2000-10-01 21:46:24 +00:00
Ted Lemon
eaa84150fd Re-apply part of 1.24 that was accidentally voided by 1.25 2000-09-30 01:31:09 +00:00
Ted Lemon
c2722890d6 Might as well have a syntactically correct configuration file. 2000-09-30 01:25:29 +00:00
Ted Lemon
8998f8dff8 Don't print silly error messages 2000-09-29 22:04:35 +00:00
Ted Lemon
e6e1cb3ddd Remove incorrect documentation of known/unknown handling. 2000-09-29 20:02:16 +00:00
Ted Lemon
36b1ebcf05 Byte-swap incoming integer data. 2000-09-29 18:22:05 +00:00
Ted Lemon
8e775b7b6d Don't enter leases that don't have subnets. 2000-09-29 18:21:33 +00:00
Ted Lemon
874031aa9d Document change to support match with alongside match/spawn with. 2000-09-29 18:21:09 +00:00
Ted Lemon
5612020366 Support match with alongside match/spawn with. 2000-09-29 18:20:26 +00:00
Ted Lemon
5b5fcc81df Use global scope when there's no lease in check_collection. 2000-09-29 00:55:53 +00:00
Ted Lemon
eadee39698 Panic commit. 2000-09-27 23:37:44 +00:00
Ted Lemon
380da6c0dc Fix misnamed function call. 2000-09-20 10:13:43 +00:00
Ted Lemon
db6960a7fa - When partner disconnects (or stops responding to keepalives), try
to reconnect.
2000-09-20 09:06:39 +00:00
Ted Lemon
b767664ec3 Don't spawn with zero-length strings. 2000-09-20 09:03:59 +00:00
Ted Lemon
012c41434c Fix an oversight in the htype+haddr->hbuf conversion 2000-09-20 00:06:04 +00:00
Ted Lemon
86ec3f8cd4 Use lt -> scope, not lease -> scope, which is probably empty. 2000-09-14 12:15:33 +00:00
Ted Lemon
c76aff911e - Put back the code that checks the server configuration for the
dhcp-max-message-size option, which was apparently lost in the
  transition from 2.0 to 3.0.
2000-09-12 20:09:14 +00:00
Ted Lemon
72c7d498a2 Don't reference one group on top of another. 2000-09-08 01:34:30 +00:00
Ted Lemon
3d789c2314 - Remove a bogus enhancement to lease NAK code.
- Always exit dhcprequest() through out: label.
2000-09-08 01:23:43 +00:00
Ted Lemon
a19e8a454b Allocate class with class_allocate, not dmalloc. 2000-09-06 20:26:13 +00:00
Ted Lemon
de8dfadfb6 Fix a core dump when a listen address is not specified (Joseph Breu). 2000-09-04 22:32:34 +00:00
Ted Lemon
c8d29f1b33 Never record a state of 'startup.' 2000-09-04 22:28:38 +00:00
Ted Lemon
59d36179e5 Document failover and TSIG 2000-09-02 00:57:34 +00:00
Ted Lemon
addb00afe9 Adjust the URL to which people are referred. 2000-09-01 23:06:37 +00:00
Ted Lemon
06d3e39480 Undo wrong-headed update to match parser. 2000-09-01 19:35:38 +00:00
Ted Lemon
3acf1dca2e Don't even try to do billing on static leases. 2000-09-01 18:30:36 +00:00
Ted Lemon
d9539882ba Explicitly handle some impossible states. 2000-09-01 17:22:48 +00:00