2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-25 19:38:00 +00:00

224 Commits

Author SHA1 Message Date
Ted Lemon
058159169d Update failover state keywords. 2000-08-31 04:39:41 +00:00
Ted Lemon
9a092d2e23 POTENTIAL_CONFLICT_NIC -> RESOLUTION_INTERRUPTED. 2000-08-24 18:46:31 +00:00
Ted Lemon
b83bf1d157 - Set peer state to potential_conflict when there is no known peer state -
this ensures that when a pool is moved from not being a failover pool to
  being a failover pool, the two servers sync up their lease databases.
- Dereference old host group next pointer before installing named group.
2000-08-15 22:23:33 +00:00
Ted Lemon
6ceb9118e9 Reference count binding scopes. Align IP headers on output. 2000-07-27 09:03:08 +00:00
Ted Lemon
301a5b66c7 - Fix parsing of 'next binding state'.
- Conditionalize some failover-specific code.
2000-07-06 10:14:31 +00:00
Ted Lemon
e73a0769a9 Correctly set lease state when none is specified. 2000-07-06 06:25:07 +00:00
Ted Lemon
8afe078753 - Give the lease a binding state if it doesn't have one.
- Don't dereference events from parsed lease, since that lease is now
  kept.
2000-07-05 07:32:13 +00:00
Ted Lemon
f84d544bb3 Fix a bunch of problems in calling clone_grpup. 2000-06-12 20:14:16 +00:00
Ted Lemon
1dd632af0d - Correctly check the result of make_concat (thanks to Scott Reynolds).
This fixes a long-standing 3.0 problem where more than one fixed
  address declaration in a host declaration would not be honored.
2000-06-08 21:20:00 +00:00
Ted Lemon
81b53730f9 Parse max_response_delay into the right variable. 2000-06-06 23:49:05 +00:00
Ted Lemon
0a1dfb6514 Correctly handle the case where the matching pool is the first one. 2000-06-03 02:36:03 +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
a79ed92bce Fix a reference problem. 2000-05-18 20:21:43 +00:00
Ted Lemon
165bce70b2 Fix up various platform-specific errors. 2000-05-17 16:04:26 +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
a4ba31607a Parse failover state out of lease database. 2000-05-03 06:19:29 +00:00
Ted Lemon
e96232350d Fix failover state parsing. 2000-05-01 23:57:51 +00:00
Ted Lemon
026975bbab Add support for AUTH_KEY. 2000-04-06 22:20:55 +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
20b312c47d Update call to new_hash. 2000-03-06 23:28:27 +00:00
Ted Lemon
11cd757b7d Handle typed variables. 2000-02-05 17:39:24 +00:00
Ted Lemon
588af26930 Support parsing of configuration options in generic blocks. 2000-02-02 17:10:43 +00:00
Ted Lemon
cfdfb9f126 AIX and Digital Unix compatibility fixes. 2000-02-01 03:19:56 +00:00
Ted Lemon
9d80b480d5 Add a break after the default to satisfy the HP C compiler. 2000-01-31 23:41:56 +00:00
Ted Lemon
c52616180e - Don't check to see if dynamic conflicts with pool failover peer until
a pool is present to check.
2000-01-26 17:29:35 +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
436f1c8c94 - Pull up fixes from 3.0.
- New malloc debug scheme.
- Support variables and scoping.
- Hack to permit setting of ddns-fwd-name and ddns-rev-name without SET token.
2000-01-25 01:38:17 +00:00
Ted Lemon
d04633586a - Clean up lease parser, remove ddns_fwd and ddns_rev, support multiple
on events
2000-01-08 01:43:52 +00:00
Ted Lemon
22009f7990 Don't support failover peers unless FAILOVER_PROTOCOL is defined. 2000-01-05 18:42:57 +00:00
Ted Lemon
9e9b2261b1 Support new struct hardware. 2000-01-05 18:17:10 +00:00
Ted Lemon
d9eefc5dec Mass commit for Brian Murrell. 1999-11-20 18:36:32 +00:00
Ted Lemon
c358155dc7 - Move parse_allow_deny out of common code and split option space
initialization.
1999-11-14 00:17:47 +00:00
Ted Lemon
b86799bfcb - Set DYNAMIC flag in host decl if dynamic keyword is given, otherwise
set STATIC.
1999-10-25 01:52:52 +00:00
Ted Lemon
79931db300 Add support for interface keyword to subnet and shared-network decls. 1999-10-24 17:19:14 +00:00
Ted Lemon
ab58ff49e0 Fix up args to printf-like functions (thanks to Pedro Ribiero). 1999-10-12 16:00:34 +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
35454d8a1a Adjust to the New Parse Regime. Support named groups in lease file. 1999-10-01 03:37:29 +00:00
Ted Lemon
29c35bedcc - Support named groups.
- Support UID keyword in host declaration.
- Support UIDs that are text strings.
1999-09-28 23:55:55 +00:00
Ted Lemon
96d7d13eb6 Allow 'on' statements in lease declarations. 1999-09-22 17:32:04 +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
32e4f77644 Casts for Solaris, from Brian Murrell. 1999-09-16 00:52:50 +00:00
Ted Lemon
2d92095d6e Fix some uninitialized objects. 1999-09-15 19:47:38 +00:00
Ted Lemon
ff129930ff Support deletion of host declarations. 1999-09-09 23:32:22 +00:00
Ted Lemon
52e79d1283 Support host declarations in lease database file. 1999-09-09 21:11:27 +00:00
Ted Lemon
612fded735 Support dynamically-created host entries. 1999-09-08 01:49:56 +00:00
Ted Lemon
ad1a6484c1 - Add unknown-clients as an alternative to unknown clients in permit
statements.
1999-07-20 18:00:20 +00:00
Ted Lemon
79a65726f0 Massive rototill to support some new DDNS features. 1999-07-16 21:34:14 +00:00