]>
git.ipfire.org Git - thirdparty/dhcp.git/log
Ted Lemon [Sat, 8 May 1999 18:22:49 +0000 (18:22 +0000)]
- Check for hints that client might be sending ciaddr erroneously before
trying to unicast to it. Hints include that it sent a server identifier
option or that it set the broadcast flag. Clients that follow RFC1541
instead of the proposed standard will set ciaddr when requesting, which is
what this code is intended to deal with.
However, if the requested address is on a different shared network than
the packet origination discovery code would suggest, then we ignore
these hints, because the client must have unicast its request to us.
- If a parameter request list is specified in scope, this list is used in
configuring the client, and supersedes any list sent by the client.
Ted Lemon [Sat, 8 May 1999 18:14:54 +0000 (18:14 +0000)]
Take server name and filename from subnet if not in host decl.
Ted Lemon [Sat, 8 May 1999 18:12:27 +0000 (18:12 +0000)]
Add support for token ring hardware type, which supposedly works.
Ted Lemon [Fri, 7 May 1999 17:41:12 +0000 (17:41 +0000)]
Common version number for DHCP distribution.
cvs2git [Fri, 7 May 1999 17:40:54 +0000 (17:40 +0000)]
This commit was manufactured by cvs2git to create branch 'RELEASE_2'.
Ted Lemon [Fri, 7 May 1999 17:40:53 +0000 (17:40 +0000)]
Common version number for DHCP distribution.
Ted Lemon [Fri, 7 May 1999 17:40:26 +0000 (17:40 +0000)]
Prioritize user-declared parameter request list _above_ client-supplied list.
Ted Lemon [Fri, 7 May 1999 17:38:42 +0000 (17:38 +0000)]
Fix up colon-seperated hex octet list parsing in parse_data_expression.
Ted Lemon [Fri, 7 May 1999 17:36:36 +0000 (17:36 +0000)]
Enclose abort() calls in POINTER_DEBUG ifdefs and just return otherwise.
Ted Lemon [Fri, 7 May 1999 17:33:36 +0000 (17:33 +0000)]
Don't use -w 1 flag, which doesn't work on FreeBSD.
Ted Lemon [Fri, 7 May 1999 17:32:38 +0000 (17:32 +0000)]
Update version info.
Ted Lemon [Fri, 7 May 1999 17:10:38 +0000 (17:10 +0000)]
- Make is_boolean_expression return true for expr_exists.
- Conditionalize pointer debug abort on POINTER_DEBUG.
- When using options in expression evaluation, make sure that there are
options to use.
Ted Lemon [Thu, 6 May 1999 21:58:46 +0000 (21:58 +0000)]
Update message at top of lease database file.
Ted Lemon [Thu, 6 May 1999 21:57:03 +0000 (21:57 +0000)]
- Remember whether we got requested address and server ID, and what network
the packet arrived on.
Ted Lemon [Thu, 6 May 1999 21:54:34 +0000 (21:54 +0000)]
Print X format data as a text string if it contains no unprintable characters.
Ted Lemon [Thu, 6 May 1999 21:53:39 +0000 (21:53 +0000)]
Don't reference script directory twice in a row.
Ted Lemon [Thu, 6 May 1999 21:52:52 +0000 (21:52 +0000)]
Don't use -w 1 on ping - it doesn't work on FreeBSD.
Ted Lemon [Thu, 6 May 1999 20:52:43 +0000 (20:52 +0000)]
Update version and changelog
Ted Lemon [Thu, 6 May 1999 20:44:58 +0000 (20:44 +0000)]
Update version number.
Ted Lemon [Thu, 6 May 1999 20:35:48 +0000 (20:35 +0000)]
- In DHCPINFORM, allow for buggy clients that do not set ciaddr by
using the IP source address from the IP header if ciaddr is zero.
- Fix some memory allocation botches.
- Use parameter request list option from scope if it is present and
client didn't send one.
- Copy ciaddr from incoming packet to outgoing packet.
- Remember that we got the requested-address and server-identifier
options in option state.
- Allow for RFC1541 clients that set ciaddr when REQUESTING by
checking server-identifier option as well as ciaddr before
unicasting.
Ted Lemon [Thu, 6 May 1999 20:28:29 +0000 (20:28 +0000)]
Adjust the message printed at the top of the lease database.
Ted Lemon [Thu, 6 May 1999 20:26:46 +0000 (20:26 +0000)]
Add CONCAT token.
Ted Lemon [Thu, 6 May 1999 20:25:41 +0000 (20:25 +0000)]
Remember in lease state
- whether or not we got requested address and server identifier
options, and
- the shared network to which the interface on which the request
arrived is attached.
Ted Lemon [Thu, 6 May 1999 20:21:39 +0000 (20:21 +0000)]
error -> log_fatal
Ted Lemon [Thu, 6 May 1999 20:20:43 +0000 (20:20 +0000)]
- Add support for a timezone offset in lease file (possibly useless).
- Add support for concat data subexpression.
- Add support for specifying option data as a data expression instead
of in the option's specified format.
Ted Lemon [Thu, 6 May 1999 20:13:31 +0000 (20:13 +0000)]
Add concat keyword.
Ted Lemon [Thu, 6 May 1999 20:06:06 +0000 (20:06 +0000)]
Fix building of dhclient.cat8 man page.
Ted Lemon [Thu, 6 May 1999 19:44:44 +0000 (19:44 +0000)]
Fix building of dhclient.cat8 man page.
Ted Lemon [Wed, 28 Apr 1999 14:58:54 +0000 (14:58 +0000)]
Apply another fix to 'X' format handling.
Ted Lemon [Wed, 28 Apr 1999 13:27:32 +0000 (13:27 +0000)]
- Partially fix a problem with printing of host-name option (and any other
option with an X format).
Ted Lemon [Sun, 25 Apr 1999 13:21:52 +0000 (13:21 +0000)]
Update version number.
Ted Lemon [Sun, 25 Apr 1999 13:17:17 +0000 (13:17 +0000)]
Only one binary file copyright required.
Ted Lemon [Sat, 24 Apr 1999 19:39:58 +0000 (19:39 +0000)]
Update version and changelog.
Ted Lemon [Sat, 24 Apr 1999 16:55:21 +0000 (16:55 +0000)]
Update version.
Ted Lemon [Sat, 24 Apr 1999 16:52:33 +0000 (16:52 +0000)]
Don't NAK packets for bad network if the client set ciaddr. Avoid core dump.
Ted Lemon [Sat, 24 Apr 1999 16:50:05 +0000 (16:50 +0000)]
Print informative message at top of dhcpd.leases file.
Ted Lemon [Sat, 24 Apr 1999 16:49:37 +0000 (16:49 +0000)]
Fix typo.
Ted Lemon [Sat, 24 Apr 1999 16:48:54 +0000 (16:48 +0000)]
Add MacOS X support.
Ted Lemon [Sat, 24 Apr 1999 16:48:10 +0000 (16:48 +0000)]
Add object file copyrights.
Ted Lemon [Sat, 24 Apr 1999 16:46:44 +0000 (16:46 +0000)]
Add support for more rfc2132 options.
Ted Lemon [Sat, 24 Apr 1999 16:45:50 +0000 (16:45 +0000)]
Make make reallyclean blow away man pages after sed has been run on them.
Ted Lemon [Sat, 24 Apr 1999 16:44:03 +0000 (16:44 +0000)]
Update version, mention that bugs are fixed in 3.0.
Ted Lemon [Sat, 24 Apr 1999 15:31:47 +0000 (15:31 +0000)]
Fix UDP checksum code and packet length computations.
Ted Lemon [Sat, 24 Apr 1999 00:24:29 +0000 (00:24 +0000)]
Remove #* from rm -f list because it wasn't working.
Ted Lemon [Sat, 24 Apr 1999 00:20:10 +0000 (00:20 +0000)]
Clean sedded man pages as well as catted man pages.
Ted Lemon [Fri, 23 Apr 1999 23:58:04 +0000 (23:58 +0000)]
Update version and changelog.
Ted Lemon [Fri, 23 Apr 1999 23:50:22 +0000 (23:50 +0000)]
Use new class option constants.
Ted Lemon [Fri, 23 Apr 1999 23:47:51 +0000 (23:47 +0000)]
- Reference siaddr from state structure in ack_lease, since raw packet
hasn't been instantiated yet.
Ted Lemon [Fri, 23 Apr 1999 23:44:44 +0000 (23:44 +0000)]
Add siaddr structure to lease_state structure.
Ted Lemon [Fri, 23 Apr 1999 23:35:44 +0000 (23:35 +0000)]
Update version.
Ted Lemon [Fri, 23 Apr 1999 23:30:20 +0000 (23:30 +0000)]
Document pool allocation mechanism and access lists.
Ted Lemon [Fri, 23 Apr 1999 23:17:52 +0000 (23:17 +0000)]
- Do not respond with NAK if ciaddr is set and imputed network doesn't
match, since ciaddr means client is unicasting using IP routing.
- Support DHCPINFORM even on unknown networks.
- Fix up some invocations of evaluate_option_cache that used
post-scope-execution option state rather than packet option state as
input for evaluations of options from post-scope-execution option
state.
- Add support for site-defined option spaces.
- Compute boot file server prior to freeing options used in computing
it. May fix a core dump that has been reported but that I haven't
seen.
- Make pool scope less specific than class scope.
- Fix some invocations of execute_statements_in_scope that were
incorrectly passing output options where they should have passed
input options.
- Enforce maximum lease length after applying default lease time.
- Compute value of bootfile server IP address in ack_lease instead of
dhcp_reply, so that expressions using contents of packet can work.
Ted Lemon [Fri, 23 Apr 1999 22:30:56 +0000 (22:30 +0000)]
Print note at top of lease file so people won't ask about times being offset.
Ted Lemon [Fri, 23 Apr 1999 22:27:50 +0000 (22:27 +0000)]
Fix an omitted word.
Ted Lemon [Fri, 23 Apr 1999 22:26:51 +0000 (22:26 +0000)]
Support MacOSX.
Ted Lemon [Fri, 23 Apr 1999 22:25:50 +0000 (22:25 +0000)]
Add support for site option spaces.
Ted Lemon [Fri, 23 Apr 1999 22:23:58 +0000 (22:23 +0000)]
Update the names of some DHCP option manifest constants.
Ted Lemon [Fri, 23 Apr 1999 22:22:55 +0000 (22:22 +0000)]
Use input options for option operand.
Ted Lemon [Fri, 23 Apr 1999 22:20:49 +0000 (22:20 +0000)]
Add a bunch of options that were added in RFC2132.
Ted Lemon [Fri, 23 Apr 1999 22:15:43 +0000 (22:15 +0000)]
Get rid of incorrect data after payload messages.
Ted Lemon [Fri, 23 Apr 1999 22:10:52 +0000 (22:10 +0000)]
- Support a site-local option space, so that different site-local
options can be defined in different scopes.
Ted Lemon [Fri, 23 Apr 1999 22:07:38 +0000 (22:07 +0000)]
Add binary file copyright.
Ted Lemon [Fri, 23 Apr 1999 22:05:32 +0000 (22:05 +0000)]
Document newly added options.
Ted Lemon [Fri, 23 Apr 1999 21:23:23 +0000 (21:23 +0000)]
Remove BUGS section and adjust version.
Ted Lemon [Fri, 23 Apr 1999 15:38:57 +0000 (15:38 +0000)]
Fix up UDP length calculations. Fix checksum algorithm.
Ted Lemon [Fri, 23 Apr 1999 15:23:08 +0000 (15:23 +0000)]
- Exclude loopback and point-to-point interfaces, rather than testing
for broadcast flag.
Ted Lemon [Mon, 12 Apr 1999 22:35:37 +0000 (22:35 +0000)]
Do path keyword substitution on unformatted manual pages prior to installing.
Ted Lemon [Mon, 12 Apr 1999 22:34:39 +0000 (22:34 +0000)]
Update version and changelog.
Ted Lemon [Mon, 12 Apr 1999 22:33:52 +0000 (22:33 +0000)]
Update version.
Ted Lemon [Mon, 12 Apr 1999 22:24:24 +0000 (22:24 +0000)]
Update version.
Ted Lemon [Mon, 12 Apr 1999 22:22:43 +0000 (22:22 +0000)]
Update version and changelog
Ted Lemon [Mon, 12 Apr 1999 22:18:58 +0000 (22:18 +0000)]
Support DHCPINFORM.
Ted Lemon [Mon, 12 Apr 1999 22:15:38 +0000 (22:15 +0000)]
Fix siaddr computation.
Ted Lemon [Mon, 12 Apr 1999 22:14:36 +0000 (22:14 +0000)]
Add expr_known to expression type enum.
Ted Lemon [Mon, 12 Apr 1999 22:13:56 +0000 (22:13 +0000)]
Do path keyword substitution on unformatted manual pages prior to installing.
Ted Lemon [Mon, 12 Apr 1999 22:11:12 +0000 (22:11 +0000)]
Support expr_known.
Ted Lemon [Mon, 12 Apr 1999 22:09:24 +0000 (22:09 +0000)]
Parse KNOWN keyword.
Ted Lemon [Mon, 12 Apr 1999 21:37:03 +0000 (21:37 +0000)]
Fix up error message printing. Base UDP checksum on UDP header length.
Ted Lemon [Mon, 12 Apr 1999 21:34:37 +0000 (21:34 +0000)]
error -> log_fatal
Ted Lemon [Mon, 12 Apr 1999 21:33:34 +0000 (21:33 +0000)]
Cast unsigned chars to chars before passing to strlen.
Ted Lemon [Mon, 12 Apr 1999 21:31:54 +0000 (21:31 +0000)]
Document the "known" expression.
Ted Lemon [Sun, 11 Apr 1999 20:31:18 +0000 (20:31 +0000)]
Use UDP header length instead of computing length based on actual data received.
Ted Lemon [Fri, 9 Apr 1999 17:42:43 +0000 (17:42 +0000)]
Update version and changelog
Ted Lemon [Fri, 9 Apr 1999 17:42:07 +0000 (17:42 +0000)]
Update version.
Ted Lemon [Fri, 9 Apr 1999 17:39:41 +0000 (17:39 +0000)]
D'oh! Compute length _before_ computing hash!
Ted Lemon [Thu, 8 Apr 1999 21:51:29 +0000 (21:51 +0000)]
Document always_reply_rfc1048
Ted Lemon [Thu, 8 Apr 1999 21:49:45 +0000 (21:49 +0000)]
Check for lease before dereferencing it.
Ted Lemon [Thu, 8 Apr 1999 21:39:34 +0000 (21:39 +0000)]
Send subnet mask from subnet declaration if no explicit option is provided.
Ted Lemon [Thu, 8 Apr 1999 21:37:16 +0000 (21:37 +0000)]
Fix client-identifier example.
Ted Lemon [Thu, 8 Apr 1999 21:25:44 +0000 (21:25 +0000)]
Compute length of hash string if a length of zero is passed.
Ted Lemon [Thu, 8 Apr 1999 21:25:07 +0000 (21:25 +0000)]
Update version number.
Ted Lemon [Thu, 8 Apr 1999 20:58:49 +0000 (20:58 +0000)]
Update changelog and version.
Ted Lemon [Thu, 8 Apr 1999 20:53:33 +0000 (20:53 +0000)]
Install unformatted man pages on some systems.
Ted Lemon [Thu, 8 Apr 1999 19:47:55 +0000 (19:47 +0000)]
Update version.
Ted Lemon [Thu, 8 Apr 1999 19:42:16 +0000 (19:42 +0000)]
- Add documentation for vendor-encapsulated-options option.
- Document always-reply-rfc1048.
Ted Lemon [Thu, 8 Apr 1999 19:39:54 +0000 (19:39 +0000)]
- Fix some silly parse problems in class parsing.
- Remove ifdef'd-out AUTH/DENY parse code, which is now in parse.c.
- Fix use of uninitialized variable in parse_statement.
Ted Lemon [Thu, 8 Apr 1999 19:36:23 +0000 (19:36 +0000)]
- Add support for always-reply-rfc1048.
- Get subnet mask option from subnet decl if not provided.
Ted Lemon [Thu, 8 Apr 1999 19:34:41 +0000 (19:34 +0000)]
Use enum dhcp_token instead of int.
Ted Lemon [Thu, 8 Apr 1999 19:33:00 +0000 (19:33 +0000)]
Add always-reply-rfc1048 server option.
Ted Lemon [Thu, 8 Apr 1999 19:17:48 +0000 (19:17 +0000)]
- Cast return values from getShort and getUShort for egcs.
- Fix option lookup function usage.