2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-23 02:17:31 +00:00

881 Commits

Author SHA1 Message Date
Ted Lemon
402e5f87d2 Initialize client classification system in main(). 1998-04-19 23:35:26 +00:00
Ted Lemon
5941275aac Do client classification. If user supplies a dhcp-lease-time or related option, print a warning when issuing a lease. 1998-04-19 23:34:43 +00:00
Ted Lemon
07378a2a62 Support for classifying clients. 1998-04-19 23:24:48 +00:00
Ted Lemon
38b1978d0e Add class.c 1998-04-19 23:24:28 +00:00
Ted Lemon
8b204155c6 Add a lookup function to the option universe structure. 1998-04-19 23:23:34 +00:00
Ted Lemon
ff40445531 Add the concept of named hashes. 1998-04-19 23:22:20 +00:00
Ted Lemon
102ee7e9d4 Add prototypes and structure declarations for client classification 1998-04-19 23:21:54 +00:00
Ted Lemon
e9a37ce5d0 Add agent option universe. 1998-04-19 23:20:06 +00:00
Ted Lemon
f4c340534d Add dhcp_option_lookup and agent_option_lookup functions. 1998-04-19 23:19:14 +00:00
Ted Lemon
814bd3509f Interactive client for DHCP servers. 1998-04-09 05:20:14 +00:00
Ted Lemon
b41e78641f Interactive client data structures for DHCP server. 1998-04-09 05:19:26 +00:00
Ted Lemon
2367591ef2 Interactive client for browsing internal database. 1998-04-09 05:18:56 +00:00
Ted Lemon
cdd70b8712 Add min-lease-time, min-secs and use-lease-addr-for-default-route. Allow empty option declarations. 1998-04-09 04:57:46 +00:00
Ted Lemon
2342aee908 Start interactive client 1998-04-09 04:47:46 +00:00
Ted Lemon
421563ea10 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. 1998-04-09 04:41:52 +00:00
Ted Lemon
59b85ebd15 Add min-lease-time, min-secs and use-lease-addr-for-default-route. Allow empty option declarations. 1998-04-09 04:38:24 +00:00
Ted Lemon
fc1ac264da Add dhcpdi.c 1998-04-09 04:37:15 +00:00
Ted Lemon
d46749b15d Check to see if INADDR_LOOPBACK is defined. 1998-04-09 04:36:45 +00:00
Ted Lemon
58dfdef0ea Fix copyright 1998-04-09 04:36:25 +00:00
Ted Lemon
2126779147 Add min-lease-time, min-secs and use-lease-addr-for-default-route 1998-04-09 04:36:07 +00:00
Ted Lemon
29f5e9ce3c New prototypes and types for interactive client 1998-04-09 04:35:50 +00:00
Ted Lemon
6f76b6ac67 Allow for null trees. 1998-04-09 04:31:59 +00:00
Ted Lemon
05c680bf8f No message for dissociate_lease(). 1998-04-09 04:30:41 +00:00
Ted Lemon
fb1989a8aa 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. 1998-04-09 04:30:00 +00:00
Ted Lemon
8028ab1d09 Add min-lease-time, min-secs and use-lease-addr-for-default-route 1998-04-09 04:28:20 +00:00
Ted Lemon
3b08cf9aea Add interact.c 1998-04-09 04:27:38 +00:00
Ted Lemon
ae6ea8072b Fix backup_cutoff handling. 1998-04-09 04:26:24 +00:00
Ted Lemon
d87c528803 Don't die if we can't handle a new client. Don't try to continue if accept fails. 1998-04-09 04:22:30 +00:00
Ted Lemon
9c610c561c Add dhcpctl subdir 1998-04-09 04:21:00 +00:00
Ted Lemon
2ca2eda92d Add dissociate_lease(). Abandon leases but don't _really_ abandon them - sort them back into the list so that they can be reclaimed later. 1998-03-17 18:19:44 +00:00
Ted Lemon
25b4df9e71 prototype dissociate_lease. 1998-03-17 18:17:57 +00:00
Ted Lemon
48984237a1 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. 1998-03-17 18:14:51 +00:00
Ted Lemon
00e9db0efc Take out shared-network statement to avoid confusion. 1998-03-17 17:35:55 +00:00
Ted Lemon
f3c3d67454 Allow unnamed host declarations. 1998-03-17 06:20:51 +00:00
Ted Lemon
e044f73fef Don't start dns for now. 1998-03-17 06:20:11 +00:00
Ted Lemon
086032ce8d Make install directories from top down. 1998-03-17 06:13:36 +00:00
Ted Lemon
68dda014a0 Allow trailing dot in hostnames. 1998-03-17 06:13:02 +00:00
Ted Lemon
0a98d49899 If client sends a packet with a larger option buffer than allowed in the standard, use the same size option buffer. 1998-03-17 06:12:17 +00:00
Ted Lemon
f258bd88eb Do memcpy inside of if statement since results are only used there. Add ns_inaddr_lookup (commented out for now). 1998-03-17 06:11:25 +00:00
Ted Lemon
89698b984b Store query in query buffer in query structure, not in the query structure itself. 1998-03-17 06:09:59 +00:00
Ted Lemon
c209242f8a Fix line buffer handling 1998-03-17 06:09:11 +00:00
Ted Lemon
4085b4754f Don't memset allocated memory if we didn't allocate it. 1998-03-17 06:08:49 +00:00
Ted Lemon
62f461bcf9 Make install directories from top down. 1998-03-17 06:08:19 +00:00
Ted Lemon
877481dc0a Make install directories from top down. Quiet client script test. 1998-03-17 06:08:07 +00:00
Ted Lemon
639f79f8cf Site-specific Makefile configuration. 1998-03-17 06:06:49 +00:00
Ted Lemon
d2e7c14983 Include a site.conf file after Makefile.dist. 1998-03-17 06:06:35 +00:00
Ted Lemon
6d9ab9b9e3 Don't *require* a /etc/dhclient.conf file. 1998-03-16 20:00:00 +00:00
Ted Lemon
a7822eac77 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. 1998-03-16 06:19:46 +00:00
Ted Lemon
19d6cdc7d2 Declare dhcp_max_agent_option_packet_length as required by library code. Fix bogus malloc error check. 1998-03-16 06:19:16 +00:00
Ted Lemon
a90733dd04 Declare dhcp_max_agent_option_packet_length as required by library code. 1998-03-16 06:18:50 +00:00