Ted Lemon
007e3ee4df
Rework DHCP lease state handling to be compatible with failover protocol.
2000-06-02 21:27:21 +00:00
Ted Lemon
7bb809483c
Fix a buffer overflow problem (not a security issue). Thanks to Joe.
2000-05-30 21:43:42 +00:00
Ted Lemon
67569fa648
Initialize omapi before parsing command line.
2000-05-30 21:17:04 +00:00
Ted Lemon
a79ed92bce
Fix a reference problem.
2000-05-18 20:21:43 +00:00
Ted Lemon
b66a1a7286
Oops, fix declaration of casecmp.
2000-05-17 16:15:38 +00:00
Ted Lemon
165bce70b2
Fix up various platform-specific errors.
2000-05-17 16:04:26 +00:00
Ted Lemon
1dad22d82a
Remove omapi.c/omapi.o from client build.
2000-05-17 15:17:17 +00:00
Ted Lemon
0e29870ccd
Move common omapi support into common code.
2000-05-16 23:13:34 +00:00
Ted Lemon
7ebd047de8
Move server-specific stuff away from common code.
2000-05-16 23:11:42 +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
7deff07643
Oops, fix a past-o.
2000-05-15 15:47:11 +00:00
Ted Lemon
ffc0586664
Don't send the intro until we receive the connect signal.
2000-05-15 15:44:31 +00:00
Ted Lemon
76d5bd36c8
Fix some weird errors in failover external declarations.
2000-05-09 03:11:11 +00:00
Ted Lemon
6c25ecec2e
Get rid of SO_USELOOPBACK
2000-05-09 03:06:49 +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
25a69ca115
Miscellaneous bug fixes.
2000-05-03 23:07:54 +00:00
Ted Lemon
3bd7d53fec
Don't use SO_USELOOPBACK
2000-05-03 23:05:37 +00:00
Ted Lemon
49e2576bf2
Rename a variable to avoid an AIX-specific predefined manifest constant.
2000-05-03 23:04:43 +00:00
Ted Lemon
3322568782
- Add argument to allocate_lease to notice if the failover peer has
...
all the leases.
- Improve some error messages.
- Don't respond with leases owned by peer.
2000-05-03 23:03:50 +00:00
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