]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
26 years agoExpose failover_state enum.
Ted Lemon [Wed, 5 Jan 2000 18:40:43 +0000 (18:40 +0000)] 
Expose failover_state enum.

26 years agoFix a small omission.
Ted Lemon [Wed, 5 Jan 2000 18:27:42 +0000 (18:27 +0000)] 
Fix a small omission.

26 years agoAdd skip_failover_option for easier use of the failover message maker.
Ted Lemon [Wed, 5 Jan 2000 18:23:44 +0000 (18:23 +0000)] 
Add skip_failover_option for easier use of the failover message maker.

26 years agoSupport new struct hardware.
Ted Lemon [Wed, 5 Jan 2000 18:22:58 +0000 (18:22 +0000)] 
Support new struct hardware.

26 years agoLots of small changes to support failover. New struct hardware support.
Ted Lemon [Wed, 5 Jan 2000 18:22:07 +0000 (18:22 +0000)] 
Lots of small changes to support failover.   New struct hardware support.

26 years agoAdd lots more pieces of failover support.
Ted Lemon [Wed, 5 Jan 2000 18:21:01 +0000 (18:21 +0000)] 
Add lots more pieces of failover support.

26 years ago- Fix up the blurb that talks about how scoping works.
Ted Lemon [Wed, 5 Jan 2000 18:20:30 +0000 (18:20 +0000)] 
- Fix up the blurb that talks about how scoping works.
- Correct erroneous class example.

26 years agoSupport new struct hardware.
Ted Lemon [Wed, 5 Jan 2000 18:17:10 +0000 (18:17 +0000)] 
Support new struct hardware.

26 years agoAdd more pieces of failover support. Support new struct hardware.
Ted Lemon [Wed, 5 Jan 2000 18:16:36 +0000 (18:16 +0000)] 
Add more pieces of failover support.   Support new struct hardware.

26 years agoPrint failover data if present. Support new struct hardware.
Ted Lemon [Wed, 5 Jan 2000 18:15:28 +0000 (18:15 +0000)] 
Print failover data if present.   Support new struct hardware.

26 years agoUse close-on-exec if available.
Ted Lemon [Wed, 5 Jan 2000 18:10:59 +0000 (18:10 +0000)] 
Use close-on-exec if available.

26 years agoGet rid of SHUT_RD definition. Add HAVE_SETFD.
Ted Lemon [Wed, 5 Jan 2000 18:10:07 +0000 (18:10 +0000)] 
Get rid of SHUT_RD definition.   Add HAVE_SETFD.

26 years agoAdd new DNS support.
Ted Lemon [Wed, 5 Jan 2000 18:09:34 +0000 (18:09 +0000)] 
Add new DNS support.

26 years agoAdd dhcp_failover_state_t and fix some of the other failover structures.
Ted Lemon [Wed, 5 Jan 2000 18:08:23 +0000 (18:08 +0000)] 
Add dhcp_failover_state_t and fix some of the other failover structures.

26 years agoAdd some new tokens.
Ted Lemon [Wed, 5 Jan 2000 18:07:37 +0000 (18:07 +0000)] 
Add some new tokens.

26 years ago- Move failover structures to failover.h.
Ted Lemon [Wed, 5 Jan 2000 18:07:20 +0000 (18:07 +0000)] 
- Move failover structures to failover.h.
- Support new hardware struct.
- Prototype new DNS functions and some new failover functions.

26 years agoHandle new DNS expressions.
Ted Lemon [Wed, 5 Jan 2000 18:05:46 +0000 (18:05 +0000)] 
Handle new DNS expressions.

26 years agoSupport new struct hardware. Add printers for new DNS functions.
Ted Lemon [Wed, 5 Jan 2000 18:04:46 +0000 (18:04 +0000)] 
Support new struct hardware.   Add printers for new DNS functions.

26 years ago- Support new DNS functions and parse old DNS syntax into new functions.
Ted Lemon [Wed, 5 Jan 2000 18:03:49 +0000 (18:03 +0000)] 
- Support new DNS functions and parse old DNS syntax into new functions.
- New struct hardware support.

26 years agoSet close-on-exec if possible.
Ted Lemon [Wed, 5 Jan 2000 18:01:41 +0000 (18:01 +0000)] 
Set close-on-exec if possible.

26 years agostruct hardware conversion.
Ted Lemon [Wed, 5 Jan 2000 18:01:15 +0000 (18:01 +0000)] 
struct hardware conversion.

