]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
24 years ago- Add some informational statements in recover mode when it looks like nothing
Ted Lemon [Wed, 18 Apr 2001 19:00:42 +0000 (19:00 +0000)] 
- Add some informational statements in recover mode when it looks like nothing
  is happening.
- Fix another compile option incompatibility.

24 years ago- Fix a case where a by-value argument pointer is dereferenced, resulting
Ted Lemon [Wed, 18 Apr 2001 18:58:39 +0000 (18:58 +0000)] 
- Fix a case where a by-value argument pointer is dereferenced, resulting
  in a memory smash.

24 years agoIf we find an active IO object with a bad descriptor, unregister it.
Ted Lemon [Wed, 18 Apr 2001 18:56:10 +0000 (18:56 +0000)] 
If we find an active IO object with a bad descriptor, unregister it.

24 years agoFix a small bug in binary-to-ascii.
Ted Lemon [Wed, 18 Apr 2001 18:54:47 +0000 (18:54 +0000)] 
Fix a small bug in binary-to-ascii.

24 years agoUpdate changelog and version
Ted Lemon [Wed, 18 Apr 2001 18:53:44 +0000 (18:53 +0000)] 
Update changelog and version

24 years agoMake them work on my alpha.
Ted Lemon [Wed, 18 Apr 2001 18:46:16 +0000 (18:46 +0000)] 
Make them work on my alpha.

24 years agoTest failover initial synchronization, etc.
Ted Lemon [Wed, 18 Apr 2001 18:38:05 +0000 (18:38 +0000)] 
Test failover initial synchronization, etc.

24 years agoUpdate version and changelog V3-RC1
Ted Lemon [Tue, 17 Apr 2001 04:50:38 +0000 (04:50 +0000)] 
Update version and changelog

24 years agoFix a couple of ifdef compatibility mistakes.
Ted Lemon [Tue, 17 Apr 2001 04:10:47 +0000 (04:10 +0000)] 
Fix a couple of ifdef compatibility mistakes.

24 years agoFix -r documentation
Ted Lemon [Mon, 16 Apr 2001 22:48:59 +0000 (22:48 +0000)] 
Fix -r documentation

24 years agoFix lease binding state transitions.
Ted Lemon [Mon, 16 Apr 2001 22:32:58 +0000 (22:32 +0000)] 
Fix lease binding state transitions.

24 years agoRototill the failover protocol support.
Ted Lemon [Mon, 16 Apr 2001 22:28:50 +0000 (22:28 +0000)] 
Rototill the failover protocol support.

24 years agoDocument how to put server into partner-down.
Ted Lemon [Mon, 16 Apr 2001 22:26:30 +0000 (22:26 +0000)] 
Document how to put server into partner-down.

24 years ago- Default tstp if none is specified.
Ted Lemon [Mon, 16 Apr 2001 22:25:04 +0000 (22:25 +0000)] 
- Default tstp if none is specified.
- Default initial state to recover instead of potential_conflict.
- Allow star-time-of-state to be left unspecified.

24 years agoDon't do refcount tracing on dmalloc/dfree unless the user asks for it.
Ted Lemon [Mon, 16 Apr 2001 22:19:20 +0000 (22:19 +0000)] 
Don't do refcount tracing on dmalloc/dfree unless the user asks for it.

24 years agoAdd DEBUG_LEASE_STATE_TRANSITIONS
Ted Lemon [Mon, 16 Apr 2001 22:17:58 +0000 (22:17 +0000)] 
Add DEBUG_LEASE_STATE_TRANSITIONS

24 years agoFix prototypes.
Ted Lemon [Mon, 16 Apr 2001 22:15:23 +0000 (22:15 +0000)] 
Fix prototypes.

24 years agoDocument the -nw flag.
Ted Lemon [Mon, 16 Apr 2001 22:13:30 +0000 (22:13 +0000)] 
Document the -nw flag.

24 years agoAdd nowait flag. Remove -D flag.
Ted Lemon [Mon, 16 Apr 2001 22:07:33 +0000 (22:07 +0000)] 
Add nowait flag.   Remove -D flag.

24 years agoRemove obsolete documenation for -D
Ted Lemon [Mon, 16 Apr 2001 22:05:43 +0000 (22:05 +0000)] 
Remove obsolete documenation for -D

24 years agotroff source from james replaces plain text.
Ben Cottrell [Mon, 16 Apr 2001 17:44:11 +0000 (17:44 +0000)] 
troff source from james replaces plain text.

24 years agoArf... these are nroff output, but I don't have the original troff source.
Ben Cottrell [Thu, 12 Apr 2001 21:23:14 +0000 (21:23 +0000)] 
Arf... these are nroff output, but I don't have the original troff source.
Hopefully James does, so he can replace these with the nroff.

