Ted Lemon
|
5fd5c0a35f
|
Fix evaluate_boolean_expression_result to actually evaluate a *boolean* expression.
|
1998-11-06 03:25:17 +00:00 |
|
Ted Lemon
|
78310bee26
|
Put check_collection() outside of DEBUG_EXPRESSIONS conditional.
|
1998-11-06 02:43:10 +00:00 |
|
Ted Lemon
|
efc79acbb9
|
Fix pathological parsing loop in add statement. Set expression opcode after parse_cshl.
|
1998-11-06 02:42:48 +00:00 |
|
Ted Lemon
|
d25524bd8d
|
Evaluate option cache associated with client identifier option, not just the expression.
|
1998-11-06 02:40:40 +00:00 |
|
Ted Lemon
|
71bf7bfebd
|
Add hostname type to dns_host_entry_allocate
|
1998-11-06 02:40:04 +00:00 |
|
Ted Lemon
|
0b1e0778a3
|
Save space for hostname and save hostname itself in dns_host_entry allocator.
|
1998-11-06 01:06:44 +00:00 |
|
Ted Lemon
|
fd2a15f68e
|
Pass hostname to dns_host_entry_allocate.
|
1998-11-06 01:06:16 +00:00 |
|
Ted Lemon
|
44aa67f6ce
|
Initialize automatic expression variable.
|
1998-11-06 00:30:19 +00:00 |
|
Ted Lemon
|
fa226d8ff5
|
Interface discovery code.
|
1998-11-06 00:19:56 +00:00 |
|
Ted Lemon
|
cd038e3ef4
|
Clear the right data buffer. Add missing braces.
|
1998-11-06 00:13:36 +00:00 |
|
Ted Lemon
|
25541f2fc1
|
Fix parse_if_statement
|
1998-11-06 00:13:03 +00:00 |
|
Ted Lemon
|
ca44c64d39
|
Add agent_options argument to cons_options
|
1998-11-06 00:12:40 +00:00 |
|
Ted Lemon
|
ac73337357
|
Update error message.
|
1998-11-06 00:11:53 +00:00 |
|
Ted Lemon
|
1d07a807ef
|
Implement reference-based option cache and expressions.
|
1998-11-05 18:45:23 +00:00 |
|
Ted Lemon
|
5bb74e19bc
|
Get rid of ad-hoc option priority list.
|
1998-11-05 18:44:41 +00:00 |
|
Ted Lemon
|
2d0eb01961
|
Add new printers for prettier printing of 'x' format. Add expression printer.
|
1998-11-05 18:44:11 +00:00 |
|
Ted Lemon
|
02a015fb46
|
Fix up all the option handling code to use evaluation instead of fixed data.
|
1998-11-05 18:43:23 +00:00 |
|
Ted Lemon
|
a370b55d06
|
Add new option cache handling code.
|
1998-11-05 18:42:47 +00:00 |
|
Ted Lemon
|
15b5c093be
|
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.
|
1998-11-05 18:42:18 +00:00 |
|
Ted Lemon
|
a1933e2df8
|
Add expression debugging printfs. Supply input and output options to execute_statements.
|
1998-11-05 18:40:40 +00:00 |
|
Ted Lemon
|
62366286cf
|
Add new reference-based allocators and some new new/free allocators for data types that were previously being allocated with malloc().
|
1998-11-05 18:39:54 +00:00 |
|
Ted Lemon
|
94ab0b3be1
|
Add depend target
|
1998-10-22 04:50:29 +00:00 |
|
Ted Lemon
|
7d77172d26
|
Move discover_interfaces and relate goop to discover.c
|
1998-10-17 13:35:24 +00:00 |
|
Ted Lemon
|
0c6a64b23a
|
Add EXISTS token.
|
1998-10-17 13:34:31 +00:00 |
|
Ted Lemon
|
1bc9d4926b
|
Add discover.c. Remove spurious tab.
|
1998-10-17 13:33:40 +00:00 |
|
Ted Lemon
|
3e18a8b4fb
|
Update binary copyright.
|
1998-06-25 22:54:13 +00:00 |
|
Ted Lemon
|
055fa312bd
|
Execute statements.
|
1998-06-25 03:57:00 +00:00 |
|
Ted Lemon
|
33e712eab3
|
Update all the names to reflect the unification of expression evaluation and dns lookup evaluation. Add expression evaluator.
|
1998-06-25 03:10:32 +00:00 |
|
Ted Lemon
|
383a87e2e3
|
Add server option universe. Install dhcp option universe set function.
|
1998-06-25 03:09:09 +00:00 |
|
Ted Lemon
|
be6be08d66
|
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.
|
1998-06-25 03:07:51 +00:00 |
|
Ted Lemon
|
b480793829
|
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.
|
1998-06-25 03:02:50 +00:00 |
|
Ted Lemon
|
6aba7542e3
|
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.
|
1998-06-25 02:59:15 +00:00 |
|
Ted Lemon
|
34436cc3b0
|
Clear out unused portion of icmp packet.
|
1998-06-25 02:55:56 +00:00 |
|
Ted Lemon
|
ca0e3669b8
|
Read DHCP packet into aligned buffer and pass it as a struct pointer instead of a character buffer.
|
1998-06-25 02:55:16 +00:00 |
|
Ted Lemon
|
52cdb300e7
|
Add ADD, BREAK, ELSE, ELSIF, IF, MATCH, SUBCLASS and WITH tokens
|
1998-06-25 02:54:29 +00:00 |
|
Ted Lemon
|
4b1abd502c
|
tree -> expression. tree_cache -> option_cache. New destructors for dhcp_packet and packet structures.
|
1998-06-25 02:53:00 +00:00 |
|
Ted Lemon
|
74c54b65db
|
Add statement executor module
|
1998-06-25 02:51:49 +00:00 |
|
Ted Lemon
|
80fcef916b
|
Add new tokens for match expressions.
|
1998-04-20 18:02:40 +00:00 |
|
Ted Lemon
|
4761e04be5
|
Add parse_option_name and parse_cshl functions.
|
1998-04-20 18:01:32 +00:00 |
|
Ted Lemon
|
e9a37ce5d0
|
Add agent option universe.
|
1998-04-19 23:20:06 +00:00 |
|
Ted Lemon
|
f4c340534d
|
Add dhcp_option_lookup and agent_option_lookup functions.
|
1998-04-19 23:19:14 +00:00 |
|
Ted Lemon
|
2367591ef2
|
Interactive client for browsing internal database.
|
1998-04-09 05:18:56 +00:00 |
|
Ted Lemon
|
6f76b6ac67
|
Allow for null trees.
|
1998-04-09 04:31:59 +00:00 |
|
Ted Lemon
|
05c680bf8f
|
No message for dissociate_lease().
|
1998-04-09 04:30:41 +00:00 |
|
Ted Lemon
|
fb1989a8aa
|
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.
|
1998-04-09 04:30:00 +00:00 |
|
Ted Lemon
|
8028ab1d09
|
Add min-lease-time, min-secs and use-lease-addr-for-default-route
|
1998-04-09 04:28:20 +00:00 |
|
Ted Lemon
|
3b08cf9aea
|
Add interact.c
|
1998-04-09 04:27:38 +00:00 |
|
Ted Lemon
|
2ca2eda92d
|
Add dissociate_lease(). Abandon leases but don't _really_ abandon them - sort them back into the list so that they can be reclaimed later.
|
1998-03-17 18:19:44 +00:00 |
|
Ted Lemon
|
68dda014a0
|
Allow trailing dot in hostnames.
|
1998-03-17 06:13:02 +00:00 |
|
Ted Lemon
|
0a98d49899
|
If client sends a packet with a larger option buffer than allowed in the standard, use the same size option buffer.
|
1998-03-17 06:12:17 +00:00 |
|