]>
git.ipfire.org Git - thirdparty/dhcp.git/log
Ted Lemon [Thu, 9 Apr 1998 04:27:38 +0000 (04:27 +0000)]
Add interact.c
Ted Lemon [Thu, 9 Apr 1998 04:26:24 +0000 (04:26 +0000)]
Fix backup_cutoff handling.
Ted Lemon [Thu, 9 Apr 1998 04:22:30 +0000 (04:22 +0000)]
Don't die if we can't handle a new client. Don't try to continue if accept fails.
Ted Lemon [Thu, 9 Apr 1998 04:21:00 +0000 (04:21 +0000)]
Add dhcpctl subdir
Ted Lemon [Tue, 17 Mar 1998 18:19:44 +0000 (18:19 +0000)]
Add dissociate_lease(). Abandon leases but don't _really_ abandon them - sort them back into the list so that they can be reclaimed later.
Ted Lemon [Tue, 17 Mar 1998 18:17:57 +0000 (18:17 +0000)]
prototype dissociate_lease.
Ted Lemon [Tue, 17 Mar 1998 18:14:51 +0000 (18:14 +0000)]
If we happen across an abandoned lease when trying to find a lease to allocate, try using the abandoned lease. If the client asks for a lease on one address, but we find another lease that's also assigned to it, make every effort to free the duplicate lease, since a client can't have two leases on the same network at the same time.
Ted Lemon [Tue, 17 Mar 1998 17:35:55 +0000 (17:35 +0000)]
Take out shared-network statement to avoid confusion.
Ted Lemon [Tue, 17 Mar 1998 06:20:51 +0000 (06:20 +0000)]
Allow unnamed host declarations.
Ted Lemon [Tue, 17 Mar 1998 06:20:11 +0000 (06:20 +0000)]
Don't start dns for now.
Ted Lemon [Tue, 17 Mar 1998 06:13:36 +0000 (06:13 +0000)]
Make install directories from top down.
Ted Lemon [Tue, 17 Mar 1998 06:13:02 +0000 (06:13 +0000)]
Allow trailing dot in hostnames.
Ted Lemon [Tue, 17 Mar 1998 06:12:17 +0000 (06:12 +0000)]
If client sends a packet with a larger option buffer than allowed in the standard, use the same size option buffer.
Ted Lemon [Tue, 17 Mar 1998 06:11:25 +0000 (06:11 +0000)]
Do memcpy inside of if statement since results are only used there. Add ns_inaddr_lookup (commented out for now).
Ted Lemon [Tue, 17 Mar 1998 06:09:59 +0000 (06:09 +0000)]
Store query in query buffer in query structure, not in the query structure itself.
Ted Lemon [Tue, 17 Mar 1998 06:09:11 +0000 (06:09 +0000)]
Fix line buffer handling
Ted Lemon [Tue, 17 Mar 1998 06:08:49 +0000 (06:08 +0000)]
Don't memset allocated memory if we didn't allocate it.
Ted Lemon [Tue, 17 Mar 1998 06:08:19 +0000 (06:08 +0000)]
Make install directories from top down.
Ted Lemon [Tue, 17 Mar 1998 06:08:07 +0000 (06:08 +0000)]
Make install directories from top down. Quiet client script test.
Ted Lemon [Tue, 17 Mar 1998 06:06:49 +0000 (06:06 +0000)]
Site-specific Makefile configuration.
Ted Lemon [Tue, 17 Mar 1998 06:06:35 +0000 (06:06 +0000)]
Include a site.conf file after Makefile.dist.
Ted Lemon [Mon, 16 Mar 1998 20:00:00 +0000 (20:00 +0000)]
Don't *require* a /etc/dhclient.conf file.
Ted Lemon [Mon, 16 Mar 1998 06:19:46 +0000 (06:19 +0000)]
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.
Ted Lemon [Mon, 16 Mar 1998 06:19:16 +0000 (06:19 +0000)]
Declare dhcp_max_agent_option_packet_length as required by library code. Fix bogus malloc error check.
Ted Lemon [Mon, 16 Mar 1998 06:18:50 +0000 (06:18 +0000)]
Declare dhcp_max_agent_option_packet_length as required by library code.
Ted Lemon [Mon, 16 Mar 1998 06:18:16 +0000 (06:18 +0000)]
Update copyright
Ted Lemon [Mon, 16 Mar 1998 06:17:37 +0000 (06:17 +0000)]
Clean up unsigned char vs. signed char discrepencies.
Ted Lemon [Mon, 16 Mar 1998 06:16:54 +0000 (06:16 +0000)]
Declare arguments that can be promoted so that the compiler's behaviour doesn't change depending on whether or not it follows ANSI.
Ted Lemon [Mon, 16 Mar 1998 06:16:30 +0000 (06:16 +0000)]
Only include linux/ files when compiling on Linux 1.x.
Ted Lemon [Mon, 16 Mar 1998 06:14:51 +0000 (06:14 +0000)]
Clean up bogus Sun CC pointer type mismatches.
Ted Lemon [Mon, 16 Mar 1998 06:13:01 +0000 (06:13 +0000)]
Clean up bogus Sun CC pointer type mismatches. Clean up signed vs. unsigned character pointer mismatches.
Ted Lemon [Mon, 16 Mar 1998 06:11:03 +0000 (06:11 +0000)]
Include dhcpd.h only once. Clean up dangling ifdef. Clean up interface discovery messages.
Ted Lemon [Mon, 16 Mar 1998 06:08:41 +0000 (06:08 +0000)]
Check chaddr as well as xid in all cases. hw_address hangs off of interface, not client data.
Ted Lemon [Mon, 16 Mar 1998 06:02:14 +0000 (06:02 +0000)]
Signed vs. unsigned char fixes
Ted Lemon [Mon, 16 Mar 1998 06:01:46 +0000 (06:01 +0000)]
Different config options for Linux 1.x, 2.0 and 2.1.
Ted Lemon [Sun, 15 Mar 1998 21:16:39 +0000 (21:16 +0000)]
Prevent some type incompatibility warnings.
Ted Lemon [Sun, 15 Mar 1998 21:07:11 +0000 (21:07 +0000)]
Add declaration for agent option global (used by option parser).
Ted Lemon [Sun, 15 Mar 1998 21:04:52 +0000 (21:04 +0000)]
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.
Ted Lemon [Sun, 15 Mar 1998 21:00:44 +0000 (21:00 +0000)]
Use DLPI, not sockets. Also, since we're using rand instead of random, use srand instead of srandom.
Ted Lemon [Sun, 15 Mar 1998 20:59:47 +0000 (20:59 +0000)]
More DLPI stuff
Ted Lemon [Sun, 15 Mar 1998 20:57:28 +0000 (20:57 +0000)]
More prototypes. Agent Option support.
Ted Lemon [Sun, 15 Mar 1998 20:56:27 +0000 (20:56 +0000)]
Add defines for relay agent options.
Ted Lemon [Sun, 15 Mar 1998 20:55:19 +0000 (20:55 +0000)]
DLPI support, contributed by Eric James Negaard.
Ted Lemon [Sun, 15 Mar 1998 20:54:20 +0000 (20:54 +0000)]
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.
Ted Lemon [Sun, 15 Mar 1998 20:53:12 +0000 (20:53 +0000)]
Add a comment to document the non-presence of a Y2K bug, since people are getting paranoid about that.
Ted Lemon [Sun, 15 Mar 1998 20:50:53 +0000 (20:50 +0000)]
Reword dns query code
Ted Lemon [Sun, 15 Mar 1998 20:50:23 +0000 (20:50 +0000)]
Document that NBNS and WINS are the same thing
Ted Lemon [Sun, 15 Mar 1998 20:47:27 +0000 (20:47 +0000)]
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.
Ted Lemon [Sun, 15 Mar 1998 20:46:22 +0000 (20:46 +0000)]
Add a comment to document the non-presence of a Y2K bug, since people are getting paranoid about that.
Ted Lemon [Fri, 6 Feb 1998 01:18:33 +0000 (01:18 +0000)]
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.
Ted Lemon [Fri, 6 Feb 1998 01:10:28 +0000 (01:10 +0000)]
Add dhcp_max_agent_option_packet_length.
Ted Lemon [Fri, 6 Feb 1998 01:08:38 +0000 (01:08 +0000)]
Adjust cons_options calls. Copy the entire chaddr field even if hlen indicates it's shorter. Keep track of Relay Agent Information options.
Ted Lemon [Fri, 6 Feb 1998 01:05:39 +0000 (01:05 +0000)]
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.
Ted Lemon [Fri, 6 Feb 1998 00:58:36 +0000 (00:58 +0000)]
Change cons_option calling convention. Declare dhcp_max_agent_option_packet_length.
Ted Lemon [Mon, 12 Jan 1998 01:29:29 +0000 (01:29 +0000)]
Correct freudian slip.
Ted Lemon [Mon, 12 Jan 1998 01:28:42 +0000 (01:28 +0000)]
Finish documenting dhcpd.leases format.
Ted Lemon [Mon, 12 Jan 1998 01:09:00 +0000 (01:09 +0000)]
Document token ring hardware type.
Ted Lemon [Mon, 12 Jan 1998 01:07:21 +0000 (01:07 +0000)]
Add DLPI support
Ted Lemon [Mon, 12 Jan 1998 01:06:16 +0000 (01:06 +0000)]
Define Async DNS structures. Add new dns functions. Add DLPI functions.
Ted Lemon [Mon, 12 Jan 1998 01:01:44 +0000 (01:01 +0000)]
Adjust provided functionality to be compatible with asynchronous resolver.
Ted Lemon [Mon, 12 Jan 1998 01:00:42 +0000 (01:00 +0000)]
Handle ICMP packets with IP header options correctly.
Ted Lemon [Mon, 12 Jan 1998 01:00:09 +0000 (01:00 +0000)]
Preliminary rewrite of asynchronous DNS code (needs work)
Ted Lemon [Mon, 12 Jan 1998 00:40:53 +0000 (00:40 +0000)]
Add dlpi.c
Ted Lemon [Mon, 12 Jan 1998 00:39:31 +0000 (00:39 +0000)]
Use new_network_number, not new_network_address. Use search, not domain in /etc/resolv.conf.
Ted Lemon [Sun, 11 Jan 1998 22:25:43 +0000 (22:25 +0000)]
Add missing fi
Ted Lemon [Sun, 11 Jan 1998 22:23:40 +0000 (22:23 +0000)]
Fix up option declaration modifier documentation.
Ted Lemon [Wed, 17 Dec 1997 21:42:18 +0000 (21:42 +0000)]
Define ssize_t and NEED_INET_ATON.
Ted Lemon [Thu, 11 Dec 1997 22:35:03 +0000 (22:35 +0000)]
Document changes in Beta 1 (oops)
Ted Lemon [Thu, 11 Dec 1997 22:33:35 +0000 (22:33 +0000)]
Document broadcast addr hack for HP-UX 9.x
Ted Lemon [Tue, 9 Dec 1997 20:29:00 +0000 (20:29 +0000)]
Check mktemp() return and die with error message if it's NULL
Ted Lemon [Tue, 9 Dec 1997 19:04:04 +0000 (19:04 +0000)]
Use yiaddr to transmit response to client
Ted Lemon [Sat, 6 Dec 1997 12:13:48 +0000 (12:13 +0000)]
BOOTP Protocol specification
Ted Lemon [Sat, 6 Dec 1997 12:09:40 +0000 (12:09 +0000)]
Current DHCP Options specification
Ted Lemon [Sat, 6 Dec 1997 12:08:03 +0000 (12:08 +0000)]
Current DHCP protocol specification
Ted Lemon [Sat, 6 Dec 1997 12:04:21 +0000 (12:04 +0000)]
file rfc2131.txt was initially added on branch RELEASE_1.
Ted Lemon [Sat, 6 Dec 1997 11:36:58 +0000 (11:36 +0000)]
Update for 2.0 Beta 1
Ted Lemon [Sat, 6 Dec 1997 04:04:50 +0000 (04:04 +0000)]
NAK if a client requests an address that we own but can't give to it.
Ted Lemon [Sat, 6 Dec 1997 04:04:07 +0000 (04:04 +0000)]
Ignore lines in resolv.conf whose first token isn't recognized.
Ted Lemon [Sat, 6 Dec 1997 04:03:37 +0000 (04:03 +0000)]
Handle token ring...
Ted Lemon [Sat, 6 Dec 1997 04:03:04 +0000 (04:03 +0000)]
Cast pid_t up to long so that printf will work on systems where it's long and not int.
Ted Lemon [Sat, 6 Dec 1997 04:01:54 +0000 (04:01 +0000)]
Document Linux 2.1 version that supports SO_BINDTODEVICE
Ted Lemon [Tue, 2 Dec 1997 10:31:24 +0000 (10:31 +0000)]
Document changes in current snapshot since June.
Ted Lemon [Tue, 2 Dec 1997 09:28:08 +0000 (09:28 +0000)]
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.
Ted Lemon [Tue, 2 Dec 1997 09:07:03 +0000 (09:07 +0000)]
Copy the hardware address into the static lease structure so that it can be used later.
Ted Lemon [Tue, 2 Dec 1997 07:44:56 +0000 (07:44 +0000)]
Create database with mode 0664 & ~umask, not 0666 & ~umask.
Ted Lemon [Tue, 2 Dec 1997 07:43:56 +0000 (07:43 +0000)]
If we find more than one lease for the same client on the same network, give it the one it asked for.
Ted Lemon [Tue, 2 Dec 1997 07:42:21 +0000 (07:42 +0000)]
Document Linux 2.1.x bootp agent screw
Ted Lemon [Sat, 29 Nov 1997 07:57:02 +0000 (07:57 +0000)]
Fix DHCPRELEASE handling to conform to spec
Ted Lemon [Sat, 29 Nov 1997 07:53:53 +0000 (07:53 +0000)]
Always print two digits for day and month in leases.
Ted Lemon [Sat, 29 Nov 1997 07:53:12 +0000 (07:53 +0000)]
If AF_LINK is defined, need to include if_dl.h
Ted Lemon [Sat, 29 Nov 1997 07:52:33 +0000 (07:52 +0000)]
Don't use sun_len on systems that don't support it
Ted Lemon [Sat, 29 Nov 1997 07:52:10 +0000 (07:52 +0000)]
%02x, not %2.2x
Ted Lemon [Sat, 29 Nov 1997 07:51:49 +0000 (07:51 +0000)]
Test return value of socket for <0, not ==0 to indicate failure.
Ted Lemon [Sat, 29 Nov 1997 07:51:09 +0000 (07:51 +0000)]
Use ifp -> ifr_name, not ifr.ifr_name, which isn't yet initialized. errno, not ERRNO.
Ted Lemon [Sat, 22 Nov 1997 08:45:04 +0000 (08:45 +0000)]
Update README
Ted Lemon [Sat, 22 Nov 1997 08:23:45 +0000 (08:23 +0000)]
Add a caveat that this doesn't include everything
Ted Lemon [Sat, 22 Nov 1997 08:18:16 +0000 (08:18 +0000)]
Update release notes (lose obsolete cruft about old lease database formats)
Ted Lemon [Sat, 22 Nov 1997 07:58:30 +0000 (07:58 +0000)]
new catted man page
Ted Lemon [Sat, 22 Nov 1997 07:58:22 +0000 (07:58 +0000)]
Document -q. Fix typos/pastos. Reword some bad stuff. Fix SEE ALSO
Ted Lemon [Sat, 22 Nov 1997 07:55:36 +0000 (07:55 +0000)]
Daemonize by default. Fix a couple of uninitialized automatic variables. Add -q flag which shuts up interface status printout. Write a pid file.