26 years agostruct hardware conversion. Set close-on-exec if possible.
Ted Lemon [Wed, 5 Jan 2000 18:00:34 +0000 (18:00 +0000)] 
struct hardware conversion.   Set close-on-exec if possible.

26 years ago- Fix token parser to handle backslash escape characters.
Ted Lemon [Wed, 5 Jan 2000 17:59:12 +0000 (17:59 +0000)] 
- Fix token parser to handle backslash escape characters.
- Add lots of new tokens for failover and for new DNS support.

26 years agoGet rid of failover allocators that aren't needed.
Ted Lemon [Wed, 5 Jan 2000 17:57:03 +0000 (17:57 +0000)] 
Get rid of failover allocators that aren't needed.

26 years agoFunctionality is now in tree.c.
Ted Lemon [Wed, 5 Jan 2000 17:56:30 +0000 (17:56 +0000)] 
Functionality is now in tree.c.

26 years agoDon't build nsupdate.o
Ted Lemon [Wed, 5 Jan 2000 17:56:00 +0000 (17:56 +0000)] 
Don't build nsupdate.o

26 years agoFix linux-specific casting error.
Ted Lemon [Sun, 2 Jan 2000 22:21:23 +0000 (22:21 +0000)] 
Fix linux-specific casting error.

26 years agoDefine SHUT_RD if the O.S. headers don't.
Ted Lemon [Sun, 19 Dec 1999 23:41:04 +0000 (23:41 +0000)] 
Define SHUT_RD if the O.S. headers don't.

26 years agoWork around bletcherosity in handle declarations. BCTEL_SPECIAL_19991124
Ted Lemon [Wed, 24 Nov 1999 04:13:07 +0000 (04:13 +0000)] 
Work around bletcherosity in handle declarations.

26 years agoOutput routines.
Ted Lemon [Tue, 23 Nov 1999 22:25:07 +0000 (22:25 +0000)] 
Output routines.

26 years agoFix failover-specific data declarations.
Ted Lemon [Tue, 23 Nov 1999 22:24:49 +0000 (22:24 +0000)] 
Fix failover-specific data declarations.

26 years agoClean up failover-specific code.
Ted Lemon [Tue, 23 Nov 1999 22:24:31 +0000 (22:24 +0000)] 
Clean up failover-specific code.

26 years agoDefine all the elements in the message structure. Rename some constants.
Ted Lemon [Tue, 23 Nov 1999 22:24:03 +0000 (22:24 +0000)] 
Define all the elements in the message structure.   Rename some constants.

26 years agoPrototype new failover functions
Ted Lemon [Tue, 23 Nov 1999 22:23:49 +0000 (22:23 +0000)] 
Prototype new failover functions

26 years agoFix up some declarations.
Ted Lemon [Tue, 23 Nov 1999 22:23:24 +0000 (22:23 +0000)] 
Fix up some declarations.

26 years agoGet rid of call to setlogmask - it doesn't seem to be helpful.
Ted Lemon [Tue, 23 Nov 1999 19:10:07 +0000 (19:10 +0000)] 
Get rid of call to setlogmask - it doesn't seem to be helpful.

