2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 13:28:14 +00:00

213 Commits

Author SHA1 Message Date
David Hankins
95fd7038a2 - Memory leak in the load_balance_mine() function is fixed. This would
leak ~20-30 octets per DHCPDISCOVER packet while failover was in use
  and in normal state. [ISC-Bugs #19548]

- Various compilation fixes have been included for the memory related
  DEBUG #defines in includes/site.h.  [ISC-Bugs #19548]
2009-04-07 19:55:52 +00:00
David Hankins
78f16d27d4 automake regeneration 2009-03-25 18:28:16 +00:00
David Hankins
f9453d21f2 - A bug in DLPI packet transmission (Solaris, HP/UX) that caused the server
to stop receiving packets is fixed.  The same fix also means that the MAC
  address will no longer appear 'bogus' on DLPI-based systems.
  [ISC-Bugs #19186]

- A bug in select handling was discovered where the results of one select()
  call were discarded, causing the server to process the next select() call
  and use more system calls than required.  This has been repaired - the
  sockets will be handled after the first return from select(), resulting in
  fewer system calls.  [ISC-Bugs #19186]
2009-03-24 18:33:52 +00:00
Shawn Routhier
ae56655628 Update for 19054 - modifications to keep GCC 4.3 happy 2009-01-22 00:43:58 +00:00
Shawn Routhier
fac2bbb026 Update documentation to refer to omshell(1) 2008-11-19 01:25:13 +00:00
David Hankins
237bfdc924 regen 2008-06-11 23:13:30 +00:00
David Hankins
4619c0a2fb - A memory leak when using omapi has been fixed. [ISC-Bugs #17560] 2008-03-18 18:28:14 +00:00
David Hankins
66cebfcb89 - ./configure was extended to cover many optional build features, such
as failover, server tracing, debugging, and the execute() command.
  [ISC-Bugs #17678]
2008-02-28 21:21:56 +00:00
Evan Hunt
dccb6edf66 Updated copyright strings for 4.1.0a1 release 2008-01-24 02:43:06 +00:00
Evan Hunt
575e64d6aa automake regeneration 2008-01-24 02:20:10 +00:00
David Hankins
6368a1bd72 - Multiple (up to "delayed-ack x;" maximum) DHCPv4 packets are now queued and
released in bursts after single fsync() events when the upper limit is
  reached or if the receiving sockets go dry.  The practical upshot is
  that fsync-coupled server performance is now multiplicitively increased.
  The default delayed ack limit is 28.  Thanks entirely to a patch from
  Christof Chen.
2008-01-21 19:53:21 +00:00
Shane Kerr
cff9b78fca Build fixes for Solaris 9.
See RT ticket #17444 for more.
2008-01-09 23:02:42 +00:00
Francis Dupont
be62cf0675 finer granularity timers 2008-01-03 00:30:14 +00:00
David Hankins
0c5673bc78 automake regeneration 2007-12-05 19:42:57 +00:00
Francis Dupont
20ae1affb0 almost editorial stuff 2007-11-30 21:51:43 +00:00
Shane Kerr
6e999c3c8a Unit test framework now added.
See RT ticket #17223 for more.
2007-11-16 11:04:12 +00:00
David Hankins
8b1cb22681 Don't segfault on NULLs. 2007-11-07 19:42:18 +00:00
David Hankins
ba0833b11d automake regeneration 2007-09-05 17:33:56 +00:00
Shane Kerr
06eb8bab55 Fix a number of warnings (and a few real bugs) found by enabling
gcc warnings.

See RT ticket #17013 for more.
2007-08-22 13:41:37 +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
Shane Kerr
763cba6b91 Fixed file descriptor leak on failure in initializing OMAPI listener.
See RT ticket #16993 for more.
2007-07-12 13:11:02 +00:00
Evan Hunt
4595871d1d automake regeneration 2007-07-10 22:08:52 +00:00
Shane Kerr
cf8aca47a2 Build fixes for Solaris. (CVS checkin, part 4)
See RT ticket #16966 for more.
2007-06-26 09:58:41 +00:00
David Hankins
da59e03ddc automake++, second round. 2007-06-07 16:45:31 +00:00
David Hankins
dff902ba2c automake updated 2007-06-07 15:57:10 +00:00
Shane Kerr
a36687f00d regen 2007-06-05 08:34:37 +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
Shane Kerr
6ecda39c26 Build fixes. See RT ticket #16888 for more information. 2007-05-29 16:32:11 +00:00
Mark Andrews
9f706d4610 regen 2007-05-23 21:56:00 +00:00
Shane Kerr
76c944da04 Fix pointer size in 64-bit land.
See RT ticket #16902 for more.
2007-05-23 10:35:11 +00:00
David Hankins
1a6399f402 cvsignore++ 2007-05-21 22:26:05 +00:00
David Hankins
e62b1eb355 Looks like the package version was moved into autoconf. 2007-05-19 20:24:41 +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
Evan Hunt
74dc3e0b27 Fixed a bug that caused OMAPI clients to hang when opening leases. [rt16495] 2007-05-07 17:19:17 +00:00
Evan Hunt
a58da042f5 Allow trace output files (-tf option) to be overwritten, rather than
crashing dhcpd if the file already exists [rt16459]
2007-04-27 22:38:03 +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
Shane Kerr
272ef1bca0 Hankin's fixes for hash-related core dumps on HEAD. 2006-07-25 09:59:39 +00:00
David Hankins
ada0f83a82 Fix build failure on aix pursuant to review - 'inline' is GCC only.
[ISC-Bugs #16155]
2006-06-08 23:51:37 +00:00
David Hankins
d19e2cf7de Compiler warnings (a few were bugfixes internal to HEAD development) silenced.
[ISC-Bugs #16133]
2006-06-05 16:42:59 +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
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
5d0ff7ea7c New files added in merge from V3-RELEASE-BRANCH to HEAD as of V3-0-3-BETA-1. 2005-03-17 20:30:41 +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
Ted Lemon
a609e69bba sync with branch 2001-08-10 10:50:50 +00:00
Ted Lemon
d758ad8cac Merge changes between 3.0rc7 and 3.0rc8pl2. 2001-06-27 00:31:20 +00:00
Ted Lemon
31bbee784c Sync with 3.0rc7 2001-05-17 19:04:09 +00:00
Ted Lemon
7063c3e88b Oops, get rid of a not-quite-blank line. 2001-05-02 19:00:14 +00:00