]>
git.ipfire.org Git - thirdparty/dhcp.git/log
Ted Lemon [Tue, 20 Jun 2000 19:40:53 +0000 (19:40 +0000)]
Don't ignore Makefile anymore.
Ted Lemon [Mon, 12 Jun 2000 22:25:55 +0000 (22:25 +0000)]
Use mkdep rather than makedepend
Ted Lemon [Mon, 12 Jun 2000 22:22:09 +0000 (22:22 +0000)]
Clean up a possible memory smash in the binding code.
Ted Lemon [Mon, 12 Jun 2000 22:20:43 +0000 (22:20 +0000)]
- Clean up some edge cases when a lease is requested that's shorter than
mclt or tsfp.
Ted Lemon [Mon, 12 Jun 2000 20:25:37 +0000 (20:25 +0000)]
Initialize the dhcp_type_host type definition.
Ted Lemon [Mon, 12 Jun 2000 20:19:21 +0000 (20:19 +0000)]
Fix a couple of problems with the ack and update queue code.
Ted Lemon [Mon, 12 Jun 2000 20:14:16 +0000 (20:14 +0000)]
Fix a bunch of problems in calling clone_grpup.
Ted Lemon [Mon, 12 Jun 2000 20:12:13 +0000 (20:12 +0000)]
- Make ON_ACK_QUEUE and ON_UPDATE_QUEUE persistent (fixes a problem with
queuing updates during communications_interrupted).
Ted Lemon [Mon, 12 Jun 2000 20:08:56 +0000 (20:08 +0000)]
- Fix interface_dummy to notice reference error.
- Fix interface parser to zero interface pointer before using it.
Ted Lemon [Sat, 10 Jun 2000 17:55:11 +0000 (17:55 +0000)]
Make dhcp_failover_make_option prototype consistent with declaration.
Ted Lemon [Fri, 9 Jun 2000 23:07:56 +0000 (23:07 +0000)]
Add a missing store that was masked by the i386 calling conventions.
Ted Lemon [Fri, 9 Jun 2000 18:26:59 +0000 (18:26 +0000)]
Make a special case for NetBSD/arm32.
Ted Lemon [Thu, 8 Jun 2000 21:29:02 +0000 (21:29 +0000)]
Fix up handling of failover peer disconnects.
Ted Lemon [Thu, 8 Jun 2000 21:25:47 +0000 (21:25 +0000)]
Don't log 'late' ICMP echo replies for failover leases.
Ted Lemon [Thu, 8 Jun 2000 21:22:48 +0000 (21:22 +0000)]
- Don't force the lease to be default-lease-time seconds long if
the client requested a lease shorter than MCLT of a failover peer.
Ted Lemon [Thu, 8 Jun 2000 21:20:00 +0000 (21:20 +0000)]
- Correctly check the result of make_concat (thanks to Scott Reynolds).
This fixes a long-standing 3.0 problem where more than one fixed
address declaration in a host declaration would not be honored.
Ted Lemon [Thu, 8 Jun 2000 21:14:16 +0000 (21:14 +0000)]
- Fix a mistake that was causing the fallback interface not to be used (thanks
to Christof Chen for catching this!)
Ted Lemon [Wed, 7 Jun 2000 00:32:55 +0000 (00:32 +0000)]
Allow reject reason and message in BNDACK messages.
Ted Lemon [Wed, 7 Jun 2000 00:28:21 +0000 (00:28 +0000)]
Don't use dhcp_lease_free unless COMPACT_LEASES is defined.
Ted Lemon [Wed, 7 Jun 2000 00:15:53 +0000 (00:15 +0000)]
- Get rid of the obnoxious doubly-linked list and seperate timeout queue
and just make six lists with six kinds of leases sorted as timeout queues.
Ted Lemon [Wed, 7 Jun 2000 00:05:17 +0000 (00:05 +0000)]
- Break ack queue chain when a lease is removed from the ack queue, so that
its successor doesn't wind up back on the update queue when the lease is
next updated.
- Print the reject reason when a BNDACK includes one, but still remove the
lease from the update queue.
- Don't use the lease to send the BNDACK, since there may not be one locally.
- Support contact message, and inter-message-arrival timeouts.
Ted Lemon [Tue, 6 Jun 2000 23:59:18 +0000 (23:59 +0000)]
Fix a couple of core dumps. Don't DHCPNAK when peer haslease.
Ted Lemon [Tue, 6 Jun 2000 23:51:16 +0000 (23:51 +0000)]
Fix printf arg causing code to assume uid is NUL-terminated.
Ted Lemon [Tue, 6 Jun 2000 23:49:05 +0000 (23:49 +0000)]
Parse max_response_delay into the right variable.
Ted Lemon [Tue, 6 Jun 2000 23:47:27 +0000 (23:47 +0000)]
Account for possibility that io object has no inner object.
Ted Lemon [Tue, 6 Jun 2000 23:47:14 +0000 (23:47 +0000)]
Completely break connection to I/O object when connection is severed.
Ted Lemon [Tue, 6 Jun 2000 23:46:37 +0000 (23:46 +0000)]
Add hash_foreach, et al.
Ted Lemon [Sat, 3 Jun 2000 02:36:03 +0000 (02:36 +0000)]
Correctly handle the case where the matching pool is the first one.
Ted Lemon [Fri, 2 Jun 2000 21:27:21 +0000 (21:27 +0000)]
Rework DHCP lease state handling to be compatible with failover protocol.
Ted Lemon [Tue, 30 May 2000 21:43:42 +0000 (21:43 +0000)]
Fix a buffer overflow problem (not a security issue). Thanks to Joe.
Ted Lemon [Tue, 30 May 2000 21:17:04 +0000 (21:17 +0000)]
Initialize omapi before parsing command line.
Ted Lemon [Thu, 18 May 2000 20:21:43 +0000 (20:21 +0000)]
Fix a reference problem.
Ted Lemon [Wed, 17 May 2000 16:15:38 +0000 (16:15 +0000)]
Oops, fix declaration of casecmp.
Ted Lemon [Wed, 17 May 2000 16:04:26 +0000 (16:04 +0000)]
Fix up various platform-specific errors.
Ted Lemon [Wed, 17 May 2000 15:17:17 +0000 (15:17 +0000)]
Remove omapi.c/omapi.o from client build.
Ted Lemon [Tue, 16 May 2000 23:13:34 +0000 (23:13 +0000)]
Move common omapi support into common code.
Ted Lemon [Tue, 16 May 2000 23:11:42 +0000 (23:11 +0000)]
Move server-specific stuff away from common code.
Ted Lemon [Tue, 16 May 2000 23:03:49 +0000 (23:03 +0000)]
- 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.
Ted Lemon [Mon, 15 May 2000 15:47:11 +0000 (15:47 +0000)]
Oops, fix a past-o.
Ted Lemon [Mon, 15 May 2000 15:44:31 +0000 (15:44 +0000)]
Don't send the intro until we receive the connect signal.
Ted Lemon [Tue, 9 May 2000 03:11:11 +0000 (03:11 +0000)]
Fix some weird errors in failover external declarations.
Ted Lemon [Tue, 9 May 2000 03:06:49 +0000 (03:06 +0000)]
Get rid of SO_USELOOPBACK
Ted Lemon [Thu, 4 May 2000 18:58:16 +0000 (18:58 +0000)]
Implement pool request and response so that secondary can operate.
Ted Lemon [Wed, 3 May 2000 23:07:54 +0000 (23:07 +0000)]
Miscellaneous bug fixes.
Ted Lemon [Wed, 3 May 2000 23:05:37 +0000 (23:05 +0000)]
Don't use SO_USELOOPBACK
Ted Lemon [Wed, 3 May 2000 23:04:43 +0000 (23:04 +0000)]
Rename a variable to avoid an AIX-specific predefined manifest constant.
Ted Lemon [Wed, 3 May 2000 23:03:50 +0000 (23:03 +0000)]
- 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.
Ted Lemon [Wed, 3 May 2000 22:57:42 +0000 (22:57 +0000)]
Adjust call to allocate_lease().
Ted Lemon [Wed, 3 May 2000 22:56:56 +0000 (22:56 +0000)]
Add flags to indicate the failover queue a least is on.
Ted Lemon [Wed, 3 May 2000 07:01:16 +0000 (07:01 +0000)]
Fix an unitialized pointer reference.
Ted Lemon [Wed, 3 May 2000 06:43:26 +0000 (06:43 +0000)]
More infrastructure, bug fixes: servers are talking.
Ted Lemon [Wed, 3 May 2000 06:34:13 +0000 (06:34 +0000)]
Queue failover update on lease commit. Write all states on startup.
Ted Lemon [Wed, 3 May 2000 06:32:09 +0000 (06:32 +0000)]
Update copyright message.
Ted Lemon [Wed, 3 May 2000 06:29:15 +0000 (06:29 +0000)]
Don't be so eager to respond to DHCPREQUEST messages with failover.
Ted Lemon [Wed, 3 May 2000 06:23:05 +0000 (06:23 +0000)]
Add write_failover_state.
Ted Lemon [Wed, 3 May 2000 06:19:29 +0000 (06:19 +0000)]
Parse failover state out of lease database.
Ted Lemon [Wed, 3 May 2000 06:18:03 +0000 (06:18 +0000)]
Get rid of SO_USELOOPBACK.
Ted Lemon [Wed, 3 May 2000 06:15:31 +0000 (06:15 +0000)]
- Fix up reference counting of io object chain.
- Add omapi_unregister_io_object.
Ted Lemon [Wed, 3 May 2000 06:12:28 +0000 (06:12 +0000)]
Get rid of SO_USELOOPBACK. Use omapi_unregister_io_object.
Ted Lemon [Wed, 3 May 2000 06:11:29 +0000 (06:11 +0000)]
Add omapi_unregister_io_object prototype.
Ted Lemon [Wed, 3 May 2000 06:09:36 +0000 (06:09 +0000)]
invalid_state -> unknown_state. Define reject reasons.
Ted Lemon [Wed, 3 May 2000 06:05:44 +0000 (06:05 +0000)]
Add some new prototypes.
Ted Lemon [Wed, 3 May 2000 05:59:03 +0000 (05:59 +0000)]
Add 'extern' to two declarations.
Ted Lemon [Wed, 3 May 2000 05:56:28 +0000 (05:56 +0000)]
Add unknown-state and potential-conflict-nic
Ted Lemon [Tue, 2 May 2000 00:25:10 +0000 (00:25 +0000)]
Add some server options.
Ted Lemon [Tue, 2 May 2000 00:17:30 +0000 (00:17 +0000)]
- 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).
Ted Lemon [Tue, 2 May 2000 00:11:49 +0000 (00:11 +0000)]
- Add equivalent config-file options for command-line options.
- Start the failover protocol if enabled.
Ted Lemon [Tue, 2 May 2000 00:00:08 +0000 (00:00 +0000)]
Add support for the load balancing portion of the failover protocol.
Ted Lemon [Mon, 1 May 2000 23:57:51 +0000 (23:57 +0000)]
Fix failover state parsing.
Ted Lemon [Mon, 1 May 2000 23:52:05 +0000 (23:52 +0000)]
Fix a stupid pasto in make_int_value. Add make_uint_value.
Ted Lemon [Mon, 1 May 2000 23:51:05 +0000 (23:51 +0000)]
Add a call for listening on a specific IP address.
Ted Lemon [Mon, 1 May 2000 23:50:16 +0000 (23:50 +0000)]
- 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.
Ted Lemon [Mon, 1 May 2000 23:47:08 +0000 (23:47 +0000)]
Add support for omapi_addr_list_t.
Ted Lemon [Mon, 1 May 2000 23:46:39 +0000 (23:46 +0000)]
Use the zone from which we got the tsig key for the update as well.
Ted Lemon [Mon, 1 May 2000 23:45:41 +0000 (23:45 +0000)]
Add a cookie identifying the zone that was found during tsig key lookup.
Ted Lemon [Mon, 1 May 2000 23:44:34 +0000 (23:44 +0000)]
Put address list scan state info into connection object.
Ted Lemon [Mon, 1 May 2000 23:43:31 +0000 (23:43 +0000)]
Add support for new address list type, and for new connect and listen APIs.
Ted Lemon [Mon, 1 May 2000 23:42:49 +0000 (23:42 +0000)]
Add prototypes for minires callouts to DHCP library.
Ted Lemon [Mon, 1 May 2000 23:41:46 +0000 (23:41 +0000)]
Add load, balance, token_max, seconds and address tokens.
Ted Lemon [Mon, 1 May 2000 23:40:15 +0000 (23:40 +0000)]
Add some missing data structures to the failover_state structure.
Ted Lemon [Mon, 1 May 2000 23:39:22 +0000 (23:39 +0000)]
Add some server options. Prototype new failover functions.
Ted Lemon [Mon, 1 May 2000 23:31:49 +0000 (23:31 +0000)]
Allow a local address to be specified (so I can run two servers at once).
Ted Lemon [Mon, 1 May 2000 23:26:38 +0000 (23:26 +0000)]
Add partial support for caching zone information.
Ted Lemon [Mon, 1 May 2000 17:31:19 +0000 (17:31 +0000)]
Move binding address values into discover.c
Ted Lemon [Mon, 1 May 2000 17:25:36 +0000 (17:25 +0000)]
Add load, balance, token_max, seconds and address tokens.
Ted Lemon [Mon, 1 May 2000 17:17:25 +0000 (17:17 +0000)]
Fix setting of hostname.
Ted Lemon [Mon, 1 May 2000 17:15:23 +0000 (17:15 +0000)]
Add persist flag to stop the client from exiting if no interfaces are found.
Ted Lemon [Mon, 1 May 2000 17:11:36 +0000 (17:11 +0000)]
Document the -w option.
Ted Lemon [Thu, 20 Apr 2000 01:34:32 +0000 (01:34 +0000)]
Look for cached zones before doing a query.
Ted Lemon [Thu, 20 Apr 2000 00:58:16 +0000 (00:58 +0000)]
Add a prototype for find_cached_zone.
Ted Lemon [Thu, 20 Apr 2000 00:57:57 +0000 (00:57 +0000)]
Make a typedef for the hash comparator function.
Ted Lemon [Thu, 20 Apr 2000 00:57:15 +0000 (00:57 +0000)]
Correct prototype for find_cached_zone.
Ted Lemon [Thu, 20 Apr 2000 00:56:56 +0000 (00:56 +0000)]
If a DNS name is specified with a trailing '.', remember it.
Ted Lemon [Thu, 20 Apr 2000 00:56:20 +0000 (00:56 +0000)]
Cast memcmp, for operating systems that aren't following the latest POSIX.
Ted Lemon [Thu, 20 Apr 2000 00:55:51 +0000 (00:55 +0000)]
Customize find_cached_zone for resolver.
Ted Lemon [Tue, 18 Apr 2000 23:02:09 +0000 (23:02 +0000)]
Include if_ether.h to get definition of ETHERTYPE_IP.
Ted Lemon [Fri, 14 Apr 2000 16:28:07 +0000 (16:28 +0000)]
Keep dns update records around if deletes fail.
Ted Lemon [Fri, 14 Apr 2000 16:26:37 +0000 (16:26 +0000)]
Fix a signed vs. unsigned char * problem. Allow semicolon after key.
Ted Lemon [Fri, 14 Apr 2000 16:24:05 +0000 (16:24 +0000)]
Fix pasto.
Ted Lemon [Fri, 14 Apr 2000 16:22:04 +0000 (16:22 +0000)]
Fix some typos. Don't call the token ring decoder for FDDI.