]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
24 years agoAdd some changes suggested by Cyrille Lefevre
Ted Lemon [Thu, 22 Mar 2001 06:59:28 +0000 (06:59 +0000)] 
Add some changes suggested by Cyrille Lefevre

24 years agoDocument some new flags.
Ted Lemon [Thu, 22 Mar 2001 06:56:42 +0000 (06:56 +0000)] 
Document some new flags.

24 years agoclient_script_name -> path_dhclient_script
Ted Lemon [Thu, 22 Mar 2001 06:56:00 +0000 (06:56 +0000)] 
client_script_name -> path_dhclient_script

24 years agoInstall client script in (e.g.) /sbin.
Ted Lemon [Thu, 22 Mar 2001 06:54:40 +0000 (06:54 +0000)] 
Install client script in (e.g.) /sbin.

24 years agoAdd a README entry about locally-defined options.
Ted Lemon [Thu, 22 Mar 2001 06:53:58 +0000 (06:53 +0000)] 
Add a README entry about locally-defined options.

24 years agoUpdate changelog and version. V3-BETA-2-PATCH-22
Ted Lemon [Tue, 20 Mar 2001 22:27:25 +0000 (22:27 +0000)] 
Update changelog and version.

24 years agoThis time for sure! (fix for spinning).
Ted Lemon [Tue, 20 Mar 2001 22:25:30 +0000 (22:25 +0000)] 
This time for sure! (fix for spinning).

24 years agoUpdate version and changelog V3-BETA-2-PATCH-21
Ted Lemon [Tue, 20 Mar 2001 07:40:25 +0000 (07:40 +0000)] 
Update version and changelog

24 years agoActually fix the spin that I thought I'd fixed previously.
Ted Lemon [Tue, 20 Mar 2001 07:29:35 +0000 (07:29 +0000)] 
Actually fix the spin that I thought I'd fixed previously.

24 years agoAdd a missing else whose absence was causing memory smashes.
Ted Lemon [Tue, 20 Mar 2001 07:26:57 +0000 (07:26 +0000)] 
Add a missing else whose absence was causing memory smashes.

24 years agoFixed RT 938 having to do with SIOCGIFCONF on Linux. We now do a first
Ben Cottrell [Sat, 17 Mar 2001 02:11:29 +0000 (02:11 +0000)] 
Fixed RT 938 having to do with SIOCGIFCONF on Linux. We now do a first
pass in which we pass a null pointer for the buffer, and we will get
back the length of the buffer we should allocate. This is because
if you pass in a buffer that is too small, Linux (unlike other OSes)
will not tell you that it is too small by returning a length greater
than the length you passed in.

24 years agoUpdate version number and changelog V3-BETA-2-PATCH-20
Ted Lemon [Sat, 17 Mar 2001 02:09:02 +0000 (02:09 +0000)] 
Update version number and changelog

24 years agoSet lease -> uid_max.
Ted Lemon [Sat, 17 Mar 2001 02:02:20 +0000 (02:02 +0000)] 
Set lease -> uid_max.

24 years agoDon't stash uid_len until we know we have a uid.
Ted Lemon [Sat, 17 Mar 2001 01:24:59 +0000 (01:24 +0000)] 
Don't stash uid_len until we know we have a uid.

24 years ago- Fix a bug that would cause the server to spin looking for leases to free.
Ted Lemon [Sat, 17 Mar 2001 00:48:34 +0000 (00:48 +0000)] 
- Fix a bug that would cause the server to spin looking for leases to free.
- Fix a non-null pointer store.

24 years agoSupport NUL characters in STRING tokens.
Ted Lemon [Sat, 17 Mar 2001 00:47:39 +0000 (00:47 +0000)] 
Support NUL characters in STRING tokens.

24 years agoPartial fix for RT #982 -- since all recent versions of Solaris come
Ben Cottrell [Sat, 17 Mar 2001 00:13:16 +0000 (00:13 +0000)] 
Partial fix for RT #982 -- since all recent versions of Solaris come
with troff, we can safely install the non-preformatted man pages.

