]>
git.ipfire.org Git - thirdparty/dhcp.git/log
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)
Ted Lemon [Thu, 14 Oct 1999 18:00:46 +0000 (18:00 +0000)]
Correct printf argument type (Brian Murrell)
Ted Lemon [Thu, 14 Oct 1999 17:47:54 +0000 (17:47 +0000)]
Correct printf argument type (Brian Murrell)
Ted Lemon [Thu, 14 Oct 1999 17:43:02 +0000 (17:43 +0000)]
- Undo an erroneous change that would have caused core dumps in case of
programming errors instead of allowing memory leaks.
Ted Lemon [Thu, 14 Oct 1999 17:40:05 +0000 (17:40 +0000)]
Correct ordering of log arguments.
Ted Lemon [Wed, 13 Oct 1999 16:28:00 +0000 (16:28 +0000)]
Fix a core dump involving incorrect use of evaluate_data_expression.
Ted Lemon [Tue, 12 Oct 1999 16:00:34 +0000 (16:00 +0000)]
Fix up args to printf-like functions (thanks to Pedro Ribiero).
Ted Lemon [Sat, 9 Oct 1999 04:49:41 +0000 (04:49 +0000)]
Add next_expiry pointer to pool structure.
Ted Lemon [Fri, 8 Oct 1999 22:29:52 +0000 (22:29 +0000)]
Expire all outstanding unexpired leases after loading lease file on startup.
Ted Lemon [Fri, 8 Oct 1999 22:21:34 +0000 (22:21 +0000)]
- Make the error messages generated based on authority more authoritative.
- Don't respond to DHCPINFORM messages on subnets for which we are not
authoritative.
Ted Lemon [Fri, 8 Oct 1999 22:17:41 +0000 (22:17 +0000)]
Implement lease expiry events.
Ted Lemon [Fri, 8 Oct 1999 17:28:09 +0000 (17:28 +0000)]
Pass pointer to unsigned long, for portability to 64-bit architectures.
Ted Lemon [Fri, 8 Oct 1999 17:19:41 +0000 (17:19 +0000)]
Get rid of u_* declarations for portability.
Ted Lemon [Fri, 8 Oct 1999 17:08:34 +0000 (17:08 +0000)]
- Don't try to process the option buffer if there isn't one, and don't
try to process packets that don't at least have the basic BOOTP guts
in them.
Ted Lemon [Fri, 8 Oct 1999 16:30:55 +0000 (16:30 +0000)]
Private definitions for omapip library.
Ted Lemon [Fri, 8 Oct 1999 03:43:15 +0000 (03:43 +0000)]
Seperate public and private object declarations.
Ted Lemon [Thu, 7 Oct 1999 17:00:53 +0000 (17:00 +0000)]
Fix up one mistake from last night's fixes.
Ted Lemon [Thu, 7 Oct 1999 06:47:50 +0000 (06:47 +0000)]
Fix a few more machine-specific signed vs. unsigned pointer bufs.
Ted Lemon [Thu, 7 Oct 1999 06:42:53 +0000 (06:42 +0000)]
Fix some signed/unsigned pointer incompatibilities for Digital Unix.
Ted Lemon [Thu, 7 Oct 1999 06:36:35 +0000 (06:36 +0000)]
Get a clean compile with all known gcc warnings.
Ted Lemon [Thu, 7 Oct 1999 02:14:10 +0000 (02:14 +0000)]
Fix up char * -> unsigned char * mismatches.
Ted Lemon [Wed, 6 Oct 1999 22:43:32 +0000 (22:43 +0000)]
Fix comment at end of inclusion protection.
Ted Lemon [Wed, 6 Oct 1999 22:43:14 +0000 (22:43 +0000)]
Need explicit newlines in character constants on Digital Unix.
Ted Lemon [Wed, 6 Oct 1999 22:41:31 +0000 (22:41 +0000)]
Expose failover_state enum even if FAILOVER not defined.
Ted Lemon [Wed, 6 Oct 1999 22:39:11 +0000 (22:39 +0000)]
Make clean target clean up test program.
Ted Lemon [Wed, 6 Oct 1999 22:37:14 +0000 (22:37 +0000)]
Make Digital Unix C compiler happy.
Ted Lemon [Wed, 6 Oct 1999 20:09:03 +0000 (20:09 +0000)]
Use stdarg.h on alpha/osf1.
Ted Lemon [Wed, 6 Oct 1999 19:27:21 +0000 (19:27 +0000)]
Fix a stupid bug in the listener object accept routine.
Ted Lemon [Wed, 6 Oct 1999 19:23:35 +0000 (19:23 +0000)]
Demonstrate stuffing statements into hosts.
Ted Lemon [Wed, 6 Oct 1999 19:17:44 +0000 (19:17 +0000)]
Simplify the conditionals in the previous code.
Ted Lemon [Wed, 6 Oct 1999 19:07:58 +0000 (19:07 +0000)]
Fix a glitch in the code to stuff statements into a host's group.
Ted Lemon [Wed, 6 Oct 1999 01:35:44 +0000 (01:35 +0000)]
Pass data strings to nsdeleteA and nsdeletePTR by reference.
Ted Lemon [Wed, 6 Oct 1999 01:35:04 +0000 (01:35 +0000)]
Prototypes for deleteA and deletePTR subroutines.
Ted Lemon [Wed, 6 Oct 1999 01:01:13 +0000 (01:01 +0000)]
- Fix a bunch of pastos (from Brian Murrell).
- Implement dns-delete (from Brian Murrell).
Ted Lemon [Wed, 6 Oct 1999 01:00:07 +0000 (01:00 +0000)]
Implement dns-delete (from Brian Murrell)
Ted Lemon [Tue, 5 Oct 1999 19:43:44 +0000 (19:43 +0000)]
- Delete dns-fwd-name and dns-rev-name expressions and replace with
updated-dns-rr (rrtype).
Ted Lemon [Tue, 5 Oct 1999 19:01:33 +0000 (19:01 +0000)]
Implement ddns-fwd-name and ddns-rev-name subexpressions.
Ted Lemon [Tue, 5 Oct 1999 18:44:27 +0000 (18:44 +0000)]
Check for non-null group-name-hash before traversing it.
Ted Lemon [Tue, 5 Oct 1999 03:25:38 +0000 (03:25 +0000)]
- Fix think-o in one-lease-per-client code. Special thanks to Shawn
Clowes for his persistance in pointing out this error in the face of
my stubborn failure to see what he was talking about!
Ted Lemon [Tue, 5 Oct 1999 02:48:09 +0000 (02:48 +0000)]
Allow setting of host-specific statements to supersede root group.
Ted Lemon [Tue, 5 Oct 1999 02:47:12 +0000 (02:47 +0000)]
Accept a packet argument in release_lease().
Ted Lemon [Tue, 5 Oct 1999 02:46:17 +0000 (02:46 +0000)]
- Pass packet to release_lease (Brian Murrell).
- Don't release leases in one-lease-per-client code if they've already
expired (Shaun Clowes).
Ted Lemon [Tue, 5 Oct 1999 02:44:37 +0000 (02:44 +0000)]
Don't write out contents of root group when writing a host declaration.
Ted Lemon [Tue, 5 Oct 1999 02:44:09 +0000 (02:44 +0000)]
Pass packet into release_lease() if available.
Ted Lemon [Tue, 5 Oct 1999 01:31:42 +0000 (01:31 +0000)]
Protect from multiple inclusion.
Ted Lemon [Tue, 5 Oct 1999 00:06:52 +0000 (00:06 +0000)]
RPM specification file, from Brian Murrell, now under its correct name.
Ted Lemon [Tue, 5 Oct 1999 00:04:43 +0000 (00:04 +0000)]
- Move handling of on_release hooks and nsupdate to release_lease().
- If one-lease-per-client is true, release the other lease even if it
hasn't yet expired.
Ted Lemon [Tue, 5 Oct 1999 00:03:24 +0000 (00:03 +0000)]
Move handling of on_release hooks and nsupdate to release_lease()
Ted Lemon [Mon, 4 Oct 1999 23:53:57 +0000 (23:53 +0000)]
- Fix misdeclaration/misuse of statement parser lose return value.
- Look up hosts by name (from Brian Murrell).
- Make it possible to safely stuff statements into host groups.
Ted Lemon [Mon, 4 Oct 1999 23:51:45 +0000 (23:51 +0000)]
Fix one-lease-per-client.
Ted Lemon [Mon, 4 Oct 1999 23:51:16 +0000 (23:51 +0000)]
Protect against multiple inclusion
Ted Lemon [Mon, 4 Oct 1999 23:50:45 +0000 (23:50 +0000)]
Correct comment (from Brian Murrell)
Ted Lemon [Mon, 4 Oct 1999 23:49:25 +0000 (23:49 +0000)]
Prototype nsupdate.c.
Ted Lemon [Mon, 4 Oct 1999 23:49:01 +0000 (23:49 +0000)]
Constifications from Brian Murrell.
Ted Lemon [Mon, 4 Oct 1999 23:48:28 +0000 (23:48 +0000)]
Install libraries and includes.
Ted Lemon [Mon, 4 Oct 1999 23:46:30 +0000 (23:46 +0000)]
Fix a typo.
Ted Lemon [Mon, 4 Oct 1999 23:19:36 +0000 (23:19 +0000)]
Clear up an omission in the host group writing code.
Ted Lemon [Mon, 4 Oct 1999 23:17:37 +0000 (23:17 +0000)]
exists -> config-option, courtesy of Brian Murrell.
Ted Lemon [Mon, 4 Oct 1999 23:15:43 +0000 (23:15 +0000)]
Incorporate a bunch of changes from Brian Murrell.