]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
27 years agoClear the right data buffer. Add missing braces.
Ted Lemon [Fri, 6 Nov 1998 00:13:36 +0000 (00:13 +0000)] 
Clear the right data buffer.   Add missing braces.

27 years agoFix parse_if_statement
Ted Lemon [Fri, 6 Nov 1998 00:13:03 +0000 (00:13 +0000)] 
Fix parse_if_statement

27 years agoAdd agent_options argument to cons_options
Ted Lemon [Fri, 6 Nov 1998 00:12:40 +0000 (00:12 +0000)] 
Add agent_options argument to cons_options

27 years agoUpdate error message.
Ted Lemon [Fri, 6 Nov 1998 00:11:53 +0000 (00:11 +0000)] 
Update error message.

27 years agoFix some lingering bugs from the expression evaluation changes.
Ted Lemon [Fri, 6 Nov 1998 00:11:24 +0000 (00:11 +0000)] 
Fix some lingering bugs from the expression evaluation changes.

27 years agoClean up some statement parsing bugs.
Ted Lemon [Fri, 6 Nov 1998 00:10:58 +0000 (00:10 +0000)] 
Clean up some statement parsing bugs.

27 years agoMinor documentation clarification on maximum lease time handling.
Ted Lemon [Thu, 5 Nov 1998 18:57:46 +0000 (18:57 +0000)] 
Minor documentation clarification on maximum lease time handling.

27 years agoAdd command-line argument to set pid file name.
Ted Lemon [Thu, 5 Nov 1998 18:56:38 +0000 (18:56 +0000)] 
Add command-line argument to set pid file name.

27 years agoOops, fix a conflict that was committed in previous revision.
Ted Lemon [Thu, 5 Nov 1998 18:56:15 +0000 (18:56 +0000)] 
Oops, fix a conflict that was committed in previous revision.

27 years agoUse evaluation-based option handling
Ted Lemon [Thu, 5 Nov 1998 18:54:55 +0000 (18:54 +0000)] 
Use evaluation-based option handling

27 years agoAdd some code to prevent linking in stuff we don't need (yuck).
Ted Lemon [Thu, 5 Nov 1998 18:51:16 +0000 (18:51 +0000)] 
Add some code to prevent linking in stuff we don't need (yuck).

27 years agoLose extraneous tab.
Ted Lemon [Thu, 5 Nov 1998 18:50:04 +0000 (18:50 +0000)] 
Lose extraneous tab.

27 years agoAdd endian.h defines - not present in hpux headers.
Ted Lemon [Thu, 5 Nov 1998 18:49:36 +0000 (18:49 +0000)] 
Add endian.h defines - not present in hpux headers.

27 years agoINADDR_LOOPBACK now defined in some FreeBSD versions - don't redefine it.
Ted Lemon [Thu, 5 Nov 1998 18:49:12 +0000 (18:49 +0000)] 
INADDR_LOOPBACK now defined in some FreeBSD versions - don't redefine it.

27 years agoAdd send option statement.
Ted Lemon [Thu, 5 Nov 1998 18:48:37 +0000 (18:48 +0000)] 
Add send option statement.

27 years agoAdd some new debugging types
Ted Lemon [Thu, 5 Nov 1998 18:48:24 +0000 (18:48 +0000)] 
Add some new debugging types

27 years agoMake dhcp token type an enum for easier debugging.
Ted Lemon [Thu, 5 Nov 1998 18:47:09 +0000 (18:47 +0000)] 
Make dhcp token type an enum for easier debugging.

27 years agoNew prototypes. Many data structure updates.
Ted Lemon [Thu, 5 Nov 1998 18:46:42 +0000 (18:46 +0000)] 
New prototypes.   Many data structure updates.

27 years agoImplement reference-based option cache and expressions.
Ted Lemon [Thu, 5 Nov 1998 18:45:23 +0000 (18:45 +0000)] 
Implement reference-based option cache and expressions.

27 years agoGet rid of ad-hoc option priority list.
Ted Lemon [Thu, 5 Nov 1998 18:44:41 +0000 (18:44 +0000)] 
Get rid of ad-hoc option priority list.