24 years agoMore DLPI patches from Joost. His patch was way garbled, but this is my
Ben Cottrell [Fri, 16 Mar 2001 22:12:19 +0000 (22:12 +0000)] 
More DLPI patches from Joost. His patch was way garbled, but this is my
best interpretation of it. The only thing confusing me is that I thought
he'd fixed all the byte order dependencies in an elegant way, but I
still see some rather ugly #ifdefs in this code. Oh well. At least it
works on minbar.

24 years agoUpdate bug tracking advice V3-BETA-2-PATCH-19
Ted Lemon [Fri, 16 Mar 2001 02:05:24 +0000 (02:05 +0000)] 
Update bug tracking advice

24 years agoUpdate changelog
Ted Lemon [Fri, 16 Mar 2001 02:05:17 +0000 (02:05 +0000)] 
Update changelog

24 years agoInitialize a couple of pointers.
Ted Lemon [Fri, 16 Mar 2001 01:57:00 +0000 (01:57 +0000)] 
Initialize a couple of pointers.

24 years ago- Return a correct status in lease_ours_to_reallocate even if the lease isn't
Ted Lemon [Fri, 16 Mar 2001 01:56:32 +0000 (01:56 +0000)] 
- Return a correct status in lease_ours_to_reallocate even if the lease isn't
  in a failover pool.

24 years ago- Check client identifier on hw_lease before giving it to the client.
Ted Lemon [Fri, 16 Mar 2001 01:55:38 +0000 (01:55 +0000)] 
- Check client identifier on hw_lease before giving it to the client.
- Don't try to reference host to lease if there's no host.

24 years agons_rcode -> isc_result_t
Ted Lemon [Fri, 16 Mar 2001 00:23:59 +0000 (00:23 +0000)] 
ns_rcode -> isc_result_t

24 years agoAlways reference count leases.
Ted Lemon [Thu, 15 Mar 2001 23:22:33 +0000 (23:22 +0000)] 
Always reference count leases.

24 years ago- Write things that could contain non-printable values as quotable strings
Ted Lemon [Thu, 15 Mar 2001 23:21:25 +0000 (23:21 +0000)] 
- Write things that could contain non-printable values as quotable strings
  with non-printable values stored as \\ooo.

24 years agoAdd quotify prototypes.
Ted Lemon [Thu, 15 Mar 2001 23:17:48 +0000 (23:17 +0000)] 
Add quotify prototypes.

24 years agoAdd quotify functions.
Ted Lemon [Thu, 15 Mar 2001 23:17:28 +0000 (23:17 +0000)] 
Add quotify functions.

24 years agoUse eval for ifconfig so that medium can include quoted strings (yuck!)
Ted Lemon [Thu, 15 Mar 2001 23:16:52 +0000 (23:16 +0000)] 
Use eval for ifconfig so that medium can include quoted strings (yuck!)

24 years ago- Do better error checking on lease write.
Ted Lemon [Thu, 15 Mar 2001 23:12:03 +0000 (23:12 +0000)] 
- Do better error checking on lease write.
- Write quoted strings with special characters quoted.

24 years agoDon't reference/dereference failover_listeners if it's null.
Ted Lemon [Wed, 14 Mar 2001 17:40:59 +0000 (17:40 +0000)] 
Don't reference/dereference failover_listeners if it's null.

24 years agoUpdate changelog and version info.
Ted Lemon [Wed, 14 Mar 2001 17:36:48 +0000 (17:36 +0000)] 
Update changelog and version info.

24 years agoFix an endian bug in trace files (James Brister)
Ted Lemon [Wed, 14 Mar 2001 15:56:27 +0000 (15:56 +0000)] 
Fix an endian bug in trace files (James Brister)

24 years agoCheck comp->uid instead of lease->uid when entering a lease's ID info.
Ted Lemon [Wed, 14 Mar 2001 15:45:41 +0000 (15:45 +0000)] 
Check comp->uid instead of lease->uid when entering a lease's ID info.

