]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
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.

24 years agoAdd tracing support for OMAPI accepts and for listener object instantiation.
Ted Lemon [Thu, 15 Feb 2001 05:39:17 +0000 (05:39 +0000)] 
Add tracing support for OMAPI accepts and for listener object instantiation.

24 years agoAdd tracing support for OMAPI connects and disconnects.
Ted Lemon [Thu, 15 Feb 2001 05:38:52 +0000 (05:38 +0000)] 
Add tracing support for OMAPI connects and disconnects.

24 years agoAdd tracing support for OMAPI connection streams.
Ted Lemon [Thu, 15 Feb 2001 05:37:17 +0000 (05:37 +0000)] 
Add tracing support for OMAPI connection streams.

24 years agoAdd some more trace hooks.
Ted Lemon [Thu, 15 Feb 2001 05:36:40 +0000 (05:36 +0000)] 
Add some more trace hooks.

24 years agoClarify documentation of exit hooks.
Ted Lemon [Thu, 15 Feb 2001 05:36:07 +0000 (05:36 +0000)] 
Clarify documentation of exit hooks.

24 years agoEnable tracing by default.
Ted Lemon [Tue, 13 Feb 2001 17:48:51 +0000 (17:48 +0000)] 
Enable tracing by default.

24 years agoFix some trace-related ifdefs.
Ted Lemon [Mon, 12 Feb 2001 21:59:31 +0000 (21:59 +0000)] 
Fix some trace-related ifdefs.

24 years agoDefinitions for common DHCP trace functions.
Ted Lemon [Mon, 12 Feb 2001 21:21:56 +0000 (21:21 +0000)] 
Definitions for common DHCP trace functions.

24 years agoGet rid of lease -> hostname, which isn't used.
Ted Lemon [Mon, 12 Feb 2001 21:10:10 +0000 (21:10 +0000)] 
Get rid of lease -> hostname, which isn't used.

24 years ago- Get rid of lease -> hostname, which doesn't do anything.
Ted Lemon [Mon, 12 Feb 2001 21:09:21 +0000 (21:09 +0000)] 
- Get rid of lease -> hostname, which doesn't do anything.
- Fix a bug in uid handling that could cause core dumps with long uids.

24 years ago- Cut some things out into subroutines to support tracing.
Ted Lemon [Mon, 12 Feb 2001 21:04:06 +0000 (21:04 +0000)] 
- Cut some things out into subroutines to support tracing.
- Do all the relevant tracing setup.
- Clarify ddns-update-style startup error message.
- Print version information and exit if --version is given.

24 years agoFix DDNS-related documentation. Mention logrotate as well as newsyslog.
Ted Lemon [Mon, 12 Feb 2001 21:01:36 +0000 (21:01 +0000)] 
Fix DDNS-related documentation.   Mention logrotate as well as newsyslog.

24 years ago- Add tracing hooks.
Ted Lemon [Mon, 12 Feb 2001 21:00:02 +0000 (21:00 +0000)] 
- Add tracing hooks.
- Fix a bug in handling of DHCPNAK that would make the server act like
  it wasn't authoritative.

24 years agoAdd support for tracing.
Ted Lemon [Mon, 12 Feb 2001 20:53:56 +0000 (20:53 +0000)] 
Add support for tracing.

24 years agoAdd support for tracing. Fix a bug in lease uid parsing.
Ted Lemon [Mon, 12 Feb 2001 20:53:04 +0000 (20:53 +0000)] 
Add support for tracing.   Fix a bug in lease uid parsing.

24 years agoAdd hook for tracing.
Ted Lemon [Mon, 12 Feb 2001 20:51:26 +0000 (20:51 +0000)] 
Add hook for tracing.

24 years agoPrint a version number and exit if given the --version flag.
Ted Lemon [Mon, 12 Feb 2001 20:50:31 +0000 (20:50 +0000)] 
Print a version number and exit if given the --version flag.

24 years agoAdd some support for tracing connections.
Ted Lemon [Mon, 12 Feb 2001 20:49:54 +0000 (20:49 +0000)] 
Add some support for tracing connections.

24 years agoSupport for extensible arrays.
Ted Lemon [Mon, 12 Feb 2001 20:48:13 +0000 (20:48 +0000)] 
Support for extensible arrays.

