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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

25 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()

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

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

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

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

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

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

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

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

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

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

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

25 years agoLog a message if omapi_one_dispatch fails.
Ted Lemon [Mon, 4 Oct 1999 23:14:00 +0000 (23:14 +0000)] 
Log a message if omapi_one_dispatch fails.

25 years agoDefine directories for installing libraries and includes.
Ted Lemon [Mon, 4 Oct 1999 23:10:30 +0000 (23:10 +0000)] 
Define directories for installing libraries and includes.

25 years agoSolaris /etc/rc.d script for dhcp server.
Ted Lemon [Mon, 4 Oct 1999 23:04:43 +0000 (23:04 +0000)] 
Solaris /etc/rc.d script for dhcp server.

25 years agoRPM desc file for DHCP distribution.
Ted Lemon [Mon, 4 Oct 1999 23:04:21 +0000 (23:04 +0000)] 
RPM desc file for DHCP distribution.

25 years agoSet hostname from value sent by DHCP server
Ted Lemon [Mon, 4 Oct 1999 23:01:27 +0000 (23:01 +0000)] 
Set hostname from value sent by DHCP server

25 years agoAdjust dummy db_startup call.
Ted Lemon [Fri, 1 Oct 1999 03:42:47 +0000 (03:42 +0000)] 
Adjust dummy db_startup call.

25 years agoFix typo.
Ted Lemon [Fri, 1 Oct 1999 03:42:31 +0000 (03:42 +0000)] 
Fix typo.

25 years agoAdjust to New Parse Regime.
Ted Lemon [Fri, 1 Oct 1999 03:42:12 +0000 (03:42 +0000)] 
Adjust to New Parse Regime.

25 years agoAdjust to the New Parse Regime. Support named groups in lease file.
Ted Lemon [Fri, 1 Oct 1999 03:37:29 +0000 (03:37 +0000)] 
Adjust to the New Parse Regime.   Support named groups in lease file.

25 years agoArrange not to free the static requested option array.
Ted Lemon [Fri, 1 Oct 1999 03:34:49 +0000 (03:34 +0000)] 
Arrange not to free the static requested option array.

25 years agoFix some glitches in the lexer.
Ted Lemon [Fri, 1 Oct 1999 03:33:44 +0000 (03:33 +0000)] 
Fix some glitches in the lexer.

25 years ago- Add support for stuffing statements into groups.
Ted Lemon [Fri, 1 Oct 1999 03:27:37 +0000 (03:27 +0000)] 
- Add support for stuffing statements into groups.
- Return ISC_R_NOKEYS when a lookup fails because no keys were provided.

25 years agoGet rid of dynamic groups garbage and just dump them out of the hash table.
Ted Lemon [Fri, 1 Oct 1999 03:26:45 +0000 (03:26 +0000)] 
Get rid of dynamic groups garbage and just dump them out of the hash table.

25 years agoImplement -T flag.
Ted Lemon [Fri, 1 Oct 1999 03:26:01 +0000 (03:26 +0000)] 
Implement -T flag.

25 years agoDocument -t and -T flags.
Ted Lemon [Fri, 1 Oct 1999 03:25:41 +0000 (03:25 +0000)] 
Document -t and -T flags.

25 years agoFix spelling error.
Ted Lemon [Fri, 1 Oct 1999 03:25:24 +0000 (03:25 +0000)] 
Fix spelling error.

25 years ago- Flesh out write_group.
Ted Lemon [Fri, 1 Oct 1999 03:24:59 +0000 (03:24 +0000)] 
- Flesh out write_group.
- Allow db_startup to just do a syntax check on the lease file rather
  than actually rewriting it, for the -T flag.

25 years ago- Fix the open lookup so that a result code of NOKEYS does not cause
Ted Lemon [Fri, 1 Oct 1999 03:23:03 +0000 (03:23 +0000)] 
- Fix the open lookup so that a result code of NOKEYS does not cause
  creates to fail.

25 years agoAdd bad parse and no keys result codes.
Ted Lemon [Fri, 1 Oct 1999 03:21:53 +0000 (03:21 +0000)] 
Add bad parse and no keys result codes.