24 years ago- Fix DHCPINFORM non-return bug.
Ted Lemon [Wed, 14 Mar 2001 15:44:39 +0000 (15:44 +0000)] 
- Fix DHCPINFORM non-return bug.
- Log released leases always.
- Byte swap secs on log message.
- Fix a possible null pointer dereference that could happen in certain
  obscure cases.

24 years agoUse unparsable names for unknown options.
Ted Lemon [Wed, 14 Mar 2001 15:39:32 +0000 (15:39 +0000)] 
Use unparsable names for unknown options.

24 years agoFix documentation for sending non-standard options.
Ted Lemon [Wed, 14 Mar 2001 15:38:44 +0000 (15:38 +0000)] 
Fix documentation for sending non-standard options.

24 years agoDo client script exit status checking more portably
Ted Lemon [Wed, 14 Mar 2001 15:37:52 +0000 (15:37 +0000)] 
Do client script exit status checking more portably

24 years agoGet rid of local debug flag.
Ted Lemon [Wed, 14 Mar 2001 15:36:57 +0000 (15:36 +0000)] 
Get rid of local debug flag.

24 years agoSet up global debug flag.
Ted Lemon [Wed, 14 Mar 2001 15:33:39 +0000 (15:33 +0000)] 
Set up global debug flag.

24 years agoRemove files starting with # in realclean target.
Ted Lemon [Thu, 1 Mar 2001 22:12:16 +0000 (22:12 +0000)] 
Remove files starting with # in realclean target.

24 years agoDon't start ICMP if we're just testing a lease file.
Ted Lemon [Thu, 1 Mar 2001 22:11:50 +0000 (22:11 +0000)] 
Don't start ICMP if we're just testing a lease file.

24 years agoFix a solaris build problem.
Ted Lemon [Thu, 1 Mar 2001 22:11:26 +0000 (22:11 +0000)] 
Fix a solaris build problem.

24 years agoDocument -r flag
Ted Lemon [Thu, 1 Mar 2001 22:11:12 +0000 (22:11 +0000)] 
Document -r flag

24 years agoApply a signed vs. unsigned fix suggested by Onno Van Der Linden.
Ted Lemon [Thu, 1 Mar 2001 21:44:31 +0000 (21:44 +0000)] 
Apply a signed vs. unsigned fix suggested by Onno Van Der Linden.

24 years agoChange EOF to END_OF_FILE in tokenizer for enum compatibility.
Ted Lemon [Thu, 1 Mar 2001 18:17:09 +0000 (18:17 +0000)] 
Change EOF to END_OF_FILE in tokenizer for enum compatibility.

24 years ago- Apply huge numbers of editorial corrections, thanks to Mark Sanders
Ted Lemon [Thu, 1 Mar 2001 17:10:38 +0000 (17:10 +0000)] 
- Apply huge numbers of editorial corrections, thanks to Mark Sanders
  of Inktomi.

24 years agoFix AIX installs
Ted Lemon [Thu, 1 Mar 2001 17:09:46 +0000 (17:09 +0000)] 
Fix AIX installs

24 years agoUpdate version to -cvs
Ted Lemon [Thu, 1 Mar 2001 17:09:37 +0000 (17:09 +0000)] 
Update version to -cvs

24 years agoFix up a couple of type errors
Ted Lemon [Thu, 1 Mar 2001 07:25:47 +0000 (07:25 +0000)] 
Fix up a couple of type errors

24 years agoExtended the OMAPI shell program to allow objects to be opened, displayed,
Damien Neil [Tue, 27 Feb 2001 01:18:31 +0000 (01:18 +0000)] 
Extended the OMAPI shell program to allow objects to be opened, displayed,
modified, and updated.

24 years agoAllow failover_state objects to have their local-state field to be changed
Damien Neil [Tue, 27 Feb 2001 01:17:34 +0000 (01:17 +0000)] 
Allow failover_state objects to have their local-state field to be changed
via OMAPI.  In addition, attempts to set other fields in a state object
will return success without modifying the object; this is very ugly, but
required to allow an open -> modify -> update sequence of OMAPI operations
to work properly.

