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

2540 Commits

Author SHA1 Message Date
Ted Lemon
dbcc689ea5 Add externs for enumerations and ddns styles. 2000-12-29 06:47:06 +00:00
Ted Lemon
90439d6bfe Fix up internal documentation for option parse codes. 2000-12-29 06:46:23 +00:00
Ted Lemon
42c6a80350 Add support for parsing enumerations. 2000-12-29 06:45:49 +00:00
Ted Lemon
3a9992b455 Add support (not debugged) for printing enumerations. 2000-12-29 06:45:00 +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
Ted Lemon
f5985f55bf - Always decrement the reference count on an object before dereferencing it,
so that if there's a dangling pointer, it's caught at dereference time.
2000-12-28 23:22:43 +00:00
Ted Lemon
8bed305da3 Prototype interface_setup (). 2000-12-28 23:21:35 +00:00
Ted Lemon
3fdb840514 Correctly implement the subnet selection option. 2000-12-28 23:20:53 +00:00
Ted Lemon
aab30e3b02 Fix debug message for 'static' operator. 2000-12-28 23:20:28 +00:00
Ted Lemon
630786fcff - Fix typo in base64 table (Albert Herranz).
- Allow key names to be any valid domain name.
2000-12-28 23:18:36 +00:00
Ted Lemon
98a8d72e71 - Fix up a minor nit in the fqdn code.
- Consistently tack an end option onto any outgoing option buffer.
2000-12-28 23:16:19 +00:00
Ted Lemon
a034015fac Move interface code so that it doesn't pollute the relay agent. 2000-12-28 23:14:46 +00:00
Ted Lemon
e93c7089ca Account for word alignment of buffer returned by bpf. 2000-12-28 23:13:07 +00:00
Ted Lemon
fc303b3199 Oops, put a cvs tag on versions built from cvs 2000-12-13 21:49:24 +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
Damien Neil
8c3c655296 Properly add ".SIG-ALG.REG.INT." to OMAPI key algorithms. 2000-12-09 00:10:55 +00:00
Damien Neil
a323900510 Fix omapi_protocol_connect() to properly return ISC_R_INCOMPLETE
when necessary.  This should fix problems with forming OMAPI connections
to remote hosts.
2000-12-09 00:07:46 +00:00
Ted Lemon
580523b013 Fix compile warning on Tru64 2000-12-06 17:24:26 +00:00
Ted Lemon
0ddc49b5fb Maybe really really fix HP-UX build... 2000-12-05 16:45:41 +00:00
Ted Lemon
4adb894baf Maybe really fix HP-UX build... 2000-12-05 16:29:28 +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
2165f83f2a Add new tokens 2000-12-05 07:18:58 +00:00
Ted Lemon
2f98b84e37 Support unqualified signature algorithm names and base64 in quotes. 2000-12-05 07:15:16 +00:00
Ted Lemon
752214df9a Document client-state operator. 2000-12-05 07:13:16 +00:00
Ted Lemon
cf19946363 Add client state keywords. 2000-12-05 07:12:18 +00:00
Ted Lemon
c4232263d2 Maybe fix an HP-UX build problem. 2000-12-05 07:10:48 +00:00
Damien Neil
78c636eb93 Changed the variable 'n' in res_nmkupdate() from an unsigned to an int.
(There are circumstances under which a negative value may be assigned to
it.)  This mirrors the state of the BIND 8 code.
2000-12-02 00:10:20 +00:00
Damien Neil
81beacfb83 Added a case to handle log statements in write_statements(), avoiding
server death when log statements appear in commit or expiry clauses.
2000-12-02 00:04:22 +00:00
Ted Lemon
cfb8d21408 Fix up hp-ux config hacks. 2000-11-30 20:49:41 +00:00
Ted Lemon
eec641ca22 Word-align BPF buffers. 2000-11-30 18:12:56 +00:00
Ted Lemon
fa2dbe432d Add support for gcc on hp-ux V3-BETA-2-PATCH-11 2000-11-30 14:42:51 +00:00
Ted Lemon
c8ba1c796a Fix up RAS examples 2000-11-30 14:15:41 +00:00
Ted Lemon
6c68ec36b5 Update version and changelog 2000-11-30 14:14:42 +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
933384c5b9 Post-release version 2000-11-29 15:07:02 +00:00
Ted Lemon
9fd337e70e Update version and changelog V3-BETA-2-PATCH-10 2000-11-29 15:04:51 +00:00
Ted Lemon
8df547bf26 Fix an uninitialized variable reference 2000-11-29 13:38:36 +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
c514db8e98 Oops, fix ISC_R_NRESULTS. 2000-11-28 23:44:13 +00:00
Ted Lemon
6e0f9707d8 Make error codes for DNS errors. 2000-11-28 23:32:04 +00:00
Ted Lemon
2076acbe8a Add CLIENT_STATE token. 2000-11-28 23:30:17 +00:00
Ted Lemon
159bcce309 Fix prototypes 2000-11-28 23:30:06 +00:00
Ted Lemon
9e3831637a Pass client state to eval functions. Lots of other stuff. 2000-11-28 23:27:24 +00:00