]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
24 years agoAdd to main branch.
Ted Lemon [Wed, 27 Jun 2001 02:17:43 +0000 (02:17 +0000)] 
Add to main branch.

24 years agoMerge changes between 3.0rc7 and 3.0rc8pl2.
Ted Lemon [Wed, 27 Jun 2001 00:31:20 +0000 (00:31 +0000)] 
Merge changes between 3.0rc7 and 3.0rc8pl2.

24 years agoremove these from the mainline.
Ted Lemon [Wed, 27 Jun 2001 00:13:08 +0000 (00:13 +0000)] 
remove these from the mainline.

24 years agoAdd these to the mainline.
Ted Lemon [Wed, 27 Jun 2001 00:12:02 +0000 (00:12 +0000)] 
Add these to the mainline.

24 years agoOMAPI class and subclass support.
James Brister [Fri, 22 Jun 2001 16:47:20 +0000 (16:47 +0000)] 
OMAPI class and subclass support.

24 years agoSync with 3.0rc7
Ted Lemon [Thu, 17 May 2001 19:04:09 +0000 (19:04 +0000)] 
Sync with 3.0rc7

24 years agoMention that an ASCII DHCP client identifier may include a leading NUL.
Ted Lemon [Fri, 4 May 2001 17:15:17 +0000 (17:15 +0000)] 
Mention that an ASCII DHCP client identifier may include a leading NUL.

24 years agoMake print_hw_addr bulletproof.
Ted Lemon [Fri, 4 May 2001 01:05:17 +0000 (01:05 +0000)] 
Make print_hw_addr bulletproof.

24 years agoOops, don't go line-oriented when parsing client config.
Ted Lemon [Fri, 4 May 2001 00:51:35 +0000 (00:51 +0000)] 
Oops, don't go line-oriented when parsing client config.

24 years agoping-checks -> ping-check
Ted Lemon [Thu, 3 May 2001 21:07:38 +0000 (21:07 +0000)] 
ping-checks -> ping-check

24 years agoAdd a definition for fpos_t.
Ted Lemon [Thu, 3 May 2001 21:07:19 +0000 (21:07 +0000)] 
Add a definition for fpos_t.

24 years agoFix a compile warning and don't use authentication in a way that doesn't work.
Ted Lemon [Thu, 3 May 2001 21:06:59 +0000 (21:06 +0000)] 
Fix a compile warning and don't use authentication in a way that doesn't work.

24 years ago- Whenever we are connected, send updates.
Ted Lemon [Thu, 3 May 2001 18:31:28 +0000 (18:31 +0000)] 
- Whenever we are connected, send updates.
- Correctly handle an immediate peer transition to partner-down when we come
  up in normal.
- Change 'peer_name' attribute of failover-state object to just 'name'.

24 years agoStash relay agent options when the client is in REBINDING or INIT-REBOOT.
Ted Lemon [Thu, 3 May 2001 18:22:58 +0000 (18:22 +0000)] 
Stash relay agent options when the client is in REBINDING or INIT-REBOOT.

24 years agoAuthenticators are binary, thus unsigned char.
Ted Lemon [Thu, 3 May 2001 18:20:56 +0000 (18:20 +0000)] 
Authenticators are binary, thus unsigned char.

24 years agoOops, get rid of a not-quite-blank line.
Ted Lemon [Wed, 2 May 2001 19:00:14 +0000 (19:00 +0000)] 
Oops, get rid of a not-quite-blank line.

24 years agoAdd a strcasecmp for comparing omapi_data_type_t's.
Ted Lemon [Wed, 2 May 2001 17:00:48 +0000 (17:00 +0000)] 
Add a strcasecmp for comparing omapi_data_type_t's.

24 years agoDo a case-insensitive compare on the key algorithm name.
Ted Lemon [Wed, 2 May 2001 17:00:32 +0000 (17:00 +0000)] 
Do a case-insensitive compare on the key algorithm name.

24 years agoIf the algorithm name is not properly terminated with a '.', add one.
Ted Lemon [Wed, 2 May 2001 16:59:30 +0000 (16:59 +0000)] 
If the algorithm name is not properly terminated with a '.', add one.

24 years agoAdd line-oriented argument to new_parse().
Ted Lemon [Wed, 2 May 2001 07:11:38 +0000 (07:11 +0000)] 
Add line-oriented argument to new_parse().

