]>
git.ipfire.org Git - thirdparty/dhcp.git/log
Ted Lemon [Sat, 20 Nov 1999 18:36:32 +0000 (18:36 +0000)]
Mass commit for Brian Murrell.
Ted Lemon [Mon, 15 Nov 1999 13:52:13 +0000 (13:52 +0000)]
Definitions for failover.
Ted Lemon [Sun, 14 Nov 1999 00:49:12 +0000 (00:49 +0000)]
Add definitions for failover protocol and debugging.
Ted Lemon [Sun, 14 Nov 1999 00:43:56 +0000 (00:43 +0000)]
Fix notation about DDNS updates.
Ted Lemon [Sun, 14 Nov 1999 00:42:57 +0000 (00:42 +0000)]
Backup commit - code isn't yet working.
Ted Lemon [Sun, 14 Nov 1999 00:39:33 +0000 (00:39 +0000)]
Add failover objects.
Ted Lemon [Sun, 14 Nov 1999 00:36:51 +0000 (00:36 +0000)]
Server-specific data tables.
Ted Lemon [Sun, 14 Nov 1999 00:32:28 +0000 (00:32 +0000)]
More fixups for lease expiry code.
Ted Lemon [Sun, 14 Nov 1999 00:22:29 +0000 (00:22 +0000)]
Move agent information option parsing out of common code.
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.
Ted Lemon [Sun, 14 Nov 1999 00:11:00 +0000 (00:11 +0000)]
Document null request list.
Ted Lemon [Sun, 14 Nov 1999 00:08:31 +0000 (00:08 +0000)]
Build stables.c
Ted Lemon [Sun, 14 Nov 1999 00:07:28 +0000 (00:07 +0000)]
Conditionalize bit types definition.
Ted Lemon [Sun, 14 Nov 1999 00:06:22 +0000 (00:06 +0000)]
Prototype the great agent options move.
Ted Lemon [Sun, 14 Nov 1999 00:04:27 +0000 (00:04 +0000)]
Move server-specific tables to stables.c
Ted Lemon [Sun, 14 Nov 1999 00:01:08 +0000 (00:01 +0000)]
Add printer for not_equal expression.
Ted Lemon [Sat, 13 Nov 1999 23:53:57 +0000 (23:53 +0000)]
Move parse_allow_deny out of common code.
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.
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.
Ted Lemon [Sat, 13 Nov 1999 23:46:46 +0000 (23:46 +0000)]
Make dummy parse_allow_deny. Allow empty request lists.
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.
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.
Ted Lemon [Thu, 11 Nov 1999 16:10:59 +0000 (16:10 +0000)]
Fix a struct size problem on Linux/ARM32.
Ted Lemon [Sun, 7 Nov 1999 20:38:01 +0000 (20:38 +0000)]
Zero out on_* statements before superseding lease with copied template.
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.
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.
Ted Lemon [Sun, 7 Nov 1999 20:27:04 +0000 (20:27 +0000)]
Fix a couple of mistakes in handling parse errors.
Ted Lemon [Wed, 3 Nov 1999 16:10:46 +0000 (16:10 +0000)]
Add != operator.
Ted Lemon [Sat, 30 Oct 1999 14:07:29 +0000 (14:07 +0000)]
Don't log to stderr if -q is set.
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.
Ted Lemon [Thu, 28 Oct 1999 13:09:35 +0000 (13:09 +0000)]
Don't log to stderr if -q flag is given.
Ted Lemon [Thu, 28 Oct 1999 13:09:06 +0000 (13:09 +0000)]
write() returns a signed integer...
Ted Lemon [Thu, 28 Oct 1999 13:07:06 +0000 (13:07 +0000)]
Oops, fix typo.
Ted Lemon [Thu, 28 Oct 1999 13:02:24 +0000 (13:02 +0000)]
Write 'never;' instead of 'infinite' for unlimited leases.
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.
Ted Lemon [Tue, 26 Oct 1999 16:56:34 +0000 (16:56 +0000)]
Zero the correct buffer...
Ted Lemon [Mon, 25 Oct 1999 15:48:45 +0000 (15:48 +0000)]
Add POINTER_DEBUG define.
Ted Lemon [Mon, 25 Oct 1999 15:15:35 +0000 (15:15 +0000)]
Include res_update.h for BIND 8.2.2 and later.
Ted Lemon [Mon, 25 Oct 1999 15:14:52 +0000 (15:14 +0000)]
Fix a couple of const problems in a bogus way.
Ted Lemon [Mon, 25 Oct 1999 01:56:38 +0000 (01:56 +0000)]
Allow for deleted host declarations in host hash.
Ted Lemon [Mon, 25 Oct 1999 01:55:40 +0000 (01:55 +0000)]
Clean up deleted vs. undeleted leases.
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.
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.
Ted Lemon [Sun, 24 Oct 1999 23:25:33 +0000 (23:25 +0000)]
Fix Linux compiles.
Ted Lemon [Sun, 24 Oct 1999 23:23:41 +0000 (23:23 +0000)]
Fix Linux compile.
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.
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.
Ted Lemon [Sun, 24 Oct 1999 19:36:08 +0000 (19:36 +0000)]
Use LFLAGS when linking test program.
Ted Lemon [Sun, 24 Oct 1999 18:55:37 +0000 (18:55 +0000)]
Fix a null pointer dereference.
Ted Lemon [Sun, 24 Oct 1999 18:54:11 +0000 (18:54 +0000)]
Fix an uninitialized pointer dereference.
Ted Lemon [Sun, 24 Oct 1999 17:19:46 +0000 (17:19 +0000)]
Add new_shared_network_interface function.
Ted Lemon [Sun, 24 Oct 1999 17:19:14 +0000 (17:19 +0000)]
Add support for interface keyword to subnet and shared-network decls.
Ted Lemon [Sun, 24 Oct 1999 17:18:43 +0000 (17:18 +0000)]
Get rid of some returns that aren't reachable.
Ted Lemon [Sun, 24 Oct 1999 17:18:17 +0000 (17:18 +0000)]
Prototype new_shared_network_interface.
Ted Lemon [Sun, 24 Oct 1999 17:17:51 +0000 (17:17 +0000)]
Cast unsigned to signed for Solaris.
Ted Lemon [Sun, 24 Oct 1999 17:17:22 +0000 (17:17 +0000)]
Bomb out when an interface matches two shared networks.
Ted Lemon [Thu, 21 Oct 1999 14:56:05 +0000 (14:56 +0000)]
Try to use client-supplied hostname as identifier in DHCPACK messages.
Ted Lemon [Thu, 21 Oct 1999 12:32:45 +0000 (12:32 +0000)]
Define SHUT_RD if it's not already defined.
Ted Lemon [Thu, 21 Oct 1999 12:32:16 +0000 (12:32 +0000)]
Check result of open() for <0, not NULL.
Ted Lemon [Thu, 21 Oct 1999 12:31:53 +0000 (12:31 +0000)]
Fix some minor warnings.
Ted Lemon [Thu, 21 Oct 1999 03:09:13 +0000 (03:09 +0000)]
Support ignore in boolean expression evaluations.
Ted Lemon [Thu, 21 Oct 1999 03:08:38 +0000 (03:08 +0000)]
Fix a couple of silly mistakes.
Ted Lemon [Thu, 21 Oct 1999 03:08:00 +0000 (03:08 +0000)]
Add IGNORE.
Ted Lemon [Thu, 21 Oct 1999 02:56:20 +0000 (02:56 +0000)]
Document duplicates, declines and ignores.
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.
Ted Lemon [Thu, 21 Oct 1999 02:38:06 +0000 (02:38 +0000)]
Add (and use) ignore option to boolean evals.
Ted Lemon [Thu, 21 Oct 1999 02:36:14 +0000 (02:36 +0000)]
Add DECLINES
Ted Lemon [Thu, 21 Oct 1999 02:36:04 +0000 (02:36 +0000)]
Add SV_DUPLICATES and SV_DECLINES
Ted Lemon [Thu, 21 Oct 1999 02:35:40 +0000 (02:35 +0000)]
Add support for an ignore return value to boolean option evaluators.
Ted Lemon [Thu, 21 Oct 1999 02:35:06 +0000 (02:35 +0000)]
Add 'declines' server option.
Ted Lemon [Thu, 21 Oct 1999 02:34:32 +0000 (02:34 +0000)]
Parse DECLINES. Add a third boolean option: ignore
Ted Lemon [Thu, 21 Oct 1999 02:33:40 +0000 (02:33 +0000)]
Add DECLINES.
Ted Lemon [Wed, 20 Oct 1999 20:55:48 +0000 (20:55 +0000)]
Support allow/deny duplicates.
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.
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.
Ted Lemon [Wed, 20 Oct 1999 19:12:32 +0000 (19:12 +0000)]
Fix still more paste-o's.
Ted Lemon [Wed, 20 Oct 1999 16:52:25 +0000 (16:52 +0000)]
Clean up some of the boolean config option support.
Ted Lemon [Wed, 20 Oct 1999 16:47:04 +0000 (16:47 +0000)]
Handle 'allow bootp' and 'allow booting' correctly. Unicast if possible.
Ted Lemon [Wed, 20 Oct 1999 16:43:35 +0000 (16:43 +0000)]
Dereference unused expression structs when parse fails.
Ted Lemon [Tue, 19 Oct 1999 15:40:07 +0000 (15:40 +0000)]
Document lease-file-name and pid-file-name config 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.
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).
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.
Ted Lemon [Tue, 19 Oct 1999 15:35:16 +0000 (15:35 +0000)]
Initialize head of buffers in allocator, just to be sure.
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.
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.
Ted Lemon [Tue, 19 Oct 1999 15:31:40 +0000 (15:31 +0000)]
Compute arguments to packet operator correctly.
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.
Ted Lemon [Tue, 19 Oct 1999 15:26:50 +0000 (15:26 +0000)]
Fix some more printf arguments.
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.
Ted Lemon [Fri, 15 Oct 1999 12:34:18 +0000 (12:34 +0000)]
Send lease start and end time (Brian Murrell).
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).
Ted Lemon [Thu, 14 Oct 1999 18:27:38 +0000 (18:27 +0000)]
Set the type of each lease as it is allocated.
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!).
Ted Lemon [Thu, 14 Oct 1999 18:09:48 +0000 (18:09 +0000)]
Take appropriate action when directed to send null data.
Ted Lemon [Thu, 14 Oct 1999 18:08:06 +0000 (18:08 +0000)]
Automatically include result.h
Ted Lemon [Thu, 14 Oct 1999 18:06:56 +0000 (18:06 +0000)]
Test accessing of leases.
Ted Lemon [Thu, 14 Oct 1999 18:03:16 +0000 (18:03 +0000)]
Add data_string_dereference function.
Ted Lemon [Thu, 14 Oct 1999 18:03:01 +0000 (18:03 +0000)]
Declaration for data_string_dereference.
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)