Ted Lemon
|
339b0231e4
|
Fix up mistakes in recent 2.0 pullups.
|
1999-02-14 19:40:22 +00:00 |
|
Ted Lemon
|
62d0cb477b
|
Pull in new changes in 2.0.
|
1999-02-14 18:37:42 +00:00 |
|
Ted Lemon
|
73530742cd
|
Use scoping correctly.
|
1998-11-11 07:48:23 +00:00 |
|
Ted Lemon
|
02d9e45397
|
Add support for pseudo-clients
|
1998-11-09 02:43:23 +00:00 |
|
Ted Lemon
|
2455808fa3
|
Fix some lingering bugs from the expression evaluation changes.
|
1998-11-06 00:11:24 +00:00 |
|
Ted Lemon
|
02a015fb46
|
Fix up all the option handling code to use evaluation instead of fixed data.
|
1998-11-05 18:43:23 +00:00 |
|
Ted Lemon
|
ae6ea8072b
|
Fix backup_cutoff handling.
|
1998-04-09 04:26:24 +00:00 |
|
Ted Lemon
|
fcaec4ef11
|
Check chaddr as well as xid in all cases. hw_address hangs off of interface, not client data.
|
1998-03-16 06:08:41 +00:00 |
|
Ted Lemon
|
5c2f78b459
|
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.
|
1998-03-15 21:04:52 +00:00 |
|
Ted Lemon
|
36f5cb7ca4
|
Change cons_option calling convention. Declare dhcp_max_agent_option_packet_length.
|
1998-02-06 00:58:36 +00:00 |
|
Ted Lemon
|
8c135c147f
|
Check mktemp() return and die with error message if it's NULL
|
1997-12-09 20:29:00 +00:00 |
|
Ted Lemon
|
19ea90f71e
|
Cast pid_t up to long so that printf will work on systems where it's long and not int.
|
1997-12-06 04:03:04 +00:00 |
|
Ted Lemon
|
c6abd2055c
|
Compute network number and (if not offered by server) broadcast address for linux client script
|
1997-11-20 04:19:21 +00:00 |
|
Ted Lemon
|
78c793cf01
|
systat -> sysconf
|
1997-10-20 22:04:23 +00:00 |
|
Ted Lemon
|
126965a98f
|
By default, do not leave scripts lying around in /tmp
|
1997-10-20 21:35:34 +00:00 |
|
Ted Lemon
|
b8cf055d97
|
Add support for interfaces_requested flag. NUL-terminate copied lease options. Add cons_option parameter. Support system status messages
|
1997-09-16 18:09:41 +00:00 |
|
Ted Lemon
|
ea65d4077e
|
Enclose prototype in PROTO.
|
1997-06-03 01:40:58 +00:00 |
|
Ted Lemon
|
ae04fa039d
|
Try to renew active lease in REBOOT state even if it's expired.
|
1997-06-02 22:45:08 +00:00 |
|
Ted Lemon
|
fa2b3e5997
|
Support rejection of messages from rogue servers; print IP addr of server instead of MAC addr.
|
1997-06-02 22:36:25 +00:00 |
|
Ted Lemon
|
66f973e41e
|
Cygwin32 compatibility. Handle prepend, append and supersede option modifiers. Minimal BOOTP support. Handle seed generation differently.
|
1997-05-09 07:54:14 +00:00 |
|
Ted Lemon
|
64bd493690
|
ip -> client -> packet is a struct, not a pointer to a struct
|
1997-03-29 01:24:30 +00:00 |
|
Ted Lemon
|
34fdad6c77
|
Move top_level_config to clparse.c; use more defaults from client config structure; be less noisy about broadcasts that aren't for us; fix up exponential backoff code; time out in REQUESTING state if server doesn't ACK; record how long we've been trying to boot in the DHCP packet.
|
1997-03-28 23:57:47 +00:00 |
|
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 |
|