]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
24 years agoFix a byte swap error
Ted Lemon [Fri, 27 Apr 2001 22:23:02 +0000 (22:23 +0000)] 
Fix a byte swap error

24 years agoFix some host references.
Ted Lemon [Fri, 27 Apr 2001 21:32:48 +0000 (21:32 +0000)] 
Fix some host references.

24 years agoFix various places where refcounting of hosts is needed.
Ted Lemon [Fri, 27 Apr 2001 21:30:59 +0000 (21:30 +0000)] 
Fix various places where refcounting of hosts is needed.

24 years agoAdd a scary debugging mode for finding host allocation errors.
Ted Lemon [Fri, 27 Apr 2001 21:30:15 +0000 (21:30 +0000)] 
Add a scary debugging mode for finding host allocation errors.

24 years agoFix handling of return codes in res_findzonecut ().
Ted Lemon [Fri, 27 Apr 2001 20:01:29 +0000 (20:01 +0000)] 
Fix handling of return codes in res_findzonecut ().

24 years agoGet rid of a couple of spurious debugging statements. V3-RC2-PATCH-1
Ted Lemon [Tue, 24 Apr 2001 02:31:27 +0000 (02:31 +0000)] 
Get rid of a couple of spurious debugging statements.

24 years agoFix up some mistakes in the last commit. Fix a zero-length malloc.
Ted Lemon [Tue, 24 Apr 2001 01:18:08 +0000 (01:18 +0000)] 
Fix up some mistakes in the last commit.   Fix a zero-length malloc.

24 years agoDon't malloc zero-length uid buffer.
Ted Lemon [Tue, 24 Apr 2001 01:02:24 +0000 (01:02 +0000)] 
Don't malloc zero-length uid buffer.

24 years agoUnbill classes before dereferencing them.
Ted Lemon [Tue, 24 Apr 2001 00:55:31 +0000 (00:55 +0000)] 
Unbill classes before dereferencing them.

24 years agoDon't continue to try to trace if we can't open the tracefile.
Ted Lemon [Tue, 24 Apr 2001 00:51:31 +0000 (00:51 +0000)] 
Don't continue to try to trace if we can't open the tracefile.

24 years agoPut offsets into packet into comments.
Ted Lemon [Tue, 24 Apr 2001 00:50:38 +0000 (00:50 +0000)] 
Put offsets into packet into comments.

24 years agoOops.
Ted Lemon [Tue, 24 Apr 2001 00:46:14 +0000 (00:46 +0000)] 
Oops.

24 years agoUpdate for testing in RWC.
Ted Lemon [Tue, 24 Apr 2001 00:44:41 +0000 (00:44 +0000)] 
Update for testing in RWC.

24 years agoMake lpf input packet reassembly buffer slightly bigger.
Ted Lemon [Tue, 24 Apr 2001 00:36:00 +0000 (00:36 +0000)] 
Make lpf input packet reassembly buffer slightly bigger.

24 years agoIf ICMP doesn't come up, continue.
Ted Lemon [Mon, 23 Apr 2001 21:41:36 +0000 (21:41 +0000)] 
If ICMP doesn't come up, continue.

24 years agoUpdate version and changelog
Ted Lemon [Fri, 20 Apr 2001 21:34:41 +0000 (21:34 +0000)] 
Update version and changelog

24 years agoWhen a release expires or is released, unbill it.
Ted Lemon [Fri, 20 Apr 2001 20:39:54 +0000 (20:39 +0000)] 
When a release expires or is released, unbill it.

24 years agoNotice if a lease is billed when it's already been billed.
Ted Lemon [Fri, 20 Apr 2001 20:39:26 +0000 (20:39 +0000)] 
Notice if a lease is billed when it's already been billed.

24 years agoDon't allow writes on a closed connection.
Ted Lemon [Fri, 20 Apr 2001 20:14:07 +0000 (20:14 +0000)] 
Don't allow writes on a closed connection.

24 years agoUse -f instead of -x to look for hooks.
Ted Lemon [Fri, 20 Apr 2001 20:01:19 +0000 (20:01 +0000)] 
Use -f instead of -x to look for hooks.

24 years agoMake put_message work with mallocs that don't allocate zero-length buffers.
Ted Lemon [Fri, 20 Apr 2001 19:58:42 +0000 (19:58 +0000)] 
Make put_message work with mallocs that don't allocate zero-length buffers.

24 years agoUndo previous change.
Ted Lemon [Fri, 20 Apr 2001 19:24:20 +0000 (19:24 +0000)] 
Undo previous change.

24 years agoIf an IO descriptor goes bad, stop waiting on it.
Ted Lemon [Fri, 20 Apr 2001 19:23:45 +0000 (19:23 +0000)] 
If an IO descriptor goes bad, stop waiting on it.

24 years ago- If we are get a contact timeout on a link, drop it, regardless of
Ted Lemon [Fri, 20 Apr 2001 19:05:53 +0000 (19:05 +0000)] 
- If we are get a contact timeout on a link, drop it, regardless of
  what state we're in.

24 years ago- If we get an ECONNRESET, drop the connection immediately - don't
Ted Lemon [Fri, 20 Apr 2001 19:04:26 +0000 (19:04 +0000)] 
- If we get an ECONNRESET, drop the connection immediately - don't
  wait for the output queue to drain.

24 years agoDon't ignore 'no-op' peer state changes when we're disconnected.
Ted Lemon [Fri, 20 Apr 2001 18:48:25 +0000 (18:48 +0000)] 
Don't ignore 'no-op' peer state changes when we're disconnected.

24 years agoOops, keep the old stos but take the new state when moving to recover_wait!
Ted Lemon [Fri, 20 Apr 2001 18:34:27 +0000 (18:34 +0000)] 
Oops, keep the old stos but take the new state when moving to recover_wait!

24 years ago- Add recover_wait state.
Ted Lemon [Fri, 20 Apr 2001 18:11:40 +0000 (18:11 +0000)] 
- Add recover_wait state.
- If we make transition from startup to recover_wait, set a timer to
  get us to recover_done.
- If peer state update is received, _always_ check to see if we should
  do a transition out of startup.

24 years agoAdd recover_wait state goo.
Ted Lemon [Fri, 20 Apr 2001 18:07:29 +0000 (18:07 +0000)] 
Add recover_wait state goo.

24 years ago- Don't print out spurious messages and initiate reconnect timeouts when
Ted Lemon [Fri, 20 Apr 2001 15:14:40 +0000 (15:14 +0000)] 
- Don't print out spurious messages and initiate reconnect timeouts when
  dhcp_failover_link_initiate returns ISC_R_INCOMPLETE.

24 years agoDon't use the same UID for all test leases.
Ted Lemon [Fri, 20 Apr 2001 14:55:46 +0000 (14:55 +0000)] 
Don't use the same UID for all test leases.

24 years agoAdjust for alpha/solaris testing
Ted Lemon [Fri, 20 Apr 2001 14:54:17 +0000 (14:54 +0000)] 
Adjust for alpha/solaris testing

24 years agoUse interface_snorf to register interfaces specified on the command line.
Ted Lemon [Thu, 19 Apr 2001 16:48:53 +0000 (16:48 +0000)] 
Use interface_snorf to register interfaces specified on the command line.

24 years agoConvert 3.0b1 lease to current.
Ted Lemon [Wed, 18 Apr 2001 19:17:34 +0000 (19:17 +0000)] 
Convert 3.0b1 lease to current.

24 years agoUpdate version.
Ted Lemon [Wed, 18 Apr 2001 19:02:48 +0000 (19:02 +0000)] 
Update version.

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