Commit graph

36527 commits

Author SHA1 Message Date
Mark Andrews
6d544309a0 synthfromdnssec: use $DEFAULT_ALGORITHM
(cherry picked from commit 73fd49f8bb)
2022-08-10 17:25:26 +10:00
Mark Andrews
2144febc9d staticstub: use $DEFAULT_ALGORITHM
(cherry picked from commit 32337b9dbf)
2022-08-10 17:25:26 +10:00
Mark Andrews
b380473ca2 smartsign: use $DEFAULT_ALGORITHM
(cherry picked from commit 941b95edb0)
2022-08-10 17:25:26 +10:00
Mark Andrews
bb981e0d68 rpz: use $DEFAULT_ALGORITHM
(cherry picked from commit 1861c3e503)
2022-08-10 17:25:26 +10:00
Mark Andrews
b57457e754 rootkeysentinel: use $DEFAULT_ALGORITHM
(cherry picked from commit b0e1d9b1b3)
2022-08-10 17:25:26 +10:00
Mark Andrews
e756c4c0f3 resolver: use $DEFAULT_ALGORITHM
(cherry picked from commit 05ef8c81dd)
2022-08-10 17:25:26 +10:00
Mark Andrews
62d50d3b23 redirect: use $DEFAULT_ALGORITHM
(cherry picked from commit e0e03602ba)
2022-08-10 17:25:26 +10:00
Mark Andrews
c1f7fd282a pending: use $DEFAULT_ALGORITHM
(cherry picked from commit 6fd50b9fda)
2022-08-10 17:25:26 +10:00
Mark Andrews
c5d5e20c8f nsupdate: use $DEFAULT_ALGORITHM
(cherry picked from commit c2d18567fc)
2022-08-10 17:25:26 +10:00
Mark Andrews
64d2dc174b mkeys: use $DEFAULT_ALGORITHM
(cherry picked from commit 78fa082999)
2022-08-10 17:25:26 +10:00
Mark Andrews
647e4c0d9b mirror: use $DEFAULT_ALGORITHM
(cherry picked from commit ff95bafa39)
2022-08-10 17:25:26 +10:00
Mark Andrews
7c100effd2 metadata: use $DEFAULT_ALGORITHM
(cherry picked from commit 3f1dc83bfb)
2022-08-10 17:25:26 +10:00
Mark Andrews
db5eb04f4a inline: use $DEFAULT_ALGORITHM
(cherry picked from commit e3acddefd1)
2022-08-10 17:25:26 +10:00
Mark Andrews
73f2c501a5 dsdigest: use $DEFAULT_ALGORITHM
(cherry picked from commit 49de14cb9e)
2022-08-10 17:25:26 +10:00
Mark Andrews
5aad0a38e8 dnssec: use $DEFAULT_ALGORITHM
(cherry picked from commit d0b0139c90)
2022-08-10 17:25:26 +10:00
Mark Andrews
642d5963d9 dns64: use $DEFAULT_ALGORITHM
(cherry picked from commit 5cbf1e1598)
2022-08-10 17:25:26 +10:00
Mark Andrews
f3658af717 chain: use $DEFAULT_ALGORITHM
(cherry picked from commit 3419178bd2)
2022-08-10 17:25:26 +10:00
Mark Andrews
2cbfb22d2f cds: use $DEFAULT_ALGORITHM
(cherry picked from commit 6cf0b73ede)
2022-08-10 17:25:26 +10:00
Mark Andrews
f970186979 autosign: use $DEFAULT_ALGORITHM
(cherry picked from commit bb810b0ac9)
2022-08-10 17:25:26 +10:00
Mark Andrews
c06815dede Use DEFAULT_HMAC for rndc
(cherry picked from commit ce324ae8ba)
2022-08-10 17:25:26 +10:00
Evan Hunt
55d0fd0a11 Merge branch '3483-memstat-assertion-v9_18' into 'v9_18'
fix overflow error in mem_putstats()

See merge request isc-projects/bind9!6645
2022-08-09 18:42:48 +00:00
Evan Hunt
1843780151 fix overflow error in mem_putstats()
an integer overflow could cause an assertion failure when
freeing memory.

(cherry picked from commit 0401e0867b1516386fab9b390b750a2f99883188)
2022-08-09 11:21:35 -07:00
Matthijs Mekking
5d200cb2bd Merge branch '2982-servfail-servestale-duplicate-queries-v9_18' into 'v9_18'
[v9_18] Don't enable serve-stale on duplicate queries

