Ted Lemon
531fa185b4
Fix up references to ciaddr and yiaddr.
1999-03-13 18:58:00 +00:00
Ted Lemon
764b75a383
Add interface argument to can_unicast_without_arp
1999-03-13 18:57:34 +00:00
Ted Lemon
21d21e9172
Add interface argument to can_*().
1999-03-13 18:56:47 +00:00
Ted Lemon
319db03d89
- Pass interface_info struct to can_unicast_without_arp.
...
- Declare can_receive_unicast_unconfigured.
1999-03-13 18:54:18 +00:00
Ted Lemon
b547818bbf
Add can_receive_unicast_unconfigured
1999-03-13 18:53:15 +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
566ecd40a6
Fix up unicast response code.
1999-03-13 18:26:05 +00:00
Ted Lemon
2be86a3704
Remove ARPSEND/ARPCHECK and document ARPing in BOUND.
1999-03-11 01:50:08 +00:00
Ted Lemon
116328449c
Remove ARPCHECK and ARPSEND code.
1999-03-11 01:47:01 +00:00
Ted Lemon
e16f4c3e09
Fix DHCPDECLINE support
1999-03-11 01:46:43 +00:00
Ted Lemon
98200ed9f0
Disable all debugging by default
1999-03-11 01:36:23 +00:00
Ted Lemon
c6ccf156ac
Allocate space for NUL terminator.
1999-03-10 23:47:39 +00:00
Ted Lemon
cfb80b3cc0
Pool scope and subnet scope are different leaves of the same tree -
...
handle them differently.
1999-03-10 21:32:59 +00:00
Ted Lemon
7d39e5b996
Authentication definitions.
1999-03-10 20:49:38 +00:00
Ted Lemon
eddb16f478
- Tack parameter request list on to lease state structure so that it will
...
still be available when we call cons_options.
- Pass parameter request list to cons_options where needed, and in any case
pass the extra argument.
- Free parameter request list before freeing lease state structures.
1999-03-10 20:44:22 +00:00
Ted Lemon
a445402ce2
Free parameter request list prior to freeing lease state.
1999-03-10 20:42:43 +00:00
Ted Lemon
0527c2e320
Additional argument to cons_option.
1999-03-10 20:42:27 +00:00
Ted Lemon
15151db643
Add parameter request list to option_state. New arg to cons_options.
1999-03-10 20:42:02 +00:00
Ted Lemon
f11e65c53f
Look options up in packet options, not generated options.
...
Fix data_string_truncate so that if data is shorter than requested
truncation, the length is not increased.
1999-03-10 20:41:29 +00:00
Ted Lemon
ce0ec46d27
Pass parameter request list to cons_options.
1999-03-10 20:39:22 +00:00
Ted Lemon
eeea13950a
Fix logging of DHCPREQUEST activity. Fix find_lease problems.
1999-03-09 23:45:04 +00:00
Ted Lemon
ac3d438f08
When creating anonymous pools, initialize share and group pointers.
1999-03-09 23:43:36 +00:00
Ted Lemon
40d08f51e2
Add authentication/bootp policy keywords.
1999-03-09 23:42:28 +00:00
Ted Lemon
08512bce1b
Add authentication policy, combine enum with bootp policy enum.
1999-03-09 23:41:59 +00:00
Ted Lemon
195ce2f841
Don't dump core when recursing to outermost scope.
1999-03-09 23:40:22 +00:00
Ted Lemon
551d1bc4e4
Add new keywords for authentication databases.
1999-03-09 23:39:41 +00:00
Ted Lemon
8af675f432
Parse authentication stuff out of config file.
1999-03-09 23:38:37 +00:00
Ted Lemon
4766ef10c0
Don't try to evaluate a null expression in evaluate_option_cache ().
1999-03-09 20:01:56 +00:00
Ted Lemon
c19577c7ce
Set up back-pointer when allocating client based on discovered interfaces.
1999-03-09 19:58:42 +00:00
Ted Lemon
74f45f9642
Sync with 2.0b1pl16. Fix some pool allocation problems.
1999-02-25 23:30:43 +00:00
Ted Lemon
ce53cc84e9
Sync with 2.0b1pl16
1999-02-25 23:14:53 +00:00
Ted Lemon
e15b6d4b28
Pull up to 2.0b1pl16
1999-02-25 23:13:02 +00:00
Ted Lemon
8ae2d59584
Change names of error functions to be more consistent.
1999-02-24 17:56:53 +00:00
Ted Lemon
c68d2a87b1
Failover-specific code.
1999-02-23 19:26:21 +00:00
Ted Lemon
1b8223ae21
Fix up authoritative parsing.
1999-02-23 19:07:14 +00:00
Ted Lemon
2a3318abcb
Don't compile failover code unless FAILOVER_PROTOCOL is defined.
1999-02-23 19:04:25 +00:00
Ted Lemon
6b6126fbd7
Adjust comments that clashed between 2.0 and -current
1999-02-23 19:00:36 +00:00
Ted Lemon
339b0231e4
Fix up mistakes in recent 2.0 pullups.
1999-02-14 19:40:22 +00:00
Ted Lemon
c43fe218fb
Pull up recent 2.0 changes.
1999-02-14 19:30:12 +00:00
Ted Lemon
9e7cecf20f
Pull up recent 2.0 changes. New license.
1999-02-14 19:29:09 +00:00
Ted Lemon
f21a7b4a01
Add CONTRIBUTIONS section.
1999-02-14 19:28:19 +00:00
Ted Lemon
027f46cb67
- Pull up recent 2.0 changes.
...
- Fix some problems in DHCPREQUEST code regarding client identity.
- Update references to lease's shared network to use subnet pointer.
- If there's more than one lease matching a particular hardware address,
examine them all for possible applicability in find_lease().
- Only recover abandoned leases on DHCPREQUEST if the request was for
the specific abandoned lease. Push all other abandoned lease
recovery code out into DHCPDISCOVER/allocate_lease processing.
1999-02-14 19:27:56 +00:00
Ted Lemon
763adef103
Pull up recent 2.0 changes.
...
Add failover peer declaration parser.
1999-02-14 19:08:51 +00:00
Ted Lemon
92e3e6911b
Pull up recent changes in 2.0.
...
Get lease's shared network through subnet pointer.
Fix paste-o with SV_ALLOW_BOOTP vs. SV_ALLOW_BOOTING.
1999-02-14 19:06:57 +00:00
Ted Lemon
a2405f2e71
Add failover.c
1999-02-14 19:04:45 +00:00
Ted Lemon
d2bc90bd80
Pull up recent 2.0 changes.
1999-02-14 19:04:05 +00:00
Ted Lemon
4b447dc7cd
Add define to enable compiling failover protocol support.
1999-02-14 19:01:44 +00:00
Ted Lemon
c66b869e94
Add new tokens from 2.0 and for failover parsing.
1999-02-14 19:00:12 +00:00
Ted Lemon
d1f2c5204f
Pull up recent 2.0 changes.
...
Prototype parser and allocation functions for failover protocol.
Add preliminary structure definitions for failover protocol.
1999-02-14 18:59:33 +00:00
Ted Lemon
cea8b5c9fa
Pull up recent 2.0 changes. Add skip_to_rbrace.
1999-02-14 18:54:03 +00:00