]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
26 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.

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

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

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

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

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

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

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

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

26 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

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

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

26 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

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

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

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

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

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

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

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

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

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

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

26 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).

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

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

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

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

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

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

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

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

26 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).

26 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).

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

26 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!).

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

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

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

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

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

26 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)

26 years agoCorrect printf argument type (Brian Murrell)
Ted Lemon [Thu, 14 Oct 1999 18:00:46 +0000 (18:00 +0000)] 
Correct printf argument type (Brian Murrell)

26 years agoCorrect printf argument type (Brian Murrell)
Ted Lemon [Thu, 14 Oct 1999 17:47:54 +0000 (17:47 +0000)] 
Correct printf argument type (Brian Murrell)

26 years ago- Undo an erroneous change that would have caused core dumps in case of
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.

26 years agoCorrect ordering of log arguments.
Ted Lemon [Thu, 14 Oct 1999 17:40:05 +0000 (17:40 +0000)] 
Correct ordering of log arguments.

26 years agoFix a core dump involving incorrect use of evaluate_data_expression.
Ted Lemon [Wed, 13 Oct 1999 16:28:00 +0000 (16:28 +0000)] 
Fix a core dump involving incorrect use of evaluate_data_expression.

26 years agoFix up args to printf-like functions (thanks to Pedro Ribiero).
Ted Lemon [Tue, 12 Oct 1999 16:00:34 +0000 (16:00 +0000)] 
Fix up args to printf-like functions (thanks to Pedro Ribiero).

26 years agoAdd next_expiry pointer to pool structure.
Ted Lemon [Sat, 9 Oct 1999 04:49:41 +0000 (04:49 +0000)] 
Add next_expiry pointer to pool structure.

26 years agoExpire all outstanding unexpired leases after loading lease file on startup.
Ted Lemon [Fri, 8 Oct 1999 22:29:52 +0000 (22:29 +0000)] 
Expire all outstanding unexpired leases after loading lease file on startup.

26 years ago- Make the error messages generated based on authority more authoritative.
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.

26 years agoImplement lease expiry events.
Ted Lemon [Fri, 8 Oct 1999 22:17:41 +0000 (22:17 +0000)] 
Implement lease expiry events.

26 years agoPass pointer to unsigned long, for portability to 64-bit architectures.
Ted Lemon [Fri, 8 Oct 1999 17:28:09 +0000 (17:28 +0000)] 
Pass pointer to unsigned long, for portability to 64-bit architectures.

26 years agoGet rid of u_* declarations for portability.
Ted Lemon [Fri, 8 Oct 1999 17:19:41 +0000 (17:19 +0000)] 
Get rid of u_* declarations for portability.

26 years ago- Don't try to process the option buffer if there isn't one, and don't
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.

26 years agoPrivate definitions for omapip library.
Ted Lemon [Fri, 8 Oct 1999 16:30:55 +0000 (16:30 +0000)] 
Private definitions for omapip library.

26 years agoSeperate public and private object declarations.
Ted Lemon [Fri, 8 Oct 1999 03:43:15 +0000 (03:43 +0000)] 
Seperate public and private object declarations.

26 years agoFix up one mistake from last night's fixes.
Ted Lemon [Thu, 7 Oct 1999 17:00:53 +0000 (17:00 +0000)] 
Fix up one mistake from last night's fixes.

26 years agoFix a few more machine-specific signed vs. unsigned pointer bufs.
Ted Lemon [Thu, 7 Oct 1999 06:47:50 +0000 (06:47 +0000)] 
Fix a few more machine-specific signed vs. unsigned pointer bufs.

26 years agoFix some signed/unsigned pointer incompatibilities for Digital Unix.
Ted Lemon [Thu, 7 Oct 1999 06:42:53 +0000 (06:42 +0000)] 
Fix some signed/unsigned pointer incompatibilities for Digital Unix.

26 years agoGet a clean compile with all known gcc warnings.
Ted Lemon [Thu, 7 Oct 1999 06:36:35 +0000 (06:36 +0000)] 
Get a clean compile with all known gcc warnings.

26 years agoFix up char * -> unsigned char * mismatches.
Ted Lemon [Thu, 7 Oct 1999 02:14:10 +0000 (02:14 +0000)] 
Fix up char * -> unsigned char * mismatches.

26 years agoFix comment at end of inclusion protection.
Ted Lemon [Wed, 6 Oct 1999 22:43:32 +0000 (22:43 +0000)] 
Fix comment at end of inclusion protection.

26 years agoNeed explicit newlines in character constants on Digital Unix.
Ted Lemon [Wed, 6 Oct 1999 22:43:14 +0000 (22:43 +0000)] 
Need explicit newlines in character constants on Digital Unix.

26 years agoExpose failover_state enum even if FAILOVER not defined.
Ted Lemon [Wed, 6 Oct 1999 22:41:31 +0000 (22:41 +0000)] 
Expose failover_state enum even if FAILOVER not defined.

26 years agoMake clean target clean up test program.
Ted Lemon [Wed, 6 Oct 1999 22:39:11 +0000 (22:39 +0000)] 
Make clean target clean up test program.

26 years agoMake Digital Unix C compiler happy.
Ted Lemon [Wed, 6 Oct 1999 22:37:14 +0000 (22:37 +0000)] 
Make Digital Unix C compiler happy.

26 years agoUse stdarg.h on alpha/osf1.
Ted Lemon [Wed, 6 Oct 1999 20:09:03 +0000 (20:09 +0000)] 
Use stdarg.h on alpha/osf1.