24 years agoAdded tokens for "close", "create", "open", and "help" to the lexer.
Damien Neil [Tue, 27 Feb 2001 01:15:38 +0000 (01:15 +0000)] 
Added tokens for "close", "create", "open", and "help" to the lexer.

24 years agoFix up NetBSD/alpha build.
Ted Lemon [Mon, 26 Feb 2001 22:21:15 +0000 (22:21 +0000)] 
Fix up NetBSD/alpha build.

24 years agoInclude system-specific libraries in link command. V3-BETA-2-PATCH-18
Ted Lemon [Thu, 22 Feb 2001 23:51:00 +0000 (23:51 +0000)] 
Include system-specific libraries in link command.

24 years agoUpdate changelog and version
Ted Lemon [Thu, 22 Feb 2001 23:20:11 +0000 (23:20 +0000)] 
Update changelog and version

24 years agoUpdate copyright statements.
Ted Lemon [Thu, 22 Feb 2001 22:54:26 +0000 (22:54 +0000)] 
Update copyright statements.

24 years agoDocument backslash quoting.
Ted Lemon [Thu, 22 Feb 2001 22:50:55 +0000 (22:50 +0000)] 
Document backslash quoting.

24 years agoRevamp lease file documentation for 3.0.
Ted Lemon [Thu, 22 Feb 2001 22:50:32 +0000 (22:50 +0000)] 
Revamp lease file documentation for 3.0.

24 years agoAdd references to the dhcp-eval and dhcp-options man pages.
Ted Lemon [Thu, 22 Feb 2001 22:41:43 +0000 (22:41 +0000)] 
Add references to the dhcp-eval and dhcp-options man pages.

24 years agoDocument -tf and -play.
Ted Lemon [Thu, 22 Feb 2001 07:52:54 +0000 (07:52 +0000)] 
Document -tf and -play.

24 years agoGet md5.h from dst/ instead of minires/
Ted Lemon [Thu, 22 Feb 2001 07:37:15 +0000 (07:37 +0000)] 
Get md5.h from dst/ instead of minires/

24 years agoLast dregs of dst split.
Ted Lemon [Thu, 22 Feb 2001 07:31:21 +0000 (07:31 +0000)] 
Last dregs of dst split.

24 years agoFix up function declaration formatting.
Ted Lemon [Thu, 22 Feb 2001 07:30:21 +0000 (07:30 +0000)] 
Fix up function declaration formatting.

24 years agoFix time snooper.
Ted Lemon [Thu, 22 Feb 2001 07:29:36 +0000 (07:29 +0000)] 
Fix time snooper.

24 years agoAdd support for logging random ID and fix various bugs in minires tracing.
Ted Lemon [Thu, 22 Feb 2001 07:28:58 +0000 (07:28 +0000)] 
Add support for logging random ID and fix various bugs in minires tracing.

24 years agoAlways use trace_mr_*() functions.
Ted Lemon [Thu, 22 Feb 2001 07:28:25 +0000 (07:28 +0000)] 
Always use trace_mr_*() functions.

24 years agoMove dst functionality into seperate library
Ted Lemon [Thu, 22 Feb 2001 07:27:14 +0000 (07:27 +0000)] 
Move dst functionality into seperate library

24 years agoMove dst API into its own subdirectory.
Ted Lemon [Thu, 22 Feb 2001 07:22:09 +0000 (07:22 +0000)] 
Move dst API into its own subdirectory.

24 years agoMake header lengths signed rather than unsigned, fix snoop_time().
Ted Lemon [Thu, 22 Feb 2001 06:42:32 +0000 (06:42 +0000)] 
Make header lengths signed rather than unsigned, fix snoop_time().

24 years agoDeclare dhcp_failover_toack_queue_timeout ().
Ted Lemon [Thu, 22 Feb 2001 06:41:51 +0000 (06:41 +0000)] 
Declare dhcp_failover_toack_queue_timeout ().

