Commit graph

35332 commits

Author SHA1 Message Date
Michal Nowak
f00a212cb8
TSAN summarising line was misplaced in run.sh
The line summarising TSAN reports was misplaced in the ASAN territory
and thus never used.

I also made core dumps, assertion failures, and TSAN reports detection
independent of each other.

(cherry picked from commit 0c4c7ddec4)
2023-05-19 14:55:23 +02:00
Michal Nowak
0c2ef4ab80 Merge branch 'mnowak/danger-test-pairwise-hint-9.16' into 'bind-9.16'
[9.16] Add a friendly Danger plea to run the pairwise CI job

See merge request isc-projects/bind9!7954
2023-05-19 12:41:34 +00:00
Michal Nowak
dd996601d0
Add a friendly Danger plea to run the pairwise CI job
Sometimes a pairwise definition for a new ./configure switch is added
but not tested in the CI.

(cherry picked from commit 96563c6020)
2023-05-19 14:34:54 +02:00
Michal Nowak
f905df3b7c Merge branch 'mnowak/fedora-38-9.16' into 'bind-9.16'
[9.16] Add Fedora 38

See merge request isc-projects/bind9!7952
2023-05-19 12:10:55 +00:00
Michal Nowak
f3a98ae6bd
Add Fedora 38
(cherry picked from commit 2e0550970b)
2023-05-19 14:05:45 +02:00
Michal Nowak
5554e4e57d Merge branch '4076-nsupdate-disable-too-many-DNS-UPDATEs-queued-check-on-windows' into 'bind-9.16'
Disable exceeded quota check on Windows

See merge request isc-projects/bind9!7943
2023-05-18 15:13:24 +00:00
Michal Nowak
4078347d80
Disable exceeded quota check on Windows
This check is too unstable on Windows. Given the bind-9.16 branch is in
security fixes-only mode, something unlikely to be investigated before
the branch goes EOL.
2023-05-18 16:57:55 +02:00
Michał Kępień
e737e2b523 BIND 9.16.41
-----BEGIN PGP SIGNATURE-----
 
 iQJDBAABCgAtFiEENKwGS3ftSQfs1TU17QVz/8hFYQUFAmRaMQYPHG1pY2hhbEBp
 c2Mub3JnAAoJEO0Fc//IRWEFw0cP/jKlSQChXO4z+43eDb3JNFmNz6T7nXsVziSM
 2DwWI21gNDSfTVpVASeAQQP6EkvM41rkP8S2TOnc1YiIOrMdHAp+46ONaLfHumqP
 jt30T8zvwwjNbKcn7BA0Q4Sm2do3BZAmfV++uv+HEEpm9Gmfa/2GVt8hQmqea8oS
 XiUiqjsEYeX6RGXd1lhKzxeNSlJ6RlJCo5W60My2BhlDfEr8RaKluoM0AWKUr1mA
 3KMEtrM2g2KO6P03SVq+842Yh0AX1ZbX94dDFcIqc+j7LxYCwjLyU7D1am3rzF7Q
 3j2xwAFL4DRCnbykN0fK2nhfpI5sAJvNrjwnqHt+RHOCi/LOdnnHhbKIwL0JbJEc
 SSZgksAHKy7MWTkbWK5usEmEFEvw1WAaNd93EXzZC7ffTNbybtqZDwJXqEl3Jp6u
 fo9VvpxZxwR3ZsOYqt6PVRXBw+YEpbZivOr3wflDt2C6vw7QuJSKv5ZcIHsMGHCE
 iNd9Y5JvPif5KqzYkkODXkXkvl5IuGj2ew27wJRKNx71RHU61lX7hZeDFmVh8ErK
 lSScqZ9vJLM13PDjUC+SpbXGr+4yvH2IWyCCYVgX1Cp3T6F3pmyJlX5h7IxDxXH3
 yirmjZvYJ/dA5oFAkdDv3wnirSEwWkl+go75dEE4tfTDNQfQb8oW3HAXKYNjxZKO
 O4sB6XwW
 =i4V7
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN SSH SIGNATURE-----
 U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAg25GGAuUyFX1gxo7QocNm8V6J/8
 frHSduYX7Aqk4iJLwAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
 AAAAQGPDNt0nILIh6eFJI6EBqONXc8SfDeNMQu7pAn8gYSSGxWTXVimkDHkUSWIBnhbD0y
 F7J8ZTtpcAOKV9pr+W3As=
 -----END SSH SIGNATURE-----

