2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 13:28:14 +00:00

1224 Commits

Author SHA1 Message Date
Ted Lemon
e15381fc4c Compile fallback_discard based on USE_SOCKET_FALLBACK, not USE_SOCKET_SEND. 1999-05-27 14:18:27 +00:00
Ted Lemon
20c4e94d44 Support encode-int() expression. 1999-05-27 14:15:09 +00:00
Ted Lemon
f011dedde6 Don't overwrite timestamp from new lease value structure. 1999-05-27 14:11:58 +00:00
Ted Lemon
c541727bf5 Add recognition of token ring hardware type. 1999-05-27 14:10:22 +00:00
Ted Lemon
05b7e2f648 - Change data-string to string in option documentation to be consistent
with configuration file syntax.
1999-05-27 14:08:59 +00:00
Ted Lemon
7ff63eb044 Document encode-int 1999-05-27 14:01:43 +00:00
Ted Lemon
ba79f3bb4b Add encode-int 1999-05-27 12:39:22 +00:00
Ted Lemon
203eccaeb5 Fix up some more POINTER_DEBUG cases to prevent core dumps. 1999-05-27 12:38:05 +00:00
Ted Lemon
4ff4053beb Update version number and changelog V3-ALPHA-19990507 1999-05-07 17:49:12 +00:00
Ted Lemon
6023482906 Common version number for DHCP distribution. 1999-05-07 17:40:53 +00:00
Ted Lemon
431693d164 Prioritize user-declared parameter request list _above_ client-supplied list. 1999-05-07 17:40:26 +00:00
Ted Lemon
be19167db2 Fix up colon-seperated hex octet list parsing in parse_data_expression. 1999-05-07 17:38:42 +00:00
Ted Lemon
8e0a40b8d9 Enclose abort() calls in POINTER_DEBUG ifdefs and just return otherwise. 1999-05-07 17:36:36 +00:00
Ted Lemon
f8d1a65ac9 Don't use -w 1 flag, which doesn't work on FreeBSD. 1999-05-07 17:33:36 +00:00
Ted Lemon
31020a36fd Update version info. 1999-05-07 17:32:38 +00:00
Ted Lemon
10da3e76fb - 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.
1999-05-07 17:10:38 +00:00
Ted Lemon
b2e17924d1 Update version and changelog V3-ALPHA-19990506 1999-05-06 20:52:43 +00:00
Ted Lemon
426f5bd08b Update version number. 1999-05-06 20:44:58 +00:00
Ted Lemon
cdc336ab50 - 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.
1999-05-06 20:35:48 +00:00
Ted Lemon
468746feee Adjust the message printed at the top of the lease database. 1999-05-06 20:28:29 +00:00
Ted Lemon
b7afba03e8 Add CONCAT token. 1999-05-06 20:26:46 +00:00
Ted Lemon
f67530be69 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.
1999-05-06 20:25:41 +00:00
Ted Lemon
8d20719540 error -> log_fatal 1999-05-06 20:21:39 +00:00
Ted Lemon
a82abfc730 - 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.
1999-05-06 20:20:43 +00:00
Ted Lemon
e25ff25763 Add concat keyword. 1999-05-06 20:13:31 +00:00
Ted Lemon
bd4075ab5d Fix building of dhclient.cat8 man page. 1999-05-06 20:06:06 +00:00
Ted Lemon
ea573d1a93 Update version number. V3-ALPHA-19990424 1999-04-25 13:21:52 +00:00
Ted Lemon
61629d4876 Only one binary file copyright required. 1999-04-25 13:17:17 +00:00
Ted Lemon
b268969263 Remove #* from rm -f list because it wasn't working. V3-ALPHA-19990423 1999-04-24 00:24:29 +00:00
Ted Lemon
74aa4f0ee3 Clean sedded man pages as well as catted man pages. 1999-04-24 00:20:10 +00:00
Ted Lemon
9ca38ac2fe Update version and changelog. 1999-04-23 23:58:04 +00:00
Ted Lemon
ca3a51a5f0 Use new class option constants. 1999-04-23 23:50:22 +00:00
Ted Lemon
46904800ec - Reference siaddr from state structure in ack_lease, since raw packet
hasn't been instantiated yet.
1999-04-23 23:47:51 +00:00
Ted Lemon
c783f7995d Add siaddr structure to lease_state structure. 1999-04-23 23:44:44 +00:00
Ted Lemon
05223b724c Update version. 1999-04-23 23:35:44 +00:00
Ted Lemon
1a67a4d7a7 Document pool allocation mechanism and access lists. 1999-04-23 23:30:20 +00:00
Ted Lemon
10553ccb84 - 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.
1999-04-23 23:17:52 +00:00
Ted Lemon
8f65e88db9 Print note at top of lease file so people won't ask about times being offset. 1999-04-23 22:30:56 +00:00
Ted Lemon
e997d30a12 Fix an omitted word. 1999-04-23 22:27:50 +00:00
Ted Lemon
1877bf5ce7 Support MacOSX. 1999-04-23 22:26:51 +00:00
Ted Lemon
53ac6c6fe1 Add support for site option spaces. 1999-04-23 22:25:50 +00:00
Ted Lemon
37c1b2906f Update the names of some DHCP option manifest constants. 1999-04-23 22:23:58 +00:00
Ted Lemon
f594d52c7e Use input options for option operand. 1999-04-23 22:22:55 +00:00
Ted Lemon
a6a43a8c60 Add a bunch of options that were added in RFC2132. 1999-04-23 22:20:49 +00:00
Ted Lemon
609115bc98 Get rid of incorrect data after payload messages. 1999-04-23 22:15:43 +00:00
Ted Lemon
33c8563849 - Support a site-local option space, so that different site-local
options can be defined in different scopes.
1999-04-23 22:10:52 +00:00
Ted Lemon
341b9d40a1 Add binary file copyright. 1999-04-23 22:07:38 +00:00
Ted Lemon
b5b7b3b40d Document newly added options. 1999-04-23 22:05:32 +00:00
Ted Lemon
03a07ad614 Remove BUGS section and adjust version. 1999-04-23 21:23:23 +00:00
Ted Lemon
dda42ca14e Fix up UDP length calculations. Fix checksum algorithm. 1999-04-23 15:38:57 +00:00