Ted Lemon
6bbeb85aa9
Fix a couple of cases where the first host wouldn't be hashed.
2000-06-30 00:40:19 +00:00
Ted Lemon
0756bc8ae9
- Get rid of the obnoxious doubly-linked list and seperate timeout queue
...
and just make six lists with six kinds of leases sorted as timeout queues.
2000-06-07 00:15:53 +00:00
Ted Lemon
007e3ee4df
Rework DHCP lease state handling to be compatible with failover protocol.
2000-06-02 21:27:21 +00:00
Ted Lemon
20916cae75
- Fix all the OMAPI objects in the DHCP server and client that weren't
...
being correctly reference-counted.
- Make and use object-specific allocators.
- Add reference/dereference support to hash functions and to timeout
functions.
2000-05-16 23:03:49 +00:00
Ted Lemon
8c8e27c53e
Implement pool request and response so that secondary can operate.
2000-05-04 18:58:16 +00:00
Ted Lemon
f9cda22163
Queue failover update on lease commit. Write all states on startup.
2000-05-03 06:34:13 +00:00
Ted Lemon
7d9784f6fc
Patch in TSIG, just to see how to get it to work.
2000-03-18 02:15:52 +00:00
Ted Lemon
49733f31d3
Go back to the BSD license.
2000-03-17 04:00:32 +00:00
Ted Lemon
716f3d0c84
- Fix up calls to new_hash.
...
- Fix usage of hardware address in host lookup routine.
2000-03-06 23:35:16 +00:00
Ted Lemon
4bd8800e89
Fix compilation errors introduced in the last set of checkins.
2000-01-26 14:56:18 +00:00
Ted Lemon
583cab3c28
Fix binding support.
2000-01-25 01:42:48 +00:00
Ted Lemon
77d58db250
Get rid of ddns_rev_name and ddns_fwd_name.
2000-01-08 01:48:42 +00:00
Ted Lemon
d0607c8e48
Don't check for pool peer if FAILOVER_PROTOCOL isn't defined.
2000-01-05 18:49:47 +00:00
Ted Lemon
ebf0fbac3a
Lots of small changes to support failover. New struct hardware support.
2000-01-05 18:22:07 +00:00
Ted Lemon
d9eefc5dec
Mass commit for Brian Murrell.
1999-11-20 18:36:32 +00:00
Ted Lemon
df73931267
More fixups for lease expiry code.
1999-11-14 00:32:28 +00:00
Ted Lemon
ccbdce1467
- Delete on_expiry events when lease is released, regardless of whether
...
there's a release event.
- If the lease being superseded is the next in a pool to expire, clean that
up before superseding.
- Also, if the next lease to expire in a pool expires at the same time as
the current lease, make sure that both expire, not just one.
1999-11-12 17:21:28 +00:00
Ted Lemon
3107c7f9bb
Zero out on_* statements before superseding lease with copied template.
1999-11-07 20:38:01 +00:00
Ted Lemon
a816cb178e
Clean up a loophole in the code that sets up the pool expiry timer.
1999-10-28 15:53:05 +00:00
Ted Lemon
494bf48827
Oops, fix typo.
1999-10-28 13:07:06 +00:00
Ted Lemon
2616896572
Use the right expiry event. Count leases, hosts and groups written and log each.
1999-10-27 23:05:17 +00:00
Ted Lemon
394d5a3dc1
Clean up deleted vs. undeleted leases.
1999-10-25 01:55:40 +00:00
Ted Lemon
e96b71e15c
Get rid of dynamic_hosts kludge - do host deletion like group deletion.
1999-10-24 23:27:52 +00:00
Ted Lemon
3815154804
Add new_shared_network_interface function.
1999-10-24 17:19:46 +00:00
Ted Lemon
309267f056
Set the type of each lease as it is allocated.
1999-10-14 18:27:38 +00:00
Ted Lemon
6f2e946022
Fix a core dump involving incorrect use of evaluate_data_expression.
1999-10-13 16:28:00 +00:00
Ted Lemon
4bbb2b493b
Implement lease expiry events.
1999-10-08 22:17:41 +00:00
Ted Lemon
b1b7b521fe
Get a clean compile with all known gcc warnings.
1999-10-07 06:36:35 +00:00
Ted Lemon
77a5f87162
Fix up char * -> unsigned char * mismatches.
1999-10-07 02:14:10 +00:00
Ted Lemon
41a7cabfb7
Check for non-null group-name-hash before traversing it.
1999-10-05 18:44:27 +00:00
Ted Lemon
41ce579a22
Accept a packet argument in release_lease().
1999-10-05 02:47:12 +00:00
Ted Lemon
1615a0987c
Move handling of on_release hooks and nsupdate to release_lease()
1999-10-05 00:03:24 +00:00
Ted Lemon
2c3c24f40b
Get rid of dynamic groups garbage and just dump them out of the hash table.
1999-10-01 03:26:45 +00:00
Ted Lemon
06ae74a60b
Integrate memory.c:1.61.
1999-09-28 22:52:50 +00:00
Ted Lemon
1bce8ee027
Server in-memory database functions.
1999-09-28 22:49:31 +00:00