24 years agoSupport for tracing omapi and related connections.
Ted Lemon [Mon, 12 Feb 2001 20:48:04 +0000 (20:48 +0000)] 
Support for tracing omapi and related connections.

24 years agoAdd array.c and trace.c.
Ted Lemon [Mon, 12 Feb 2001 20:47:09 +0000 (20:47 +0000)] 
Add array.c and trace.c.

24 years agoAdd support for omapi extensible arrays.
Ted Lemon [Mon, 12 Feb 2001 20:46:48 +0000 (20:46 +0000)] 
Add support for omapi extensible arrays.

24 years agoTrace-related changes.
Ted Lemon [Mon, 12 Feb 2001 20:46:19 +0000 (20:46 +0000)] 
Trace-related changes.

24 years agoTrace-related definitions and prototypes.
Ted Lemon [Mon, 12 Feb 2001 20:45:29 +0000 (20:45 +0000)] 
Trace-related definitions and prototypes.

24 years agoPost-tag version.
Ted Lemon [Mon, 12 Feb 2001 20:44:54 +0000 (20:44 +0000)] 
Post-tag version.

24 years agoAdd trace-related prototypes and compress lease structure.
Ted Lemon [Mon, 12 Feb 2001 20:44:25 +0000 (20:44 +0000)] 
Add trace-related prototypes and compress lease structure.

24 years agoMove functionality from test.c to omshell.c
Ted Lemon [Mon, 12 Feb 2001 20:43:30 +0000 (20:43 +0000)] 
Move functionality from test.c to omshell.c

24 years agoBuild omshell instead of svtest.
Ted Lemon [Mon, 12 Feb 2001 20:35:03 +0000 (20:35 +0000)] 
Build omshell instead of svtest.

24 years agoDon't save lease timestamp in database.
Ted Lemon [Mon, 12 Feb 2001 19:46:59 +0000 (19:46 +0000)] 
Don't save lease timestamp in database.

24 years agoUpdate copyright date.
Ted Lemon [Mon, 12 Feb 2001 19:44:54 +0000 (19:44 +0000)] 
Update copyright date.

24 years agoFix memory leak, bug in nwip option handling.
Ted Lemon [Mon, 12 Feb 2001 19:43:32 +0000 (19:43 +0000)] 
Fix memory leak, bug in nwip option handling.

24 years agoAdd support for tracing ICMP messages.
Ted Lemon [Mon, 12 Feb 2001 19:42:21 +0000 (19:42 +0000)] 
Add support for tracing ICMP messages.

24 years agoSubroutinize some stuff so that it can be called in trace playback.
Ted Lemon [Mon, 12 Feb 2001 19:41:30 +0000 (19:41 +0000)] 
Subroutinize some stuff so that it can be called in trace playback.

24 years agoSubroutinize some functionality and add in tracing hooks.
Ted Lemon [Mon, 12 Feb 2001 19:40:05 +0000 (19:40 +0000)] 
Subroutinize some functionality and add in tracing hooks.

24 years agoCommon tracing subroutines.
Ted Lemon [Mon, 12 Feb 2001 19:38:37 +0000 (19:38 +0000)] 
Common tracing subroutines.

24 years agoAdd ctrace.c
Ted Lemon [Mon, 12 Feb 2001 19:37:59 +0000 (19:37 +0000)] 
Add ctrace.c

24 years agoFix a gnarly memory allocation bug.
Ted Lemon [Mon, 12 Feb 2001 19:37:03 +0000 (19:37 +0000)] 
Fix a gnarly memory allocation bug.

24 years ago- Fix faked-out giaddr handling.
Ted Lemon [Mon, 12 Feb 2001 19:26:35 +0000 (19:26 +0000)] 
- Fix faked-out giaddr handling.
- Make it possible to pass environment variables to the client script.

24 years agoDoh! Syntax error that I really should have noticed. Hind paw firmly
Ben Cottrell [Fri, 2 Feb 2001 18:14:17 +0000 (18:14 +0000)] 
Doh! Syntax error that I really should have noticed. Hind paw firmly
entrenched in muzzle.

24 years agoPatch from Joost Mulders <dhcp@j-mulders.demon.nl> to make DLPI work better,
Ben Cottrell [Wed, 31 Jan 2001 19:00:34 +0000 (19:00 +0000)] 
Patch from Joost Mulders <dhcp@j-mulders.demon.nl> to make DLPI work better,
especially on Solaris/x86.

