]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
25 years agoFix some debugging code so it compiles on Solaris.
Ted Lemon [Thu, 29 Jun 2000 20:07:00 +0000 (20:07 +0000)] 
Fix some debugging code so it compiles on Solaris.

25 years agoPut some extra paranoia in logging subroutines.
Ted Lemon [Thu, 29 Jun 2000 20:05:18 +0000 (20:05 +0000)] 
Put some extra paranoia in logging subroutines.

25 years agoAdd support for gcc2-free BSD/os 4.1.
Ted Lemon [Thu, 29 Jun 2000 20:04:18 +0000 (20:04 +0000)] 
Add support for gcc2-free BSD/os 4.1.

25 years agoFix another signed vs. unsigned char pointer issue.
Ted Lemon [Thu, 29 Jun 2000 20:02:50 +0000 (20:02 +0000)] 
Fix another signed vs. unsigned char pointer issue.

25 years agoFix parameters for dynamic bootp lease limits.
Ted Lemon [Wed, 28 Jun 2000 23:35:45 +0000 (23:35 +0000)] 
Fix parameters for dynamic bootp lease limits.

25 years agoCorrectly quote shell meta-characters.
Ted Lemon [Wed, 28 Jun 2000 23:35:22 +0000 (23:35 +0000)] 
Correctly quote shell meta-characters.

25 years agoUse interface_allocate to allocate command-line interfaces.
Ted Lemon [Sat, 24 Jun 2000 16:13:19 +0000 (16:13 +0000)] 
Use interface_allocate to allocate command-line interfaces.

25 years agoFix a signed vs. unsigned char pointer mismatch.
Ted Lemon [Sat, 24 Jun 2000 06:31:51 +0000 (06:31 +0000)] 
Fix a signed vs. unsigned char pointer mismatch.

25 years agoFix an unprotected call to failover_print.
Ted Lemon [Sat, 24 Jun 2000 06:30:11 +0000 (06:30 +0000)] 
Fix an unprotected call to failover_print.

25 years agoDon't listen on an OMAPI port unless configured to do so.
Ted Lemon [Sat, 24 Jun 2000 06:28:27 +0000 (06:28 +0000)] 
Don't listen on an OMAPI port unless configured to do so.

25 years agoWhen debugging malloc on an object, be sure it has no special free routine.
Ted Lemon [Sat, 24 Jun 2000 06:27:04 +0000 (06:27 +0000)] 
When debugging malloc on an object, be sure it has no special free routine.

25 years agoUse mkstemp on freebsd...
Ted Lemon [Sat, 24 Jun 2000 06:25:25 +0000 (06:25 +0000)] 
Use mkstemp on freebsd...

25 years agoAdd an omapi port config parameter to client config structure.
Ted Lemon [Sat, 24 Jun 2000 06:23:57 +0000 (06:23 +0000)] 
Add an omapi port config parameter to client config structure.

25 years agoQuote shell special characters.
Ted Lemon [Sat, 24 Jun 2000 06:20:38 +0000 (06:20 +0000)] 
Quote shell special characters.

25 years agoMake the hash functions work usefully for hash table sizes >255.
Ted Lemon [Sat, 24 Jun 2000 06:19:13 +0000 (06:19 +0000)] 
Make the hash functions work usefully for hash table sizes >255.

25 years agoAdd 'omapi' keyword
Ted Lemon [Sat, 24 Jun 2000 06:17:55 +0000 (06:17 +0000)] 
Add 'omapi' keyword

25 years agoAllocate hash buckets in clumps. Fix a bug in a call to rc_register.
Ted Lemon [Sat, 24 Jun 2000 06:16:28 +0000 (06:16 +0000)] 
Allocate hash buckets in clumps.   Fix a bug in a call to rc_register.

25 years agoDon't listen on an OMAPI port unless one is specified in the config file.
Ted Lemon [Sat, 24 Jun 2000 06:02:01 +0000 (06:02 +0000)] 
Don't listen on an OMAPI port unless one is specified in the config file.

25 years agoParse an OMAPI port out of the config file.
Ted Lemon [Sat, 24 Jun 2000 05:53:35 +0000 (05:53 +0000)] 
Parse an OMAPI port out of the config file.

25 years agoTest for work.sysname, not just sysname.
Ted Lemon [Sat, 24 Jun 2000 05:49:24 +0000 (05:49 +0000)] 
Test for work.sysname, not just sysname.

25 years ago- Add some code to actually track down and report the I/O object that's
Ted Lemon [Tue, 20 Jun 2000 20:30:27 +0000 (20:30 +0000)] 
- Add some code to actually track down and report the I/O object that's
  producing a bad descriptor, and to try to shut it down.

