2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 12:57:42 +00:00

233 Commits

Author SHA1 Message Date
Ted Lemon
ca25f4ab5e Send client identifier when declining. 1997-03-06 20:13:42 +00:00
Ted Lemon
779b840c00 When we toss all our leases, just go back to init state - don't try to get fancy 1997-03-06 20:00:51 +00:00
Ted Lemon
84c4addea7 change prototypes to functions called by timeouts; initialize bootp_handler to do_packet(); lose relay() function call (not needed now that we have bootp_handler hook. 1997-03-06 06:48:09 +00:00
Ted Lemon
77967680f8 behave differently if we got a renewal via INIT-REBOOT 1997-03-05 08:38:20 +00:00
Ted Lemon
deff2d59a1 Always send packets of at least BOOTP_MIN_LEN; abbreviate option setup code; don't send requested address unless we're rebooting or requesting; send options as requested in config file; add support for DHCPNAK and INIT-REBOOT state 1997-03-05 06:30:08 +00:00
Ted Lemon
48d68880c7 Delete extraneous sin_len initialization; don't statically initialize inadr_any; fix some warnings 1997-02-27 03:38:44 +00:00
Ted Lemon
d13e8f28c0 Use medium passed to us, not necessarily the one attached to the client status structure. 1997-02-26 05:21:55 +00:00
Ted Lemon
f79e49f3ee Add support for alias declaration 1997-02-22 12:25:32 +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
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
cc26de4692 Rewrite DHCP client to use the same API that the DHCP server uses. 1997-02-18 14:26:11 +00:00
Ted Lemon
469cf3a4b5 Initial merge of Poger dhclient and linux hacks 1997-01-02 12:00:19 +00:00
Ted Lemon
3a2087ec92 discover_interfaces() needs to behave differently for client and server 1996-09-11 18:53:33 +00:00
Ted Lemon
70931779e3 Add argument to cons_options 1996-09-11 05:51:25 +00:00
Ted Lemon
e4f88b5ad4 Remove unused variable 1996-08-29 09:15:35 +00:00
Ted Lemon
79ec15b252 Add new externals otherwise defined by conflex 1996-08-28 01:28:53 +00:00
Ted Lemon
1d703142d5 Changed names of tline and tlpos 1996-08-27 09:43:01 +00:00
Ted Lemon
eebea44806 Delete unused automatic variables 1996-06-04 19:04:16 +00:00
Ted Lemon
a1928c7a31 Don't do setlogmask on 4.2BSD systems; lose -a processing junk; lose debugging statement 1996-06-01 00:17:14 +00:00
Ted Lemon
6638ee576b Add tlname variable so errwarn.c doesn't bring in parser 1996-05-23 22:20:59 +00:00
Ted Lemon
b5ac808eb9 Change log_facility to log_priotiry 1996-05-23 02:43:14 +00:00
Ted Lemon
8dba80a6f0 Supply Requested Address from ciaddr; reflect server identifier 1996-05-22 10:15:55 +00:00
Ted Lemon
c1503c57db Rewrite to actually be a dhcp client 1996-05-22 09:32:57 +00:00
Ted Lemon
4a0d788a26 declare default and max lease times 1996-05-17 23:18:54 +00:00
Ted Lemon
e1987f8825 Add HAVE_SIN_LEN test 1996-03-06 10:41:34 +00:00
Ted Lemon
6161418730 Reverse forking arrangement; send packets to broadcast address 1996-02-29 18:09:56 +00:00
Ted Lemon
e581d6150f Major rewrite 1996-02-26 01:58:31 +00:00
Ted Lemon
685963dcf4 Incremental changes to support DHCP protocol 1996-02-21 15:16:18 +00:00
Ted Lemon
7e24ffd3ef Fix bootp address initialization 1996-02-21 12:30:42 +00:00
Ted Lemon
5a44dea045 Use broadcast address 1996-02-21 12:12:26 +00:00
Ted Lemon
97ca16995f Intermediate changes to support actual DHCP protocol engine 1996-02-21 12:11:09 +00:00
Ted Lemon
6c6d59281e *** empty log message *** 1996-02-11 00:01:46 +00:00
Ted Lemon
9582172964 Fixed many option bugs; added client for testing 1996-02-07 22:43:54 +00:00