27 years agoAdd new printers for prettier printing of 'x' format. Add expression printer.
Ted Lemon [Thu, 5 Nov 1998 18:44:11 +0000 (18:44 +0000)] 
Add new printers for prettier printing of 'x' format.   Add expression printer.

27 years agoFix up all the option handling code to use evaluation instead of fixed data.
Ted Lemon [Thu, 5 Nov 1998 18:43:23 +0000 (18:43 +0000)] 
Fix up all the option handling code to use evaluation instead of fixed data.

27 years agoAdd new option cache handling code.
Ted Lemon [Thu, 5 Nov 1998 18:42:47 +0000 (18:42 +0000)] 
Add new option cache handling code.

27 years agoFix up all the option handling code to use evaluation instead of fixed data. User...
Ted Lemon [Thu, 5 Nov 1998 18:42:18 +0000 (18:42 +0000)] 
Fix up all the option handling code to use evaluation instead of fixed data.  User-specified option statements are not stored in a linked list of executable statements, rather than as data trees.

27 years agoAdd expression debugging printfs. Supply input and output options to execute_statem...
Ted Lemon [Thu, 5 Nov 1998 18:40:40 +0000 (18:40 +0000)] 
Add expression debugging printfs.   Supply input and output options to execute_statements.

27 years agoAdd new reference-based allocators and some new new/free allocators for data types...
Ted Lemon [Thu, 5 Nov 1998 18:39:54 +0000 (18:39 +0000)] 
Add new reference-based allocators and some new new/free allocators for data types that were previously being allocated with malloc().

27 years agoAdd some code to prevent pulling in libraries we don't need. (yuck)
Ted Lemon [Thu, 5 Nov 1998 18:36:34 +0000 (18:36 +0000)] 
Add some code to prevent pulling in libraries we don't need. (yuck)

27 years agoIntermediary changes
Ted Lemon [Thu, 22 Oct 1998 04:52:23 +0000 (04:52 +0000)] 
Intermediary changes

27 years agoAdd depend target
Ted Lemon [Thu, 22 Oct 1998 04:50:29 +0000 (04:50 +0000)] 
Add depend target

27 years agoMove discover_interfaces and relate goop to discover.c
Ted Lemon [Sat, 17 Oct 1998 13:35:24 +0000 (13:35 +0000)] 
Move discover_interfaces and relate goop to discover.c

27 years agoAdd EXISTS token.
Ted Lemon [Sat, 17 Oct 1998 13:34:31 +0000 (13:34 +0000)] 
Add EXISTS token.

27 years agoAdd discover.c. Remove spurious tab.
Ted Lemon [Sat, 17 Oct 1998 13:33:40 +0000 (13:33 +0000)] 
Add discover.c.   Remove spurious tab.

27 years agoAdd bsd/os script. Use -Wno-switch (sigh).
Ted Lemon [Sat, 17 Oct 1998 13:32:20 +0000 (13:32 +0000)] 
Add bsd/os script.   Use -Wno-switch (sigh).

27 years agoDon't write leases that contain non-printable or whitespace characters.
Ted Lemon [Wed, 5 Aug 1998 19:32:20 +0000 (19:32 +0000)] 
Don't write leases that contain non-printable or whitespace characters.

27 years agoMake the documentation a little clearer for those who don't know their way around...
Ted Lemon [Sat, 18 Jul 1998 06:08:29 +0000 (06:08 +0000)] 
Make the documentation a little clearer for those who don't know their way around shells and compilers.

27 years agoIf there's another server running, refuse to run.
Ted Lemon [Fri, 10 Jul 1998 04:52:25 +0000 (04:52 +0000)] 
If there's another server running, refuse to run.

27 years agoTell people they have to type make install to install the software.
Ted Lemon [Wed, 8 Jul 1998 23:37:44 +0000 (23:37 +0000)] 
Tell people they have to type make install to install the software.

27 years agoFix up PID file definitions
Ted Lemon [Wed, 8 Jul 1998 23:25:34 +0000 (23:25 +0000)] 
Fix up PID file definitions

