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

809 Commits

Author SHA1 Message Date
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
Ted Lemon
4e72fb70dc Update for 2.0 Beta 1 1997-12-06 11:36:58 +00:00
Ted Lemon
0c11afbceb NAK if a client requests an address that we own but can't give to it. 1997-12-06 04:04:50 +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
19ea90f71e Cast pid_t up to long so that printf will work on systems where it's long and not int. 1997-12-06 04:03:04 +00:00
Ted Lemon
1ac657a58e Document Linux 2.1 version that supports SO_BINDTODEVICE 1997-12-06 04:01:54 +00:00
Ted Lemon
16449d9c7c Document changes in current snapshot since June. DHCP-971202 1997-12-02 10:31:24 +00:00
Ted Lemon
355bf452dc If we're responding to a BOOTP request, hunt for a lease that's applicable - there might be more than one lease matching the network and the hardware address. 1997-12-02 09:28:08 +00:00
Ted Lemon
ec8d21a783 Copy the hardware address into the static lease structure so that it can be used later. 1997-12-02 09:07:03 +00:00
Ted Lemon
3085653819 Create database with mode 0664 & ~umask, not 0666 & ~umask. 1997-12-02 07:44:56 +00:00
Ted Lemon
599c23c128 If we find more than one lease for the same client on the same network, give it the one it asked for. 1997-12-02 07:43:56 +00:00
Ted Lemon
6da1976926 Document Linux 2.1.x bootp agent screw 1997-12-02 07:42:21 +00:00
Ted Lemon
2ba8b7cdaf Fix DHCPRELEASE handling to conform to spec 1997-11-29 07:57:02 +00:00
Ted Lemon
f79741e803 Always print two digits for day and month in leases. 1997-11-29 07:53:53 +00:00
Ted Lemon
3eb52994e1 If AF_LINK is defined, need to include if_dl.h 1997-11-29 07:53:12 +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
Ted Lemon
cd977bedda Update README DHCP-971122 1997-11-22 08:45:04 +00:00
Ted Lemon
801d136e6a Add a caveat that this doesn't include everything 1997-11-22 08:23:45 +00:00
Ted Lemon
392cddfe1e Update release notes (lose obsolete cruft about old lease database formats) 1997-11-22 08:18:16 +00:00