2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-27 12:28:42 +00:00

80 Commits

Author SHA1 Message Date
Thomas Markwalder
7512d88b9f [master] Replaced licensing text with MPL licensing text throughout 2017-07-12 09:23:23 -04:00
Thomas Markwalder
ca22af8999 [master] Optimized if and when DNS client context and ports are initted
Merges in rt45290.
2017-06-19 14:44:29 -04:00
Shawn Routhier
10b7683e58 [master] Update dmalloc to use a size_t as an argument
Update dmalloc to use a size_t as an argument which will
bring it in line with the call it makes to malloc and
avoid possible truncation.
2016-07-27 10:41:26 -07:00
Francis Dupont
7acd875396 Remerged #38692 2015-11-17 16:43:44 +01:00
Francis Dupont
bf673d217b Unmerged #38692 2015-11-17 16:36:19 +01:00
Francis Dupont
646acb59b4 Merged #38692 (use program base name in (sys)log) 2015-09-12 19:18:50 +02:00
Shawn Routhier
1dceab6c75 [master] Remove unneeded defines for errors
As part of 4.2.0 we renamed a number of errors but continued
to include the old ones in case somebody was building something
using our libraries.  This #ifdefs them and by defaults removes them
from the compile.
2014-09-10 20:26:40 -07:00
Thomas Markwalder
3ffc07defb [master] Addes addtional HMAC TSIG algorithms to DDNS
Merges in rt36947
2014-09-08 11:26:57 -04:00
Shawn Routhier
db72e67d3a [master] Restore #define and hack bind.sh
Resore the R_MULTIPLE #define so we have the same code
in final as we did in rc1.

