2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-24 02:47:42 +00:00

39 Commits

Author SHA1 Message Date
Ted Lemon
05c680bf8f No message for dissociate_lease(). 1998-04-09 04:30:41 +00:00
Ted Lemon
2ca2eda92d Add dissociate_lease(). Abandon leases but don't _really_ abandon them - sort them back into the list so that they can be reclaimed later. 1998-03-17 18:19:44 +00:00
Ted Lemon
f258bd88eb Do memcpy inside of if statement since results are only used there. Add ns_inaddr_lookup (commented out for now). 1998-03-17 06:11:25 +00:00
Ted Lemon
69858972fd Clean up unsigned char vs. signed char discrepencies. 1998-03-16 06:17:37 +00:00
Ted Lemon
ae1844c8a8 Don't exclude dynamic BOOTP from uid test (?) 1997-09-16 18:14:18 +00:00
Ted Lemon
0da2916933 Don't do any DNS testing 1997-06-08 04:25:35 +00:00
Ted Lemon
756c989582 When parsing a lease database, correctly transfer the client hostname and hostname to the memory-resident lease structure. 1997-06-08 03:28:01 +00:00
Ted Lemon
bd148ffb34 Call new ns_inaddr_lookup code for testing 1997-05-09 08:06:29 +00:00
Ted Lemon
e452b9fdc8 Use MAX_TIME for abandoned leases rather than an explicit constant (which was wrong). 1997-03-08 00:22:47 +00:00
Ted Lemon
7a08716481 If a lease is abandoned, write it out even though it doesn't appear to be assigned. When abandoning a lease, set hardware type to zero, not -1 1997-03-06 22:20:17 +00:00
Ted Lemon
a8b5839494 If a lease is abandoned, it's okay to supersede even if things don't quite match up. 1997-03-06 20:21:32 +00:00
Ted Lemon
804872dc5c ABANDONED_LEASE is persistent, so set it in the lease structure, not in the supersede structure. 1997-03-06 19:45:20 +00:00
Ted Lemon
b0f9708dd0 Set ABANDONED_LEASE flag when abandoning a lease. 1997-03-06 19:28:18 +00:00
Ted Lemon
7bbdb1df7d Add informational message to abandon_lease. 1997-03-06 18:27:20 +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
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
b289b0107c Fix bug in classing code 1996-12-31 02:02:54 +00:00
Ted Lemon
2a5cb261ed Don't try to supersede static leases 1996-11-08 20:09:10 +00:00
Ted Lemon
9043ecacc3 Notice and complain about conflicting subnets 1996-08-30 20:14:03 +00:00
Ted Lemon
4ebc04aa4a Fix erroneous hash search; use get-lease-hostnames parameter 1996-08-29 23:03:19 +00:00
Ted Lemon
f4f2f24fb5 Look up hostnames for lease IP addresses on startup 1996-08-28 01:40:01 +00:00
Ted Lemon
b75c745c5b fix up after group structure changes; support for single client having multiple leases (on different networks) 1996-08-27 09:51:24 +00:00
Ted Lemon
efa253d0db Don't throw away a lease because the requestor didn't give a UID and the lease has one iff the requestor's hardware address matches the lease's hardware address and the lease can be assigned to a Dynamic BOOTp host 1996-06-27 19:09:51 +00:00
Ted Lemon
7021977321 Don't free comp -> uid if comp == lease 1996-06-12 04:05:23 +00:00
Ted Lemon
a0aee5f011 Report failure in the event of a lease conflict; notice if lease database rewrite fails 1996-06-11 08:14:28 +00:00
Ted Lemon
0fe8b9ccd3 Delete unused automatic variables 1996-06-04 19:12:36 +00:00
Ted Lemon
98c46e722b Fix dump_subnets 1996-05-25 18:38:02 +00:00
Ted Lemon
82f360eb76 Shared network support; dynamic BOOTP support 1996-05-22 07:40:52 +00:00
Ted Lemon
6185d99424 initialize option pointers after allocating a new class structure 1996-05-17 23:20:23 +00:00
Ted Lemon
0ef9f561ae Fix up pointer type mismatch 1996-05-16 07:22:00 +00:00
Ted Lemon
d843c75d7e Disable some debugging statements 1996-03-02 05:21:33 +00:00
Ted Lemon
1358b87447 Keep a persistent database of leases 1996-03-02 05:13:36 +00:00
Ted Lemon
a30cba8c91 Add user and vendor database support; add abandon_lease function which ensures a lease is not reused; fix up debugging 1996-02-29 18:28:43 +00:00
Ted Lemon
1b83016762 Copy the offered expiry time when updating a lease 1996-02-26 09:30:23 +00:00
Ted Lemon
685963dcf4 Incremental changes to support DHCP protocol 1996-02-21 15:16:18 +00:00
Ted Lemon
97ca16995f Intermediate changes to support actual DHCP protocol engine 1996-02-21 12:11:09 +00:00
Ted Lemon
9582172964 Fixed many option bugs; added client for testing 1996-02-07 22:43:54 +00:00
Ted Lemon
089fb364df More portable internet addresses; fix endian bug; fix parser bugs 1996-02-06 20:25:56 +00:00
Ted Lemon
d7837182d3 DHCP Server Daemon 1995-11-29 07:40:04 +00:00