24 years agoDon't free null uid buffers.
Ted Lemon [Wed, 2 May 2001 07:09:36 +0000 (07:09 +0000)] 
Don't free null uid buffers.

24 years agoReturn key unknown when key lookup fails.
Ted Lemon [Wed, 2 May 2001 07:02:15 +0000 (07:02 +0000)] 
Return key unknown when key lookup fails.

24 years agoCosmetic fix.
Ted Lemon [Wed, 2 May 2001 07:00:30 +0000 (07:00 +0000)] 
Cosmetic fix.

24 years agoNeed error message translation for omapi as well.
Ted Lemon [Wed, 2 May 2001 06:54:32 +0000 (06:54 +0000)] 
Need error message translation for omapi as well.

24 years agoAdd new tokens.
Ted Lemon [Wed, 2 May 2001 06:53:49 +0000 (06:53 +0000)] 
Add new tokens.

24 years agoReturn connection failure status codes.
Ted Lemon [Wed, 2 May 2001 06:52:03 +0000 (06:52 +0000)] 
Return connection failure status codes.

24 years agoAdd line-oriented argument to new_parse().
Ted Lemon [Wed, 2 May 2001 06:48:42 +0000 (06:48 +0000)] 
Add line-oriented argument to new_parse().

24 years agoRevamp parsing, do connections interactively, support base64 keys.
Ted Lemon [Wed, 2 May 2001 06:45:58 +0000 (06:45 +0000)] 
Revamp parsing, do connections interactively, support base64 keys.

24 years agoAdd line-oriented argument to new_parse().
Ted Lemon [Wed, 2 May 2001 06:39:43 +0000 (06:39 +0000)] 
Add line-oriented argument to new_parse().

24 years agoTweak the SIOCGIFCONF code once again.
Ted Lemon [Wed, 2 May 2001 06:36:54 +0000 (06:36 +0000)] 
Tweak the SIOCGIFCONF code once again.

24 years agoAdd line-oriented argument to new_parse(). Add new tokens.
Ted Lemon [Wed, 2 May 2001 06:32:54 +0000 (06:32 +0000)] 
Add line-oriented argument to new_parse().   Add new tokens.

24 years agoAdd line-oriented argument to new_parse().
Ted Lemon [Wed, 2 May 2001 06:27:52 +0000 (06:27 +0000)] 
Add line-oriented argument to new_parse().

24 years agoSIOCGIFCONF API doesn't work properly on sparc.
Ted Lemon [Tue, 1 May 2001 23:12:34 +0000 (23:12 +0000)] 
SIOCGIFCONF API doesn't work properly on sparc.

24 years ago- When we are in partner_down and peer moves to recover_wait, behave as we
Ted Lemon [Tue, 1 May 2001 23:12:06 +0000 (23:12 +0000)] 
- When we are in partner_down and peer moves to recover_wait, behave as we
  would for recover, not for recover_done.

24 years agoDon't bother with recover_wait if both peers are recovering.
Ted Lemon [Tue, 1 May 2001 20:02:10 +0000 (20:02 +0000)] 
Don't bother with recover_wait if both peers are recovering.

24 years agoUpdate/fix documentation. V3_RC4
Ted Lemon [Mon, 30 Apr 2001 22:40:00 +0000 (22:40 +0000)] 
Update/fix documentation.

24 years agoFix some past-os
Ted Lemon [Mon, 30 Apr 2001 22:39:10 +0000 (22:39 +0000)] 
Fix some past-os

24 years agoFix (I hope!) the billing-class bug.
Ted Lemon [Mon, 30 Apr 2001 22:38:34 +0000 (22:38 +0000)] 
Fix (I hope!) the billing-class bug.

24 years agoUpdate version and changelog
Ted Lemon [Mon, 30 Apr 2001 22:37:47 +0000 (22:37 +0000)] 
Update version and changelog

24 years agoUpdate changelog and version V3-RC3
Ted Lemon [Fri, 27 Apr 2001 22:27:33 +0000 (22:27 +0000)] 
Update changelog and version

24 years agoFix a billing class counting error
Ted Lemon [Fri, 27 Apr 2001 22:23:44 +0000 (22:23 +0000)] 
Fix a billing class counting error

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.