27 years agoUpdate server-identifier documentaiton.
Ted Lemon [Fri, 26 Jun 1998 21:05:58 +0000 (21:05 +0000)] 
Update server-identifier documentaiton.

27 years ago-Wstrict-prototypes is not safe on Solaris unless you've installed ISC BIND, so don...
Ted Lemon [Fri, 26 Jun 1998 18:19:17 +0000 (18:19 +0000)] 
-Wstrict-prototypes is not safe on Solaris unless you've installed ISC BIND, so don't use it.

27 years agochar-subscripts, not char-subscript.
Ted Lemon [Fri, 26 Jun 1998 17:42:23 +0000 (17:42 +0000)] 
char-subscripts, not char-subscript.

27 years agoDocument events that cause leases to be written.
Ted Lemon [Thu, 25 Jun 1998 22:56:38 +0000 (22:56 +0000)] 
Document events that cause leases to be written.
Document lease time zones.
Further document abandoned leases.

27 years agoUpdate binary copyright.
Ted Lemon [Thu, 25 Jun 1998 22:54:13 +0000 (22:54 +0000)] 
Update binary copyright.

27 years agoIf a client REQUESTs an abandoned lease, reclaim it.
Ted Lemon [Thu, 25 Jun 1998 21:24:23 +0000 (21:24 +0000)] 
If a client REQUESTs an abandoned lease, reclaim it.

27 years agoRhapsody support
Ted Lemon [Thu, 25 Jun 1998 18:37:45 +0000 (18:37 +0000)] 
Rhapsody support

27 years agoDeclarations for executable statements.
Ted Lemon [Thu, 25 Jun 1998 03:58:24 +0000 (03:58 +0000)] 
Declarations for executable statements.

27 years agoExecute statements.
Ted Lemon [Thu, 25 Jun 1998 03:57:00 +0000 (03:57 +0000)] 
Execute statements.

27 years agoMove a lot of packet discard code into ack_lease(), after we've evaluated the stateme...
Ted Lemon [Thu, 25 Jun 1998 03:56:24 +0000 (03:56 +0000)] 
Move a lot of packet discard code into ack_lease(), after we've evaluated the statements associated with a packet.   Use new-style option processing.      No more explicit user/vendor class support.   Revamp lease time processing.   Get client identifier directly from host declaration.

27 years agoGet rid of root group defaults. Merge trees into expressions. Allow host statemen...
Ted Lemon [Thu, 25 Jun 1998 03:51:59 +0000 (03:51 +0000)] 
Get rid of root group defaults.   Merge trees into expressions.   Allow host statements in class declarations (explicitly declaring a host to be in a specific class).   Server universe declarations handled as statements.   parse_allow_deny now creates statements.      Grandfather old-style user and vendor class declarations.   Add support for spawning classes.      Can't flag dynamic bootp anymore.   Move parse_ip_addr_or_hostname into common code.   tree_cache -> option_cache.   Move option parameter parsing into common parser.   Put expression parser in common code.

27 years agomatch_expr -> expression. Move expression evaluator into tree.c. Add find_class...
Ted Lemon [Thu, 25 Jun 1998 03:42:18 +0000 (03:42 +0000)] 
match_expr -> expression.   Move expression evaluator into tree.c.   Add find_class function.

27 years agoConvert to using executable statements instead of old-style options.
Ted Lemon [Thu, 25 Jun 1998 03:41:03 +0000 (03:41 +0000)] 
Convert to using executable statements instead of old-style options.

27 years agoTake dhcp packet as an argument instead of converting. Limit length of hardware...
Ted Lemon [Thu, 25 Jun 1998 03:39:04 +0000 (03:39 +0000)] 
Take dhcp packet as an argument instead of converting.   Limit length of hardware address.

27 years agoMerge tree struct into expression struct. tree_cache -> option_cache. Move data_s...
Ted Lemon [Thu, 25 Jun 1998 03:35:31 +0000 (03:35 +0000)] 
Merge tree struct into expression struct.   tree_cache -> option_cache.   Move data_string and expression structs from dhcpd.h.   Fix up dns_host_entry struct.   Add a per-universe set function.