26 years ago- Fix up all the log messages that I broke in the previous commit (thanks
Ted Lemon [Tue, 23 Nov 1999 19:08:24 +0000 (19:08 +0000)] 
- Fix up all the log messages that I broke in the previous commit (thanks
  to Brian Murrell for QCing this code).

26 years agoFix calls to omapi_protocol_connect and omapi_protocol_listen.
Ted Lemon [Tue, 23 Nov 1999 19:07:17 +0000 (19:07 +0000)] 
Fix calls to omapi_protocol_connect and omapi_protocol_listen.

26 years agounsigned -> u_int32_t
Ted Lemon [Tue, 23 Nov 1999 19:06:48 +0000 (19:06 +0000)] 
unsigned -> u_int32_t

26 years agoAdd FT_TEXT_OR_BYTES.
Ted Lemon [Tue, 23 Nov 1999 19:06:19 +0000 (19:06 +0000)] 
Add FT_TEXT_OR_BYTES.

26 years agoDon't build failover.
Ted Lemon [Tue, 23 Nov 1999 19:05:45 +0000 (19:05 +0000)] 
Don't build failover.

26 years agoFix call to omapi_connect.
Ted Lemon [Tue, 23 Nov 1999 19:05:36 +0000 (19:05 +0000)] 
Fix call to omapi_connect.

26 years agoMass commit for Brian Murrell.
Ted Lemon [Sat, 20 Nov 1999 18:36:32 +0000 (18:36 +0000)] 
Mass commit for Brian Murrell.

26 years agoDefinitions for failover.
Ted Lemon [Mon, 15 Nov 1999 13:52:13 +0000 (13:52 +0000)] 
Definitions for failover.

26 years agoAdd definitions for failover protocol and debugging.
Ted Lemon [Sun, 14 Nov 1999 00:49:12 +0000 (00:49 +0000)] 
Add definitions for failover protocol and debugging.

26 years agoFix notation about DDNS updates.
Ted Lemon [Sun, 14 Nov 1999 00:43:56 +0000 (00:43 +0000)] 
Fix notation about DDNS updates.

26 years agoBackup commit - code isn't yet working.
Ted Lemon [Sun, 14 Nov 1999 00:42:57 +0000 (00:42 +0000)] 
Backup commit - code isn't yet working.

26 years agoAdd failover objects.
Ted Lemon [Sun, 14 Nov 1999 00:39:33 +0000 (00:39 +0000)] 
Add failover objects.

26 years agoServer-specific data tables.
Ted Lemon [Sun, 14 Nov 1999 00:36:51 +0000 (00:36 +0000)] 
Server-specific data tables.

26 years agoMore fixups for lease expiry code.
Ted Lemon [Sun, 14 Nov 1999 00:32:28 +0000 (00:32 +0000)] 
More fixups for lease expiry code.

26 years agoMove agent information option parsing out of common code.
Ted Lemon [Sun, 14 Nov 1999 00:22:29 +0000 (00:22 +0000)] 
Move agent information option parsing out of common code.

26 years ago- Move parse_allow_deny out of common code and split option space
Ted Lemon [Sun, 14 Nov 1999 00:17:47 +0000 (00:17 +0000)] 
- Move parse_allow_deny out of common code and split option space
  initialization.

26 years agoDocument null request list.
Ted Lemon [Sun, 14 Nov 1999 00:11:00 +0000 (00:11 +0000)] 
Document null request list.

26 years agoBuild stables.c
Ted Lemon [Sun, 14 Nov 1999 00:08:31 +0000 (00:08 +0000)] 
Build stables.c

26 years agoConditionalize bit types definition.
Ted Lemon [Sun, 14 Nov 1999 00:07:28 +0000 (00:07 +0000)] 
Conditionalize bit types definition.

26 years agoPrototype the great agent options move.
Ted Lemon [Sun, 14 Nov 1999 00:06:22 +0000 (00:06 +0000)] 
Prototype the great agent options move.

26 years agoMove server-specific tables to stables.c
Ted Lemon [Sun, 14 Nov 1999 00:04:27 +0000 (00:04 +0000)] 
Move server-specific tables to stables.c

26 years agoAdd printer for not_equal expression.
Ted Lemon [Sun, 14 Nov 1999 00:01:08 +0000 (00:01 +0000)] 
Add printer for not_equal expression.

26 years agoMove parse_allow_deny out of common code.
Ted Lemon [Sat, 13 Nov 1999 23:53:57 +0000 (23:53 +0000)] 
Move parse_allow_deny out of common code.

26 years ago- Move agent information option handling out of common code, since it's
Ted Lemon [Sat, 13 Nov 1999 23:51:50 +0000 (23:51 +0000)] 
- Move agent information option handling out of common code, since it's
  server-specific.

26 years ago- Add dummies for agent information option handling.
Ted Lemon [Sat, 13 Nov 1999 23:49:41 +0000 (23:49 +0000)] 
- Add dummies for agent information option handling.
- Don't spin if /tmp missing or some other unexpected error happens when
  invoking client script.

26 years agoMake dummy parse_allow_deny. Allow empty request lists.
Ted Lemon [Sat, 13 Nov 1999 23:46:46 +0000 (23:46 +0000)] 
Make dummy parse_allow_deny.   Allow empty request lists.

26 years ago- Delete on_expiry events when lease is released, regardless of whether
Ted Lemon [Fri, 12 Nov 1999 17:21:28 +0000 (17:21 +0000)] 
- Delete on_expiry events when lease is released, regardless of whether
  there's a release event.
- If the lease being superseded is the next in a pool to expire, clean that
  up before superseding.
- Also, if the next lease to expire in a pool expires at the same time as
  the current lease, make sure that both expire, not just one.

26 years agoDon't prematurely expire a lease just because a client starts out in INIT.
Ted Lemon [Fri, 12 Nov 1999 17:17:16 +0000 (17:17 +0000)] 
Don't prematurely expire a lease just because a client starts out in INIT.

26 years agoFix a struct size problem on Linux/ARM32.
Ted Lemon [Thu, 11 Nov 1999 16:10:59 +0000 (16:10 +0000)] 
Fix a struct size problem on Linux/ARM32.

26 years agoZero out on_* statements before superseding lease with copied template.
Ted Lemon [Sun, 7 Nov 1999 20:38:01 +0000 (20:38 +0000)] 
Zero out on_* statements before superseding lease with copied template.

26 years agoMake sure we are responding to a DHCPREQUEST before dissoociating a lease.
Ted Lemon [Sun, 7 Nov 1999 20:32:03 +0000 (20:32 +0000)] 
Make sure we are responding to a DHCPREQUEST before dissoociating a lease.

26 years ago- Open the database file for appending before expiring pools, in case leases
Ted Lemon [Sun, 7 Nov 1999 20:28:23 +0000 (20:28 +0000)] 
- Open the database file for appending before expiring pools, in case leases
  need to be rewritten during the expirating process.

26 years agoFix a couple of mistakes in handling parse errors.
Ted Lemon [Sun, 7 Nov 1999 20:27:04 +0000 (20:27 +0000)] 
Fix a couple of mistakes in handling parse errors.

26 years agoAdd != operator.
Ted Lemon [Wed, 3 Nov 1999 16:10:46 +0000 (16:10 +0000)] 
Add != operator.

26 years agoDon't log to stderr if -q is set.
Ted Lemon [Sat, 30 Oct 1999 14:07:29 +0000 (14:07 +0000)] 
Don't log to stderr if -q is set.

26 years agoClean up a loophole in the code that sets up the pool expiry timer.
Ted Lemon [Thu, 28 Oct 1999 15:53:05 +0000 (15:53 +0000)] 
Clean up a loophole in the code that sets up the pool expiry timer.

26 years agoDon't log to stderr if -q flag is given.
Ted Lemon [Thu, 28 Oct 1999 13:09:35 +0000 (13:09 +0000)] 
Don't log to stderr if -q flag is given.

26 years agowrite() returns a signed integer...
Ted Lemon [Thu, 28 Oct 1999 13:09:06 +0000 (13:09 +0000)] 
write() returns a signed integer...

26 years agoOops, fix typo.
Ted Lemon [Thu, 28 Oct 1999 13:07:06 +0000 (13:07 +0000)] 
Oops, fix typo.

26 years agoWrite 'never;' instead of 'infinite' for unlimited leases.
Ted Lemon [Thu, 28 Oct 1999 13:02:24 +0000 (13:02 +0000)] 
Write 'never;' instead of 'infinite' for unlimited leases.

26 years agoUse the right expiry event. Count leases, hosts and groups written and log each.
Ted Lemon [Wed, 27 Oct 1999 23:05:17 +0000 (23:05 +0000)] 
Use the right expiry event.   Count leases, hosts and groups written and log each.

26 years agoZero the correct buffer...
Ted Lemon [Tue, 26 Oct 1999 16:56:34 +0000 (16:56 +0000)] 
Zero the correct buffer...

26 years agoAdd POINTER_DEBUG define.
Ted Lemon [Mon, 25 Oct 1999 15:48:45 +0000 (15:48 +0000)] 
Add POINTER_DEBUG define.

26 years agoInclude res_update.h for BIND 8.2.2 and later.
Ted Lemon [Mon, 25 Oct 1999 15:15:35 +0000 (15:15 +0000)] 
Include res_update.h for BIND 8.2.2 and later.

26 years agoFix a couple of const problems in a bogus way.
Ted Lemon [Mon, 25 Oct 1999 15:14:52 +0000 (15:14 +0000)] 
Fix a couple of const problems in a bogus way.

26 years agoAllow for deleted host declarations in host hash.
Ted Lemon [Mon, 25 Oct 1999 01:56:38 +0000 (01:56 +0000)] 
Allow for deleted host declarations in host hash.

26 years agoClean up deleted vs. undeleted leases.
Ted Lemon [Mon, 25 Oct 1999 01:55:40 +0000 (01:55 +0000)] 
Clean up deleted vs. undeleted leases.

26 years ago- Set DYNAMIC flag in host decl if dynamic keyword is given, otherwise
Ted Lemon [Mon, 25 Oct 1999 01:52:52 +0000 (01:52 +0000)] 
- Set DYNAMIC flag in host decl if dynamic keyword is given, otherwise
  set STATIC.

26 years agoGet rid of dynamic_hosts kludge - do host deletion like group deletion.
Ted Lemon [Sun, 24 Oct 1999 23:27:52 +0000 (23:27 +0000)] 
Get rid of dynamic_hosts kludge - do host deletion like group deletion.

26 years agoFix Linux compiles.
Ted Lemon [Sun, 24 Oct 1999 23:25:33 +0000 (23:25 +0000)] 
Fix Linux compiles.

26 years agoFix Linux compile.
Ted Lemon [Sun, 24 Oct 1999 23:23:41 +0000 (23:23 +0000)] 
Fix Linux compile.

26 years ago- Allow the user to specify giaddr on the command line, for testing.
Ted Lemon [Sun, 24 Oct 1999 19:44:15 +0000 (19:44 +0000)] 
- Allow the user to specify giaddr on the command line, for testing.
- If giaddr is specified, and it's not INADDR_LOOPBACK, use port 67 as
  the source port and also listen on port 67, since we're pretending to
  be a relay agent, and not a client.
- Stagger the first renew by +/- 1/4 of a lease interval, to mitigate 9am
  syndrome.
- Stagger startup time by up to five seconds, to even out the startup load.

26 years ago- Reply to remote_port if giaddr is 127.0.0.1, so that relay debugging can
Ted Lemon [Sun, 24 Oct 1999 19:38:53 +0000 (19:38 +0000)] 
- Reply to remote_port if giaddr is 127.0.0.1, so that relay debugging can
  be done using lo0.

26 years agoUse LFLAGS when linking test program.
Ted Lemon [Sun, 24 Oct 1999 19:36:08 +0000 (19:36 +0000)] 
Use LFLAGS when linking test program.

26 years agoFix a null pointer dereference.
Ted Lemon [Sun, 24 Oct 1999 18:55:37 +0000 (18:55 +0000)] 
Fix a null pointer dereference.

26 years agoFix an uninitialized pointer dereference.
Ted Lemon [Sun, 24 Oct 1999 18:54:11 +0000 (18:54 +0000)] 
Fix an uninitialized pointer dereference.

26 years agoAdd new_shared_network_interface function.
Ted Lemon [Sun, 24 Oct 1999 17:19:46 +0000 (17:19 +0000)] 
Add new_shared_network_interface function.

26 years agoAdd support for interface keyword to subnet and shared-network decls.
Ted Lemon [Sun, 24 Oct 1999 17:19:14 +0000 (17:19 +0000)] 
Add support for interface keyword to subnet and shared-network decls.

26 years agoGet rid of some returns that aren't reachable.
Ted Lemon [Sun, 24 Oct 1999 17:18:43 +0000 (17:18 +0000)] 
Get rid of some returns that aren't reachable.

26 years agoPrototype new_shared_network_interface.
Ted Lemon [Sun, 24 Oct 1999 17:18:17 +0000 (17:18 +0000)] 
Prototype new_shared_network_interface.

26 years agoCast unsigned to signed for Solaris.
Ted Lemon [Sun, 24 Oct 1999 17:17:51 +0000 (17:17 +0000)] 
Cast unsigned to signed for Solaris.

26 years agoBomb out when an interface matches two shared networks.
Ted Lemon [Sun, 24 Oct 1999 17:17:22 +0000 (17:17 +0000)] 
Bomb out when an interface matches two shared networks.

26 years agoTry to use client-supplied hostname as identifier in DHCPACK messages.
Ted Lemon [Thu, 21 Oct 1999 14:56:05 +0000 (14:56 +0000)] 
Try to use client-supplied hostname as identifier in DHCPACK messages.

26 years agoDefine SHUT_RD if it's not already defined.
Ted Lemon [Thu, 21 Oct 1999 12:32:45 +0000 (12:32 +0000)] 
Define SHUT_RD if it's not already defined.