24 years agoSet lease file mode to 644, not 640.
Ted Lemon [Thu, 22 Feb 2001 00:18:54 +0000 (00:18 +0000)] 
Set lease file mode to 644, not 640.

24 years agoAdded failover ack queueing. Failover update messages are no longer
Damien Neil [Thu, 22 Feb 2001 00:15:54 +0000 (00:15 +0000)] 
Added failover ack queueing.  Failover update messages are no longer
immediately responded to, but are placed on a queue (attached to
the dhcp_failover_state_t structure).  Updated leases are committed
only when the queue is drained, giving a significant performance
increase.

The toack queue is drained:
  a) when the queue size exceeds half the partner's max-unacked-updates
     setting, or
  b) two seconds after the last update message is received.

Added 'refcnt' and 'next' fields to the failover_message_t structure,
to allow messages to be placed on the toack queue.

On the sending side, leases are no longer committed immediately after
being acked.  Rather, the commit is deferred until no further acks are
pending.  This also gives a major gain in performance.

24 years agoAdd a changelog space for the next patchlevel.
Ted Lemon [Wed, 21 Feb 2001 22:51:44 +0000 (22:51 +0000)] 
Add a changelog space for the next patchlevel.

24 years agoFix an uninitialized pointer think-o.
Ted Lemon [Sun, 18 Feb 2001 06:53:00 +0000 (06:53 +0000)] 
Fix an uninitialized pointer think-o.

24 years agoOops, socklen_t is defined in all NetBSD versions *after* 1.3J, not *before*.
Ted Lemon [Sun, 18 Feb 2001 06:52:30 +0000 (06:52 +0000)] 
Oops, socklen_t is defined in all NetBSD versions *after* 1.3J, not *before*.

24 years agoFix cross-platform compile warnings
Ted Lemon [Sat, 17 Feb 2001 21:34:56 +0000 (21:34 +0000)] 
Fix cross-platform compile warnings

24 years agoFix a think-o.
Ted Lemon [Sat, 17 Feb 2001 21:21:29 +0000 (21:21 +0000)] 
Fix a think-o.

24 years agoMention fixed-address declarations in the address allocation documentation.
Ted Lemon [Sat, 17 Feb 2001 21:21:07 +0000 (21:21 +0000)] 
Mention fixed-address declarations in the address allocation documentation.

24 years ago- Get rid of the requirement that trace types be declared after trace_init()
Ted Lemon [Sat, 17 Feb 2001 21:19:55 +0000 (21:19 +0000)] 
- Get rid of the requirement that trace types be declared after trace_init()
  is called.

24 years agoApply a fix provided by Takeshi Hagiwara for a long-standing Sunos 4 bug.
Ted Lemon [Sat, 17 Feb 2001 21:17:25 +0000 (21:17 +0000)] 
Apply a fix provided by Takeshi Hagiwara for a long-standing Sunos 4 bug.

24 years ago- Set the fallback interface index to -1 to indicate that it doesn't have
Ted Lemon [Sat, 17 Feb 2001 21:16:44 +0000 (21:16 +0000)] 
- Set the fallback interface index to -1 to indicate that it doesn't have
  one prior to calling interface_stash.

24 years agoFormat fix: %d -> %ld, (long int) cast.
Damien Neil [Thu, 15 Feb 2001 22:17:05 +0000 (22:17 +0000)] 
Format fix: %d -> %ld, (long int) cast.

24 years agoRemoved a log message from dhcp_failover_pool_rebalance() which generates
Damien Neil [Thu, 15 Feb 2001 22:14:41 +0000 (22:14 +0000)] 
Removed a log message from dhcp_failover_pool_rebalance() which generates
a bit too much spam.

24 years agoChanged dhcp_failover_pool_rebalance() to defer committing updated
Damien Neil [Thu, 15 Feb 2001 21:35:30 +0000 (21:35 +0000)] 
Changed dhcp_failover_pool_rebalance() to defer committing updated
leases until the rebalance has completed.  This gives a significant
performance gain when rebalancing large numbers of leases.

