]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
25 years agoFix a pasto in the code to set the broadcast address environment variable.
Ted Lemon [Thu, 20 Jul 2000 03:21:23 +0000 (03:21 +0000)] 
Fix a pasto in the code to set the broadcast address environment variable.

25 years agoMake the "can't bind" error message more helpful.
Ted Lemon [Thu, 20 Jul 2000 03:15:00 +0000 (03:15 +0000)] 
Make the "can't bind" error message more helpful.

25 years agoInitialize the environment rather than using temporary client scripts.
Ted Lemon [Thu, 20 Jul 2000 00:53:24 +0000 (00:53 +0000)] 
Initialize the environment rather than using temporary client scripts.

25 years agoSupport environment variables to control locations of files.
Ted Lemon [Mon, 17 Jul 2000 20:56:14 +0000 (20:56 +0000)] 
Support environment variables to control locations of files.

25 years agoEnforce proper alignment of packet buffers.
Ted Lemon [Mon, 17 Jul 2000 20:54:12 +0000 (20:54 +0000)] 
Enforce proper alignment of packet buffers.

25 years agoChanged all uses of omapi_message_allocate() to omapi_message_new(), which
Damien Neil [Sat, 15 Jul 2000 01:59:00 +0000 (01:59 +0000)] 
Changed all uses of omapi_message_allocate() to omapi_message_new(), which
properly initializes the internals of the message object.

25 years agoTweak object dereferencing: I believe dereferencing object chains were not
Damien Neil [Mon, 10 Jul 2000 17:05:18 +0000 (17:05 +0000)] 
Tweak object dereferencing: I believe dereferencing object chains were not
being freed correctly.  (This duplicates a change made by Tale in revision
1.8 of the BIND9 object.c.)

25 years agoProperly initialize 'last' when removing I/O objects: removing the first
Damien Neil [Mon, 10 Jul 2000 17:03:38 +0000 (17:03 +0000)] 
Properly initialize 'last' when removing I/O objects: removing the first
one should no longer croak.

25 years ago- Fix a bug where the first host declaration with a hardware address
Ted Lemon [Sun, 9 Jul 2000 07:00:06 +0000 (07:00 +0000)] 
- Fix a bug where the first host declaration with a hardware address
  wasn't being entered into the database.

25 years agoDocument setting value of parameters through expressions.
Ted Lemon [Sun, 9 Jul 2000 06:49:39 +0000 (06:49 +0000)] 
Document setting value of parameters through expressions.

25 years agoDisable debugging in production code.
Ted Lemon [Thu, 6 Jul 2000 22:45:27 +0000 (22:45 +0000)] 
Disable debugging in production code.

25 years agoUpdate prototypes.
Ted Lemon [Thu, 6 Jul 2000 22:44:57 +0000 (22:44 +0000)] 
Update prototypes.

25 years ago- Support a per-type allocator that is called prior to trying dmalloc,
Ted Lemon [Thu, 6 Jul 2000 22:43:32 +0000 (22:43 +0000)] 
- Support a per-type allocator that is called prior to trying dmalloc,
  so that objects can maintain free lists.

25 years ago- Reference expression lists as we walk them, just in case they
Ted Lemon [Thu, 6 Jul 2000 22:42:22 +0000 (22:42 +0000)] 
- Reference expression lists as we walk them, just in case they
  get dereferenced.

25 years agoMaintain a free list of leases if compact leases are being used.
Ted Lemon [Thu, 6 Jul 2000 22:40:27 +0000 (22:40 +0000)] 
Maintain a free list of leases if compact leases are being used.

25 years agoAdjust arguments to omapi_object_type_register
Ted Lemon [Thu, 6 Jul 2000 22:37:53 +0000 (22:37 +0000)] 
Adjust arguments to omapi_object_type_register

25 years ago- Fix some bugs in the lease timeout code.
Ted Lemon [Thu, 6 Jul 2000 10:27:41 +0000 (10:27 +0000)] 
- Fix some bugs in the lease timeout code.
- When transition to FTS_ACTIVE happens, set next state.
- Conditionalize failover-specific code.

25 years ago- Redo support for ddns-updates flag.
Ted Lemon [Thu, 6 Jul 2000 10:22:50 +0000 (10:22 +0000)] 
- Redo support for ddns-updates flag.
- Initialize a previously-uninitialized variable.
- Conditionalize some failover-specific code.

25 years agoFix handling of client-hostname.
Ted Lemon [Thu, 6 Jul 2000 10:16:54 +0000 (10:16 +0000)] 
Fix handling of client-hostname.

25 years ago- Fix parsing of 'next binding state'.
Ted Lemon [Thu, 6 Jul 2000 10:14:31 +0000 (10:14 +0000)] 
- Fix parsing of 'next binding state'.
- Conditionalize some failover-specific code.

25 years agoReturn a result code when we find a cached or predeclared zone.
Ted Lemon [Thu, 6 Jul 2000 10:10:12 +0000 (10:10 +0000)] 
Return a result code when we find a cached or predeclared zone.

25 years agoDisable failover by default.
Ted Lemon [Thu, 6 Jul 2000 10:08:14 +0000 (10:08 +0000)] 
Disable failover by default.