27 years agoAdd ADD, BREAK, ELSE, ELSIF, IF, MATCH, SUBCLASS, SPAWN and WITH tokens
Ted Lemon [Thu, 25 Jun 1998 03:32:58 +0000 (03:32 +0000)] 
Add ADD, BREAK, ELSE, ELSIF, IF, MATCH, SUBCLASS, SPAWN and WITH tokens

27 years agoAdd statement.h include file. Move data_string to tree.h. Add option_state struct...
Ted Lemon [Thu, 25 Jun 1998 03:25:02 +0000 (03:25 +0000)] 
Add statement.h include file.   Move data_string to tree.h.   Add option_state structure, unifying values from all option universes into one structure.   Lease_state structure now has option_state instead of options and agent_options.   Group structure now has executable statements i.   Configuration state not appropriate for DHCP option universe now in server option universe rather than explicitly declared and specially ahndled.   Define names of server state options.   Define a default default lease time, default min lease time and default max lease time.   Put client identifier in host_decl structure.   Move expression struct to tree.h.      match_expr -> expression.   Fix/update prototypes.

27 years agoUpdate all the names to reflect the unification of expression evaluation and dns...
Ted Lemon [Thu, 25 Jun 1998 03:10:32 +0000 (03:10 +0000)] 
Update all the names to reflect the unification of expression evaluation and dns lookup evaluation.   Add expression evaluator.

27 years agoAdd server option universe. Install dhcp option universe set function.
Ted Lemon [Thu, 25 Jun 1998 03:09:09 +0000 (03:09 +0000)] 
Add server option universe.   Install dhcp option universe set function.

27 years agoNive parse-ip-addr-or-hostbname into common parser. Add executable statement parser...
Ted Lemon [Thu, 25 Jun 1998 03:07:51 +0000 (03:07 +0000)] 
Nive parse-ip-addr-or-hostbname into common parser.   Add executable statement parser.   Add xpression parser.      Unify the option statement parsers.   Make the option token parser its own function.

27 years agocons_options now takes option_state struct instead of options and agent_options args...
Ted Lemon [Thu, 25 Jun 1998 03:02:50 +0000 (03:02 +0000)] 
cons_options now takes option_state struct instead of options and agent_options args.   Fix bufgfer overflow attack in parameter request list.   Change over to expression evaluation code instead of ds tree evaluation code.   do_packet now takes a pointer to a dhcp packet instead of a pointer to a character buffer.   This fixess another possible overflow.   Add per-option-universe lookup and set functions.

27 years agoLose special case code for vendor and user classes. Get client identifier in host...
Ted Lemon [Thu, 25 Jun 1998 02:59:15 +0000 (02:59 +0000)] 
Lose special case code for vendor and user classes.   Get client identifier in host declaration off of per-host executable statement list rather than now-nonexistent option list.   Fixed address is now an expression, not a tree.   Take out host reverse lookup code - it doesn't belong here.   Fix botch in dangling lease code.

27 years agoClear out unused portion of icmp packet.
Ted Lemon [Thu, 25 Jun 1998 02:55:56 +0000 (02:55 +0000)] 
Clear out unused portion of icmp packet.

27 years agoRead DHCP packet into aligned buffer and pass it as a struct pointer instead of a...
Ted Lemon [Thu, 25 Jun 1998 02:55:16 +0000 (02:55 +0000)] 
Read DHCP packet into aligned buffer and pass it as a struct pointer instead of a character buffer.

27 years agoAdd ADD, BREAK, ELSE, ELSIF, IF, MATCH, SUBCLASS and WITH tokens
Ted Lemon [Thu, 25 Jun 1998 02:54:29 +0000 (02:54 +0000)] 
Add ADD, BREAK, ELSE, ELSIF, IF, MATCH, SUBCLASS and WITH tokens

27 years agotree -> expression. tree_cache -> option_cache. New destructors for dhcp_packet...
Ted Lemon [Thu, 25 Jun 1998 02:53:00 +0000 (02:53 +0000)] 
tree -> expression.   tree_cache -> option_cache.   New destructors for dhcp_packet and packet structures.