I just used:
memcpy(ipaddrstring->value, &convaddr.s_addr, 4);
for the byte order thingy. I'm hoping this is right. inet_pton will
spit out the address in network byte order, and Ted says that
dhcpctl_set_value is expecting it in network byte order, also.

24 years agoFix the contributions message for dhcpd.
Ted Lemon [Mon, 9 Apr 2001 18:08:57 +0000 (18:08 +0000)] 
Fix the contributions message for dhcpd.

24 years agoMake compiles work without NSUPDATE.
Ted Lemon [Mon, 9 Apr 2001 01:18:15 +0000 (01:18 +0000)] 
Make compiles work without NSUPDATE.

24 years agoDon't require a const (prevents a compile error on solaris).
Ted Lemon [Mon, 9 Apr 2001 01:16:36 +0000 (01:16 +0000)] 
Don't require a const (prevents a compile error on solaris).

24 years agoParameterize use of EDQUOT for SCO.
Ted Lemon [Mon, 9 Apr 2001 01:15:19 +0000 (01:15 +0000)] 
Parameterize use of EDQUOT for SCO.

24 years agoSCO Fixups.
Ted Lemon [Mon, 9 Apr 2001 01:13:32 +0000 (01:13 +0000)] 
SCO Fixups.

24 years agoWork around Linux 2.4 Token Ring problem.
Ted Lemon [Mon, 9 Apr 2001 01:03:14 +0000 (01:03 +0000)] 
Work around Linux 2.4 Token Ring problem.

24 years agoFix up a -DDEBUG compile error.
Ted Lemon [Mon, 9 Apr 2001 00:46:39 +0000 (00:46 +0000)] 
Fix up a -DDEBUG compile error.

24 years agoMake it compile with DEBUG_EXPRESSION_PARSE.
Ted Lemon [Mon, 9 Apr 2001 00:41:45 +0000 (00:41 +0000)] 
Make it compile with DEBUG_EXPRESSION_PARSE.

24 years agoMake things compile if DEBUG is defined.
Ted Lemon [Mon, 9 Apr 2001 00:36:45 +0000 (00:36 +0000)] 
Make things compile if DEBUG is defined.

24 years agoFix compile errors when building with DEBUG_PACKET.
Ted Lemon [Mon, 9 Apr 2001 00:34:06 +0000 (00:34 +0000)] 
Fix compile errors when building with DEBUG_PACKET.

24 years agoSCO changes.
Ted Lemon [Mon, 9 Apr 2001 00:31:48 +0000 (00:31 +0000)] 
SCO changes.

24 years agoUpdate the section on SCO.
Ted Lemon [Mon, 9 Apr 2001 00:29:46 +0000 (00:29 +0000)] 
Update the section on SCO.

24 years agoSCO fixes.
Ted Lemon [Mon, 9 Apr 2001 00:29:22 +0000 (00:29 +0000)] 
SCO fixes.

24 years agoFix an incorrect use of BPF_WORDALIGN
Ted Lemon [Sun, 8 Apr 2001 21:12:49 +0000 (21:12 +0000)] 
Fix an incorrect use of BPF_WORDALIGN

24 years agoUpdate changelog and version V3-BETA-2-PATCH-24
Ted Lemon [Fri, 6 Apr 2001 06:15:15 +0000 (06:15 +0000)] 
Update changelog and version

24 years agoRelease old billing class when parsing new billing class.
Ted Lemon [Fri, 6 Apr 2001 05:52:19 +0000 (05:52 +0000)] 
Release old billing class when parsing new billing class.

24 years agoAdd a TODO note about spawning subclasses.
Ted Lemon [Fri, 6 Apr 2001 05:45:45 +0000 (05:45 +0000)] 
Add a TODO note about spawning subclasses.

24 years agoFix an incorrect status check that may have been causing a core dump.
Ted Lemon [Fri, 6 Apr 2001 05:42:37 +0000 (05:42 +0000)] 
Fix an incorrect status check that may have been causing a core dump.

24 years agoProcess the state transition if we're doing a deferred update.
Ted Lemon [Fri, 6 Apr 2001 01:03:39 +0000 (01:03 +0000)] 
Process the state transition if we're doing a deferred update.

24 years agoDon't create a trace file if there's one there already.
Ted Lemon [Fri, 6 Apr 2001 01:02:47 +0000 (01:02 +0000)] 
Don't create a trace file if there's one there already.

24 years agoSet IFS back to space after parsing PATH.
Ted Lemon [Thu, 5 Apr 2001 23:37:34 +0000 (23:37 +0000)] 
Set IFS back to space after parsing PATH.

