Ted Lemon
|
4bf33120c3
|
Use option_state_reference instead of just copying the pointer.
|
1999-04-05 19:00:50 +00:00 |
|
Ted Lemon
|
230e73e42d
|
- Adjust option_state-related calls to use new, more general calls.
|
1999-04-05 15:19:59 +00:00 |
|
Ted Lemon
|
37fc56b47d
|
Update version
|
1999-03-30 21:54:03 +00:00 |
|
Ted Lemon
|
196be7203b
|
Update version.
|
1999-03-29 23:00:02 +00:00 |
|
Ted Lemon
|
96c2624b8d
|
Adjust version numbers.
|
1999-03-29 19:04:36 +00:00 |
|
Ted Lemon
|
f345b36d53
|
Fix a bug in BOOTP broadcast flag setting for DHCPDISCOVER.
|
1999-03-29 18:49:58 +00:00 |
|
Ted Lemon
|
6869f9360f
|
Update version number.
|
1999-03-26 21:27:24 +00:00 |
|
Ted Lemon
|
2d1b06e071
|
Pull up changes in Patchlevel 19
|
1999-03-26 19:19:46 +00:00 |
|
Ted Lemon
|
af6df788ab
|
Fix bug in secs handling.
|
1999-03-25 21:51:29 +00:00 |
|
Ted Lemon
|
f39b6e0089
|
Update license.
|
1999-03-16 05:50:46 +00:00 |
|
Ted Lemon
|
9ffa442ca4
|
Update version string.
|
1999-03-16 00:17:20 +00:00 |
|
Ted Lemon
|
7d3bc735ce
|
- Only use broadcast flag if we have to.
- Only use our lease address as our source address in RENEWING and
REBINDING states.
- Fix typo in cast.
|
1999-03-13 18:52:41 +00:00 |
|
Ted Lemon
|
e16f4c3e09
|
Fix DHCPDECLINE support
|
1999-03-11 01:46:43 +00:00 |
|
Ted Lemon
|
ce0ec46d27
|
Pass parameter request list to cons_options.
|
1999-03-10 20:39:22 +00:00 |
|
Ted Lemon
|
74f45f9642
|
Sync with 2.0b1pl16. Fix some pool allocation problems.
|
1999-02-25 23:30:43 +00:00 |
|
Ted Lemon
|
8ae2d59584
|
Change names of error functions to be more consistent.
|
1999-02-24 17:56:53 +00:00 |
|
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 |
|