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
3ac2169686 moved to client/ 1997-02-22 13:07:02 +00:00
Ted Lemon
6c93b240b9 Moved to server/ 1997-02-22 13:02:49 +00:00
Ted Lemon
ed1d504ffb moved to client/ 1997-02-22 12:59:29 +00:00
Ted Lemon
6e5382c00d Moved to relay/ 1997-02-22 12:58:31 +00:00
Ted Lemon
034aa896ce Moved to server/ 1997-02-22 12:56:43 +00:00
Ted Lemon
94db3c801c moved to common/ 1997-02-22 12:55:05 +00:00
Ted Lemon
48f4caca9c moved to include/cf/ 1997-02-22 12:52:57 +00:00
Ted Lemon
c1d7d2ec0a Moved to include/ 1997-02-22 12:51:16 +00:00
Ted Lemon
75661c6027 Ignore messages generated by dhcp relay agents (including self); send replies to correct port; more debugging info 1997-02-22 12:28:26 +00:00
Ted Lemon
11777d4819 Add DISCOVER_RELAY state 1997-02-22 12:26:41 +00:00
Ted Lemon
006c74dade Don't name dhcpd - this is used by dhclient and dhcrelay as well 1997-02-22 12:26:12 +00:00
Ted Lemon
f79e49f3ee Add support for alias declaration 1997-02-22 12:25:32 +00:00
Ted Lemon
e6e5d8749e Don't NAK leases from competing servers 1997-02-22 12:25:11 +00:00
Ted Lemon
2fe35fcf41 Oops - poll() isn't implemented in NetBSD-1.2... 1997-02-22 11:01:10 +00:00
Ted Lemon
1f2d04e414 Fix up select version of dispatch to take parse argument 1997-02-22 10:55:40 +00:00
Ted Lemon
d00ecc3cef Clean up some bugs in the DHCPREQUEST lease code 1997-02-22 10:22:05 +00:00
Ted Lemon
6b07c11b22 Add new man page targets 1997-02-22 10:21:03 +00:00
Ted Lemon
66b01364eb Update documentation 1997-02-22 10:20:28 +00:00
Ted Lemon
1039f0dbd6 new man pages 1997-02-22 10:19:33 +00:00
Ted Lemon
0e7affc72c New manual pages 1997-02-22 10:19:20 +00:00
Ted Lemon
747ec13b4e DHCP Relay Agent 1997-02-22 09:47:09 +00:00
Ted Lemon
6b3b97e14b New prototypes; structure adjustments 1997-02-22 08:50:59 +00:00
Ted Lemon
31755be8f7 Change daemonification code to prolong logging to stderr until dhcpd.conf has been parsed.; dispatch takes an argument. 1997-02-22 08:49:44 +00:00
Ted Lemon
801ecd88d7 Use interface address instead of common server identifier; allow specific clients to be excluded from booting; don't release a lease based on a DHCPREQUEST to a different server - this isn't allowed by the protocol 1997-02-22 08:48:15 +00:00
Ted Lemon
9bdb9271f2 Add media selection for interface cards that support more than one kind of network media; fix exponential backoff code; add parameter to control the use of commas in pretty printing - no commas in shell script arrays; add dummy relay() function 1997-02-22 08:44:15 +00:00
Ted Lemon
99fd97cc55 Add allow and deny keywords; allow or deny bootp service, booting (for known hosts that shouldn't be booted), dynamic_bootp and unknown clients 1997-02-22 08:41:01 +00:00
Ted Lemon
ac9d14a9c1 Add support for passing arbitrary options to server and for providing default options when the server doesn't provide them; remove client_identifier and hostname - these are just options. 1997-02-22 08:38:32 +00:00
Ted Lemon
e07ac89ae9 Add some knobs to control booting; get server identifier from interface; add dummy relay function 1997-02-22 08:36:36 +00:00
Ted Lemon
eb8c87b634 dispatch() now takes an argument indicating whether to decode the packet or just call relay(); save the first ip address we encounter for each interface as the primary address. 1997-02-22 08:34:16 +00:00
Ted Lemon
171c47a6cc pretty_print_options now optionally seperates array elements with comma, and now encloses text strings in quotes 1997-02-22 08:32:05 +00:00
Ted Lemon
0c56f332ea error() now logs a message simply indicating that it is exiting. 1997-02-22 08:30:13 +00:00
Ted Lemon
4660b5193b Add some new tokens 1997-02-22 08:29:24 +00:00
Ted Lemon
8f94fe9ff4 Add target for dhcrelay 1997-02-22 08:29:03 +00:00
Ted Lemon
b00d3884c2 Run as daemon after first binding; don't record leases defined in config file; remember leases even if the interface to which they're attached isn't presently configured; preferentially select a lease offer if it's for the address we asked for; if we don't successfully bind, iterate through list of remembered leases and see if one works; arp for lease before accepting it and send dhcpdecline if it's bogus; various bug fixes 1997-02-19 10:57:24 +00:00
Ted Lemon
bf70e81904 Parse arrays correctly; modify parse_X behaviour to facilitate this 1997-02-19 10:53:16 +00:00
Ted Lemon
41fb155b61 Update prototypes 1997-02-19 10:52:37 +00:00
Ted Lemon
29539f1aa4 Seperate array elements with commas when pretty-printing 1997-02-19 10:52:14 +00:00
Ted Lemon
c358521715 Restructure to allow interface reinitialization 1997-02-19 10:51:44 +00:00
Ted Lemon
5f471bfebe Add install target for dhclient 1997-02-19 10:51:29 +00:00
Ted Lemon
fab1248b37 select(2) has been deprecated in favor of poll(2). 1997-02-19 10:51:10 +00:00
Ted Lemon
bfa885c999 Use local_port and remote_port instead of server_port 1997-02-19 10:50:40 +00:00
Ted Lemon
d432c972a6 Add definitions for DHCP Client data files 1997-02-18 14:34:14 +00:00
Ted Lemon
6806c5ae3f Add support for timeouts; add support for scanning interfaces before they have addresses assigned. 1997-02-18 14:33:43 +00:00
Ted Lemon
a60076f94d Use local_port and remote_port instead of server_port and server_port + 1 1997-02-18 14:32:51 +00:00
Ted Lemon
f71f026a5b Add DHCP client tokens 1997-02-18 14:32:30 +00:00
Ted Lemon
4c6b82ea3f Adjust object file lists to support parsing DHCP client config files 1997-02-18 14:32:01 +00:00
Ted Lemon
a4cb16cab9 Change calling conventions for cons_options so that DHCP client doesn't have to dummy up a packet 1997-02-18 14:28:54 +00:00
Ted Lemon
7d5f3f4a40 Parser for DHCP client config files 1997-02-18 14:27:53 +00:00
Ted Lemon
6311543119 Move common parsing functions into a seperate file, so the DHCP client and server don't have to share *all* their parsing code 1997-02-18 14:27:33 +00:00
Ted Lemon
cc26de4692 Rewrite DHCP client to use the same API that the DHCP server uses. 1997-02-18 14:26:11 +00:00