24 years agoChanged supersede_lease() to return 1, even if the commit option is
Damien Neil [Thu, 15 Feb 2001 21:34:08 +0000 (21:34 +0000)] 
Changed supersede_lease() to return 1, even if the commit option is
not specified.  (Before, it would always return 0 if commit was not
given.)  Fixed up the one call to supersede_lease() which expected
the old behavior.

Added a check to supersede_lease() to return an error if the pimmediate
flag is given, and commit is not.  (You should never be sending information
on an uncommitted lease to a peer.)

Separated the failover queue update (the propogate flag) test from
the commit test in supersede_lease(), so that you can now enqueue an
update on an uncommitted lease.

24 years agoRemove the logic to rewrite the lease file every 1000 leases. This
Damien Neil [Thu, 15 Feb 2001 21:28:25 +0000 (21:28 +0000)] 
Remove the logic to rewrite the lease file every 1000 leases.  This
causes excessive slowness on systems with very large numbers of
leases.

24 years agoFixed a number of format bugs: %d -> %ld, plus (long int) cast.
Damien Neil [Thu, 15 Feb 2001 20:58:31 +0000 (20:58 +0000)] 
Fixed a number of format bugs: %d -> %ld, plus (long int) cast.

24 years agoChange the index element of omapi_listener_object_t from an int32_t
Damien Neil [Thu, 15 Feb 2001 20:47:10 +0000 (20:47 +0000)] 
Change the index element of omapi_listener_object_t from an int32_t
to an int, to avoid problems when passing it to omapi_array_extend()
elsewhere.

24 years agoFixes for several log_*() format bugs: %d -> %ld, plus a cast to (long int).
Damien Neil [Thu, 15 Feb 2001 20:35:40 +0000 (20:35 +0000)] 
Fixes for several log_*() format bugs: %d -> %ld, plus a cast to (long int).

24 years agoFixed a typecast bug: the third argument of omapi_connection_array_extend()
Damien Neil [Thu, 15 Feb 2001 20:31:36 +0000 (20:31 +0000)] 
Fixed a typecast bug: the third argument of omapi_connection_array_extend()
is an (int *), not a (u_int32_t *).

24 years agoFixed a log format bug: %d -> %ld, plus a (long int) cast.
Damien Neil [Thu, 15 Feb 2001 20:28:33 +0000 (20:28 +0000)] 
Fixed a log format bug: %d -> %ld, plus a (long int) cast.

24 years agoInitialize minires tracing.
Ted Lemon [Thu, 15 Feb 2001 14:12:54 +0000 (14:12 +0000)] 
Initialize minires tracing.

24 years agoAdd trace_snoop_time.
Ted Lemon [Thu, 15 Feb 2001 14:12:36 +0000 (14:12 +0000)] 
Add trace_snoop_time.

24 years agoExtend copyright year.
Ted Lemon [Thu, 15 Feb 2001 14:12:12 +0000 (14:12 +0000)] 
Extend copyright year.

24 years agoAdd minires trace support.
Ted Lemon [Thu, 15 Feb 2001 14:11:46 +0000 (14:11 +0000)] 
Add minires trace support.

24 years agoMinires trace support.
Ted Lemon [Thu, 15 Feb 2001 14:11:29 +0000 (14:11 +0000)] 
Minires trace support.

24 years agoAdd #defines to map public I/O routines.
Ted Lemon [Thu, 15 Feb 2001 14:11:11 +0000 (14:11 +0000)] 
Add #defines to map public I/O routines.

24 years agoAdd prototype for minires tracing.
Ted Lemon [Thu, 15 Feb 2001 14:09:50 +0000 (14:09 +0000)] 
Add prototype for minires tracing.

24 years agoCall trace setup hooks for connection.c and buffer.c.
Ted Lemon [Thu, 15 Feb 2001 05:40:00 +0000 (05:40 +0000)] 
Call trace setup hooks for connection.c and buffer.c.