25 years agoFix depend target. Don't echo building of links.
Ted Lemon [Tue, 20 Jun 2000 20:29:16 +0000 (20:29 +0000)] 
Fix depend target.   Don't echo building of links.

25 years ago- When using sockets, enable CAN_RECEIVE_UNICAST_UNCONFIGURED so that
Ted Lemon [Tue, 20 Jun 2000 20:27:37 +0000 (20:27 +0000)] 
- 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.

25 years agoMake links build silent
Ted Lemon [Tue, 20 Jun 2000 20:25:30 +0000 (20:25 +0000)] 
Make links build silent

25 years ago- Add a work. prefix to build subdirectory names so that they all wind
Ted Lemon [Tue, 20 Jun 2000 20:24:26 +0000 (20:24 +0000)] 
- Add a work. prefix to build subdirectory names so that they all wind
  up in the same place in the list.

25 years ago- Add a work. prefix to build subdirectory names so that they all wind up
Ted Lemon [Tue, 20 Jun 2000 20:23:53 +0000 (20:23 +0000)] 
- Add a work. prefix to build subdirectory names so that they all wind up
  in the same place in the list.

25 years agoAdd all the possible top-level make targets.
Ted Lemon [Tue, 20 Jun 2000 20:07:54 +0000 (20:07 +0000)] 
Add all the possible top-level make targets.

25 years agoTake away some debugging, and always build nsupdate.
Ted Lemon [Tue, 20 Jun 2000 20:05:02 +0000 (20:05 +0000)] 
Take away some debugging, and always build nsupdate.

25 years agoFix up the declaration for the failover_link allocator.
Ted Lemon [Tue, 20 Jun 2000 20:03:42 +0000 (20:03 +0000)] 
Fix up the declaration for the failover_link allocator.

25 years agoFix up to support build subdirectories. Fix depend target.
Ted Lemon [Tue, 20 Jun 2000 20:01:06 +0000 (20:01 +0000)] 
Fix up to support build subdirectories.   Fix depend target.

25 years agoMake from64 unsigned (not sure this matters).
Ted Lemon [Tue, 20 Jun 2000 19:59:50 +0000 (19:59 +0000)] 
Make from64 unsigned (not sure this matters).

25 years agoAdd a links target for making the build subtrees.
Ted Lemon [Tue, 20 Jun 2000 19:43:44 +0000 (19:43 +0000)] 
Add a links target for making the build subtrees.

25 years agoAdd mkdep variable. Always build DDNS.
Ted Lemon [Tue, 20 Jun 2000 19:43:12 +0000 (19:43 +0000)] 
Add mkdep variable.   Always build DDNS.

25 years ago- Configure into a system-specific build subtree.
Ted Lemon [Tue, 20 Jun 2000 19:42:30 +0000 (19:42 +0000)] 
- Configure into a system-specific build subtree.
- Add support for just printing the system name, for the top-level Makefile.

25 years agoTop-level makefile to build the subtree for the current architecture.
Ted Lemon [Tue, 20 Jun 2000 19:41:21 +0000 (19:41 +0000)] 
Top-level makefile to build the subtree for the current architecture.

25 years agoDon't ignore Makefile anymore.
Ted Lemon [Tue, 20 Jun 2000 19:40:53 +0000 (19:40 +0000)] 
Don't ignore Makefile anymore.

25 years agoUse mkdep rather than makedepend
Ted Lemon [Mon, 12 Jun 2000 22:25:55 +0000 (22:25 +0000)] 
Use mkdep rather than makedepend

25 years agoClean up a possible memory smash in the binding code.
Ted Lemon [Mon, 12 Jun 2000 22:22:09 +0000 (22:22 +0000)] 
Clean up a possible memory smash in the binding code.

25 years ago- Clean up some edge cases when a lease is requested that's shorter than
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.

25 years agoInitialize the dhcp_type_host type definition.
Ted Lemon [Mon, 12 Jun 2000 20:25:37 +0000 (20:25 +0000)] 
Initialize the dhcp_type_host type definition.

25 years agoFix a couple of problems with the ack and update queue code.
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.

25 years agoFix a bunch of problems in calling clone_grpup.
Ted Lemon [Mon, 12 Jun 2000 20:14:16 +0000 (20:14 +0000)] 
Fix a bunch of problems in calling clone_grpup.

25 years ago- Make ON_ACK_QUEUE and ON_UPDATE_QUEUE persistent (fixes a problem with
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).

25 years ago- Fix interface_dummy to notice reference error.
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.

25 years agoMake dhcp_failover_make_option prototype consistent with declaration.
Ted Lemon [Sat, 10 Jun 2000 17:55:11 +0000 (17:55 +0000)] 
Make dhcp_failover_make_option prototype consistent with declaration.

25 years agoAdd a missing store that was masked by the i386 calling conventions.
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.

