Ondřej Surý
7fd3dc63de
Add generic message digest API (isc_md) to replace specific MD functions md5/sha1/sha256
2018-10-25 08:15:42 +02:00
Ondřej Surý
0f24c55d38
Refactor *_destroy and *_detach functions to unified order of actions.
...
This properly orders clearing the freed pointer and calling isc_refcount_destroy
as early as possible to have ability to put proper memory barrier when cleaning
up reference counting.
2018-08-28 13:15:59 +02:00
Ondřej Surý
bef8ac5bae
Rewrite isc_refcount API to fetch_and_<op>, instead of former <op>_and_<fetch>
2018-08-28 12:15:39 +02:00
Ondřej Surý
0a7535ac81
isc_refcount_init() now doesn't return isc_result_t and asserts on failed initialization
2018-08-28 12:15:39 +02:00
Ondřej Surý
994e656977
Replace custom isc_boolean_t with C standard bool type
2018-08-08 09:37:30 +02:00
Ondřej Surý
cb6a185c69
Replace custom isc_u?intNN_t types with C99 u?intNN_t types
2018-08-08 09:37:28 +02:00
Michał Kępień
4df4a8e731
Use dns_fixedname_initname() where possible
...
Replace dns_fixedname_init() calls followed by dns_fixedname_name()
calls with calls to dns_fixedname_initname() where it is possible
without affecting current behavior and/or performance.
This patch was mostly prepared using Coccinelle and the following
semantic patch:
@@
expression fixedname, name;
@@
- dns_fixedname_init(&fixedname);
...
- name = dns_fixedname_name(&fixedname);
+ name = dns_fixedname_initname(&fixedname);
The resulting set of changes was then manually reviewed to exclude false
positives and apply minor tweaks.
It is likely that more occurrences of this pattern can be refactored in
an identical way. This commit only takes care of the low-hanging fruit.
2018-04-09 12:14:16 +02:00
Evan Hunt
ab0fe63f07
minor cleanup and addressed a sprintf format warning
2018-02-24 17:56:17 -08:00
Ondřej Surý
843d389661
Update license headers to not include years in copyright in all applicable files
2018-02-23 10:12:02 +01:00
Mark Andrews
b1b9257c8f
test for >= 0 and use %d instead of %u
2018-02-16 10:20:38 +11:00
Mark Andrews
fdd8838bf9
4869. [bug] Address some cases where NULL with zero length could
...
be passed to memmove which is undefined behaviour and
can lead to bad optimisation. [RT #46888 ]
2018-01-22 09:36:12 +11:00
Tinderbox User
ed9fea3a6e
update copyright notice / whitespace
2018-01-15 23:46:16 +00:00
Michał Kępień
ae51a676c9
[master] Ensure all master definitions in a catalog zone contain an IP address
...
4864. [bug] named acting as a slave for a catalog zone crashed if
the latter contained a master definition without an IP
address. [RT #45999 ]
2018-01-15 20:50:09 +01:00
Mark Andrews
fe79e2efbf
4774. [bug] <isc/util.h> was incorrectly included in several
...
header files. [RT #46311 ]
2017-10-19 12:26:32 +11:00
Mark Andrews
f9f3f20d2d
4739. [cleanup] Address clang static analysis warnings. [RT #45952 ]
2017-09-27 10:27:09 +10:00
Mark Andrews
ff8d856db0
4675. [cleanup] Don't use C++ keyword class. [RT #45726 ]
2017-08-10 08:42:04 +10:00
Evan Hunt
bd5b0b39e6
[master] add print.h
2017-07-26 01:24:25 -07:00
Michał Kępień
383240d572
[master] Process "port" and "dscp" for "default-masters"
...
4656. [bug] Apply "port" and "dscp" values specified in catalog
zone's "default-masters" option to the generated
configuration of its member zones. [RT #45545 ]
2017-07-26 09:28:28 +02:00
Mark Andrews
abe5cf42b3
4649. [bug] The wrong zone was logged when a catalog zone is added.
...
[RT #45520 ]
2017-07-10 10:36:56 +10:00
Tinderbox User
7c655c5b24
update copyright notice / whitespace
2017-07-09 23:45:34 +00:00
Mark Andrews
1e9b39fe26
4648. [bug] "rndc reconfig" on a slave no longer causes all member
...
zones of configured catalog zones to be removed from
configuration. [RT #45310 ]
2017-07-10 09:06:13 +10:00
Mark Andrews
52e2aab392
4546. [func] Extend the use of const declarations. [RT #43379 ]
2016-12-30 15:45:08 +11:00
Mark Andrews
4cb2ad343f
use explict casts to silence truncation warnings
2016-08-16 12:29:09 +10:00
Tinderbox User
2bc4d454e1
update copyright notice / whitespace
2016-07-21 23:46:03 +00:00
Witold Krecicki
e4d4de075a
4419. [bug] Don't cause undefined result if the label of an
...
entry in catalog zone is changed. [RT #42708 ]
2016-07-21 13:08:50 +02:00
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Mark Andrews
980c504b30
fix null pointer comparisons
2016-06-26 17:23:58 +10:00
Witold Krecicki
4681ab1fc2
4387. [test] Rewritten test suite for catalog zones. [RT #42676 ]
...
4386. [func] Support for master entries with TSIG keys in catalog
zones. [RT #42577 ]
2016-06-22 10:50:09 +02:00
Witold Krecicki
3f06b888ae
4385. [func] Add support for allow-query and allow-transfer ACLs
...
to catalog zones. [RT #42578 ]
2016-06-20 13:39:44 +02:00
Francis Dupont
e211ffb1f1
Check isc_timer_reset return
2016-06-04 09:08:48 +02:00
Francis Dupont
aee6412db2
Address CID 1362495: tbuf covered by an INSIST so never NULL
2016-06-04 08:49:10 +02:00
Witold Krecicki
1c1ab955ed
Catalog zones: use iterators instead of isc_ht_walk [RT #42529 ]
2016-05-31 23:01:53 +02:00
Evan Hunt
3d0b7d5cc3
[master] zone-directory option for catalog zones
...
4380. [experimental] Added a "zone-directory" option to "catalog-zones"
syntax, allowing local masterfiles for slaves
that are provisioned by catalog zones to be stored
in a directory other than the server's working
directory. [RT #42527 ]
2016-05-31 10:36:27 -07:00
Tinderbox User
106368eb50
update copyright notice / whitespace
2016-05-30 23:45:27 +00:00
Mark Andrews
d4609e9eea
Address errors found by Coverity in catalog zones implementation. [RT #42532 ]
2016-05-31 08:12:51 +10:00
Francis Dupont
affa9c9825
Fixed WIN32 (VS 2010 32 bits) compiling problems
2016-05-30 17:10:08 +02:00
Evan Hunt
6c2a76b3e2
[master] copyrights, win32 definitions
2016-05-26 12:36:17 -07:00
Witold Krecicki
7a00d69909
4376. [experimental] Added support for Catalog Zones, a new method for
...
provisioning secondary servers in which a list of
zones to be served is stored in a DNS zone and can
be propagated to slaves via AXFR/IXFR. [RT #41581 ]
4375. [func] Add support for automatic reallocation of isc_buffer
to isc_buffer_put* functions. [RT #42394 ]
2016-05-26 21:23:19 +02:00