]>
git.ipfire.org Git - thirdparty/dhcp.git/log
Ted Lemon [Sun, 19 Apr 1998 23:35:26 +0000 (23:35 +0000)]
Initialize client classification system in main().
Ted Lemon [Sun, 19 Apr 1998 23:34:43 +0000 (23:34 +0000)]
Do client classification. If user supplies a dhcp-lease-time or related option, print a warning when issuing a lease.
Ted Lemon [Sun, 19 Apr 1998 23:24:48 +0000 (23:24 +0000)]
Support for classifying clients.
Ted Lemon [Sun, 19 Apr 1998 23:24:28 +0000 (23:24 +0000)]
Add class.c
Ted Lemon [Sun, 19 Apr 1998 23:23:34 +0000 (23:23 +0000)]
Add a lookup function to the option universe structure.
Ted Lemon [Sun, 19 Apr 1998 23:22:20 +0000 (23:22 +0000)]
Add the concept of named hashes.
Ted Lemon [Sun, 19 Apr 1998 23:21:54 +0000 (23:21 +0000)]
Add prototypes and structure declarations for client classification
Ted Lemon [Sun, 19 Apr 1998 23:20:06 +0000 (23:20 +0000)]
Add agent option universe.
Ted Lemon [Sun, 19 Apr 1998 23:19:14 +0000 (23:19 +0000)]
Add dhcp_option_lookup and agent_option_lookup functions.
Ted Lemon [Thu, 9 Apr 1998 05:20:14 +0000 (05:20 +0000)]
Interactive client for DHCP servers.
Ted Lemon [Thu, 9 Apr 1998 05:19:26 +0000 (05:19 +0000)]
Interactive client data structures for DHCP server.
Ted Lemon [Thu, 9 Apr 1998 05:18:56 +0000 (05:18 +0000)]
Interactive client for browsing internal database.
Ted Lemon [Thu, 9 Apr 1998 04:57:46 +0000 (04:57 +0000)]
Add min-lease-time, min-secs and use-lease-addr-for-default-route. Allow empty option declarations.
Ted Lemon [Thu, 9 Apr 1998 04:47:46 +0000 (04:47 +0000)]
Start interactive client
Ted Lemon [Thu, 9 Apr 1998 04:41:52 +0000 (04:41 +0000)]
Don't respond to requests that are newer than a configured number of seconds. Enforce a minimum lease time, if specified. If a dhcp-server-identifier option has been specified, use that instead of coming up with one from the shared_network structure. Allow the routers option to be set to the client's address. Be more clever about dealing with duplicate leases.
Ted Lemon [Thu, 9 Apr 1998 04:38:24 +0000 (04:38 +0000)]
Add min-lease-time, min-secs and use-lease-addr-for-default-route. Allow empty option declarations.
Ted Lemon [Thu, 9 Apr 1998 04:37:15 +0000 (04:37 +0000)]
Add dhcpdi.c
Ted Lemon [Thu, 9 Apr 1998 04:36:45 +0000 (04:36 +0000)]
Check to see if INADDR_LOOPBACK is defined.
Ted Lemon [Thu, 9 Apr 1998 04:36:25 +0000 (04:36 +0000)]
Fix copyright
Ted Lemon [Thu, 9 Apr 1998 04:36:07 +0000 (04:36 +0000)]
Add min-lease-time, min-secs and use-lease-addr-for-default-route
Ted Lemon [Thu, 9 Apr 1998 04:35:50 +0000 (04:35 +0000)]
New prototypes and types for interactive client
Ted Lemon [Thu, 9 Apr 1998 04:31:59 +0000 (04:31 +0000)]
Allow for null trees.
Ted Lemon [Thu, 9 Apr 1998 04:30:41 +0000 (04:30 +0000)]
No message for dissociate_lease().
Ted Lemon [Thu, 9 Apr 1998 04:30:00 +0000 (04:30 +0000)]
Check HAVE_SIN_LEN in sockaddr_dl code. Kludge hardware address length for now if HAVE_SIN_LEN isn't set. Return pointer to struct proto from add_protocol.
Ted Lemon [Thu, 9 Apr 1998 04:28:20 +0000 (04:28 +0000)]
Add min-lease-time, min-secs and use-lease-addr-for-default-route
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.