26 years agoFix a stupid bug in the listener object accept routine.
Ted Lemon [Wed, 6 Oct 1999 19:27:21 +0000 (19:27 +0000)] 
Fix a stupid bug in the listener object accept routine.

26 years agoDemonstrate stuffing statements into hosts.
Ted Lemon [Wed, 6 Oct 1999 19:23:35 +0000 (19:23 +0000)] 
Demonstrate stuffing statements into hosts.

26 years agoSimplify the conditionals in the previous code.
Ted Lemon [Wed, 6 Oct 1999 19:17:44 +0000 (19:17 +0000)] 
Simplify the conditionals in the previous code.

26 years agoFix a glitch in the code to stuff statements into a host's group.
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.

26 years agoPass data strings to nsdeleteA and nsdeletePTR by reference.
Ted Lemon [Wed, 6 Oct 1999 01:35:44 +0000 (01:35 +0000)] 
Pass data strings to nsdeleteA and nsdeletePTR by reference.

26 years agoPrototypes for deleteA and deletePTR subroutines.
Ted Lemon [Wed, 6 Oct 1999 01:35:04 +0000 (01:35 +0000)] 
Prototypes for deleteA and deletePTR subroutines.

26 years ago- Fix a bunch of pastos (from Brian Murrell).
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).

26 years agoImplement dns-delete (from Brian Murrell)
Ted Lemon [Wed, 6 Oct 1999 01:00:07 +0000 (01:00 +0000)] 
Implement dns-delete (from Brian Murrell)

26 years ago- Delete dns-fwd-name and dns-rev-name expressions and replace with
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).

26 years agoImplement ddns-fwd-name and ddns-rev-name subexpressions.
Ted Lemon [Tue, 5 Oct 1999 19:01:33 +0000 (19:01 +0000)] 
Implement ddns-fwd-name and ddns-rev-name subexpressions.

26 years agoCheck for non-null group-name-hash before traversing it.
Ted Lemon [Tue, 5 Oct 1999 18:44:27 +0000 (18:44 +0000)] 
Check for non-null group-name-hash before traversing it.

26 years ago- Fix think-o in one-lease-per-client code. Special thanks to Shawn
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!

26 years agoAllow setting of host-specific statements to supersede root group.
Ted Lemon [Tue, 5 Oct 1999 02:48:09 +0000 (02:48 +0000)] 
Allow setting of host-specific statements to supersede root group.

26 years agoAccept a packet argument in release_lease().
Ted Lemon [Tue, 5 Oct 1999 02:47:12 +0000 (02:47 +0000)] 
Accept a packet argument in release_lease().

26 years ago- Pass packet to release_lease (Brian Murrell).
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).

26 years agoDon't write out contents of root group when writing a host declaration.
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.

26 years agoPass packet into release_lease() if available.
Ted Lemon [Tue, 5 Oct 1999 02:44:09 +0000 (02:44 +0000)] 
Pass packet into release_lease() if available.

26 years agoProtect from multiple inclusion.
Ted Lemon [Tue, 5 Oct 1999 01:31:42 +0000 (01:31 +0000)] 
Protect from multiple inclusion.

26 years agoRPM specification file, from Brian Murrell, now under its correct name.
Ted Lemon [Tue, 5 Oct 1999 00:06:52 +0000 (00:06 +0000)] 
RPM specification file, from Brian Murrell, now under its correct name.

26 years ago- Move handling of on_release hooks and nsupdate to release_lease().
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.

26 years agoMove handling of on_release hooks and nsupdate to release_lease()
Ted Lemon [Tue, 5 Oct 1999 00:03:24 +0000 (00:03 +0000)] 
Move handling of on_release hooks and nsupdate to release_lease()

26 years ago- Fix misdeclaration/misuse of statement parser lose return value.
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.

26 years agoFix one-lease-per-client.
Ted Lemon [Mon, 4 Oct 1999 23:51:45 +0000 (23:51 +0000)] 
Fix one-lease-per-client.

26 years agoProtect against multiple inclusion
Ted Lemon [Mon, 4 Oct 1999 23:51:16 +0000 (23:51 +0000)] 
Protect against multiple inclusion

26 years agoCorrect comment (from Brian Murrell)
Ted Lemon [Mon, 4 Oct 1999 23:50:45 +0000 (23:50 +0000)] 
Correct comment (from Brian Murrell)

26 years agoPrototype nsupdate.c.
Ted Lemon [Mon, 4 Oct 1999 23:49:25 +0000 (23:49 +0000)] 
Prototype nsupdate.c.

26 years agoConstifications from Brian Murrell.
Ted Lemon [Mon, 4 Oct 1999 23:49:01 +0000 (23:49 +0000)] 
Constifications from Brian Murrell.

26 years agoInstall libraries and includes.
Ted Lemon [Mon, 4 Oct 1999 23:48:28 +0000 (23:48 +0000)] 
Install libraries and includes.

26 years agoFix a typo.
Ted Lemon [Mon, 4 Oct 1999 23:46:30 +0000 (23:46 +0000)] 
Fix a typo.

26 years agoClear up an omission in the host group writing code.
Ted Lemon [Mon, 4 Oct 1999 23:19:36 +0000 (23:19 +0000)] 
Clear up an omission in the host group writing code.

26 years agoexists -> config-option, courtesy of Brian Murrell.
Ted Lemon [Mon, 4 Oct 1999 23:17:37 +0000 (23:17 +0000)] 
exists -> config-option, courtesy of Brian Murrell.

26 years agoIncorporate a bunch of changes from Brian Murrell.
Ted Lemon [Mon, 4 Oct 1999 23:15:43 +0000 (23:15 +0000)] 
Incorporate a bunch of changes from Brian Murrell.