2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 21:07:43 +00:00

881 Commits

Author SHA1 Message Date
Ted Lemon
c7609f47b8 Update copyright 1998-03-16 06:18:16 +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
af5662874e Only include linux/ files when compiling on Linux 1.x. 1998-03-16 06:16:30 +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
fcaec4ef11 Check chaddr as well as xid in all cases. hw_address hangs off of interface, not client data. 1998-03-16 06:08:41 +00:00
Ted Lemon
d213c35d9b Signed vs. unsigned char fixes 1998-03-16 06:02:14 +00:00
Ted Lemon
3b926f9da0 Different config options for Linux 1.x, 2.0 and 2.1. 1998-03-16 06:01:46 +00:00
Ted Lemon
338303a442 Prevent some type incompatibility warnings. 1998-03-15 21:16:39 +00:00
Ted Lemon
76195acb1c Add declaration for agent option global (used by option parser). 1998-03-15 21:07:11 +00:00
Ted Lemon
5c2f78b459 If interfaces are specified, don't configure any that weren't. In INIT-REBOOT state, initialize the xid before calling make_request(). Check chaddr as well as xid to validate return from server. Make write_client_lease rewrite the client lease file after 20 leases have been written. Fix an xid bug in DHCPRELEASE code. Document Y2K non-bug. 1998-03-15 21:04:52 +00:00
Ted Lemon
49e228037f Use DLPI, not sockets. Also, since we're using rand instead of random, use srand instead of srandom. 1998-03-15 21:00:44 +00:00
Ted Lemon
44947018ce More DLPI stuff 1998-03-15 20:59:47 +00:00
Ted Lemon
5142937c7d More prototypes. Agent Option support. 1998-03-15 20:57:28 +00:00
Ted Lemon
126292b4af Add defines for relay agent options. 1998-03-15 20:56:27 +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
c0a8b01162 Don't invalidate a lease if we receive an ICMP echo reply for it when it has a valid lease. This can happen if some other user on the host pings the client after we've assigned it an address. 1998-03-15 20:47:27 +00:00
Ted Lemon
3f165a4027 Add a comment to document the non-presence of a Y2K bug, since people are getting paranoid about that. 1998-03-15 20:46:22 +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
0a3476077b Add dhcp_max_agent_option_packet_length. 1998-02-06 01:10:28 +00:00
Ted Lemon
3c893bb6ce Adjust cons_options calls. Copy the entire chaddr field even if hlen indicates it's shorter. Keep track of Relay Agent Information options. 1998-02-06 01:08:38 +00:00
Ted Lemon
d8ae14c614 Copy the entire chaddr field, even if the length is shorter than the total. This works around a bug in certain Microsoft clients. If the options aren't valid, just copy the option buffer from the incoming packet into the outgoing packet. This lets NeXT boxes boot. Adjust calling conventions for cons_options. 1998-02-06 01:05:39 +00:00
Ted Lemon
36f5cb7ca4 Change cons_option calling convention. Declare dhcp_max_agent_option_packet_length. 1998-02-06 00:58:36 +00:00
Ted Lemon
4f138ec5c0 Correct freudian slip. 1998-01-12 01:29:29 +00:00
Ted Lemon
eb4b6456c8 Finish documenting dhcpd.leases format. 1998-01-12 01:28:42 +00:00
Ted Lemon
2b1986edad Document token ring hardware type. 1998-01-12 01:09:00 +00:00
Ted Lemon
961ea0f767 Add DLPI support 1998-01-12 01:07:21 +00:00
Ted Lemon
94f0882475 Define Async DNS structures. Add new dns functions. Add DLPI functions. 1998-01-12 01:06:16 +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
f245ec1f68 Use new_network_number, not new_network_address. Use search, not domain in /etc/resolv.conf. 1998-01-12 00:39:31 +00:00
Ted Lemon
5689130f1a Add missing fi 1998-01-11 22:25:43 +00:00
Ted Lemon
d4b26e01cf Fix up option declaration modifier documentation. 1998-01-11 22:23:40 +00:00
Ted Lemon
9572f5b8d2 Define ssize_t and NEED_INET_ATON. 1997-12-17 21:42:18 +00:00
Ted Lemon
29d5553aec Document changes in Beta 1 (oops) 1997-12-11 22:35:03 +00:00
Ted Lemon
f0f07e5d9a Document broadcast addr hack for HP-UX 9.x 1997-12-11 22:33:35 +00:00
Ted Lemon
8c135c147f Check mktemp() return and die with error message if it's NULL 1997-12-09 20:29:00 +00:00
Ted Lemon
90ddb81d9d Use yiaddr to transmit response to client 1997-12-09 19:04:04 +00:00
Ted Lemon
0e98ad2432 BOOTP Protocol specification 1997-12-06 12:13:48 +00:00
Ted Lemon
31d3229f08 Current DHCP Options specification 1997-12-06 12:09:40 +00:00
Ted Lemon
db98f130a5 Current DHCP protocol specification 1997-12-06 12:08:03 +00:00
Ted Lemon
11f3c24ccb file rfc2131.txt was initially added on branch RELEASE_1. 1997-12-06 12:04:21 +00:00