]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
25 years agoMass commit for Brian Murrell.
Ted Lemon [Sat, 20 Nov 1999 18:36:32 +0000 (18:36 +0000)] 
Mass commit for Brian Murrell.

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

25 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.

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

25 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.

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

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

25 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.

25 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.

25 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.

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

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

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

25 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.

25 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

25 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.

25 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.

25 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.

25 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.

25 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.

25 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.

25 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.

25 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.

25 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.

25 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.

25 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.

25 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.

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

25 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.

25 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.

25 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.

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

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

25 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.

25 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.

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

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

25 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.

25 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.

25 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.

25 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.

25 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.

25 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.

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

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

25 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.

25 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.

25 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.

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

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

25 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.

25 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.

25 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.

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

25 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.

25 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.

25 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.

25 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.

25 years agoCheck result of open() for <0, not NULL.
Ted Lemon [Thu, 21 Oct 1999 12:32:16 +0000 (12:32 +0000)] 
Check result of open() for <0, not NULL.

25 years agoFix some minor warnings.
Ted Lemon [Thu, 21 Oct 1999 12:31:53 +0000 (12:31 +0000)] 
Fix some minor warnings.

25 years agoSupport ignore in boolean expression evaluations.
Ted Lemon [Thu, 21 Oct 1999 03:09:13 +0000 (03:09 +0000)] 
Support ignore in boolean expression evaluations.

25 years agoFix a couple of silly mistakes.
Ted Lemon [Thu, 21 Oct 1999 03:08:38 +0000 (03:08 +0000)] 
Fix a couple of silly mistakes.

25 years agoAdd IGNORE.
Ted Lemon [Thu, 21 Oct 1999 03:08:00 +0000 (03:08 +0000)] 
Add IGNORE.

25 years agoDocument duplicates, declines and ignores.
Ted Lemon [Thu, 21 Oct 1999 02:56:20 +0000 (02:56 +0000)] 
Document duplicates, declines and ignores.

25 years ago- Check for SV_DECLINES boolean before accepting a DHCPDECLINE.
Ted Lemon [Thu, 21 Oct 1999 02:42:57 +0000 (02:42 +0000)] 
- Check for SV_DECLINES boolean before accepting a DHCPDECLINE.
- Fix some mistakes in completion of evaluate_boolean_option_cache
  conversion.
- Support ignorep return value in boolean evaluations.

25 years agoAdd (and use) ignore option to boolean evals.
Ted Lemon [Thu, 21 Oct 1999 02:38:06 +0000 (02:38 +0000)] 
Add (and use) ignore option to boolean evals.

25 years agoAdd DECLINES
Ted Lemon [Thu, 21 Oct 1999 02:36:14 +0000 (02:36 +0000)] 
Add DECLINES

25 years agoAdd SV_DUPLICATES and SV_DECLINES
Ted Lemon [Thu, 21 Oct 1999 02:36:04 +0000 (02:36 +0000)] 
Add SV_DUPLICATES and SV_DECLINES

25 years agoAdd support for an ignore return value to boolean option evaluators.
Ted Lemon [Thu, 21 Oct 1999 02:35:40 +0000 (02:35 +0000)] 
Add support for an ignore return value to boolean option evaluators.

25 years agoAdd 'declines' server option.
Ted Lemon [Thu, 21 Oct 1999 02:35:06 +0000 (02:35 +0000)] 
Add 'declines' server option.

25 years agoParse DECLINES. Add a third boolean option: ignore
Ted Lemon [Thu, 21 Oct 1999 02:34:32 +0000 (02:34 +0000)] 
Parse DECLINES.   Add a third boolean option: ignore

25 years agoAdd DECLINES.
Ted Lemon [Thu, 21 Oct 1999 02:33:40 +0000 (02:33 +0000)] 
Add DECLINES.

25 years agoSupport allow/deny duplicates.
Ted Lemon [Wed, 20 Oct 1999 20:55:48 +0000 (20:55 +0000)] 
Support allow/deny duplicates.

25 years ago- Add an 'allow/deny duplicates' statement that, if denied, prevents a
Ted Lemon [Wed, 20 Oct 1999 20:54:42 +0000 (20:54 +0000)] 
- Add an 'allow/deny duplicates' statement that, if denied, prevents a
  client with a host declaration that matches by hardware address only
  from getting more than one lease through the use of that host
  declaration by releasing any other such leases.

25 years ago- Fix a stupid bug in the generic code that would cause values to be
Ted Lemon [Wed, 20 Oct 1999 20:09:17 +0000 (20:09 +0000)] 
- Fix a stupid bug in the generic code that would cause values to be
  stored off the end of the value array, resulting in an invalid
  argument return.

25 years agoFix still more paste-o's.
Ted Lemon [Wed, 20 Oct 1999 19:12:32 +0000 (19:12 +0000)] 
Fix still more paste-o's.

25 years agoClean up some of the boolean config option support.
Ted Lemon [Wed, 20 Oct 1999 16:52:25 +0000 (16:52 +0000)] 
Clean up some of the boolean config option support.

25 years agoHandle 'allow bootp' and 'allow booting' correctly. Unicast if possible.
Ted Lemon [Wed, 20 Oct 1999 16:47:04 +0000 (16:47 +0000)] 
Handle 'allow bootp' and 'allow booting' correctly.   Unicast if possible.

