2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-27 20:38:10 +00:00

387 Commits

Author SHA1 Message Date
Ted Lemon
2f7ca09230 Publicize some function declarations. 2001-01-11 02:15:31 +00:00
Ted Lemon
26cb4b2d7c Add define for client-updates configuration variable. 2001-01-08 08:22:35 +00:00
Ted Lemon
de427245f2 - Globalize resolver state.
- Add an unset function for unsetting variables.
2001-01-03 23:50:13 +00:00
Ted Lemon
dbcc689ea5 Add externs for enumerations and ddns styles. 2000-12-29 06:47:06 +00:00
Ted Lemon
8bed305da3 Prototype interface_setup (). 2000-12-28 23:21:35 +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
159bcce309 Fix prototypes 2000-11-28 23:30:06 +00:00
Ted Lemon
6f56b7e293 Fix up and add prototypes. 2000-11-24 04:13:12 +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
b2398d9738 Update zone caching prototypes 2000-10-12 09:00:33 +00:00
Ted Lemon
432604c33a Add vendor_space_name to client_config. Lots of prototypes. 2000-10-10 22:56:25 +00:00
Ted Lemon
af380050fc Add some prototypes. 2000-09-01 23:08:07 +00:00
Ted Lemon
8d3aec71d3 Add more prototypes 2000-08-31 04:38:36 +00:00
Damien Neil
1b234d446f Finished up function call support. 2000-08-28 19:36:39 +00:00
Ted Lemon
c489f07560 Add declarations for all kinds of cool new failover functions. 2000-08-24 18:31:36 +00:00
Damien Neil
49146f3c15 Added authentication support. The tsig_key structure has been renamed
to auth_key and moved into libomapi.  libomapi now depends on libres,
which contains the data signing routines.
2000-08-03 21:00:41 +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
Damien Neil
c8d531a6f9 Moved convert.c from libdhcp to libomapi. (libomapi should not depend
on libdhcp.)
2000-08-01 22:34:36 +00:00
Ted Lemon
6ceb9118e9 Reference count binding scopes. Align IP headers on output. 2000-07-27 09:03:08 +00:00
Ted Lemon
32a4756333 Initialize the environment rather than using temporary client scripts. 2000-07-20 00:53:24 +00:00
Ted Lemon
932d739c4d Update prototypes. 2000-07-06 22:44:57 +00:00
Ted Lemon
7ea8b20777 Declare lease states in dhcpd.h. 2000-07-06 10:06:21 +00:00
Ted Lemon
875d2b66d8 Update prototypes 2000-07-05 09:15:08 +00:00
Ted Lemon
626ca6a2c1 Add an omapi port config parameter to client config structure. 2000-06-24 06:23:57 +00:00
Ted Lemon
57c8fdd799 Fix up the declaration for the failover_link allocator. 2000-06-20 20:03:42 +00:00
Ted Lemon
2aac431201 - Make ON_ACK_QUEUE and ON_UPDATE_QUEUE persistent (fixes a problem with
queuing updates during communications_interrupted).
2000-06-12 20:12:13 +00:00
Ted Lemon
72896e9f57 Make dhcp_failover_make_option prototype consistent with declaration. 2000-06-10 17:55:11 +00:00
Ted Lemon
d0411fbd4d Add hash_foreach, et al. 2000-06-06 23:46:37 +00:00
Ted Lemon
007e3ee4df Rework DHCP lease state handling to be compatible with failover protocol. 2000-06-02 21:27:21 +00:00
Ted Lemon
165bce70b2 Fix up various platform-specific errors. 2000-05-17 16:04:26 +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
76d5bd36c8 Fix some weird errors in failover external declarations. 2000-05-09 03:11:11 +00:00
Ted Lemon
8c8e27c53e Implement pool request and response so that secondary can operate. 2000-05-04 18:58:16 +00:00
Ted Lemon
f9d43a9a2d Add flags to indicate the failover queue a least is on. 2000-05-03 22:56:56 +00:00
Ted Lemon
a7982987d7 Add some new prototypes. 2000-05-03 06:05:44 +00:00
Ted Lemon
aa8579c0f5 Add some server options. Prototype new failover functions. 2000-05-01 23:39:22 +00:00
Ted Lemon
29a026dbfa Correct prototype for find_cached_zone. 2000-04-20 00:57:15 +00:00
Ted Lemon
a59ea078bf Move tsig_key declaration above client_lease declaration. 2000-04-06 22:08:27 +00:00
Ted Lemon
eb1aa66842 Fix typo. 2000-04-06 19:12:17 +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
3f09cb5abb New prototypes for zone and tsig key functions, client release function. 2000-03-06 23:23:47 +00:00
Ted Lemon
bdcaf7b95d Incorporate Brian Murrell's new OMAPI DHCP client changes. 2000-02-15 20:40:36 +00:00
Ted Lemon
664ec1de54 Prototype function definition allocator/destructor. 2000-02-15 19:43:12 +00:00
Ted Lemon
5bc2e1f204 Figure out MS_NULL_TERMINATION _really_ early. 2000-02-07 05:12:20 +00:00
Ted Lemon
17a10efe23 Add untyped expression evaluator and support for typed values. 2000-02-05 17:42:37 +00:00
Ted Lemon
e6e36dea92 Get rid of alphaosf workaround - found a better one. 2000-02-03 03:50:08 +00:00
Ted Lemon
588af26930 Support parsing of configuration options in generic blocks. 2000-02-02 17:10:43 +00:00
Ted Lemon
c7315f8d75 Use our own copy of the resolver (shudder). 2000-02-02 05:41:32 +00:00