David Hankins
7285af3087
- DDNS updates state information are now stored in 'binding scopes' that
...
follow the leases through their lifecycles. This enables DDNS teardowns
on leases that are assigned and expired inbetween a server restart (the
state is recovered from dhcpd.leases). Arbitrary user-specified binding
scopes ('set var = "value";') are not yet supported.
2007-10-05 22:29:51 +00:00
Shane Kerr
28868515f6
Code cleanup to remove warnings from "gcc -Wall".
...
See RT ticket #16988 for more.
2007-07-13 06:43:43 +00:00
Evan Hunt
6d20e31bac
Make sure all writes to lease file are checked for success or failure.
...
(The patch checked in previously missed some cases.) [rt16929]
2007-06-06 23:07:17 +00:00
Evan Hunt
c11f349dba
Pulled up rt16929
2007-06-05 23:28:43 +00:00
Evan Hunt
804401cc8e
Merge in changes that were needed in 3.1.0 to silence NetBSD compiler
...
warnings. [rt16907]
2007-05-29 18:11:56 +00:00
David Hankins
706792c9d3
Copyright++
2007-05-19 19:16:28 +00:00
David Hankins
fe5b0fdd70
- Replaced ./configure shellscripting with GNU Autoconf. [ISC-Bugs #16405b]
...
- RELNOTES/README++
- s/wether/whether/ in dhcp-options.5 manpage edits.
2007-05-19 18:47:15 +00:00
David Hankins
98bd7ca099
DHCPv6 branch merged to HEAD.
2007-05-08 23:05:22 +00:00
David Hankins
6708d944e1
- Some default hash table sizes were tweaked, some upwards, some downwards.
...
3.1.0a1's tables resulted in a reduction in default server memory use.
The new selected values provide more of a zero sum (increasing the size
of tables likely to be populated, decreasing the size of tables unlikely).
- Lease structures appear in three spearate hashes: by IP address, by UID,
and by hardware address. One type of table was used for all three, and
improvements to IP address hashing were applied to all three (so UID and
hardware addresses were treated like 4-byte integers). There are now two
types of tables, and the uid/hw hashes use functions more appropriate
to their needs.
- The max-lease-misbalance percentage no longer causes scheduled rebalance
runs to be skipped: it still governs the schedule, but every scheduled
run will attempt balance.
[ISC-Bugs #16396 ]
2006-10-27 22:54:13 +00:00
David Hankins
e77c575fc4
- Attempting to write a new lease file to replace a corrupt (due to
...
encountering non-retryable errors during writing) lease file should
no longer result in an infinite recursion. [ISC-Bugs #16265 ]
2006-07-19 16:44:47 +00:00
David Hankins
5e86441636
- A new common (server or client) option, 'db-time-format local;', has
...
been added which prints the local time in /var/db/dhcpd.leases rather
than UTC. Thanks to a patch from Ken Lalonde. [ISC-Bugs #2678 ]
2006-06-06 16:35:18 +00:00
David Hankins
f7fdb21693
- Varying option space code and length bit widths (8/16/32) are now
...
supported. This is a milestone in acheiving RFC 3925 "VIVSO" and
DHCPv6 support. [ISC-Bugs #15979 ]
2006-06-01 20:23:18 +00:00
David Hankins
a55ccdd037
- Support for 'reserved' (psuedo-static) and BOOTP leases via failover
...
was introduced. [ISC-Bugs #13672 ]
- The failover implementation was updated to comply with revision 12 of
the protocol draft. [ISC-Bugs #13672 ]
2006-04-27 17:26:42 +00:00
David Hankins
88cd8aca9e
- Merge changes between 3.0.3RC1 and 3.0.4-BETA-3 into HEAD (silence
...
robie).
2006-02-24 23:16:32 +00:00
David Hankins
06e77c34fb
Corrections to changes made on HEAD pursuant to review of changes between
...
V3.0.3 and HEAD. [ISC-Bugs #15348 ]
2005-09-30 17:57:32 +00:00
David Hankins
98311e4ba9
MASSIVE merge from V3-RELEASE-BRANCH into HEAD. HEAD and V3-RELEASE are
...
now synced as of tag V3-0-3-BETA-1.
2005-03-17 20:15:29 +00:00
James Brister
f3fe382d68
Fixes for QoS support.
2001-07-10 20:36:06 +00:00
Ted Lemon
d758ad8cac
Merge changes between 3.0rc7 and 3.0rc8pl2.
2001-06-27 00:31:20 +00:00
James Brister
899d754f27
OMAPI class and subclass support.
2001-06-22 16:47:20 +00:00
Ted Lemon
31bbee784c
Sync with 3.0rc7
2001-05-17 19:04:09 +00:00
Ted Lemon
c0b7fffacd
- Write things that could contain non-printable values as quotable strings
...
with non-printable values stored as \\ooo.
2001-03-15 23:21:25 +00:00
Damien Neil
f7dca4c7b3
Remove the logic to rewrite the lease file every 1000 leases. This
...
causes excessive slowness on systems with very large numbers of
leases.
2001-02-15 21:28:25 +00:00
Ted Lemon
d8765900f4
Add support for tracing.
2001-02-12 20:53:56 +00:00
Ted Lemon
5e0b4c6248
Fix handling of agent options.
2001-01-25 08:28:51 +00:00
Ted Lemon
9e3831637a
Pass client state to eval functions. Lots of other stuff.
2000-11-28 23:27:24 +00:00
Ted Lemon
c8d29f1b33
Never record a state of 'startup.'
2000-09-04 22:28:38 +00:00
Ted Lemon
fcbeefb3ba
Move state information common to both peers into a common structure.
2000-08-31 04:40:05 +00:00
Damien Neil
5893fbc907
Added some typecasts in printf() statements to make -Werror happy.
2000-08-11 01:26:08 +00:00
Damien Neil
8a0dac0b46
Changed printf "%*s" format to "%.*s".
2000-08-08 18:11:22 +00:00
Ted Lemon
6ceb9118e9
Reference count binding scopes. Align IP headers on output.
2000-07-27 09:03:08 +00:00
Ted Lemon
4346ff54e2
Add prototypical support for writing persistent billing classes.
2000-07-05 07:33:25 +00:00
Ted Lemon
122528527c
Fix printf arg causing code to assume uid is NUL-terminated.
2000-06-06 23:51:16 +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
26b44cabef
Add write_failover_state.
2000-05-03 06:23:05 +00:00
Ted Lemon
c66a31b260
Log an error and quit if we can't append to the DHCP lease database.
2000-04-13 21:41:34 +00:00
Ted Lemon
f69d859939
Disallow some special printable characters in db_printable.
2000-04-04 06:28:52 +00:00
Ted Lemon
49733f31d3
Go back to the BSD license.
2000-03-17 04:00:32 +00:00
Ted Lemon
11cd757b7d
Handle typed variables.
2000-02-05 17:39:24 +00:00
Ted Lemon
cfdfb9f126
AIX and Digital Unix compatibility fixes.
2000-02-01 03:19:56 +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
d00855e05c
Indent only two spaces. Support event ganging.
2000-01-25 01:39:57 +00:00
Ted Lemon
ea4eec7e1b
- Make writing of failover timestamps conditional.
...
- Support new on event paradigm.
- Save per-lease variables.
2000-01-08 01:46:54 +00:00
Ted Lemon
f36d5b137b
Save failover-specific info even if FAILOVER_PROTOCOL isn't defined.
2000-01-05 18:43:33 +00:00
Ted Lemon
fa674bafa5
Print failover data if present. Support new struct hardware.
2000-01-05 18:15:28 +00:00
Ted Lemon
96359f83fd
- Open the database file for appending before expiring pools, in case leases
...
need to be rewritten during the expirating process.
1999-11-07 20:28:23 +00:00
Ted Lemon
b5fa877f8f
Write 'never;' instead of 'infinite' for unlimited leases.
1999-10-28 13:02:24 +00:00
Ted Lemon
05743349e6
Expire all outstanding unexpired leases after loading lease file on startup.
1999-10-08 22:29:52 +00:00
Ted Lemon
b1b7b521fe
Get a clean compile with all known gcc warnings.
1999-10-07 06:36:35 +00:00