]>
git.ipfire.org Git - thirdparty/dhcp.git/log
Ted Lemon [Thu, 22 Mar 2001 06:59:28 +0000 (06:59 +0000)]
Add some changes suggested by Cyrille Lefevre
Ted Lemon [Thu, 22 Mar 2001 06:56:42 +0000 (06:56 +0000)]
Document some new flags.
Ted Lemon [Thu, 22 Mar 2001 06:56:00 +0000 (06:56 +0000)]
client_script_name -> path_dhclient_script
Ted Lemon [Thu, 22 Mar 2001 06:54:40 +0000 (06:54 +0000)]
Install client script in (e.g.) /sbin.
Ted Lemon [Thu, 22 Mar 2001 06:53:58 +0000 (06:53 +0000)]
Add a README entry about locally-defined options.
Ted Lemon [Tue, 20 Mar 2001 22:27:25 +0000 (22:27 +0000)]
Update changelog and version.
Ted Lemon [Tue, 20 Mar 2001 22:25:30 +0000 (22:25 +0000)]
This time for sure! (fix for spinning).
Ted Lemon [Tue, 20 Mar 2001 07:40:25 +0000 (07:40 +0000)]
Update version and changelog
Ted Lemon [Tue, 20 Mar 2001 07:29:35 +0000 (07:29 +0000)]
Actually fix the spin that I thought I'd fixed previously.
Ted Lemon [Tue, 20 Mar 2001 07:26:57 +0000 (07:26 +0000)]
Add a missing else whose absence was causing memory smashes.
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.
Ted Lemon [Sat, 17 Mar 2001 02:09:02 +0000 (02:09 +0000)]
Update version number and changelog
Ted Lemon [Sat, 17 Mar 2001 02:02:20 +0000 (02:02 +0000)]
Set lease -> uid_max.
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.
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.
Ted Lemon [Sat, 17 Mar 2001 00:47:39 +0000 (00:47 +0000)]
Support NUL characters in STRING tokens.
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.
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.
Ted Lemon [Fri, 16 Mar 2001 02:05:24 +0000 (02:05 +0000)]
Update bug tracking advice
Ted Lemon [Fri, 16 Mar 2001 02:05:17 +0000 (02:05 +0000)]
Update changelog
Ted Lemon [Fri, 16 Mar 2001 01:57:00 +0000 (01:57 +0000)]
Initialize a couple of pointers.
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.
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.
Ted Lemon [Fri, 16 Mar 2001 00:23:59 +0000 (00:23 +0000)]
ns_rcode -> isc_result_t
Ted Lemon [Thu, 15 Mar 2001 23:22:33 +0000 (23:22 +0000)]
Always reference count leases.
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.
Ted Lemon [Thu, 15 Mar 2001 23:17:48 +0000 (23:17 +0000)]
Add quotify prototypes.
Ted Lemon [Thu, 15 Mar 2001 23:17:28 +0000 (23:17 +0000)]
Add quotify functions.
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!)
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.
Ted Lemon [Wed, 14 Mar 2001 17:40:59 +0000 (17:40 +0000)]
Don't reference/dereference failover_listeners if it's null.
Ted Lemon [Wed, 14 Mar 2001 17:36:48 +0000 (17:36 +0000)]
Update changelog and version info.
Ted Lemon [Wed, 14 Mar 2001 15:56:27 +0000 (15:56 +0000)]
Fix an endian bug in trace files (James Brister)
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.
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.
Ted Lemon [Wed, 14 Mar 2001 15:39:32 +0000 (15:39 +0000)]
Use unparsable names for unknown options.
Ted Lemon [Wed, 14 Mar 2001 15:38:44 +0000 (15:38 +0000)]
Fix documentation for sending non-standard options.
Ted Lemon [Wed, 14 Mar 2001 15:37:52 +0000 (15:37 +0000)]
Do client script exit status checking more portably
Ted Lemon [Wed, 14 Mar 2001 15:36:57 +0000 (15:36 +0000)]
Get rid of local debug flag.
Ted Lemon [Wed, 14 Mar 2001 15:33:39 +0000 (15:33 +0000)]
Set up global debug flag.
Ted Lemon [Thu, 1 Mar 2001 22:12:16 +0000 (22:12 +0000)]
Remove files starting with # in realclean target.
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.
Ted Lemon [Thu, 1 Mar 2001 22:11:26 +0000 (22:11 +0000)]
Fix a solaris build problem.
Ted Lemon [Thu, 1 Mar 2001 22:11:12 +0000 (22:11 +0000)]
Document -r flag
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.
Ted Lemon [Thu, 1 Mar 2001 18:17:09 +0000 (18:17 +0000)]
Change EOF to END_OF_FILE in tokenizer for enum compatibility.
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.
Ted Lemon [Thu, 1 Mar 2001 17:09:46 +0000 (17:09 +0000)]
Fix AIX installs
Ted Lemon [Thu, 1 Mar 2001 17:09:37 +0000 (17:09 +0000)]
Update version to -cvs
Ted Lemon [Thu, 1 Mar 2001 07:25:47 +0000 (07:25 +0000)]
Fix up a couple of type errors
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.
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.
Damien Neil [Tue, 27 Feb 2001 01:15:38 +0000 (01:15 +0000)]
Added tokens for "close", "create", "open", and "help" to the lexer.
Ted Lemon [Mon, 26 Feb 2001 22:21:15 +0000 (22:21 +0000)]
Fix up NetBSD/alpha build.
Ted Lemon [Thu, 22 Feb 2001 23:51:00 +0000 (23:51 +0000)]
Include system-specific libraries in link command.
Ted Lemon [Thu, 22 Feb 2001 23:20:11 +0000 (23:20 +0000)]
Update changelog and version
Ted Lemon [Thu, 22 Feb 2001 22:54:26 +0000 (22:54 +0000)]
Update copyright statements.
Ted Lemon [Thu, 22 Feb 2001 22:50:55 +0000 (22:50 +0000)]
Document backslash quoting.
Ted Lemon [Thu, 22 Feb 2001 22:50:32 +0000 (22:50 +0000)]
Revamp lease file documentation for 3.0.
Ted Lemon [Thu, 22 Feb 2001 22:41:43 +0000 (22:41 +0000)]
Add references to the dhcp-eval and dhcp-options man pages.
Ted Lemon [Thu, 22 Feb 2001 07:52:54 +0000 (07:52 +0000)]
Document -tf and -play.
Ted Lemon [Thu, 22 Feb 2001 07:37:15 +0000 (07:37 +0000)]
Get md5.h from dst/ instead of minires/
Ted Lemon [Thu, 22 Feb 2001 07:31:21 +0000 (07:31 +0000)]
Last dregs of dst split.
Ted Lemon [Thu, 22 Feb 2001 07:30:21 +0000 (07:30 +0000)]
Fix up function declaration formatting.
Ted Lemon [Thu, 22 Feb 2001 07:29:36 +0000 (07:29 +0000)]
Fix time snooper.
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.
Ted Lemon [Thu, 22 Feb 2001 07:28:25 +0000 (07:28 +0000)]
Always use trace_mr_*() functions.
Ted Lemon [Thu, 22 Feb 2001 07:27:14 +0000 (07:27 +0000)]
Move dst functionality into seperate library
Ted Lemon [Thu, 22 Feb 2001 07:22:09 +0000 (07:22 +0000)]
Move dst API into its own subdirectory.
Ted Lemon [Thu, 22 Feb 2001 06:42:32 +0000 (06:42 +0000)]
Make header lengths signed rather than unsigned, fix snoop_time().
Ted Lemon [Thu, 22 Feb 2001 06:41:51 +0000 (06:41 +0000)]
Declare dhcp_failover_toack_queue_timeout ().
Ted Lemon [Thu, 22 Feb 2001 00:18:54 +0000 (00:18 +0000)]
Set lease file mode to 644, not 640.
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.
Ted Lemon [Wed, 21 Feb 2001 22:51:44 +0000 (22:51 +0000)]
Add a changelog space for the next patchlevel.
Ted Lemon [Sun, 18 Feb 2001 06:53:00 +0000 (06:53 +0000)]
Fix an uninitialized pointer think-o.
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*.
Ted Lemon [Sat, 17 Feb 2001 21:34:56 +0000 (21:34 +0000)]
Fix cross-platform compile warnings
Ted Lemon [Sat, 17 Feb 2001 21:21:29 +0000 (21:21 +0000)]
Fix a think-o.
Ted Lemon [Sat, 17 Feb 2001 21:21:07 +0000 (21:21 +0000)]
Mention fixed-address declarations in the address allocation documentation.
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.
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.
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.
Damien Neil [Thu, 15 Feb 2001 22:17:05 +0000 (22:17 +0000)]
Format fix: %d -> %ld, (long int) cast.
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.
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.
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.
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.
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.
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.
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).
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 *).
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.
Ted Lemon [Thu, 15 Feb 2001 14:12:54 +0000 (14:12 +0000)]
Initialize minires tracing.
Ted Lemon [Thu, 15 Feb 2001 14:12:36 +0000 (14:12 +0000)]
Add trace_snoop_time.
Ted Lemon [Thu, 15 Feb 2001 14:12:12 +0000 (14:12 +0000)]
Extend copyright year.
Ted Lemon [Thu, 15 Feb 2001 14:11:46 +0000 (14:11 +0000)]
Add minires trace support.
Ted Lemon [Thu, 15 Feb 2001 14:11:29 +0000 (14:11 +0000)]
Minires trace support.
Ted Lemon [Thu, 15 Feb 2001 14:11:11 +0000 (14:11 +0000)]
Add #defines to map public I/O routines.
Ted Lemon [Thu, 15 Feb 2001 14:09:50 +0000 (14:09 +0000)]
Add prototype for minires tracing.
Ted Lemon [Thu, 15 Feb 2001 05:40:00 +0000 (05:40 +0000)]
Call trace setup hooks for connection.c and buffer.c.