25 years ago- Add host-specific prototypes.
Ted Lemon [Fri, 1 Oct 1999 03:21:23 +0000 (03:21 +0000)] 
- Add host-specific prototypes.
- Adjust all the parser prototypes for the New Parsing Regime.

25 years ago- Give example of creating a group, stuffing statements into it, and
Ted Lemon [Fri, 1 Oct 1999 03:19:47 +0000 (03:19 +0000)] 
- Give example of creating a group, stuffing statements into it, and
  hanging it off of a host declaration.

25 years agoFix a stupid bug in const_data printer.
Ted Lemon [Fri, 1 Oct 1999 03:18:33 +0000 (03:18 +0000)] 
Fix a stupid bug in const_data printer.

25 years ago- Transmogrify for use with seperate parse structures.
Ted Lemon [Fri, 1 Oct 1999 03:17:59 +0000 (03:17 +0000)] 
- Transmogrify for use with seperate parse structures.
- Support parsing of named groups, and use of named groups within host
  declarations.

25 years agoFix null pointer dereference.
Ted Lemon [Fri, 1 Oct 1999 03:16:46 +0000 (03:16 +0000)] 
Fix null pointer dereference.

25 years agoModify parse_warn to use a parse structure instead of referencing globals.
Ted Lemon [Fri, 1 Oct 1999 03:16:24 +0000 (03:16 +0000)] 
Modify parse_warn to use a parse structure instead of referencing globals.

25 years ago- Put all lexer globals into a parse structure.
Ted Lemon [Fri, 1 Oct 1999 03:13:43 +0000 (03:13 +0000)] 
- Put all lexer globals into a parse structure.
- Use UNIX I/O instead of stream I/O, and make it possible to just
  hang a buffer off a parse structure and parse out of the buffer with
  no associated file.

25 years agoTransmogrify for use with seperate parse structures.
Ted Lemon [Fri, 1 Oct 1999 03:11:20 +0000 (03:11 +0000)] 
Transmogrify for use with seperate parse structures.