See merge request isc-projects/bind9!6642
2022-08-09 09:02:41 +00:00
Matthijs Mekking
350cc2df28 Add release note and change entry for #2982
News worthy.

(cherry picked from commit 2bd448676604f6b9e1a01c5b0615f45c3b35ffed)
2022-08-09 09:36:17 +02:00
Matthijs Mekking
5e908a988f Don't enable serve-stale on duplicate queries
When checking if we should enable serve-stale, add an early out case
when the result is an error signalling a duplicate query or a query
that would be dropped.

(cherry picked from commit 059a4c2f4d9d3cff371842f43208d021509314fa)
2022-08-09 09:36:11 +02:00
Arаm Sаrgsyаn
18bdce8477 Merge branch '3478-dig-lookup-reference-counting-bug-v9_18' into 'v9_18'
[v9_18] DiG: fix lookup reference counting bug

See merge request isc-projects/bind9!6640
2022-08-08 11:43:13 +00:00
Aram Sargsyan
b83ff9cb20 Add CHANGES note for [GL #3478]
(cherry picked from commit 8eea655053e17def61815965d1bbb13bf03d3b53)
2022-08-08 10:48:46 +00:00
Aram Sargsyan
b23d88947a DiG: fix lookup reference counting bug
When DiG finishes its work with a lookup (due to success or error), it
calls the clear_current_lookup() function, which decreases the lookup's
reference count. That decrease action is the counterpart of the initial
creation of the reference counter, so this function was designed in such
a way that it should decrease the reference count only once, when there
are no more active queries in the lookup.

The way it checks whether there are any active queries is by looking
at the queries list of the lookup object - if it's NULL then there are
no active queries. But that is not always true - the cancel_lookup()
function, when canceling the queries one by one, also removes them
from the lookup's list, but in NSSEARCH mode, when the queries are
working in parallel, some of those queries can be still active. And
when their recv_done() callback gets called, it sees that the lookup
has been canceled, calls clear_current_lookup(), which decreases the
reference count every time for each query that was still active
(because ISC_LIST_HEAD(lookup->q) is NULL) and results in a reference
counting error.

Fix the issue by introducing a new "cleared" property for the lookup,
which will ensure that the clear_current_lookup() function does its
job only once per lookup.

(cherry picked from commit 08ba2732e061710d3622ae181de33bbaaf63f63c)
2022-08-08 10:48:38 +00:00
Matthijs Mekking
e8758c0d81 Merge branch '3479-mysql-is-not-ldap-v9_18' into 'v9_18'
[v9_18] Fix mysql bindings

See merge request isc-projects/bind9!6639
2022-08-08 08:47:57 +00:00
Matthijs Mekking
4078990717 Fix mysql bindings
There was a copy paste error in the Makefile of the mysql dlz modules,
instead of setting the MYSQL_LIBS, LDAP_LIBS where set. This caused
the mysql bindings not to be generated.

(cherry picked from commit 38c740053b4905c48128bc0044a081bab809bf76)
2022-08-08 09:45:49 +02:00
Michał Kępień
5cb75e3c7a Merge branch 'michal/set-up-version-and-release-notes-for-bind-9.18.7' into 'v9_18'
Set up version and release notes for BIND 9.18.7

See merge request isc-projects/bind9!6633
2022-08-05 06:40:36 +00:00
Michał Kępień
3cd90c9a39 Set up release notes for BIND 9.18.7 2022-08-05 06:57:18 +02:00
Michał Kępień
f63ffe40bb Update BIND version to 9.18.7-dev 2022-08-05 06:57:18 +02:00
Artem Boldariev
4552658d1b Merge branch 'tls-fix-readpaused-usage-v9-18' into 'v9_18'
[Backport v9.18] TLS: do not ignore readpaused flag in certain circumstances

See merge request isc-projects/bind9!6629
2022-08-02 16:17:21 +00:00
Artem Boldariev
c2fa72027c TLS: do not ignore readpaused flag in certain circumstances
In some circumstances generic TLS code could have resumed data reading
unexpectedly on the TCP layer code. Due to this, the behaviour of
isc_nm_pauseread() and isc_nm_resumeread() might have been
unexpected. This commit fixes that.

The bug does not seems to have real consequences in the existing code
due to the way the code is used. However, the bug could have lead to
unexpected behaviour and, at any rate, makes the TLS code behave
differently from the TCP code, with which it attempts to be as
compatible as possible.

(cherry picked from commit ec0647d546204a0e09aeaf0e2aabb37f1fb67dd0)
2022-08-02 17:31:15 +03:00
Arаm Sаrgsyаn
097a57e804 Merge branch '3461-fetches-per-zone-final-log-message-v9_18' into 'v9_18'
[v9_18] Resolve "Do a better job of logging when fetches-per-zone is triggered"

See merge request isc-projects/bind9!6625
2022-08-01 14:34:27 +00:00
Aram Sargsyan
0179459d83 Add CHANGES and release notes for [GL #3461]
(cherry picked from commit 0d64f55f5dee7ffee76ddc1e4df15514ab7882c9)
2022-08-01 13:55:03 +00:00
Aram Sargsyan
47e4ef0696 Improve fetch limit logging
When initially hitting the `fetches-per-zone` value, a log message
is being generated for the event of dropping the first fetch, then
any further log events occur only when another fetch is being dropped
and 60 seconds have been passed since the last logged message.

That logic isn't ideal because when the counter of the outstanding
fetches reaches zero, the structure holding the counters' values will
get deleted, and the information about the dropped fetches accumulated
during the last minute will not be logged.

Improve the fcount_logspill() function to makie sure that the final
values are getting logged before the counter object gets destroyed.

(cherry picked from commit 039871ceb767088205563965f7aae622a3f77082)
2022-08-01 13:54:46 +00:00
Petr Špaček
8801d2668e Merge branch 'ron-tags-3-v9_18' into 'v9_18'
Add tags and short descriptions to all configuration statements [v9_18]

See merge request isc-projects/bind9!6624
2022-08-01 09:00:46 +00:00
Petr Špaček
a2c59b949f
Add tags and short description to statements not documented in v9_19 2022-08-01 10:53:25 +02:00
Petr Špaček
67e8e8ff20
Add last missing tags, finishing touches
(cherry picked from commit 43c6a6a48b25930da217a888749780557c629252)
2022-08-01 10:12:13 +02:00
Suzanne Goldlust
c0177bfe4a
Add descriptions of each tag
(cherry picked from commit 8d765840901a79a1786abbcabe02e888eb0d3820)
2022-08-01 10:12:13 +02:00
Suzanne Goldlust
b2159d42b2
Text edits to Statements and Statements by Tag sections
(cherry picked from commit d4b93c4bd6eebaaafe3c40f43671113c5543f645)
2022-08-01 10:12:13 +02:00
Suzanne Goldlust
17d5e43e71
Reorder Statements and Statements by Tag sections
(cherry picked from commit 2cd32eb06df70b1959d3d41e519de44a9f3172bc)
2022-08-01 10:12:13 +02:00
Suzanne Goldlust
ac7d65557b
Rephrase parental-agents description
(cherry picked from commit 21c9166abb53a9f47017a43c380bc59320b6f0e4)
2022-08-01 10:12:12 +02:00
Suzanne Goldlust
7e13992ee7
Add short description for plugin statement
(cherry picked from commit d14828c5a71df0acd1eb5d465e9ae7d75d26a56c)
2022-08-01 10:12:12 +02:00
Suzanne Goldlust
16773a53ed
Add tag and short description for dyndb statement
(cherry picked from commit 5b90f4caa4481858b6c3a0e8fc0f5e38e5d1aa7a)
2022-08-01 10:12:12 +02:00
Suzanne Goldlust
8b0b402ec8
Add tags and short descriptions for dlz and search statements
(cherry picked from commit 93bb1a42f92dd01c90c13207196da12f3a46b972)
2022-08-01 10:12:12 +02:00
Suzanne Goldlust
c1c0197c9a
Add tag and short description for catalog-zones statement
(cherry picked from commit e4f991c1d475d0b6e6cfabe040518f7934cd756d)
2022-08-01 10:12:12 +02:00
Suzanne Goldlust
3c45f366a6
Add short descriptions and some tags to statements through line 1766
(cherry picked from commit 21b8988f803e60ad39f7bb7770d7761a37e1d372)
2022-08-01 10:12:07 +02:00