Ted Lemon
|
cedac028f1
|
Fix a potential problem when there are only two leases in a pool.
|
1999-09-24 19:01:27 +00:00 |
|
Ted Lemon
|
a2e08b0a78
|
In supersede_lease, replace 'on' statements if new values are provided.
|
1999-09-22 17:24:11 +00:00 |
|
Ted Lemon
|
92ce3f81d1
|
Return error status when duplicate hostname found instead of bombing.
|
1999-09-16 05:12:38 +00:00 |
|
Ted Lemon
|
0880c73c62
|
Type cast fixes for Solaris, from Brian Murrell.
|
1999-09-16 01:19:52 +00:00 |
|
Ted Lemon
|
2d92095d6e
|
Fix some uninitialized objects.
|
1999-09-15 19:47:38 +00:00 |
|
Ted Lemon
|
ebb8924397
|
Add host deleter.
|
1999-09-09 23:26:36 +00:00 |
|
Ted Lemon
|
f1da484e59
|
Fix up the database update code.
|
1999-09-09 21:03:40 +00:00 |
|
Ted Lemon
|
dc24669481
|
Support referring to hosts by name and recording them in the lease database.
|
1999-09-08 01:44:57 +00:00 |
|
Ted Lemon
|
8cdb80a772
|
- Fix up expression evaluation calls.
|
1999-07-31 17:57:36 +00:00 |
|
Ted Lemon
|
da38df1433
|
Pervasive changes to support leased_address, reverse and binary_to_ascii.
|
1999-07-02 20:58:48 +00:00 |
|
Ted Lemon
|
a1d71f14a4
|
Propogate ddns_fwd_name and ddns_rev_name when adding new leases.
|
1999-07-01 18:45:28 +00:00 |
|
Ted Lemon
|
f011dedde6
|
Don't overwrite timestamp from new lease value structure.
|
1999-05-27 14:11:58 +00:00 |
|
Ted Lemon
|
8e0a40b8d9
|
Enclose abort() calls in POINTER_DEBUG ifdefs and just return otherwise.
|
1999-05-07 17:36:36 +00:00 |
|
Ted Lemon
|
f39b6e0089
|
Update license.
|
1999-03-16 05:50:46 +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
|
5812451fe2
|
Pull up recent 2.0 changes. Lease no longer has shared network up pointer.
|
1999-02-14 18:49:45 +00:00 |
|
Ted Lemon
|
42398aad67
|
Add support for billing to classes.
|
1998-11-11 07:52:35 +00:00 |
|
Ted Lemon
|
bbeb899259
|
Add pool support
|
1998-11-09 02:44:32 +00:00 |
|
Ted Lemon
|
d25524bd8d
|
Evaluate option cache associated with client identifier option, not just the expression.
|
1998-11-06 02:40:40 +00:00 |
|
Ted Lemon
|
15b5c093be
|
Fix up all the option handling code to use evaluation instead of fixed data. User-specified option statements are not stored in a linked list of executable statements, rather than as data trees.
|
1998-11-05 18:42:18 +00:00 |
|
Ted Lemon
|
6aba7542e3
|
Lose special case code for vendor and user classes. Get client identifier in host declaration off of per-host executable statement list rather than now-nonexistent option list. Fixed address is now an expression, not a tree. Take out host reverse lookup code - it doesn't belong here. Fix botch in dangling lease code.
|
1998-06-25 02:59:15 +00:00 |
|
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 |
|