25 years agoMake a special case for NetBSD/arm32.
Ted Lemon [Fri, 9 Jun 2000 18:26:59 +0000 (18:26 +0000)] 
Make a special case for NetBSD/arm32.

25 years agoFix up handling of failover peer disconnects.
Ted Lemon [Thu, 8 Jun 2000 21:29:02 +0000 (21:29 +0000)] 
Fix up handling of failover peer disconnects.

25 years agoDon't log 'late' ICMP echo replies for failover leases.
Ted Lemon [Thu, 8 Jun 2000 21:25:47 +0000 (21:25 +0000)] 
Don't log 'late' ICMP echo replies for failover leases.

25 years ago- Don't force the lease to be default-lease-time seconds long if
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.

25 years ago- Correctly check the result of make_concat (thanks to Scott Reynolds).
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.

25 years ago- Fix a mistake that was causing the fallback interface not to be used (thanks
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!)

25 years agoAllow reject reason and message in BNDACK messages.
Ted Lemon [Wed, 7 Jun 2000 00:32:55 +0000 (00:32 +0000)] 
Allow reject reason and message in BNDACK messages.

25 years agoDon't use dhcp_lease_free unless COMPACT_LEASES is defined.
Ted Lemon [Wed, 7 Jun 2000 00:28:21 +0000 (00:28 +0000)] 
Don't use dhcp_lease_free unless COMPACT_LEASES is defined.

25 years ago- Get rid of the obnoxious doubly-linked list and seperate timeout queue
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.

25 years ago- Break ack queue chain when a lease is removed from the ack queue, so that
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.

25 years agoFix a couple of core dumps. Don't DHCPNAK when peer haslease.
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.

25 years agoFix printf arg causing code to assume uid is NUL-terminated.
Ted Lemon [Tue, 6 Jun 2000 23:51:16 +0000 (23:51 +0000)] 
Fix printf arg causing code to assume uid is NUL-terminated.

25 years agoParse max_response_delay into the right variable.
Ted Lemon [Tue, 6 Jun 2000 23:49:05 +0000 (23:49 +0000)] 
Parse max_response_delay into the right variable.

25 years agoAccount for possibility that io object has no inner object.
Ted Lemon [Tue, 6 Jun 2000 23:47:27 +0000 (23:47 +0000)] 
Account for possibility that io object has no inner object.

25 years agoCompletely break connection to I/O object when connection is severed.
Ted Lemon [Tue, 6 Jun 2000 23:47:14 +0000 (23:47 +0000)] 
Completely break connection to I/O object when connection is severed.

25 years agoAdd hash_foreach, et al.
Ted Lemon [Tue, 6 Jun 2000 23:46:37 +0000 (23:46 +0000)] 
Add hash_foreach, et al.

25 years agoCorrectly handle the case where the matching pool is the first one.
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.

25 years agoRework DHCP lease state handling to be compatible with failover protocol.
Ted Lemon [Fri, 2 Jun 2000 21:27:21 +0000 (21:27 +0000)] 
Rework DHCP lease state handling to be compatible with failover protocol.

25 years agoFix a buffer overflow problem (not a security issue). Thanks to Joe.
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.

25 years agoInitialize omapi before parsing command line.
Ted Lemon [Tue, 30 May 2000 21:17:04 +0000 (21:17 +0000)] 
Initialize omapi before parsing command line.

25 years agoFix a reference problem.
Ted Lemon [Thu, 18 May 2000 20:21:43 +0000 (20:21 +0000)] 
Fix a reference problem.

25 years agoOops, fix declaration of casecmp.
Ted Lemon [Wed, 17 May 2000 16:15:38 +0000 (16:15 +0000)] 
Oops, fix declaration of casecmp.

25 years agoFix up various platform-specific errors.
Ted Lemon [Wed, 17 May 2000 16:04:26 +0000 (16:04 +0000)] 
Fix up various platform-specific errors.

25 years agoRemove omapi.c/omapi.o from client build.
Ted Lemon [Wed, 17 May 2000 15:17:17 +0000 (15:17 +0000)] 
Remove omapi.c/omapi.o from client build.

25 years agoMove common omapi support into common code.
Ted Lemon [Tue, 16 May 2000 23:13:34 +0000 (23:13 +0000)] 
Move common omapi support into common code.

25 years agoMove server-specific stuff away from common code.
Ted Lemon [Tue, 16 May 2000 23:11:42 +0000 (23:11 +0000)] 
Move server-specific stuff away from common code.

25 years ago- Fix all the OMAPI objects in the DHCP server and client that weren't
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.

25 years agoOops, fix a past-o.
Ted Lemon [Mon, 15 May 2000 15:47:11 +0000 (15:47 +0000)] 
Oops, fix a past-o.