25 years agoDeclare lease states in dhcpd.h.
Ted Lemon [Thu, 6 Jul 2000 10:06:21 +0000 (10:06 +0000)] 
Declare lease states in dhcpd.h.

25 years agoRemove obsolete use of now-uninitialized variable.
Ted Lemon [Thu, 6 Jul 2000 10:04:03 +0000 (10:04 +0000)] 
Remove obsolete use of now-uninitialized variable.

25 years ago- Make and and or evaluate only the lhs if the lhs will determine the
Ted Lemon [Thu, 6 Jul 2000 10:00:53 +0000 (10:00 +0000)] 
- Make and and or evaluate only the lhs if the lhs will determine the
  outcome of the evaluation.
- Fix debugging code.

25 years agoAdd support for arbitrary parenthetical expressions.
Ted Lemon [Thu, 6 Jul 2000 09:57:23 +0000 (09:57 +0000)] 
Add support for arbitrary parenthetical expressions.

25 years agoDon't dereference the lease on_expiry pointer if it's been zapped.
Ted Lemon [Thu, 6 Jul 2000 06:26:42 +0000 (06:26 +0000)] 
Don't dereference the lease on_expiry pointer if it's been zapped.

25 years agoCorrectly set lease state when none is specified.
Ted Lemon [Thu, 6 Jul 2000 06:25:07 +0000 (06:25 +0000)] 
Correctly set lease state when none is specified.

25 years agoUse result code from res_findzonecut.
Ted Lemon [Thu, 6 Jul 2000 06:23:09 +0000 (06:23 +0000)] 
Use result code from res_findzonecut.

25 years agoReturn record count as well as result code.
Ted Lemon [Thu, 6 Jul 2000 06:22:36 +0000 (06:22 +0000)] 
Return record count as well as result code.

25 years agoFix res_findzonecut prototype.
Ted Lemon [Thu, 6 Jul 2000 06:21:50 +0000 (06:21 +0000)] 
Fix res_findzonecut prototype.

25 years agoEnlarge default hash table size.
Ted Lemon [Thu, 6 Jul 2000 06:21:29 +0000 (06:21 +0000)] 
Enlarge default hash table size.

25 years agoUse compact leases by default.
Ted Lemon [Thu, 6 Jul 2000 06:21:08 +0000 (06:21 +0000)] 
Use compact leases by default.

25 years agoUpdate prototypes
Ted Lemon [Wed, 5 Jul 2000 09:15:08 +0000 (09:15 +0000)] 
Update prototypes

25 years agoGet rid of some debugging statements
Ted Lemon [Wed, 5 Jul 2000 09:13:02 +0000 (09:13 +0000)] 
Get rid of some debugging statements

25 years ago- Dereference leases after hashing them.
Ted Lemon [Wed, 5 Jul 2000 07:38:09 +0000 (07:38 +0000)] 
- Dereference leases after hashing them.
- When a new lease has a different billing class, use it.
- Sort leases with the same time last in first, to shorten the
  insertion time for large pools.

25 years agoClarify the wording on the need for shared-network statements.
Ted Lemon [Wed, 5 Jul 2000 07:34:47 +0000 (07:34 +0000)] 
Clarify the wording on the need for shared-network statements.

25 years agoAdd prototypical support for writing persistent billing classes.
Ted Lemon [Wed, 5 Jul 2000 07:33:25 +0000 (07:33 +0000)] 
Add prototypical support for writing persistent billing classes.

25 years ago- Give the lease a binding state if it doesn't have one.
Ted Lemon [Wed, 5 Jul 2000 07:32:13 +0000 (07:32 +0000)] 
- Give the lease a binding state if it doesn't have one.
- Don't dereference events from parsed lease, since that lease is now
  kept.

25 years agoUse object free routine if provided.
Ted Lemon [Wed, 5 Jul 2000 07:29:56 +0000 (07:29 +0000)] 
Use object free routine if provided.

25 years agoAdd name server result codes.
Ted Lemon [Wed, 5 Jul 2000 07:28:46 +0000 (07:28 +0000)] 
Add name server result codes.

25 years agoUpdate prototypes
Ted Lemon [Wed, 5 Jul 2000 07:21:54 +0000 (07:21 +0000)] 
Update prototypes

25 years agoHave find_dns_zone return a result code.
Ted Lemon [Wed, 5 Jul 2000 07:14:26 +0000 (07:14 +0000)] 
Have find_dns_zone return a result code.

25 years agoUse a cleverer regexp to extract OS minor version number.
Ted Lemon [Wed, 5 Jul 2000 06:39:22 +0000 (06:39 +0000)] 
Use a cleverer regexp to extract OS minor version number.

25 years agoFor non-failover pools, always allocate off the free lease list.
Ted Lemon [Fri, 30 Jun 2000 00:48:55 +0000 (00:48 +0000)] 
For non-failover pools, always allocate off the free lease list.

25 years agoDon't build executables named test.
Ted Lemon [Fri, 30 Jun 2000 00:43:00 +0000 (00:43 +0000)] 
Don't build executables named test.

25 years agoFix a couple of cases where the first host wouldn't be hashed.
Ted Lemon [Fri, 30 Jun 2000 00:40:19 +0000 (00:40 +0000)] 
Fix a couple of cases where the first host wouldn't be hashed.

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.