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

963 Commits

Author SHA1 Message Date
Ted Lemon
cf06713c94 Don't print failover debug messages by default. 2000-09-02 00:12:38 +00:00
Ted Lemon
af380050fc Add some prototypes. 2000-09-01 23:08:07 +00:00
Ted Lemon
b40955450c Add new tokens 2000-08-31 15:47:40 +00:00
Ted Lemon
fcbeefb3ba Move state information common to both peers into a common structure. 2000-08-31 04:40:05 +00:00
Ted Lemon
275082ddad Support ISC_R_INCOMPLETE for partial connects. 2000-08-31 04:39:18 +00:00
Ted Lemon
8d3aec71d3 Add more prototypes 2000-08-31 04:38:36 +00:00
Damien Neil
3c98e80b46 Added binary operators: & | ^. 2000-08-28 21:22:41 +00:00
Damien Neil
1b234d446f Finished up function call support. 2000-08-28 19:36:39 +00:00
Ted Lemon
ea2169d422 - Add support for some new states from the 07 draft.
- Add a service state, which is required to handle the 'startup' state
  and makes a lot of other code outside of failover.c a lot cleaner.
2000-08-24 18:34:45 +00:00
Ted Lemon
c489f07560 Add declarations for all kinds of cool new failover functions. 2000-08-24 18:31:36 +00:00
Ted Lemon
5965f2a0a6 potential-conflict-nic -> resolution_interrupted, per draft-07. 2000-08-24 18:28:38 +00:00
Damien Neil
e7a9c29390 Added log() statement to allow logging from config files. 2000-08-22 21:51:39 +00:00
Ted Lemon
4b63c26ef8 Use unsigned char instead of u_char. 2000-08-17 19:43:04 +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
47082c658b Enforce proper alignment of packet buffers. 2000-07-17 20:54:12 +00:00
Ted Lemon
0a1f401de2 Disable debugging in production code. 2000-07-06 22:45:27 +00:00
Ted Lemon
932d739c4d Update prototypes. 2000-07-06 22:44:57 +00:00
Ted Lemon
0b1e395f13 Adjust arguments to omapi_object_type_register 2000-07-06 22:37:53 +00:00
Ted Lemon
561f93bac6 Disable failover by default. 2000-07-06 10:08:14 +00:00
Ted Lemon
7ea8b20777 Declare lease states in dhcpd.h. 2000-07-06 10:06:21 +00:00
Ted Lemon
1fbc2371d1 Fix res_findzonecut prototype. 2000-07-06 06:21:50 +00:00
Ted Lemon
6b76288610 Enlarge default hash table size. 2000-07-06 06:21:29 +00:00
Ted Lemon
f0efccee58 Use compact leases by default. 2000-07-06 06:21:08 +00:00
Ted Lemon
875d2b66d8 Update prototypes 2000-07-05 09:15:08 +00:00
Ted Lemon
2ca7f8e68f Update prototypes 2000-07-05 07:21:54 +00:00
Ted Lemon
74aaf02718 Use mkstemp on freebsd... 2000-06-24 06:25:25 +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
9ea249af6e Add 'omapi' keyword 2000-06-24 06:17:55 +00:00
Ted Lemon
3fc9a0ef5e - When using sockets, enable CAN_RECEIVE_UNICAST_UNCONFIGURED so that
clients will not set the broadcast flag.   This helps with a specific
  kind of cable modem that doesn't support DHCP broadcast responses.
2000-06-20 20:27:37 +00:00
Ted Lemon
64928ad071 Take away some debugging, and always build nsupdate. 2000-06-20 20:05:02 +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
dc22b3875b Add omapi_unregister_io_object prototype. 2000-05-03 06:11:29 +00:00
Ted Lemon
999d7de695 invalid_state -> unknown_state. Define reject reasons. 2000-05-03 06:09:36 +00:00
Ted Lemon
a7982987d7 Add some new prototypes. 2000-05-03 06:05:44 +00:00
Ted Lemon
822e866add Add unknown-state and potential-conflict-nic 2000-05-03 05:56:28 +00:00
Ted Lemon
0a34ddfdfe Put address list scan state info into connection object. 2000-05-01 23:44:34 +00:00
Ted Lemon
40935cbfd6 Add support for new address list type, and for new connect and listen APIs. 2000-05-01 23:43:31 +00:00