Mark Andrews
fe0c131061
add CHANGES
...
(cherry picked from commit dfc485b02e )
2019-04-10 15:48:48 +10:00
Matthijs Mekking and Mark Andrews
5b77d02cbb
Check dig TTLs.
...
This also fixes a bug in the tests ($n was not incremented in one
place).
(cherry picked from commit 195277ca6d )
2019-04-10 15:48:48 +10:00
Mark Andrews
f471907db8
Check delv TTLs.
...
(cherry picked from commit 146202d6a8 )
2019-04-10 15:48:48 +10:00
Mark Andrews
6ba7607283
Merge branch '965-delv-prints-weird-ttl-values-v9_14' into 'v9_14'
...
Initialise view->mincachettl and view->minncachettl to zero in dns_view_create.
See merge request isc-projects/bind9!1785
2019-04-10 01:20:45 -04:00
Mark Andrews
dad1a49e4e
Add CHANGES.
...
(cherry picked from commit 538da8c80d )
2019-04-10 15:08:33 +10:00
Mark Andrews
10fba8fd8d
Initialise mincachettl and minncachettl to zero in dns_view_create.
...
(cherry picked from commit 8fd4308bda )
2019-04-10 15:08:33 +10:00
Mark Andrews
3818f05513
Merge branch '899-enforce-hash-in-ds-v9_14' into 'v9_14'
...
enforce DS hash exists
See merge request isc-projects/bind9!1783
2019-04-10 01:03:30 -04:00
Mark Andrews
92bb35b2f5
add CHANGES
...
(cherry picked from commit 97b7360ce1 )
2019-04-10 14:44:05 +10:00
Mark Andrews
480bcb314d
add ds unit test
...
(cherry picked from commit 6eb28eda1e )
2019-04-10 14:44:05 +10:00
Mark Andrews
b24c128a2c
enforce DS hash exists
...
(cherry picked from commit b274f3fad7 )
2019-04-10 14:44:05 +10:00
Mark Andrews
4b3df7b577
Merge branch '852-run-fromtext-through-fromwire-v9_14' into 'v9_14'
...
check that from fromtext produces valid towire input
See merge request isc-projects/bind9!1780
2019-04-09 23:36:54 -04:00
Mark Andrews
2e7a18fb3c
add CHANGES
...
(cherry picked from commit d712b88048 )
2019-04-10 13:24:17 +10:00
Mark Andrews
d006ae2195
check that from fromtext produces valid towire input
...
(cherry picked from commit 7b0a653858 )
2019-04-10 13:24:17 +10:00
Ondřej Surý
25b1635310
Merge branch '971-downgrade-DLZ_DBCLIENTINFO_VERSION-in-dlz_minimal.h-v9_14' into 'v9_14'
...
Downgrade the dns_clientinfomethod structure to the version in lib/dns/clientinfo.c
See merge request isc-projects/bind9!1778
2019-04-09 15:39:25 -04:00
Ondřej Surý
69e218ea45
Downgrade the dns_clientinfomethod structure to the version in lib/dns/clientinfo.c
...
(cherry picked from commit a6f09b2255 )
2019-04-09 20:25:53 +01:00
Mark Andrews
e09a3f0a2b
Merge branch '899-fromwire-check-flags-for-nokey-v9_14' into 'v9_14'
...
Check KEY flags for empty key in fromwire method
See merge request isc-projects/bind9!1776
2019-04-09 00:49:12 -04:00
Mark Andrews
3c32b765c1
add CHANGES
...
(cherry picked from commit f78c688c4f )
2019-04-09 14:22:50 +10:00
Mark Andrews
53a62e2977
for rkey flags MUST be zero
...
(cherry picked from commit 82d4931440 )
2019-04-09 14:22:50 +10:00
Mark Andrews
07d024a4da
check flags for no key in fromwire for *KEY
...
(cherry picked from commit 2592e91516 )
2019-04-09 14:22:50 +10:00
Mark Andrews
356bf021e2
Merge branch '976-dns-ecs-h-missing-isc_lang_enddecls-v9_14' into 'v9_14'
...
Resolve "dns/ecs.h missing ISC_LANG_ENDDECLS"
See merge request isc-projects/bind9!1775
2019-04-08 22:19:11 -04:00
Mark Andrews
14313d798a
<dns/ecs.h> was missing ISC_LANG_ENDDECLS.
...
(cherry picked from commit 698a6f955e )
2019-04-09 12:05:57 +10:00
Evan Hunt
e5de594ddb
Merge branch '973-pause-dbiterator-in-rpz-v9_14' into 'v9_14'
...
Fix deadlock in RPZ update code.
See merge request isc-projects/bind9!1772
2019-04-06 15:55:03 -04:00
Witold Kręcicki and Evan Hunt
6e63d7047d
Fix deadlock in RPZ update code.
...
In dns_rpz_update_from_db we call setup_update which creates the db
iterator and calls dns_dbiterator_first. This unpauses the iterator and
might cause db->tree_lock to be acquired. We then do isc_task_send(...)
on an event to do quantum_update, which (correctly) after each iteration
calls dns_dbiterator_pause, and re-isc_task_sends itself.
That's an obvious bug, as we're holding a lock over an async task send -
if a task requesting write (e.g. prune_tree) is scheduled on the same
workers queue as update_quantum but before it, it will wait for the
write lock indefinitely, resulting in a deadlock.
To fix it we have to pause dbiterator in setup_update.
(cherry picked from commit 06021b3529 )
2019-04-06 12:41:36 -07:00
Witold Krecicki
5ca807d65d
Merge branch '966-resume-qmin-shuttingdown-v9_14' into 'v9_14'
...
Resolve "Crash in resolver code"
See merge request isc-projects/bind9!1766
2019-04-03 10:57:36 -04:00
Witold Kręcicki
4df48b84c1
CHANGES
...
(cherry picked from commit d11791e24c )
2019-04-03 16:34:33 +02:00
Witold Kręcicki
9ff296afeb
In resume_qmin check if the fetch context is already shutting down - if so, try to destroy it, don't continue
...
(cherry picked from commit 7c960e89ea )
2019-04-03 16:34:33 +02:00
Michał Kępień
4024dac62b
Merge branch '893-do-not-rely-on-default-dig-options-in-system-tests-v9_14' into 'v9_14'
...
[v9_14] Do not rely on default dig options in system tests
See merge request isc-projects/bind9!1764
2019-04-03 07:21:57 -04:00
Michał Kępień
915f94a6a3
Do not rely on default dig options in system tests
...
Some system tests assume dig's default setings are in effect. While
these defaults may only be silently overridden (because of specific
options set in /etc/resolv.conf) for BIND releases using liblwres for
parsing /etc/resolv.conf (i.e. BIND 9.11 and older), it is arguably
prudent to make sure that tests relying on specific +timeout and +tries
settings specify these explicitly in their dig invocations, in order to
prevent test failures from being triggered by any potential changes to
current defaults.
(cherry picked from commit b6cce0fb8b )
2019-04-03 12:57:45 +02:00
Mark Andrews
cabee6b765
Merge branch '920-see-problem-when-multiple-sigs-with-besteffort-parsing-v9_14' into 'v9_14'
...
Address problems with best effort parsing.
See merge request isc-projects/bind9!1752
2019-03-26 06:46:09 -04:00
Mark Andrews
ffdd736b63
add CHANGES
...
(cherry picked from commit b779342017 )
2019-03-26 21:32:08 +11:00
Witold Kręcicki and Mark Andrews
69d3bb78c2
Fix assertion failure in nslookup/dig/mdig when message has multiple SIG(0) options.
...
When parsing message with DNS_MESSAGE_BESTEFFORT (used exclusively in
tools, never in named itself) if we hit an invalid SIG(0) in wrong
place we continue parsing the message, and put the sig0 in msg->sig0.
If we then hit another sig0 in a proper place we see that msg->sig0
is already 'taken' and we don't free name and rdataset, and we don't
set seen_problem. This causes an assertion failure.
This fixes that issue by setting seen_problem if we hit second sig0,
tsig or opt, which causes name and rdataset to be always freed.
(cherry picked from commit 51a55ddbb7 )
2019-03-26 21:32:08 +11:00
Mark Andrews
ddfd5be3b7
Merge branch '955-make-install-fails-after-configure-with-dlopen-no-v9_14' into 'v9_14'
...
Resolve "`make install` fails after ./configure --with-dlopen=no"
See merge request isc-projects/bind9!1750
2019-03-26 05:09:06 -04:00
Mark Andrews
7a0f39b848
add CHANGES
...
(cherry picked from commit bd670d4a04 )
2019-03-26 19:54:40 +11:00
Mark Andrews
8c2a3b03f4
fix plugin installation
...
(cherry picked from commit cd3593c38d )
2019-03-26 19:54:39 +11:00
Evan Hunt
e1240eaa2e
Merge branch 'each-merge-9140-doc' into 'v9_14'
...
merge version updates for 9.14.0rc3 and 9.14.0
See merge request isc-projects/bind9!1748
2019-03-22 13:35:42 -04:00
Tinderbox User and Evan Hunt
684f90a674
doc rebuild
2019-03-22 10:35:15 -07:00
Tinderbox User and Evan Hunt
e6225b210b
prep 9.14.0
2019-03-22 10:35:15 -07:00
Tinderbox User and Evan Hunt
19c53595ff
doc rebuild
2019-03-22 10:35:15 -07:00
Tinderbox User and Evan Hunt
2d36283bc1
prep 9.14.0rc3
2019-03-22 10:35:15 -07:00
Tinderbox User and Evan Hunt
fdeb694c1e
doc rebuild
2019-03-22 10:35:15 -07:00
Tinderbox User and Evan Hunt
fc43fe565a
prep 9.14.0rc2
2019-03-22 10:35:15 -07:00
Ondřej Surý
9cfcce0858
Merge branch '4-make-dnstap.pb-c.h-private-v9_14' into 'v9_14'
...
(v9_14) Make lib/dns/dnstap.pb-c.h header a private to lib/dns
See merge request isc-projects/bind9!1745
2019-03-22 07:20:10 -04:00
Ondřej Surý
7485a4332e
Make lib/dns/dnstap.pb-c.h private header
...
This changes dns_dtdata struct to not expose data types from dnstap.pb-c.h to
prevent the need for including this header where not really needed.
(cherry picked from commit 8ccce7e24b )
2019-03-22 12:07:31 +01:00
Evan Hunt
ffb950c8ae
Merge branch '913-allow-update-v9_14' into 'v9_14'
...
restore inheritance of 'allow-update' and 'allow-update-forwarding'
See merge request isc-projects/bind9!1743
2019-03-22 03:29:39 -04:00
Evan Hunt
6b09e885b8
CHANGES, release notes
...
(cherry picked from commit 55a7961cf3 )
2019-03-22 00:15:22 -07:00
Evan Hunt
dde35a8edf
don't fail when allow-update{,-forwarding} is used globally
...
(cherry picked from commit 91dca0f8da )
2019-03-22 00:14:52 -07:00
Mark Andrews
a31960314a
Merge branch '899-zonemd-check-for-hash-existence-v9_14' into 'v9_14'
...
zonemd require non empty hash
See merge request isc-projects/bind9!1740
2019-03-21 16:10:49 -04:00
Mark Andrews
5125a367ad
add CHANGES
...
(cherry picked from commit e1db1b8dcb )
2019-03-22 06:52:10 +11:00
Mark Andrews
753d77c51f
Disallow empty ZONEMD hashes
...
This change is the result of discussions with the authors of
draft-wessels-dns-zone-digest.
(cherry picked from commit 473987d8d9 )
2019-03-22 06:52:10 +11:00
Mark Andrews
e4bd0c00e2
Merge branch '899-eid-totext-is-broken-v9_14' into 'v9_14'
...
EID and NIMLOC totext is broken.
See merge request isc-projects/bind9!1736
2019-03-21 05:40:45 -04:00