27 years agoAdd statement executor module
Ted Lemon [Thu, 25 Jun 1998 02:51:49 +0000 (02:51 +0000)] 
Add statement executor module

27 years agoAdd -Wno-char-subscript for Solaris. Update copyright.
Ted Lemon [Thu, 25 Jun 1998 02:51:14 +0000 (02:51 +0000)] 
Add -Wno-char-subscript for Solaris. Update copyright.

27 years agoMove option name parsing to its own function.
Ted Lemon [Mon, 20 Apr 1998 18:05:44 +0000 (18:05 +0000)] 
Move option name parsing to its own function.

27 years agoMove option name parsing into its own function. Use parse_cshl to parse colon-seper...
Ted Lemon [Mon, 20 Apr 1998 18:05:19 +0000 (18:05 +0000)] 
Move option name parsing into its own function.   Use parse_cshl to parse colon-seperated hexadecimal lists.   Add match expression parsing.

27 years agoCarry some data structure changes across from parser. Nuke named hash stuff.
Ted Lemon [Mon, 20 Apr 1998 18:03:33 +0000 (18:03 +0000)] 
Carry some data structure changes across from parser.   Nuke named hash stuff.

27 years agoAdd new tokens for match expressions.
Ted Lemon [Mon, 20 Apr 1998 18:02:40 +0000 (18:02 +0000)] 
Add new tokens for match expressions.

27 years agoMove parse.c declarations under their own filename. Add function declarations for...
Ted Lemon [Mon, 20 Apr 1998 18:02:29 +0000 (18:02 +0000)] 
Move parse.c declarations under their own filename.   Add function declarations for expression parsing.

27 years agoAdd parse_option_name and parse_cshl functions.
Ted Lemon [Mon, 20 Apr 1998 18:01:32 +0000 (18:01 +0000)] 
Add parse_option_name and parse_cshl functions.

27 years agoInitialize client classification system in main().
Ted Lemon [Sun, 19 Apr 1998 23:35:26 +0000 (23:35 +0000)] 
Initialize client classification system in main().

27 years agoDo client classification. If user supplies a dhcp-lease-time or related option...
Ted Lemon [Sun, 19 Apr 1998 23:34:43 +0000 (23:34 +0000)] 
Do client classification.   If user supplies a dhcp-lease-time or related option, print a warning when issuing a lease.

27 years agoSupport for classifying clients.
Ted Lemon [Sun, 19 Apr 1998 23:24:48 +0000 (23:24 +0000)] 
Support for classifying clients.

27 years agoAdd class.c
Ted Lemon [Sun, 19 Apr 1998 23:24:28 +0000 (23:24 +0000)] 
Add class.c

27 years agoAdd a lookup function to the option universe structure.
Ted Lemon [Sun, 19 Apr 1998 23:23:34 +0000 (23:23 +0000)] 
Add a lookup function to the option universe structure.

27 years agoAdd the concept of named hashes.
Ted Lemon [Sun, 19 Apr 1998 23:22:20 +0000 (23:22 +0000)] 
Add the concept of named hashes.

27 years agoAdd prototypes and structure declarations for client classification
Ted Lemon [Sun, 19 Apr 1998 23:21:54 +0000 (23:21 +0000)] 
Add prototypes and structure declarations for client classification

27 years agoAdd agent option universe.
Ted Lemon [Sun, 19 Apr 1998 23:20:06 +0000 (23:20 +0000)] 
Add agent option universe.

27 years agoAdd dhcp_option_lookup and agent_option_lookup functions.
Ted Lemon [Sun, 19 Apr 1998 23:19:14 +0000 (23:19 +0000)] 
Add dhcp_option_lookup and agent_option_lookup functions.

27 years agoInteractive client for DHCP servers.
Ted Lemon [Thu, 9 Apr 1998 05:20:14 +0000 (05:20 +0000)] 
Interactive client for DHCP servers.

27 years agoInteractive client data structures for DHCP server.
Ted Lemon [Thu, 9 Apr 1998 05:19:26 +0000 (05:19 +0000)] 
Interactive client data structures for DHCP server.