25 years ago- Add support for creating named groups (but not yet for stuffing
Ted Lemon [Wed, 29 Sep 1999 00:00:35 +0000 (00:00 +0000)] 
- Add support for creating named groups (but not yet for stuffing
  values into them).
- Fix key conflict detection so that it's possible to send an update
  that contains more than one key, so long as each key doesn't match a
  different object.
- Fix numerous bugs in various update functions.

25 years agoMove locate_network here, since it's server-specific.
Ted Lemon [Tue, 28 Sep 1999 23:58:17 +0000 (23:58 +0000)] 
Move locate_network here, since it's server-specific.

25 years ago- Add named group support for host declarations.
Ted Lemon [Tue, 28 Sep 1999 23:57:47 +0000 (23:57 +0000)] 
- Add named group support for host declarations.
- Add stub for saving named groups.
- Add a db_printable_len function for seeing if non-NUL-terminated
  strings are plain ASCII, and use it in writing out UIDs for leases
  and hosts.

25 years ago- Support named groups.
Ted Lemon [Tue, 28 Sep 1999 23:55:55 +0000 (23:55 +0000)] 
- Support named groups.
- Support UID keyword in host declaration.
- Support UIDs that are text strings.

25 years agoBuild mdb.c
Ted Lemon [Tue, 28 Sep 1999 22:57:34 +0000 (22:57 +0000)] 
Build mdb.c

25 years agoAdd key conflict result code
Ted Lemon [Tue, 28 Sep 1999 22:57:14 +0000 (22:57 +0000)] 
Add key conflict result code

25 years ago- Declare group object type.
Ted Lemon [Tue, 28 Sep 1999 22:56:52 +0000 (22:56 +0000)] 
- Declare group object type.
- Declare new functions for named groups.
- Move memory.c declarations to mdb.c.

25 years agoDemonstrate binding named group to host.
Ted Lemon [Tue, 28 Sep 1999 22:55:14 +0000 (22:55 +0000)] 
Demonstrate binding named group to host.

25 years agoFix up a couple of >80 column lines.
Ted Lemon [Tue, 28 Sep 1999 22:54:56 +0000 (22:54 +0000)] 
Fix up a couple of >80 column lines.

25 years ago- Move server-specific memory database functions (i.e., virtually
Ted Lemon [Tue, 28 Sep 1999 22:54:17 +0000 (22:54 +0000)] 
- Move server-specific memory database functions (i.e., virtually
  everything, if you will pardon the pun) to server/mdb.c.

25 years agoIntegrate memory.c:1.61.
Ted Lemon [Tue, 28 Sep 1999 22:52:50 +0000 (22:52 +0000)] 
Integrate memory.c:1.61.

25 years agoMove locate_network out of common code, since it's server-specific.
Ted Lemon [Tue, 28 Sep 1999 22:50:02 +0000 (22:50 +0000)] 
Move locate_network out of common code, since it's server-specific.

25 years agoServer in-memory database functions.
Ted Lemon [Tue, 28 Sep 1999 22:49:31 +0000 (22:49 +0000)] 
Server in-memory database functions.

25 years agoAdd dummy for find_subnet().
Ted Lemon [Tue, 28 Sep 1999 22:49:10 +0000 (22:49 +0000)] 
Add dummy for find_subnet().

25 years ago- Account for the fact that concat and pick-first-value both use lisp-style
Ted Lemon [Fri, 24 Sep 1999 19:04:30 +0000 (19:04 +0000)] 
- Account for the fact that concat and pick-first-value both use lisp-style
  lists, which end in a nil.

25 years agoFix a potential problem when there are only two leases in a pool.
Ted Lemon [Fri, 24 Sep 1999 19:01:27 +0000 (19:01 +0000)] 
Fix a potential problem when there are only two leases in a pool.

25 years agoWhen registering the fallback interface, set rfdesc from wfdesc.
Ted Lemon [Thu, 23 Sep 1999 01:15:25 +0000 (01:15 +0000)] 
When registering the fallback interface, set rfdesc from wfdesc.

25 years agoAllow 'on' statements in lease declarations.
Ted Lemon [Wed, 22 Sep 1999 17:32:04 +0000 (17:32 +0000)] 
Allow 'on' statements in lease declarations.

25 years agoGet rid of any 'on' statements on a lease before running the in-scope statements.
Ted Lemon [Wed, 22 Sep 1999 17:30:33 +0000 (17:30 +0000)] 
Get rid of any 'on' statements on a lease before running the in-scope statements.

25 years agoPrint the RHS of the binary operator on the RHS instead of the LHS.
Ted Lemon [Wed, 22 Sep 1999 17:27:01 +0000 (17:27 +0000)] 
Print the RHS of the binary operator on the RHS instead of the LHS.

25 years agoMake indent_spaces start the new line. Print a suffix if one is provided.
Ted Lemon [Wed, 22 Sep 1999 17:25:27 +0000 (17:25 +0000)] 
Make indent_spaces start the new line.   Print a suffix if one is provided.

25 years agoIn supersede_lease, replace 'on' statements if new values are provided.
Ted Lemon [Wed, 22 Sep 1999 17:24:11 +0000 (17:24 +0000)] 
In supersede_lease, replace 'on' statements if new values are provided.

25 years agoImplement printing out of expressions so that they can be output to the lease databas...
Ted Lemon [Wed, 22 Sep 1999 01:45:57 +0000 (01:45 +0000)] 
Implement printing out of expressions so that they can be output to the lease database file and later read back in.

25 years agoNew return value for enter_host.
Ted Lemon [Fri, 17 Sep 1999 04:08:35 +0000 (04:08 +0000)] 
New return value for enter_host.

25 years agoNotice error return from 'updated' signal.
Ted Lemon [Thu, 16 Sep 1999 05:16:09 +0000 (05:16 +0000)] 
Notice error return from 'updated' signal.

25 years agoReturn error status when duplicate hostname found instead of bombing.
Ted Lemon [Thu, 16 Sep 1999 05:12:38 +0000 (05:12 +0000)] 
Return error status when duplicate hostname found instead of bombing.