Michał Kępień
396772811a
[rt46718] Use MDB_SUCCESS instead of 0 when checking values returned by mdb_*()
2017-11-28 14:51:03 +01:00
Michał Kępień
1970f078cf
[rt46718] Fix LMDB support on OpenBSD
...
OpenBSD does not have a unified buffer cache, which does not play nicely
with LMDB's use of a combination of a read-only mmap() and "regular"
writes. One workaround is to set the MDB_WRITEMAP flag when creating
LMDB environments on OpenBSD. This causes the LMDB library to mmap()
its databases in read-write mode and perform stores by writing to
addresses mapped in such a way instead of using "regular" writes.
To avoid repeating the same set of flags over and over in different
places, #define them in a header file.
2017-11-28 14:50:53 +01:00
Mark Andrews
65a483106e
4829. [bug] isc_heap_delete did not zero the index value when
...
the heap was created with a callback to do that.
[RT #46709 ]
2017-11-28 18:49:52 +11:00
Mark Andrews
a8c1bfd673
map more entry points to <name>64
2017-11-28 14:08:14 +11:00
Mark Andrews
18c7fa2f93
#define update_recordsandbytes update_recordsandbytes64
2017-11-28 13:58:49 +11:00
Tinderbox User
393135d693
update copyright notice / whitespace
2017-11-27 23:46:24 +00:00
Mark Andrews
c22b540e4c
restore setting header->heap_index to zero in setsigningtime
2017-11-28 06:46:33 +11:00
Michał Kępień
40a90fbf89
[master] Do not use thread-local storage for storing LMDB reader locktable slots
...
4828. [bug] Do not use thread-local storage for storing LMDB reader
locktable slots. [RT #46556 ]
2017-11-27 09:48:10 +01:00
Mark Andrews
19f6a63184
More:
...
4819. [bug] Fully backout the transaction when adding a RRset
to the resigning / removal heaps fails. [RT #46473 ]
2017-11-27 15:15:41 +11:00
Mark Andrews
14e9925868
add missing entries to .def files [RT #46215 ]
2017-11-27 13:49:39 +11:00
Mark Andrews
1dc8208a89
silence %lu vs size_t warning by casting to (unsigned long)
2017-11-24 10:25:37 +11:00
Mark Andrews
6ead410268
in rdbdb.c:setsigningtime stop breaking heap invariant property unless we are going to restore the invariant property
2017-11-24 08:47:52 +11:00
Michał Kępień
165df18f75
[master] Prevent bogus warning from being logged
...
4825. [bug] Prevent a bogus "error during managed-keys processing
(no more)" warning from being logged. [RT #46645 ]
2017-11-23 09:36:04 +01:00
Mark Andrews
9bb32395b2
silence compiler warning [RT #46471 ]
2017-11-23 17:01:40 +11:00
Mark Andrews
2f4e0e5a81
initalise serve_stale_ttl
2017-11-23 16:11:49 +11:00
Mark Andrews
78e1d7cdde
style
2017-11-23 16:09:27 +11:00
Michał Kępień
6035d557c4
[master] Refactor reclimit system test
...
4823. [test] Refactor reclimit system test to improve its
reliability and speed. [RT #46632 ]
2017-11-21 10:32:45 +01:00
Mark Andrews
900215654b
#include <isc/util.h> [RT #46626 ]
2017-11-18 11:22:44 +11:00
Tinderbox User
445cabb392
update copyright notice / whitespace
2017-11-17 23:45:28 +00:00
Mark Andrews
a197094d76
remove out of date comment
2017-11-18 08:50:58 +11:00
Mark Andrews
656eed7c9b
4821. [bug] When resigning ensure that the SOA's expire time is
...
always later that the resigning time of other records.
[RT #46473 ]
4820. [bug] dns_db_subtractrdataset should transfer the resigning
information to the new header. [RT #46473 ]
4819. [bug] Fully backout the transaction when adding a RRset
to the resigning / removal heaps fail. [RT #46473 ]
2017-11-18 07:11:12 +11:00
Mark Andrews
bcce55197a
whitespace
2017-11-14 14:48:41 +11:00
Tinderbox User
3bfc28a0d0
update copyright notice / whitespace
2017-11-13 23:45:33 +00:00
Mark Andrews
e2f9dcfd86
more DNS_NAME_INITABSOLUTE cases
2017-11-14 00:21:50 +11:00
Mark Andrews
31975d85de
remove out of date comment
2017-11-14 00:18:20 +11:00
Mark Andrews
3d905e0533
4817. [cleanup] Use DNS_NAME_INITABSOLUTE and DNS_NAME_INITNONABSOLUTE.
...
[RT #45433 ]
2017-11-13 16:58:12 +11:00
Mark Andrews
04934b28ea
4815. [bug] rbt_test.c:insert_and_delete needed to call
...
dns_rbt_addnode instead of dns_rbt_addname. [RT #46553 ]
2017-11-13 15:26:35 +11:00
Mark Andrews
c0e3e1fe44
4813. [bug] Address potential read after free errors from
...
query_synthnodata, query_synthwildcard and
query_synthnxdomain. [RT #46547 ]
2017-11-10 13:33:18 +11:00
Michał Kępień
312c84c73a
[master] Minor improvements to code handling managed keys
...
4812. [bug] Minor improvements to stability and consistency of code
handling managed keys. [RT #46468 ]
2017-11-09 15:18:39 +01:00
Mark Andrews
b231ddc65d
fix the IPv6 address length in compute_cookie. [RT #46538 ]
2017-11-09 23:59:20 +11:00
Mark Andrews
e03e455cd5
whitespace
2017-11-08 23:30:46 +11:00
Mark Andrews
a1a5145867
4811. [bug] Revert api changes to use <isc/buffer.h> inline
...
macros. Provide a alternative mechanism to turn
on the use of inline macros when building BIND.
[RT #46520 ]
2017-11-08 23:28:10 +11:00
Michał Kępień
4034b098d8
[master] Prevent junk from being logged when using "also-notify { <ip> key <keyname>; };"
2017-11-08 09:21:23 +01:00
Tinderbox User
e6801bf89e
update copyright notice / whitespace
2017-11-06 23:45:48 +00:00
Mukund Sivaraman
7e1df5182c
[master] isc_rng_randombytes()
...
4807. [cleanup] isc_rng_randombytes() returns a specified number of
bytes from the PRNG; this is now used instead of
calling isc_rng_random() multiple times. [RT #46230 ]
2017-11-06 10:44:37 -08:00
Evan Hunt
8d23105547
[master] prep 9.12.0b2
2017-11-02 11:50:07 -07:00
Evan Hunt
9bb007fd2d
[master] "zoneload" logging category
...
4806. [func] Log messages related to loading of zones are now
directed to the "zoneload" logging category.
[RT #41640 ]
2017-11-01 22:48:12 -07:00
Mark Andrews
92bbc9914c
4805. [bug] TCP4Active and TCP6Active weren't being updated
...
correctly. [RT #46454 ]
2017-11-02 10:42:42 +11:00
Mark Andrews
0698ad8503
don't use the ERR macro as GCC 7 only does a partial static analysis which generates false positives for fallthrough. [RT #46115 ]
2017-11-01 19:11:48 +11:00
Tinderbox User
db15f78ad7
update copyright notice / whitespace
2017-10-31 23:45:54 +00:00
Mark Andrews
ff30290b48
4804. [port] win32: access() does not work on directories as
...
required by POSIX. Supply a alternative in
isc_file_isdirwritable. [RT #46394 ]
2017-11-01 09:29:24 +11:00
Mark Andrews
6e02359034
tmp should be a (struct in_addr) not (struct in_addr *)
2017-10-31 10:35:07 +11:00
Mark Andrews
f5e1b555c5
4801. [func] 'dnssec-lookaside auto;' and 'dnssec-lookaside .
...
trust-anchor dlv.isc.org;' now elicit warnings rather
than being fatal configuration errors. [RT #46410 ]
2017-10-30 07:40:59 +11:00
Michał Kępień
c6c1193e39
[master] Improve clarity of keytable unit tests
...
4799. [cleanup] Improve clarity of keytable unit tests. [RT #46407 ]
2017-10-28 19:59:40 +02:00
Evan Hunt
c9f8165a06
[master] tag initializing keys
...
4798. [func] Keys specified in "managed-keys" statements
are tagged as "initializing" until they have been
updated by a key refresh query. If initialization
fails it will be visible from "rndc secroots".
[RT #46267 ]
2017-10-27 15:49:44 -07:00
Evan Hunt
959d294067
[master] remove isc-hmac-fixup
...
4797. [func] Removed "isc-hmac-fixup", as the versions of BIND that
had the bug it worked around are long past end of
life. [RT #46411 ]
2017-10-27 09:56:11 -07:00
Evan Hunt
06049b1c6c
[master] stats counter for priming queries
...
4795. [func] A new statistics counter has been added to track
priming queries. [RT #46313 ]
2017-10-26 21:38:43 -07:00
Tinderbox User
08f18efba2
update copyright notice / whitespace
2017-10-26 23:45:58 +00:00
Mark Andrews
c341e524dc
address resource leak [RT #46413 ]
2017-10-27 09:58:55 +11:00
Evan Hunt
5c76f3664c
[master] enable ISC_BUFFER_USEINLINE to be overridden
2017-10-25 21:42:56 -07:00