]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
27 years agoAllow non-broadcast interfaces to be specified on the command line.
Ted Lemon [Wed, 11 Nov 1998 07:50:51 +0000 (07:50 +0000)] 
Allow non-broadcast interfaces to be specified on the command line.

27 years agoAdd billing limitation tokens
Ted Lemon [Wed, 11 Nov 1998 07:50:06 +0000 (07:50 +0000)] 
Add billing limitation tokens

27 years agoPre-zero group structures.
Ted Lemon [Wed, 11 Nov 1998 07:49:27 +0000 (07:49 +0000)] 
Pre-zero group structures.

27 years agoUse scoping correctly.
Ted Lemon [Wed, 11 Nov 1998 07:48:23 +0000 (07:48 +0000)] 
Use scoping correctly.

27 years agoAdd pool support.
Ted Lemon [Mon, 9 Nov 1998 02:47:29 +0000 (02:47 +0000)] 
Add pool support.

27 years agoAdd pool/permit support.
Ted Lemon [Mon, 9 Nov 1998 02:46:58 +0000 (02:46 +0000)] 
Add pool/permit support.

27 years agoFix up class matching code.
Ted Lemon [Mon, 9 Nov 1998 02:46:19 +0000 (02:46 +0000)] 
Fix up class matching code.

27 years agoAdd tokens for pools, permits and pseudo-clients
Ted Lemon [Mon, 9 Nov 1998 02:45:37 +0000 (02:45 +0000)] 
Add tokens for pools, permits and pseudo-clients

27 years agoAdd pool/permit support and pseudo-client support.
Ted Lemon [Mon, 9 Nov 1998 02:45:22 +0000 (02:45 +0000)] 
Add pool/permit support and pseudo-client support.

27 years agoGet rid of obsolete data string reference.
Ted Lemon [Mon, 9 Nov 1998 02:45:02 +0000 (02:45 +0000)] 
Get rid of obsolete data string reference.

27 years agoAdd pool support
Ted Lemon [Mon, 9 Nov 1998 02:44:32 +0000 (02:44 +0000)] 
Add pool support

27 years agoAdd allocators for pools and permits.
Ted Lemon [Mon, 9 Nov 1998 02:43:42 +0000 (02:43 +0000)] 
Add allocators for pools and permits.

27 years agoAdd support for pseudo-clients
Ted Lemon [Mon, 9 Nov 1998 02:43:23 +0000 (02:43 +0000)] 
Add support for pseudo-clients

27 years agoFix up matching code and add debugging for it.
Ted Lemon [Fri, 6 Nov 1998 03:25:45 +0000 (03:25 +0000)] 
Fix up matching code and add debugging for it.

27 years agoFix evaluate_boolean_expression_result to actually evaluate a *boolean* expression.
Ted Lemon [Fri, 6 Nov 1998 03:25:17 +0000 (03:25 +0000)] 
Fix evaluate_boolean_expression_result to actually evaluate a *boolean* expression.

27 years agoClassify all incoming dhcp packets. Process class scopes.
Ted Lemon [Fri, 6 Nov 1998 02:59:11 +0000 (02:59 +0000)] 
Classify all incoming dhcp packets.   Process class scopes.

27 years agoAdd new classes to database after parsing them. Fix some miscellaneous bugs.
Ted Lemon [Fri, 6 Nov 1998 02:58:17 +0000 (02:58 +0000)] 
Add new classes to database after parsing them.   Fix some miscellaneous bugs.

27 years agoPut check_collection() outside of DEBUG_EXPRESSIONS conditional.
Ted Lemon [Fri, 6 Nov 1998 02:43:10 +0000 (02:43 +0000)] 
Put check_collection() outside of DEBUG_EXPRESSIONS conditional.

27 years agoFix pathological parsing loop in add statement. Set expression opcode after parse_cshl.
Ted Lemon [Fri, 6 Nov 1998 02:42:48 +0000 (02:42 +0000)] 
Fix pathological parsing loop in add statement.   Set expression opcode after parse_cshl.

27 years agoEvaluate option cache associated with client identifier option, not just the expression.
Ted Lemon [Fri, 6 Nov 1998 02:40:40 +0000 (02:40 +0000)] 
Evaluate option cache associated with client identifier option, not just the expression.

27 years agoAdd hostname type to dns_host_entry_allocate
Ted Lemon [Fri, 6 Nov 1998 02:40:04 +0000 (02:40 +0000)] 
Add hostname type to dns_host_entry_allocate

27 years agoUpdate prototype for dns_host_entry_allocate().
Ted Lemon [Fri, 6 Nov 1998 01:08:09 +0000 (01:08 +0000)] 
Update prototype for dns_host_entry_allocate().

27 years agoSave space for hostname and save hostname itself in dns_host_entry allocator.
Ted Lemon [Fri, 6 Nov 1998 01:06:44 +0000 (01:06 +0000)] 
Save space for hostname and save hostname itself in dns_host_entry allocator.

27 years agoPass hostname to dns_host_entry_allocate.
Ted Lemon [Fri, 6 Nov 1998 01:06:16 +0000 (01:06 +0000)] 
Pass hostname to dns_host_entry_allocate.

27 years agoDon't test for abandoned lease if we didn't find a lease. Don't try to evaluate...
Ted Lemon [Fri, 6 Nov 1998 01:04:32 +0000 (01:04 +0000)] 
Don't test for abandoned lease if we didn't find a lease.   Don't try to evaluate an option cache if we didn't find it.

27 years agoWhen making list of IP addresses or hostnames, account for the first expression on...
Ted Lemon [Fri, 6 Nov 1998 00:31:08 +0000 (00:31 +0000)] 
When making list of IP addresses or hostnames, account for the first expression on the list.

27 years agoInitialize automatic expression variable.
Ted Lemon [Fri, 6 Nov 1998 00:30:19 +0000 (00:30 +0000)] 
Initialize automatic expression variable.

27 years agoInterface discovery code.
Ted Lemon [Fri, 6 Nov 1998 00:19:56 +0000 (00:19 +0000)] 
Interface discovery code.

27 years agoAdd agent option support.
Ted Lemon [Fri, 6 Nov 1998 00:17:12 +0000 (00:17 +0000)] 
Add agent option support.

27 years agoMove to reference-based expression allocation.
Ted Lemon [Fri, 6 Nov 1998 00:16:52 +0000 (00:16 +0000)] 
Move to reference-based expression allocation.

27 years agoDo data expression evaluation.
Ted Lemon [Fri, 6 Nov 1998 00:16:22 +0000 (00:16 +0000)] 
Do data expression evaluation.

27 years agoAdd relay agent information option arg to cons_options call.
Ted Lemon [Fri, 6 Nov 1998 00:15:51 +0000 (00:15 +0000)] 
Add relay agent information option arg to cons_options call.

27 years agoAdd Relay Agent Information Option support.
Ted Lemon [Fri, 6 Nov 1998 00:15:17 +0000 (00:15 +0000)] 
Add Relay Agent Information Option support.

27 years agoAdd more expression evaluation goo.
Ted Lemon [Fri, 6 Nov 1998 00:14:47 +0000 (00:14 +0000)] 
Add more expression evaluation goo.

27 years agoAdd relay agent support for Relay Agent Information Option
Ted Lemon [Fri, 6 Nov 1998 00:14:09 +0000 (00:14 +0000)] 
Add relay agent support for Relay Agent Information Option

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