24 years agoUpdate changelog
Ted Lemon [Fri, 26 Jan 2001 06:17:47 +0000 (06:17 +0000)] 
Update changelog

24 years agoDon't dump core if asked to look up an option where there are no options. V3-BETA-2-PATCH-16
Ted Lemon [Fri, 26 Jan 2001 06:17:01 +0000 (06:17 +0000)] 
Don't dump core if asked to look up an option where there are no options.

24 years agoUpdate changelog and version number.
Ted Lemon [Fri, 26 Jan 2001 06:06:56 +0000 (06:06 +0000)] 
Update changelog and version number.

24 years agoDocument stash-agent-options.
Ted Lemon [Fri, 26 Jan 2001 05:57:56 +0000 (05:57 +0000)] 
Document stash-agent-options.

24 years agoFix a memory leak. Only return agent options that were sent.
Ted Lemon [Fri, 26 Jan 2001 05:57:35 +0000 (05:57 +0000)] 
Fix a memory leak.   Only return agent options that were sent.

24 years agoOops, add constant for requesting state
Ted Lemon [Fri, 26 Jan 2001 05:56:29 +0000 (05:56 +0000)] 
Oops, add constant for requesting state

24 years agoFix a missing comment closure
Ted Lemon [Fri, 26 Jan 2001 05:56:05 +0000 (05:56 +0000)] 
Fix a missing comment closure

24 years agoUpdate some obsolete declarations.
Ted Lemon [Thu, 25 Jan 2001 21:55:54 +0000 (21:55 +0000)] 
Update some obsolete declarations.

24 years agoFollow proper coding standards for allocating refcnted objects.
Ted Lemon [Thu, 25 Jan 2001 21:55:08 +0000 (21:55 +0000)] 
Follow proper coding standards for allocating refcnted objects.

24 years agoFix a small nit in the dlpi code.
Ted Lemon [Thu, 25 Jan 2001 21:54:25 +0000 (21:54 +0000)] 
Fix a small nit in the dlpi code.

24 years ago- Add a note to the documentation for the slp-directory-agent option
Ted Lemon [Thu, 25 Jan 2001 21:54:00 +0000 (21:54 +0000)] 
- Add a note to the documentation for the slp-directory-agent option
  to help users of Novell products.

24 years agoPost-tag version
Ted Lemon [Thu, 25 Jan 2001 08:49:10 +0000 (08:49 +0000)] 
Post-tag version

24 years agoUpdate changelog and version V3-BETA-2-PATCH-15
Ted Lemon [Thu, 25 Jan 2001 08:43:04 +0000 (08:43 +0000)] 
Update changelog and version

24 years agoFix a bug pointed out by Sergei Datsenko.
Ted Lemon [Thu, 25 Jan 2001 08:41:19 +0000 (08:41 +0000)] 
Fix a bug pointed out by Sergei Datsenko.

24 years agoAdd log-facility.
Ted Lemon [Thu, 25 Jan 2001 08:37:03 +0000 (08:37 +0000)] 
Add log-facility.

24 years ago- Fix a core dump pointed out by Albert Herranz.
Ted Lemon [Thu, 25 Jan 2001 08:36:36 +0000 (08:36 +0000)] 
- Fix a core dump pointed out by Albert Herranz.
- Fix handling of agent options.

24 years agoDon't use snprintf on platforms that don't have it.
Ted Lemon [Thu, 25 Jan 2001 08:35:24 +0000 (08:35 +0000)] 
Don't use snprintf on platforms that don't have it.

24 years agoClean up some problems.
Ted Lemon [Thu, 25 Jan 2001 08:34:57 +0000 (08:34 +0000)] 
Clean up some problems.

24 years ago- Document log-facility parameter.
Ted Lemon [Thu, 25 Jan 2001 08:34:13 +0000 (08:34 +0000)] 
- Document log-facility parameter.
- Fix some typos pointed out on dhcp-server mailing list.

24 years agoModernize dhcpd.conf example
Ted Lemon [Thu, 25 Jan 2001 08:33:11 +0000 (08:33 +0000)] 
Modernize dhcpd.conf example

24 years agoAdd log_facility config parameter.
Ted Lemon [Thu, 25 Jan 2001 08:32:57 +0000 (08:32 +0000)] 
Add log_facility config parameter.