2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 13:57:50 +00:00
Commit Graph

3868 Commits

Author SHA1 Message Date
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
Ted Lemon
d557e6d40b Fix broadcast bug 1997-01-03 11:39:27 +00:00
Ted Lemon
469cf3a4b5 Initial merge of Poger dhclient and linux hacks 1997-01-02 12:00:19 +00:00
Ted Lemon
b289b0107c Fix bug in classing code 1996-12-31 02:02:54 +00:00
Ted Lemon
f4d0f440ce Initialize declaration variable 1996-12-31 02:01:28 +00:00
Ted Lemon
352bc292ab Fix case where dynamic BOOTP for a known client with no applicable fixed address was failing 1996-12-31 02:00:33 +00:00
Ted Lemon
0b5d360d4b replace ARPHRD with HTYPE 1996-11-08 20:09:41 +00:00
Ted Lemon
2a5cb261ed Don't try to supersede static leases 1996-11-08 20:09:10 +00:00
Ted Lemon
84c390c102 Return after rejecting unknown BOOTP client 1996-11-08 20:08:34 +00:00
Ted Lemon
a6cbc1e491 Log messages to stderr, not stdout. 1996-11-08 20:07:31 +00:00
Ted Lemon
b179c99797 Remove dynamic bootp conflict checker; parse true booleans correctly 1996-09-13 18:58:20 +00:00
Ted Lemon
92c9fbb176 Update boot-unknown-clients documentation 1996-09-12 22:24:15 +00:00
Ted Lemon
f44c8dcbe2 Allow restricted dynamic bootp for known bootp hosts 1996-09-12 22:22:18 +00:00
Ted Lemon
62e303ddb5 Close std{in,out,err} when daemonizing 1996-09-12 09:28:13 +00:00