Ted Lemon
|
74c13ab5db
|
If a lease has been abandoned, don't find it.
|
1997-03-06 19:30:52 +00:00 |
|
Ted Lemon
|
4006d804a4
|
Support abandoned keyword in leases
|
1997-03-06 19:29:39 +00:00 |
|
Ted Lemon
|
a803bcdc5b
|
Add ABANDONED token
|
1997-03-06 19:28:49 +00:00 |
|
Ted Lemon
|
14b45fb684
|
Add ABANDONED_LEASE flag
|
1997-03-06 19:28:35 +00:00 |
|
Ted Lemon
|
b0f9708dd0
|
Set ABANDONED_LEASE flag when abandoning a lease.
|
1997-03-06 19:28:18 +00:00 |
|
Ted Lemon
|
f4fb257d70
|
Add abandoned keyword
|
1997-03-06 19:27:57 +00:00 |
|
Ted Lemon
|
9acb0bab3c
|
Start up icmp protocol; handle ICMP EchoReplies and also handle non-replies.
|
1997-03-06 18:41:36 +00:00 |
|
Ted Lemon
|
4b7df7078c
|
Add a message to abandon_lease; ping before sending DHCPREQUEST.
|
1997-03-06 18:40:22 +00:00 |
|
Ted Lemon
|
e5078937c9
|
Adjust and add prototypes
|
1997-03-06 18:38:59 +00:00 |
|
Ted Lemon
|
fa805637f0
|
Export checksum and wrapsum
|
1997-03-06 18:27:55 +00:00 |
|
Ted Lemon
|
7bbdb1df7d
|
Add informational message to abandon_lease.
|
1997-03-06 18:27:20 +00:00 |
|
Ted Lemon
|
5047d8b5d7
|
Don't use n_* types
|
1997-03-06 07:29:36 +00:00 |
|
Ted Lemon
|
fa25cc03b5
|
Fix prototype for icmp_startup
|
1997-03-06 07:28:54 +00:00 |
|
Ted Lemon
|
2f8e6010d7
|
Remove declaration for relay() - no longer needed
|
1997-03-06 07:27:56 +00:00 |
|
Ted Lemon
|
e6c9e9b83a
|
Oops - didn't compile
|
1997-03-06 07:27:32 +00:00 |
|
Ted Lemon
|
ddbe6706ac
|
ICMP structure definitions
|
1997-03-06 07:09:59 +00:00 |
|
Ted Lemon
|
4a3fd492b9
|
Support for ICMP Echo protocol
|
1997-03-06 07:08:00 +00:00 |
|
Ted Lemon
|
c800b2aa41
|
Traversal of interface list to weed out bad interfaces was broken when I added the dummy interface list - fix is to save the next pointer before weeding out interfaces.
|
1997-03-06 07:06:08 +00:00 |
|
Ted Lemon
|
ee1cd2caa9
|
Change calling conventions to dispatch(). Set bootp_packet_handler to do_packet().
|
1997-03-06 07:02:54 +00:00 |
|
Ted Lemon
|
9cc3ad7f14
|
Move a ton of bits from the lease structure into the lease_state structure. The lease structure is permanent, whereas the state structure is ephemeral, which means that leases now consume less memory (memory consumption is now about the same as in Beta 5 Patchlevel 14). Allocate and free the lease_state structure. If ack_lease is called on a lease that already has a state structure, we're already acking something, so we don't try to ack it again.
|
1997-03-06 07:02:00 +00:00 |
|
Ted Lemon
|
84228fed1f
|
Declare relay() same as do_packet(). Set bootp_handler to relay(). Change dispatch() calling conventions.
|
1997-03-06 06:58:37 +00:00 |
|
Ted Lemon
|
6e5ed8bfa8
|
Adjust prototypes; prototype new functions. Add protocol structure; add move some lease fields into lease state structure.
|
1997-03-06 06:57:19 +00:00 |
|
Ted Lemon
|
c01f128585
|
Adjust declaration of fallback_discard so that it can be a protocol handler
|
1997-03-06 06:55:53 +00:00 |
|
Ted Lemon
|
17f4dab73c
|
Options whose format is X now print as colon-seperated hex, so that pretty_print output can be parsed. do_packet() moved here from dispatch.c
|
1997-03-06 06:55:06 +00:00 |
|
Ted Lemon
|
9d33ed7272
|
Check address ranges to see if they're on the right net (previously we just silently made them be on the right net, with interesting results). In supersede_leases, don't copy offered_expiry anymore since it's now in the state structure
|
1997-03-06 06:53:49 +00:00 |
|
Ted Lemon
|
e4749e754c
|
Make dispatch() run through a list of protocol structures to select against, rather than running through the interface list and then special casing other stuff. This simplifies things substantially. add_protocol() function allows new protocols to be selected against. Timeouts now pass a void * instead of a struct interface_info *. Move do_packet into options.c so that options.c isn't pulled into dhcrelay.
|
1997-03-06 06:52:30 +00:00 |
|
Ted Lemon
|
dd5804ad62
|
add allocator for lease state structure and protocol structure
|
1997-03-06 06:49:29 +00:00 |
|
Ted Lemon
|
4db0d31282
|
Add icmp.c
|
1997-03-06 06:48:49 +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
|
35a50d44e9
|
Back out back checksum changes
|
1997-03-05 20:06:03 +00:00 |
|
Ted Lemon
|
e7b9429fea
|
Oops - we're supposed to zero interfaces_invalidated at the end of the loop, not set it - this was causing the dispatcher to spin
DHCP-970305A
|
1997-03-05 08:39:38 +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
|
9fd2f2cbd8
|
Add REBOOT token
DHCP-970305
|
1997-03-05 06:39:09 +00:00 |
|
Ted Lemon
|
d9f8b11534
|
Add flags field to tree_cache structure so we can track updates and free temporary cache buckets
|
1997-03-05 06:38:55 +00:00 |
|
Ted Lemon
|
fc2df23a11
|
Add function prototypes; add state to lease structure
|
1997-03-05 06:38:27 +00:00 |
|
Ted Lemon
|
11b37280ba
|
Move some state into the lease structure so that we can test a lease before acking it, and so that we can do DNS lookups asynchronously
|
1997-03-05 06:37:05 +00:00 |
|
Ted Lemon
|
5eead2781b
|
lose lease -> state; add lease -> uid_buf to eliminate mallocs when assigning uids to leases except with really big uids
|
1997-03-05 06:34:36 +00:00 |
|
Ted Lemon
|
6e9a647e94
|
Maintain a free list for tree_cache structs
|
1997-03-05 06:34:27 +00:00 |
|
Ted Lemon
|
296af24c10
|
Add REBOOT token
|
1997-03-05 06:33:36 +00:00 |
|
Ted Lemon
|
f73aedfc4e
|
remove lease -> state
|
1997-03-05 06:33:06 +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
|
7550b9ef7c
|
Add an INIT-REBOOT timeout; don't ever call a static lease the active lease
|
1997-03-05 06:24:21 +00:00 |
|
Ted Lemon
|
8314a2823c
|
Install dhclient-script in /etc, not in /
|
1997-03-05 06:23:12 +00:00 |
|
Ted Lemon
|
a62eea55ac
|
Don't check the lease we have for the client until we've verified that the client thinks it's on the right network
|
1997-03-05 06:18:55 +00:00 |
|
Ted Lemon
|
b4c0cd4579
|
Add DHCPLIB to depends
|
1997-03-05 06:17:33 +00:00 |
|
Ted Lemon
|
5afe274709
|
Relay to server port, not client
|
1997-03-05 06:16:44 +00:00 |
|
Ted Lemon
|
2f26c2dcbc
|
Add UPF support
|
1997-03-05 06:16:07 +00:00 |
|
Ted Lemon
|
f09bfe772e
|
New IP header checksum code supplied by Anatoli Logvinski
|
1997-03-05 06:15:00 +00:00 |
|
Ted Lemon
|
d5e5a87a48
|
Add upf.c
|
1997-03-05 06:13:07 +00:00 |
|
Ted Lemon
|
e6d2e006c5
|
Fix typos
|
1997-03-05 06:12:19 +00:00 |
|