25 years agoDon't send the intro until we receive the connect signal.
Ted Lemon [Mon, 15 May 2000 15:44:31 +0000 (15:44 +0000)] 
Don't send the intro until we receive the connect signal.

25 years agoFix some weird errors in failover external declarations.
Ted Lemon [Tue, 9 May 2000 03:11:11 +0000 (03:11 +0000)] 
Fix some weird errors in failover external declarations.

25 years agoGet rid of SO_USELOOPBACK
Ted Lemon [Tue, 9 May 2000 03:06:49 +0000 (03:06 +0000)] 
Get rid of SO_USELOOPBACK

25 years agoImplement pool request and response so that secondary can operate.
Ted Lemon [Thu, 4 May 2000 18:58:16 +0000 (18:58 +0000)] 
Implement pool request and response so that secondary can operate.

25 years agoMiscellaneous bug fixes.
Ted Lemon [Wed, 3 May 2000 23:07:54 +0000 (23:07 +0000)] 
Miscellaneous bug fixes.

25 years agoDon't use SO_USELOOPBACK
Ted Lemon [Wed, 3 May 2000 23:05:37 +0000 (23:05 +0000)] 
Don't use SO_USELOOPBACK

25 years agoRename a variable to avoid an AIX-specific predefined manifest constant.
Ted Lemon [Wed, 3 May 2000 23:04:43 +0000 (23:04 +0000)] 
Rename a variable to avoid an AIX-specific predefined manifest constant.

25 years ago- Add argument to allocate_lease to notice if the failover peer has
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.

25 years agoAdjust call to allocate_lease().
Ted Lemon [Wed, 3 May 2000 22:57:42 +0000 (22:57 +0000)] 
Adjust call to allocate_lease().

25 years agoAdd flags to indicate the failover queue a least is on.
Ted Lemon [Wed, 3 May 2000 22:56:56 +0000 (22:56 +0000)] 
Add flags to indicate the failover queue a least is on.

25 years agoFix an unitialized pointer reference.
Ted Lemon [Wed, 3 May 2000 07:01:16 +0000 (07:01 +0000)] 
Fix an unitialized pointer reference.

25 years agoMore infrastructure, bug fixes: servers are talking.
Ted Lemon [Wed, 3 May 2000 06:43:26 +0000 (06:43 +0000)] 
More infrastructure, bug fixes: servers are talking.

25 years agoQueue failover update on lease commit. Write all states on startup.
Ted Lemon [Wed, 3 May 2000 06:34:13 +0000 (06:34 +0000)] 
Queue failover update on lease commit.   Write all states on startup.

25 years agoUpdate copyright message.
Ted Lemon [Wed, 3 May 2000 06:32:09 +0000 (06:32 +0000)] 
Update copyright message.

25 years agoDon't be so eager to respond to DHCPREQUEST messages with failover.
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.

25 years agoAdd write_failover_state.
Ted Lemon [Wed, 3 May 2000 06:23:05 +0000 (06:23 +0000)] 
Add write_failover_state.

25 years agoParse failover state out of lease database.
Ted Lemon [Wed, 3 May 2000 06:19:29 +0000 (06:19 +0000)] 
Parse failover state out of lease database.

25 years agoGet rid of SO_USELOOPBACK.
Ted Lemon [Wed, 3 May 2000 06:18:03 +0000 (06:18 +0000)] 
Get rid of SO_USELOOPBACK.

25 years ago- Fix up reference counting of io object chain.
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.

25 years agoGet rid of SO_USELOOPBACK. Use 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.

25 years agoAdd omapi_unregister_io_object prototype.
Ted Lemon [Wed, 3 May 2000 06:11:29 +0000 (06:11 +0000)] 
Add omapi_unregister_io_object prototype.

25 years agoinvalid_state -> unknown_state. Define reject reasons.
Ted Lemon [Wed, 3 May 2000 06:09:36 +0000 (06:09 +0000)] 
invalid_state -> unknown_state.   Define reject reasons.

25 years agoAdd some new prototypes.
Ted Lemon [Wed, 3 May 2000 06:05:44 +0000 (06:05 +0000)] 
Add some new prototypes.

25 years agoAdd 'extern' to two declarations.
Ted Lemon [Wed, 3 May 2000 05:59:03 +0000 (05:59 +0000)] 
Add 'extern' to two declarations.

25 years agoAdd unknown-state and potential-conflict-nic
Ted Lemon [Wed, 3 May 2000 05:56:28 +0000 (05:56 +0000)] 
Add unknown-state and potential-conflict-nic

25 years agoAdd some server options.
Ted Lemon [Tue, 2 May 2000 00:25:10 +0000 (00:25 +0000)] 
Add some server options.