Change the bind.sh file so we use 9.9.5-P1 for testing master, 4.2 and 4.3
until we do remove the #define
2014-08-06 15:01:34 -07:00
Mark Andrews
454240a87f remove legacy ISC_R_MULTIPLE define 2014-08-02 22:23:57 +10:00
Shawn Routhier
38c4774a43 [master] Several small patches
Tidy up several small tickets
Correct parsing of DUID from config file, previously the LL type
was put in the wrong place in the DUID string.
[ISC-Bugs #20962]
Add code to parse "do-forward-updates" as well as "do-forward-update"
[ISC-Bugs #31328]
Remove log_priority as it isn't currently used.
[ISC-Bugs #33397]
Increase the size of the buffer used for reading interface information.
[ISC-Bugs #34858]
2014-04-25 10:50:24 -07:00
Shawn Routhier
edad9be5cd [master] Remove vix.com and nominum.com
Remove old information from copyrights and
    man pages.
2014-01-26 10:52:15 -08:00
Shawn Routhier
61ef216b8d [master] Add support for user selection of the from address for DDNS transactions 2013-12-11 08:08:42 -08:00
Shawn Routhier
e54ff84f08 -n master Patch for 30461 and update the auto generated files
Update the auto genrated files to add the required bind9
libraries

Fix up dhcpctl/Makefile.am to include the isccfg lib

Patch for 30461 to allow the DHCP server to find
the name server to update via the DNS
Conflicts:
2013-12-10 04:03:12 +00:00
Shawn Routhier
0895c955d1 [master] Fix up the gentle shutdown code to handle failover
This patch modifies the gentle failover patch to
be cleaner and to handle failover peers better.
2013-11-14 12:55:10 -08:00
Shawn Routhier
47e8308dea [master]
[32692] Signal handlers added: sigint (ctrl-c) and sigterm (default kill)
2013-10-30 13:52:36 -07:00
Shawn Routhier
08b2d34783 [master]
Modify the class and subclass code to allow for dynamic addition and
removal of subclasses.  See 27452 for details.
2013-06-05 18:15:49 -07:00
Shawn Routhier
e3c948003b Add a compile time check for the presence of the noreturn attribute
and use it for log_fatal if it's available.  This will help code
checking programs to eliminate false positives.
[ISC-Bugs 27539]
2012-02-16 22:07:04 +00:00
Shawn Routhier
4a5098e93f Add code to clear the pointer to an object in an OMAPI handle when the
object is freed due to a dereference.  [ISC-Bugs #21306]
2010-09-07 22:59:23 +00:00
Shawn Routhier
7aa153b882 Primarly fix the trace code. This was broken during the modfictions of the
DDNS code to use the bind libraries.  This patch fixes that breakage and
includes support for the new DDNS code.  This patch also deletes some dead
code and neatens up some log messages.
2010-02-11 23:55:36 +00:00
Shawn Routhier
a47d63362f Update copyright years 2009-11-24 02:06:57 +00:00
Shawn Routhier
8fa0112dd1 Ticket 20540 - clean ups for DHCP-DDNS work, add an change dropped in the
merge, arrange to handle callbacks from the socket code after we've deleted
the socket and deal with the quantum issue in the tasks.  This last will
be removed shortly as a better fix is now available.
2009-11-19 23:49:57 +00:00
Shawn Routhier
98bf16077d Support for asynchronous ddns per ticket 19216 - convert to using isclib and
dnslib.
2009-10-28 04:12:30 +00:00
Shawn Routhier
0493fdca5e Fix handling of changing a connectiong from connecting to connected, avoiding
releasing the memory for the omapi io object.
2009-10-15 18:39:49 +00:00
Shawn Routhier
2c85ac9b24 Switch isc urls from http to https and correct sw to services or software
for new web site as appropirate.
2009-07-23 18:52:21 +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
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
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
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
d758ad8cac Merge changes between 3.0rc7 and 3.0rc8pl2. 2001-06-27 00:31:20 +00:00
Ted Lemon
085b94452b Add a strcasecmp for comparing omapi_data_type_t's. 2001-05-02 17:00:48 +00:00
Ted Lemon
29fb0a112b Need error message translation for omapi as well. 2001-05-02 06:54:32 +00:00
Ted Lemon
9560d30a7f Make header lengths signed rather than unsigned, fix snoop_time(). 2001-02-22 06:42:32 +00:00
Damien Neil
743f0d251c Change the index element of omapi_listener_object_t from an int32_t
to an int, to avoid problems when passing it to omapi_array_extend()
elsewhere.
2001-02-15 20:47:10 +00:00
Ted Lemon
1bc3ffd5ad Add prototype for minires tracing. 2001-02-15 14:09:50 +00:00
Ted Lemon
a5c3f23f81 Add some more trace hooks. 2001-02-15 05:36:40 +00:00
Ted Lemon
640e5e3df5 Add support for omapi extensible arrays. 2001-02-12 20:46:48 +00:00
Ted Lemon
4eed13913d Trace-related changes. 2001-02-12 20:46:19 +00:00
Ted Lemon
009c027917 Trace-related definitions and prototypes. 2001-02-12 20:45:29 +00:00
Ted Lemon
e0de25c53b Add an rc_history_count variable so that we can see if the history overflew 2001-01-25 08:26:36 +00:00
Ted Lemon
c4403423ed Add omapi object initializer to object type structure. 2000-10-10 23:00:31 +00:00
Ted Lemon
f73cec8979 Include memory.h so that we don't get warnings from gcc about using memcmp. 2000-09-05 17:30:42 +00:00
Ted Lemon
4b63c26ef8 Use unsigned char instead of u_char. 2000-08-17 19:43:04 +00:00
Damien Neil
49146f3c15 Added authentication support. The tsig_key structure has been renamed
to auth_key and moved into libomapi.  libomapi now depends on libres,
which contains the data signing routines.
2000-08-03 21:00:41 +00:00
Damien Neil
c62871ba64 Moved hash.c from libdhcp to libomapi, in anticipation of moving the
tsig_key structure into libomapi.  (tsig_keys are stored in a hashtable,
and libomapi should not depend on libdhcp.)
2000-08-01 22:55:07 +00:00