Merge tag 'v9.16.41' into bind-9.16

BIND 9.16.41
2023-05-18 14:17:30 +02:00
Mark Andrews
ad3c012ff2 Merge branch '4035-fuzz-mem-c-871-fatal-error-runtime_check-pthread_mutex_lock-contextslock-0-0-34-0-failed' into 'bind-9.16'
Resolve "fuzz: mem.c:871: fatal error: RUNTIME_CHECK(((pthread_mutex_lock(((&contextslock))) == 0) ? 0 : 34) == 0) failed"

See merge request isc-projects/bind9!7907
2023-05-18 04:10:46 +00:00
Mark Andrews
e50c962061 Remove init and deinit from fuzz.h
Constructors and destructors for the main program are not reliable
as they may be called before constructors for shared libraries they
depend upon or be called after destructors of shared libraries they
depend upon.
2023-05-18 13:45:22 +10:00
Mark Andrews
be6bf6e9a4 Merge branch '4066-resolv-conf-parsing-eats-lines-if-more-than-3-nameservers-set-bind-9.16' into 'bind-9.16'
[9.16] Resolve "resolv.conf parsing eats lines if more than 3 nameservers set"

See merge request isc-projects/bind9!7942
2023-05-17 23:36:57 +00:00
Mark Andrews
9916cbabbc Add CHANGES for [GL #4066]
(cherry picked from commit 36dab033dc)
2023-05-18 08:52:52 +10:00
Mark Andrews
a01c0e175a Properly process extra nameserver lines in resolv.conf
The whole line needs to be read rather than just the token "nameserver"
otherwise the next line in resolv.conf is not properly processed.

(cherry picked from commit 864cd08052)
2023-05-18 08:52:17 +10:00
Michal Nowak
867deef895 Merge branch 'mnowak/openbsd-7.3-9.16' into 'bind-9.16'
[9.16] Add OpenBSD 7.3

See merge request isc-projects/bind9!7930
2023-05-15 18:38:03 +00:00
Michal Nowak
bfe80552fd
Add OpenBSD 7.3
(cherry picked from commit ff52cd9604)
2023-05-15 19:54:42 +02:00
Michal Nowak
2c9cc09729 Merge branch 'mnowak/freebsd-13.2-9.16' into 'bind-9.16'
[9.16] Add FreeBSD 13.2

See merge request isc-projects/bind9!7928
2023-05-15 16:53:54 +00:00
Michal Nowak
1e2d7c933f
Add FreeBSD 13.2
(cherry picked from commit 81ad645d7d)
2023-05-15 18:37:04 +02:00
Arаm Sаrgsyаn
e857952e60 Merge branch '4054-zone_resigninc-bugfix-9.16' into 'bind-9.16'
[9.16] zone_resigninc(): check whether zone->db is a valid pointer before attaching

See merge request isc-projects/bind9!7924
2023-05-15 14:00:45 +00:00
Aram Sargsyan
86a8bc180b Add a CHANGES note for [GL #4054]
(cherry picked from commit 00ed5f84a9)
2023-05-15 12:05:51 +00:00
Aram Sargsyan
537c2d2c68 Check whether zone->db is a valid pointer before attaching
The zone_resigninc() function does not check the validity of
'zone->db', which can crash named if the zone was unloaded earlier,
for example with "rndc delete".

Check that 'zone->db' is not 'NULL' before attaching to it, like
it is done in zone_sign() and zone_nsec3chain() functions, which
can similarly be called by zone maintenance.

(cherry picked from commit fae0930eb8)
2023-05-15 12:05:11 +00:00
Michal Nowak
2f890fd8c7 Merge branch 'mnowak/drop_set_key_default_values' into 'bind-9.16'
Drop set_key_default_values function

See merge request isc-projects/bind9!7910
2023-05-12 09:11:57 +00:00
Michal Nowak
8cdfde8b35
Drop set_key_default_values function
The set_key_default_values function hasn't been backported to bind-9.16
and produces a warning in the nsec3 system test:

    tests.sh: line 234: set_key_default_values: command not found
2023-05-12 10:55:08 +02:00
Michal Nowak
c376d602a5 Merge branch 'mnowak/coverity-scan-2022.12-9.16' into 'bind-9.16'
[9.16] Use the latest Coverity Scan

See merge request isc-projects/bind9!7919
2023-05-12 08:54:40 +00:00
Michal Nowak
54e33e62ab
Use the latest Coverity Scan
(cherry picked from commit 68dd458764)
2023-05-12 10:24:35 +02:00
Michal Nowak
a9ec56b717 Merge branch 'mnowak/pytest_rewrite_ttl-9.16' into 'bind-9.16'
[9.16] Rewrite the ttl system test to pytest

See merge request isc-projects/bind9!7916
2023-05-11 15:30:45 +00:00
Michal Nowak
4cc7feee24
Rewrite the ttl system test to pytest
(cherry picked from commit 0c05c3d97b)
2023-05-11 16:53:04 +02:00
Michal Nowak
cb2ef29ff2 Merge branch 'mnowak/clang-16-9.16' into 'bind-9.16'
[9.16] Update clang to version 16

See merge request isc-projects/bind9!7913
2023-05-11 13:14:00 +00:00
Michal Nowak
ab9d43f814
Update sources to Clang 16 formatting 2023-05-11 14:26:14 +02:00
Michal Nowak
1a9d260424
Update clang to version 16
(cherry picked from commit 30aa258107)
2023-05-11 14:24:59 +02:00
Tom Krizek
d21e2ec36e Merge branch 'tkrizek/shutdown-test-exc-handling-9.16' into 'bind-9.16'
[9.16] Ensure named always terminates in the shutdown test

See merge request isc-projects/bind9!7903
2023-05-10 14:15:24 +00:00
Tom Krizek
fd1d359965
Ensure named always terminates in the shutdown test
Previously, if an exception would happen inside the `with` block, the
error handler would wait indefinitely for the process to end. That would
never happen, since the termination signal was never sent to named and
the test would get stuck.

Using the try-finally block ensures that the named process is always
killed and any exception or errors will be handled gracefully.

(cherry picked from commit 836e6ed284)
2023-05-10 13:32:55 +02:00
Tom Krizek
7bbc38da95
Refactor shutdown test into more helper functions
Improve code readability by splitting the test into more functions. Some
could be re-used later on for more general-purpose subprocess handling
or named checks.

(cherry picked from commit 9d64f1c1ed)
2023-05-10 13:32:51 +02:00
Michał Kępień
eba4910923 Merge branch 'michal/set-up-version-and-release-notes-for-bind-9.16.42' into 'bind-9.16'
Set up version and release notes for BIND 9.16.42

See merge request isc-projects/bind9!7901
2023-05-10 08:47:58 +00:00
Michał Kępień
4246799bed
Set up release notes for BIND 9.16.42 2023-05-10 10:41:42 +02:00
Michał Kępień
bfb2a0c2a8
Update BIND version to 9.16.42-dev 2023-05-10 10:41:42 +02:00
Michał Kępień
4df4cecf05
Merge branch 'prep-release' into v9.16.41-release 2023-05-09 13:37:39 +02:00
Michał Kępień
0238d51f78
prep 9.16.41 2023-05-09 13:37:27 +02:00
Michał Kępień
9992868eb3 Merge branch 'michal/prepare-documentation-for-bind-9.16.41' into 'v9.16.41-release'
Prepare documentation for BIND 9.16.41

See merge request isc-private/bind9!517
2023-05-09 11:36:00 +00:00
Michał Kępień
67a9900de8
Add release note for GL #4027 2023-05-09 13:27:20 +02:00
Michał Kępień
38c1bca986
Prepare release notes for BIND 9.16.41 2023-05-09 13:27:20 +02:00
Michał Kępień
452d16e2b4
Apply minor corrections to CHANGES 2023-05-09 13:27:20 +02:00
Mark Andrews
7eb03dc29c Merge branch '2447-rbt_serialize_test-c-runtime-error-member-access-within-misaligned-address' into 'bind-9.16'
Resolve "rbt_serialize_test.c: runtime error: member access within misaligned address"

See merge request isc-projects/bind9!7852
2023-05-05 07:42:04 +00:00
Mark Andrews
300a2fb4ba Check the pointer alignments when deserialising
deserialize_corrupt_test may corrupt the pointers such that they
is no longer properly aligned.  Check that the alignment is consistent
with memory returned from isc_mem before checking the magic value.
2023-05-05 07:04:31 +00:00
Mark Andrews
9b57b81ed0 Merge branch '4027-nsec3-of-removed-empty-non-terminal-remains-in-chain-breaking-validation-tools-bind-9.16' into 'bind-9.16'
[9.16] Resolve "NSEC3 of removed empty-non-terminal remains in chain, breaking validation tools"

See merge request isc-projects/bind9!7868
2023-04-25 07:05:25 +00:00
Mark Andrews
96ebc38cd2 Add CHANGES note for [GL #4027]
(cherry picked from commit 7dbb2b877b)
2023-04-25 06:52:44 +01:00
Mark Andrews
aa73fda9bf Check removal of ENT when subdomains are removed
Empty-non-terminal NSEC records where not always removed when the
delegations generating them where removed via update. Check that
they now are.

(cherry picked from commit ad91a70d15)
2023-04-25 06:51:11 +01:00
Mark Andrews
3d8a223256 Cleanup orphaned empty-non-terminal NSEC3
When OPTOUT was in use we didn't ensure that NSEC3 records
for orphaned empty-non-terminals where removed.  Check if
there are orphaned empty-non-terminal NSEC3 even if there
wasn't an NSEC3 RRset to be removed in dns_nsec3_delnsec3.

(cherry picked from commit 27160c137f)
2023-04-25 06:46:17 +01:00
Michał Kępień
d94f2550fb BIND 9.16.40
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEEVO2++xeDVoSYmDzq9WHzfBlga4FAmQ1knMACgkQq9WHzfBl
 ga56BQ/8D6UPhDxM1FRx1tL1jgSlrLCMOBxyHY1zQjZnR3Px+KxuhJhqcdGzMd0F
 +szpAt4p1rZhi+dfyBRVjU+kqYM7D9q8k+UGZ/8193FEWFU3N+Xbe0wJs0e2Uliw
 pKpAHNQwE76Cl9T1K4hwMWSGWoKRaF9yi7rPYklnoHD5sBPdxNu/Kv+x0OuCQ2oY
 aK+NJObYQ8Dxx0OD5gW+JAVqa0jTZ3gtAtg0VUCZiv24qEgLKZZsi2TORaA5eTda
 NC+kgNRg5FXn4YdRZQTyqeeTbPC6QCEnT8eWccdiYfJ9VNMI5+MWvAFI23Q9y8rc
 obn5bzauVA7GsExx58KSm5tTmZvpB/ELWyUtJla3aOmO2yevXGtTOvkY5yPINl74
 KvZTw2bFxY0v18H1Fid8jgPuvc4tZuI7kyatg4i54p/7tv3azfSPicnu8LR/qWMH
 9nWmBA+jaHWpbB0GDczd5V9oISDHPzakmOPeyG4cyZ2ICIJJgzXhjpXYQ+2dYJ/J
 u6WNgrCnOXxT5l7zfNyy8zibOZaYqldANojYU3mOKOY/aXt11DgYmqiyJBWDtHds
 2ONZOxMFSpzIyoeUR4VRd78GJpwxtkPSgbrf1KPGg7B6+L0BvZh64+327o7aK50c
 86OEXC7EuG3VxdbXTQqBZWQ7WudLpyz4sj89FgvCdWbamJFikuU=
 =/9b+
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN SSH SIGNATURE-----
 U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAg25GGAuUyFX1gxo7QocNm8V6J/8
 frHSduYX7Aqk4iJLwAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
 AAAAQBQtfPeAwsZxYp+8zTvcDNUrTigBE7/Gy6pQgea4gCO+WnIVgyKUa/NsTEhnww/5up
 Y72c3Rmx41fvnK+3VywAo=
 -----END SSH SIGNATURE-----

Merge tag 'v9.16.40' into bind-9.16

BIND 9.16.40
2023-04-20 13:03:54 +02:00
Petr Špaček
cd086728ad Merge branch 'pspacek/set-up-version-and-release-notes-for-bind-9.16.41' into 'bind-9.16'
Set up release notes for BIND 9.16.41

See merge request isc-projects/bind9!7829
2023-04-14 08:48:25 +00:00
Petr Špaček
c3d9c2b08e
Set up release notes for BIND 9.16.41 2023-04-13 10:02:03 +02:00