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 |
|
Ted Lemon
|
f258bd88eb
|
Do memcpy inside of if statement since results are only used there. Add ns_inaddr_lookup (commented out for now).
|
1998-03-17 06:11:25 +00:00 |
|
Ted Lemon
|
89698b984b
|
Store query in query buffer in query structure, not in the query structure itself.
|
1998-03-17 06:09:59 +00:00 |
|
Ted Lemon
|
c209242f8a
|
Fix line buffer handling
|
1998-03-17 06:09:11 +00:00 |
|
Ted Lemon
|
4085b4754f
|
Don't memset allocated memory if we didn't allocate it.
|
1998-03-17 06:08:49 +00:00 |
|
Ted Lemon
|
62f461bcf9
|
Make install directories from top down.
|
1998-03-17 06:08:19 +00:00 |
|
Ted Lemon
|
a7822eac77
|
Declare arguments that can be promoted so that the compiler's behaviour doesn't change depending on whether or not it follows ANSI. Fix signed vs. unsigned char discrepencies.
|
1998-03-16 06:19:46 +00:00 |
|
Ted Lemon
|
69858972fd
|
Clean up unsigned char vs. signed char discrepencies.
|
1998-03-16 06:17:37 +00:00 |
|
Ted Lemon
|
15c1fd2cd8
|
Declare arguments that can be promoted so that the compiler's behaviour doesn't change depending on whether or not it follows ANSI.
|
1998-03-16 06:16:54 +00:00 |
|
Ted Lemon
|
0daf3ee5fc
|
Clean up bogus Sun CC pointer type mismatches.
|
1998-03-16 06:14:51 +00:00 |
|
Ted Lemon
|
29d4ebe642
|
Clean up bogus Sun CC pointer type mismatches. Clean up signed vs. unsigned character pointer mismatches.
|
1998-03-16 06:13:01 +00:00 |
|
Ted Lemon
|
fb74bda94f
|
Include dhcpd.h only once. Clean up dangling ifdef. Clean up interface discovery messages.
|
1998-03-16 06:11:03 +00:00 |
|
Ted Lemon
|
338303a442
|
Prevent some type incompatibility warnings.
|
1998-03-15 21:16:39 +00:00 |
|
Ted Lemon
|
5786c19680
|
DLPI support, contributed by Eric James Negaard.
|
1998-03-15 20:55:19 +00:00 |
|
Ted Lemon
|
13ee152c43
|
Don't mention compiling with BPF if user has multiple interfaces - if it's not happening now, it probably doesn't work. Also, correct = vs == confusion that was causing packets to go out with bogus destination addresses.
|
1998-03-15 20:54:20 +00:00 |
|
Ted Lemon
|
edca2b1a03
|
Add a comment to document the non-presence of a Y2K bug, since people are getting paranoid about that.
|
1998-03-15 20:53:12 +00:00 |
|
Ted Lemon
|
5be6694416
|
Reword dns query code
|
1998-03-15 20:50:53 +00:00 |
|
Ted Lemon
|
9de7f52f69
|
Document that NBNS and WINS are the same thing
|
1998-03-15 20:50:23 +00:00 |
|
Ted Lemon
|
81477e9101
|
Parse agent options specially. Pack agent options into outgoing messages if supplied. Allow caller to pass dhcp_max_message_size into cons_options if the original packet is no longer available.
|
1998-02-06 01:18:33 +00:00 |
|
Ted Lemon
|
7e20426119
|
Adjust provided functionality to be compatible with asynchronous resolver.
|
1998-01-12 01:01:44 +00:00 |
|
Ted Lemon
|
0a8ee595f1
|
Handle ICMP packets with IP header options correctly.
|
1998-01-12 01:00:42 +00:00 |
|
Ted Lemon
|
eb0b66697b
|
Preliminary rewrite of asynchronous DNS code (needs work)
|
1998-01-12 01:00:09 +00:00 |
|
Ted Lemon
|
1bf1747a17
|
Add dlpi.c
|
1998-01-12 00:40:53 +00:00 |
|
Ted Lemon
|
357708da5a
|
Ignore lines in resolv.conf whose first token isn't recognized.
|
1997-12-06 04:04:07 +00:00 |
|
Ted Lemon
|
161d49ebc8
|
Handle token ring...
|
1997-12-06 04:03:37 +00:00 |
|
Ted Lemon
|
ba41d7a4ea
|
Don't use sun_len on systems that don't support it
|
1997-11-29 07:52:33 +00:00 |
|
Ted Lemon
|
1ab32dffc5
|
%02x, not %2.2x
|
1997-11-29 07:52:10 +00:00 |
|
Ted Lemon
|
707260f98f
|
Test return value of socket for <0, not ==0 to indicate failure.
|
1997-11-29 07:51:49 +00:00 |
|
Ted Lemon
|
93ad415e65
|
Use ifp -> ifr_name, not ifr.ifr_name, which isn't yet initialized. errno, not ERRNO.
|
1997-11-29 07:51:09 +00:00 |
|