Mark Andrews
a7e1a91a36
support files which have CR LF ending like those in win32utils
...
(cherry picked from commit e76936fd85 )
2019-04-12 14:32:32 +10:00
Evan Hunt
7378ba8a80
Merge branch '963-dnstap-check-ra-v9_14' into 'v9_14'
...
dnstap: if recursion is not available, log queries as AQ instead of CQ
See merge request isc-projects/bind9!1799
2019-04-11 19:08:50 -04:00
Evan Hunt
ded4650794
CHANGES
2019-04-11 15:48:50 -07:00
Evan Hunt
f6c3b13522
dnstap: if recursion is not available, log queries as AQ instead of CQ
...
(cherry picked from commit 1f578cdb12 )
2019-04-11 15:45:52 -07:00
Evan Hunt
c675e366f2
Merge branch '972-auto-validation-summary-v9_14' into 'v9_14'
...
configure summary failed to report --disable-auto-validation correctly
See merge request isc-projects/bind9!1798
2019-04-11 13:05:00 -04:00
Evan Hunt
7b99a235a8
configure summary failed to report --disable-auto-validation correctly
2019-04-11 09:45:47 -07:00
Mark Andrews
57c8cb42db
Merge branch '899-add-totext-fromtext-to-wirechecks-v9_14' into 'v9_14'
...
Run wire check through "totext" and "fromtext" methods including multi-line.
See merge request isc-projects/bind9!1789
2019-04-11 06:01:29 -04:00
Mark Andrews
ad73e08b07
Add CHANGES
...
(cherry picked from commit 307a1b563b )
2019-04-11 19:47:44 +10:00
Mark Andrews
b27ef87c38
Add debug printfs
...
(cherry picked from commit b78e128a2f )
2019-04-11 19:47:44 +10:00
Mark Andrews
86bb6e23ce
Prevent WIRE_INVALID() being called without a argument
...
(cherry picked from commit e73a5b0ce3 )
2019-04-11 19:47:44 +10:00
Mark Andrews
1eb7267e60
Check multi-line output from dns_rdata_tofmttext()
...
Check that multi-line output from dns_rdata_tofmttext() can be read
back in by dns_rdata_fromtext().
(cherry picked from commit b089f43b7a )
2019-04-11 19:47:44 +10:00
Mark Andrews
14c2db8c5d
Process master file comments and make input invalid again
...
(cherry picked from commit 1a75a5cee6 )
2019-04-11 19:47:43 +10:00
Mark Andrews
4395311280
Set 'specials' to match 'specials' in 'lib/dns/master.c'
...
(cherry picked from commit 7941a9554f )
2019-04-11 19:47:43 +10:00
Mark Andrews
c5b191e78f
Fix whitespace so that the names align
...
(cherry picked from commit cc5e16e4d3 )
2019-04-11 19:47:43 +10:00
Mark Andrews
56a534ab06
Add dns_rdata_totext() and dns_rdata_fromtext() to fromwire
...
Add dns_rdata_totext() and dns_rdata_fromtext() to fromwire for
valid inputs to ensure that what we accept in dns_rdata_fromwire()
can be written out and read back in.
(cherry picked from commit 36f30f5731 )
2019-04-11 19:47:43 +10:00
Mark Andrews
63b34486c1
Merge branch '965-delv-prints-weird-ttl-values-2-v9_14' into 'v9_14'
...
Test that dig and delve print correct TTL values.
See merge request isc-projects/bind9!1786
2019-04-10 02:01:08 -04:00
Mark Andrews
fe0c131061
add CHANGES
...
(cherry picked from commit dfc485b02e )
2019-04-10 15:48:48 +10:00
Matthijs Mekking
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
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
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