25 years agoDereference unused expression structs when parse fails.
Ted Lemon [Wed, 20 Oct 1999 16:43:35 +0000 (16:43 +0000)] 
Dereference unused expression structs when parse fails.

25 years agoDocument lease-file-name and pid-file-name config parameters.
Ted Lemon [Tue, 19 Oct 1999 15:40:07 +0000 (15:40 +0000)] 
Document lease-file-name and pid-file-name config parameters.

25 years agoSupport pid-file-name and lease-file-name config file parameters.
Ted Lemon [Tue, 19 Oct 1999 15:39:23 +0000 (15:39 +0000)] 
Support pid-file-name and lease-file-name config file parameters.

25 years ago- Set O_NONBLOCK on incoming connections (we were already doing this
Ted Lemon [Tue, 19 Oct 1999 15:37:08 +0000 (15:37 +0000)] 
- Set O_NONBLOCK on incoming connections (we were already doing this
  for outgoing connections).

25 years ago- Fix buffer head/tail code.
Ted Lemon [Tue, 19 Oct 1999 15:36:16 +0000 (15:36 +0000)] 
- Fix buffer head/tail code.
- Correctly handle no more data and remote disconnect.

25 years agoInitialize head of buffers in allocator, just to be sure.
Ted Lemon [Tue, 19 Oct 1999 15:35:16 +0000 (15:35 +0000)] 
Initialize head of buffers in allocator, just to be sure.

25 years agoGet rid of broken BUFFER_BYTES_AVAIL macro, replace it with new macros.
Ted Lemon [Tue, 19 Oct 1999 15:33:17 +0000 (15:33 +0000)] 
Get rid of broken BUFFER_BYTES_AVAIL macro, replace it with new macros.

25 years agoAdd defines for SV_LEASE_FILE_NAME and SV_PID_FILE_NAME.
Ted Lemon [Tue, 19 Oct 1999 15:32:32 +0000 (15:32 +0000)] 
Add defines for SV_LEASE_FILE_NAME and SV_PID_FILE_NAME.

25 years agoCompute arguments to packet operator correctly.
Ted Lemon [Tue, 19 Oct 1999 15:31:40 +0000 (15:31 +0000)] 
Compute arguments to packet operator correctly.

25 years agoAdd support for lease-file-name and pid-file-name config parameters.
Ted Lemon [Tue, 19 Oct 1999 15:27:27 +0000 (15:27 +0000)] 
Add support for lease-file-name and pid-file-name config parameters.

25 years agoFix some more printf arguments.
Ted Lemon [Tue, 19 Oct 1999 15:26:50 +0000 (15:26 +0000)] 
Fix some more printf arguments.

25 years ago- Make DHCPRELEASE release the lease corresponding to the IP address in
Ted Lemon [Fri, 15 Oct 1999 15:14:31 +0000 (15:14 +0000)] 
- Make DHCPRELEASE release the lease corresponding to the IP address in
  all cases, and not release anything if the IP address can't be
  determined.

25 years agoSend lease start and end time (Brian Murrell).
Ted Lemon [Fri, 15 Oct 1999 12:34:18 +0000 (12:34 +0000)] 
Send lease start and end time (Brian Murrell).

25 years ago- Don't try to return values that aren't present (and thus dump core).
Ted Lemon [Thu, 14 Oct 1999 18:30:52 +0000 (18:30 +0000)] 
- Don't try to return values that aren't present (and thus dump core).
- Fix ordering of a series of conditionals involved in looking up
  hosts (Brian Murrell).
- Add debugging messages when adding and removing hosts (Brian Murrell).

25 years agoSet the type of each lease as it is allocated.
Ted Lemon [Thu, 14 Oct 1999 18:27:38 +0000 (18:27 +0000)] 
Set the type of each lease as it is allocated.

25 years ago- Don't try to look up an object if we didn't get a description with which
Ted Lemon [Thu, 14 Oct 1999 18:15:56 +0000 (18:15 +0000)] 
- Don't try to look up an object if we didn't get a description with which
  to do the lookup (since this would cause a core dump!).

25 years agoTake appropriate action when directed to send null data.
Ted Lemon [Thu, 14 Oct 1999 18:09:48 +0000 (18:09 +0000)] 
Take appropriate action when directed to send null data.

25 years agoAutomatically include result.h
Ted Lemon [Thu, 14 Oct 1999 18:08:06 +0000 (18:08 +0000)] 
Automatically include result.h

25 years agoTest accessing of leases.
Ted Lemon [Thu, 14 Oct 1999 18:06:56 +0000 (18:06 +0000)] 
Test accessing of leases.

25 years agoAdd data_string_dereference function.
Ted Lemon [Thu, 14 Oct 1999 18:03:16 +0000 (18:03 +0000)] 
Add data_string_dereference function.

25 years agoDeclaration for data_string_dereference.
Ted Lemon [Thu, 14 Oct 1999 18:03:01 +0000 (18:03 +0000)] 
Declaration for data_string_dereference.

25 years agoFix some line wrap errors and take out some debugging exits (Brian Murrell)
Ted Lemon [Thu, 14 Oct 1999 18:01:27 +0000 (18:01 +0000)] 
Fix some line wrap errors and take out some debugging exits (Brian Murrell)