2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 22:05:23 +00:00
Commit Graph

2194 Commits

Author SHA1 Message Date
Ted Lemon
ac3ecc7f38 Adjust call to allocate_lease(). 2000-05-03 22:57:42 +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
84fe3bd0c1 Fix an unitialized pointer reference. 2000-05-03 07:01:16 +00:00
Ted Lemon
9f3da356fd More infrastructure, bug fixes: servers are talking. 2000-05-03 06:43:26 +00:00
Ted Lemon
f9cda22163 Queue failover update on lease commit. Write all states on startup. 2000-05-03 06:34:13 +00:00
Ted Lemon
4338d782ce Update copyright message. 2000-05-03 06:32:09 +00:00
Ted Lemon
f39c1b92aa Don't be so eager to respond to DHCPREQUEST messages with failover. 2000-05-03 06:29:15 +00:00
Ted Lemon
26b44cabef Add write_failover_state. 2000-05-03 06:23:05 +00:00
Ted Lemon
a4ba31607a Parse failover state out of lease database. 2000-05-03 06:19:29 +00:00
Ted Lemon
58a95d9dfd Get rid of SO_USELOOPBACK. 2000-05-03 06:18:03 +00:00
Ted Lemon
b6237fb286 - Fix up reference counting of io object chain.
- Add omapi_unregister_io_object.
2000-05-03 06:15:31 +00:00
Ted Lemon
d86ec998a2 Get rid of SO_USELOOPBACK. Use omapi_unregister_io_object. 2000-05-03 06:12:28 +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
e47dc45a83 Add 'extern' to two declarations. 2000-05-03 05:59:03 +00:00
Ted Lemon
822e866add Add unknown-state and potential-conflict-nic 2000-05-03 05:56:28 +00:00
Ted Lemon
049b235608 Add some server options. 2000-05-02 00:25:10 +00:00
Ted Lemon
85a537351f - Support load balancing.
- Actually start the failover protocol.
- Fixes to get the protocol to the point of a completed handshake.
- Initial failover state machine (needs work yet).
2000-05-02 00:17:30 +00:00
Ted Lemon
ece9e253c5 - Add equivalent config-file options for command-line options.
- Start the failover protocol if enabled.
2000-05-02 00:11:49 +00:00
Ted Lemon
150cedd0a1 Add support for the load balancing portion of the failover protocol. 2000-05-02 00:00:08 +00:00
Ted Lemon
e96232350d Fix failover state parsing. 2000-05-01 23:57:51 +00:00
Ted Lemon
e598929f6d Fix a stupid pasto in make_int_value. Add make_uint_value. 2000-05-01 23:52:05 +00:00
Ted Lemon
85e9641dc8 Add a call for listening on a specific IP address. 2000-05-01 23:51:05 +00:00
Ted Lemon
fc24e951a2 - Make the connect system call asynchronous.
- Add a new call that takes a list of addresses of arbitrary types,
  rather than just IPv4 addresses.
- Allow caller to also specify a local address to which to bind before
  connecting.
2000-05-01 23:50:16 +00:00
Ted Lemon
df9ff0a119 Add support for omapi_addr_list_t. 2000-05-01 23:47:08 +00:00
Ted Lemon
b7137154ca Use the zone from which we got the tsig key for the update as well. 2000-05-01 23:46:39 +00:00
Ted Lemon
2e987b1e46 Add a cookie identifying the zone that was found during tsig key lookup. 2000-05-01 23:45:41 +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
Ted Lemon
e3160920d9 Add prototypes for minires callouts to DHCP library. 2000-05-01 23:42:49 +00:00
Ted Lemon
34bc835a94 Add load, balance, token_max, seconds and address tokens. 2000-05-01 23:41:46 +00:00
Ted Lemon
f3886ff38c Add some missing data structures to the failover_state structure. 2000-05-01 23:40:15 +00:00
Ted Lemon
aa8579c0f5 Add some server options. Prototype new failover functions. 2000-05-01 23:39:22 +00:00
Ted Lemon
d92a27a77c Allow a local address to be specified (so I can run two servers at once). 2000-05-01 23:31:49 +00:00
Ted Lemon
7f56c004ba Add partial support for caching zone information. 2000-05-01 23:26:38 +00:00
Ted Lemon
38287932f1 Move binding address values into discover.c 2000-05-01 17:31:19 +00:00
Ted Lemon
ff56f1d950 Add load, balance, token_max, seconds and address tokens. 2000-05-01 17:25:36 +00:00
Ted Lemon
9f56e43728 Fix setting of hostname. 2000-05-01 17:17:25 +00:00
Ted Lemon
134ceef89f Add persist flag to stop the client from exiting if no interfaces are found. 2000-05-01 17:15:23 +00:00
Ted Lemon
36cbbce63e Document the -w option. 2000-05-01 17:11:36 +00:00
Ted Lemon
bd94178257 Look for cached zones before doing a query. 2000-04-20 01:34:32 +00:00
Ted Lemon
47c710c1a7 Add a prototype for find_cached_zone. 2000-04-20 00:58:16 +00:00
Ted Lemon
e67f832279 Make a typedef for the hash comparator function. 2000-04-20 00:57:57 +00:00
Ted Lemon
29a026dbfa Correct prototype for find_cached_zone. 2000-04-20 00:57:15 +00:00
Ted Lemon
88ab5737a7 If a DNS name is specified with a trailing '.', remember it. 2000-04-20 00:56:56 +00:00
Ted Lemon
086c7f65c6 Cast memcmp, for operating systems that aren't following the latest POSIX. 2000-04-20 00:56:20 +00:00
Ted Lemon
fcd404f5f8 Customize find_cached_zone for resolver. 2000-04-20 00:55:51 +00:00
Ted Lemon
90c12ec384 Include if_ether.h to get definition of ETHERTYPE_IP. 2000-04-18 23:02:09 +00:00
Ted Lemon
dd48f2820a Keep dns update records around if deletes fail. 2000-04-14 16:28:07 +00:00