24 years agoAdd hooks for subclasses.
Ted Lemon [Thu, 5 Apr 2001 22:54:57 +0000 (22:54 +0000)] 
Add hooks for subclasses.

24 years agoMake sure we have a stdin, stdout and stderr.
Ted Lemon [Thu, 5 Apr 2001 22:52:48 +0000 (22:52 +0000)] 
Make sure we have a stdin, stdout and stderr.

24 years ago- Add S_STOPPED state for downed interfaces.
Ted Lemon [Thu, 5 Apr 2001 22:49:40 +0000 (22:49 +0000)] 
- Add S_STOPPED state for downed interfaces.
- Add subclass prototypes.
- Remove duplicate class prototypes.

24 years agoMake sure we have a stdin, stdout and stderr.
Ted Lemon [Thu, 5 Apr 2001 22:44:23 +0000 (22:44 +0000)] 
Make sure we have a stdin, stdout and stderr.

24 years agoDocument -P command line switch in usage.
Ted Lemon [Thu, 5 Apr 2001 22:41:31 +0000 (22:41 +0000)] 
Document -P command line switch in usage.

24 years agoMake sure we have a stdin, stdout and stderr.
Ted Lemon [Thu, 5 Apr 2001 22:37:35 +0000 (22:37 +0000)] 
Make sure we have a stdin, stdout and stderr.

24 years agoFix some documentation errors
Ted Lemon [Thu, 5 Apr 2001 22:36:28 +0000 (22:36 +0000)] 
Fix some documentation errors

24 years agoApply a patch supplied by Tuan Uong for a buffer offset error.
Ted Lemon [Thu, 5 Apr 2001 20:53:01 +0000 (20:53 +0000)] 
Apply a patch supplied by Tuan Uong for a buffer offset error.

24 years agoTweak the omapi interface hooks.
Ted Lemon [Thu, 5 Apr 2001 20:50:19 +0000 (20:50 +0000)] 
Tweak the omapi interface hooks.

24 years agoIf we get an EIO on read, the interface is gone, so delete it.
Ted Lemon [Thu, 5 Apr 2001 20:47:34 +0000 (20:47 +0000)] 
If we get an EIO on read, the interface is gone, so delete it.

24 years ago- Fix DHCPRELEASE to do the right thing.
Ted Lemon [Thu, 5 Apr 2001 20:42:11 +0000 (20:42 +0000)] 
- Fix DHCPRELEASE to do the right thing.
- If the interface goes away, stop trying to get an address on it.

24 years agoMake the omapi statement in the client config actually work.
Ted Lemon [Thu, 5 Apr 2001 20:37:55 +0000 (20:37 +0000)] 
Make the omapi statement in the client config actually work.

24 years agoDon't use the which command.
Ted Lemon [Thu, 5 Apr 2001 20:35:52 +0000 (20:35 +0000)] 
Don't use the which command.

24 years agoDon't try to determine SIOCGIFCONF buffer size prior to Linux 2.2.
Ted Lemon [Thu, 5 Apr 2001 06:12:28 +0000 (06:12 +0000)] 
Don't try to determine SIOCGIFCONF buffer size prior to Linux 2.2.

24 years agoFix a silly malloc bug in mrtrace.
Ted Lemon [Fri, 30 Mar 2001 05:21:58 +0000 (05:21 +0000)] 
Fix a silly malloc bug in mrtrace.

24 years agoFix RT #1100. This was due to incorrect refcounting of failover messages
Ben Cottrell [Wed, 28 Mar 2001 23:07:10 +0000 (23:07 +0000)] 
Fix RT #1100. This was due to incorrect refcounting of failover messages
in two places, and also the fact that failover_message_dereference() was
not zeroing out the pointer.

24 years agoUpdate version and changelog V3-BETA-2-PATCH-23
Ted Lemon [Thu, 22 Mar 2001 21:41:33 +0000 (21:41 +0000)] 
Update version and changelog

24 years agoFix a core dump in dhcprelease.
Ted Lemon [Thu, 22 Mar 2001 21:36:49 +0000 (21:36 +0000)] 
Fix a core dump in dhcprelease.

24 years agoUpdate documentation of client identifier representation.
Ted Lemon [Thu, 22 Mar 2001 07:01:45 +0000 (07:01 +0000)] 
Update documentation of client identifier representation.

24 years agofix up dhclient script defaults.
Ted Lemon [Thu, 22 Mar 2001 07:01:11 +0000 (07:01 +0000)] 
fix up dhclient script defaults.

24 years agoGet rid of a ??? that confuses the Sun compiler.
Ted Lemon [Thu, 22 Mar 2001 07:00:15 +0000 (07:00 +0000)] 
Get rid of a ??? that confuses the Sun compiler.

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.