27 years agoInteractive client for browsing internal database.
Ted Lemon [Thu, 9 Apr 1998 05:18:56 +0000 (05:18 +0000)] 
Interactive client for browsing internal database.

27 years agoAdd min-lease-time, min-secs and use-lease-addr-for-default-route. Allow empty...
Ted Lemon [Thu, 9 Apr 1998 04:57:46 +0000 (04:57 +0000)] 
Add min-lease-time, min-secs and use-lease-addr-for-default-route.   Allow empty option declarations.

27 years agoStart interactive client
Ted Lemon [Thu, 9 Apr 1998 04:47:46 +0000 (04:47 +0000)] 
Start interactive client

27 years agoDon't respond to requests that are newer than a configured number of seconds. Enfor...
Ted Lemon [Thu, 9 Apr 1998 04:41:52 +0000 (04:41 +0000)] 
Don't respond to requests that are newer than a configured number of seconds.   Enforce a minimum lease time, if specified.   If a dhcp-server-identifier option has been specified, use that instead of coming up with one from the shared_network structure.   Allow the routers option to be set to the client's address.   Be more clever about dealing with duplicate leases.

27 years agoAdd min-lease-time, min-secs and use-lease-addr-for-default-route. Allow empty...
Ted Lemon [Thu, 9 Apr 1998 04:38:24 +0000 (04:38 +0000)] 
Add min-lease-time, min-secs and use-lease-addr-for-default-route.   Allow empty option declarations.

27 years agoAdd dhcpdi.c
Ted Lemon [Thu, 9 Apr 1998 04:37:15 +0000 (04:37 +0000)] 
Add dhcpdi.c

27 years agoCheck to see if INADDR_LOOPBACK is defined.
Ted Lemon [Thu, 9 Apr 1998 04:36:45 +0000 (04:36 +0000)] 
Check to see if INADDR_LOOPBACK is defined.

27 years agoFix copyright
Ted Lemon [Thu, 9 Apr 1998 04:36:25 +0000 (04:36 +0000)] 
Fix copyright

27 years agoAdd min-lease-time, min-secs and use-lease-addr-for-default-route
Ted Lemon [Thu, 9 Apr 1998 04:36:07 +0000 (04:36 +0000)] 
Add min-lease-time, min-secs and use-lease-addr-for-default-route

27 years agoNew prototypes and types for interactive client
Ted Lemon [Thu, 9 Apr 1998 04:35:50 +0000 (04:35 +0000)] 
New prototypes and types for interactive client

27 years agoAllow for null trees.
Ted Lemon [Thu, 9 Apr 1998 04:31:59 +0000 (04:31 +0000)] 
Allow for null trees.

27 years agoNo message for dissociate_lease().
Ted Lemon [Thu, 9 Apr 1998 04:30:41 +0000 (04:30 +0000)] 
No message for dissociate_lease().

27 years agoCheck HAVE_SIN_LEN in sockaddr_dl code. Kludge hardware address length for now...
Ted Lemon [Thu, 9 Apr 1998 04:30:00 +0000 (04:30 +0000)] 
Check HAVE_SIN_LEN in sockaddr_dl code.   Kludge hardware address length for now if HAVE_SIN_LEN isn't set.   Return pointer to struct proto from add_protocol.

27 years agoAdd min-lease-time, min-secs and use-lease-addr-for-default-route
Ted Lemon [Thu, 9 Apr 1998 04:28:20 +0000 (04:28 +0000)] 
Add min-lease-time, min-secs and use-lease-addr-for-default-route

27 years agoAdd interact.c
Ted Lemon [Thu, 9 Apr 1998 04:27:38 +0000 (04:27 +0000)] 
Add interact.c

27 years agoFix backup_cutoff handling.
Ted Lemon [Thu, 9 Apr 1998 04:26:24 +0000 (04:26 +0000)] 
Fix backup_cutoff handling.

27 years agoDon't die if we can't handle a new client. Don't try to continue if accept fails.
Ted Lemon [Thu, 9 Apr 1998 04:22:30 +0000 (04:22 +0000)] 
Don't die if we can't handle a new client.   Don't try to continue if accept fails.