Commit Graph
28582 Commits
Author SHA1 Message Date
Mark Andrews c0d34e8b05 Report Extended DNS Error codes
(cherry picked from commit b144ae1bb0)
(cherry picked from commit eed4fab37b)
2020-05-13 12:18:55 +10:00
Evan Hunt fb4ca938a2 Merge branch 'each-nsec3-ixfr-v9_11' into 'v9_11'
don't bother checking for empty nodes when searching the NSEC3 tree

See merge request isc-projects/bind9!3529
2020-05-12 21:22:11 +00:00
Evan Hunt e48395fe59 CHANGES
(cherry picked from commit 0f901b5f2d)
2020-05-12 13:39:28 -07:00
Evan Hunt c18dd943da don't bother checking for empty nodes when searching the NSEC3 tree
this avoids a time-wasting search that could occur during an
IXFR that replaced an NSEC3 chain.

(cherry picked from commit 7192edf9c2)
2020-05-12 13:39:03 -07:00
Ondřej Surý b4373afcc2 Merge branch 'marka-silence-flake8-warning-v9_11' into 'v9_11'
Silence: E741 ambiguous variable name 'l'

See merge request isc-projects/bind9!3525
2020-05-12 12:07:44 +00:00
Mark AndrewsandOndřej Surý 31b863f3d1 Silence: E741 ambiguous variable name 'l'
(cherry picked from commit 189d21fb96)
2020-05-12 14:05:37 +02:00
Mark Andrews 10ce0c7995 Merge branch 'marka-call-check-categories-v9_11' into 'v9_11'
have CI call util/check-categories.sh

See merge request isc-projects/bind9!3514
2020-05-11 01:37:00 +00:00
Mark Andrews 3e8d3cc4c9 have CI call util/check-categories.sh
(cherry picked from commit 2270e28fde)
2020-05-11 11:02:15 +10:00
Mark Andrews f358159729 Merge branch '1817-named-checkzone-s-full-relative-missing-from-usage-v9_11' into 'v9_11'
add [-s (full|relative)] to usage

See merge request isc-projects/bind9!3511
2020-05-08 07:38:13 +00:00
Mark Andrews e9013cfe26 add [-s (full|relative)] to usage
(cherry picked from commit 3f93f3ee11)
2020-05-08 16:55:33 +10:00
Evan Hunt bdd2d19c5c Merge branch '1812-uninitialized-dscp-v9_11' into 'v9_11'
Unexpected output from named-checkconf

See merge request isc-projects/bind9!3507
2020-05-06 22:34:42 +00:00
Evan Hunt 1df4141279 initialize sockaddrdscp to prevent spurious output from 'named-checkconf -p'
(cherry picked from commit f8d753d452)
2020-05-06 12:48:13 -07:00
Michał Kępień 15367a148d Merge branch 'michal/prepare-release-notes-for-bind-9.11.19' into 'v9_11'
Prepare release notes for BIND 9.11.19

See merge request isc-projects/bind9!3497
2020-05-05 20:53:13 +00:00
Michał Kępień 669325f524 Add release note for GL #1807 2020-05-05 22:51:25 +02:00
Michał Kępień dd690523bb Add release note for GL #1695 2020-05-05 22:51:25 +02:00
Michał Kępień 494d1a5b36 Release notes: wording and formatting tweaks 2020-05-05 22:51:25 +02:00
Michał Kępień bf5cc3de9f Tweak and reword recent CHANGES entries 2020-05-05 22:51:25 +02:00
Evan Hunt 706a02c71b Merge branch 'each-cppcheck-v9_11' into 'v9_11'
Fix outstanding cppcheck errors

See merge request isc-projects/bind9!3498
2020-05-04 22:00:47 +00:00
Evan Hunt 7e76da18f2 Fix outstanding cppcheck errors
lib/dns/sdb.c:1145:warning: Either the condition '(sdb)!=((void*)0)' is
redundant or there is possible null pointer dereference: sdb."

lib/dns/sdb.c:1208: Either the condition '(node)!=((void*)0)' is
redundant or there is possible null pointer dereference: sdbnode.
2020-05-04 14:23:23 -07:00
Michał Kępień 5747e58a9d Merge branch 'michal/1674-add-release-note-v9_11' into 'v9_11'
[v9_11] Add release note for GL #1674

See merge request isc-projects/bind9!3491
2020-05-04 09:11:20 +00:00
Michał Kępień 70c9ce78ba Add release note for GL #1674
(cherry picked from commit 4715a76345)
2020-05-04 11:07:43 +02:00
Evan Hunt ffae81cd60 Merge branch '1807-checkconf-error-v9_11' into 'v9_11'
named-checkconf -z could exit with an incorrect status

See merge request isc-projects/bind9!3489
2020-05-02 01:20:02 +00:00
Evan Hunt 410ee752dd named-checkconf -z could exit with an incorrect staatus
the CHECK() macro resets result, so an error code from an earlier
view could be erased if the last view loaded had no errors.

(cherry picked from commit 7e73660206)
2020-05-01 17:47:44 -07:00
Mark Andrews dfb33fc93d Merge branch '1695-addzone-system-tests-failing-in-mac-os-x-v9_11' into 'v9_11'
Resolve "addzone system tests failing in Mac OS X"

See merge request isc-projects/bind9!3470
2020-05-01 01:40:21 +00:00
Mark Andrews 9e515cd7bb Add CHANGES entry
(cherry picked from commit d63479a48d)
2020-05-01 10:10:09 +10:00
Mark Andrews 48f7566b61 Mimic nzf_append from bin/named/server.c
nzf_append is conditionally compiled and this is intended to
catch error introduced by changes to the called functions on all
systems before the changes are run through the CI.

(cherry picked from commit a66c6fc883)
2020-05-01 10:10:09 +10:00
Mark Andrews 5af8a088f4 Add jobs for 'configure --with{out}-lmdb' to the GitLab CI
We missed a case where LMDB was not installed/used in the build
and that broke system tests on such systems.

(cherry picked from commit 060b56dc70)
2020-05-01 09:18:07 +10:00
Mark Andrews 0c21ddcac6 Add more special zones to addzone restart test.
Test zones with various escape sequences and filesystem seperator
characters.
* escaped double quote (\")
* escaped escape (\\)
* escaped decimal byte value (\032)
* slash seperator (/)

(cherry picked from commit 5ab9b5b1e6)
2020-05-01 09:18:04 +10:00
Mark Andrews 453ec7c3b5 Escape double quote when printing quoted string.
When we were printing quoted string, the double quotes where unescaped
leading to prematurely ending the quoted string.

(cherry picked from commit b02081d423)
2020-05-01 09:15:11 +10:00
Mark Andrews 2951ff086d Merge branch '1806-system-and-unit-clang-asan-have-incorrect-needs-v9_11' into 'v9_11'
Incorrect job in needs, gcc:asan -> clang:asan

See merge request isc-projects/bind9!3464
2020-04-30 08:50:52 +00:00
Mark Andrews b5766e0c64 Incorrect job in needs, gcc:asan -> clang:asan
(cherry picked from commit 0adf9562fb)
2020-04-30 18:50:08 +10:00
Mark Andrews f4ec4ce9f8 Merge branch '1804-util-parse_tsan-py-is-not-pylint-clean-v9_11' into 'v9_11'
pylint cleanups

See merge request isc-projects/bind9!3461
2020-04-30 08:44:33 +00:00
Mark Andrews bc7034bcc0 pylint cleanups
(cherry picked from commit d7618f6954)
2020-04-30 17:38:04 +10:00
Ondřej Surý b9492e6846 Merge branch '1764-build-9-16-2-release-make-depend-fatal-error-lib-dns-dnstap-pb-c-h-no-such-file-or-directory-v9_11' into 'v9_11'
check that 'make depend' does not fail

See merge request isc-projects/bind9!3449
2020-04-29 15:50:24 +00:00
Mark AndrewsandOndřej Surý 7252ffa7d8 check that 'make depend' does not fail
(cherry picked from commit 72143febe7)
2020-04-29 17:49:28 +02:00
Ondřej Surý ab6b58fe6d Merge branch 'ondrej/fix-asan-symbolizer-v9_11' into 'v9_11'
Fix the ASAN symbolizer

See merge request isc-projects/bind9!3452
2020-04-29 15:47:59 +00:00
Ondřej Surý 8fb874a510 Fix the ASAN symbolizer
(cherry picked from commit 96805e8c91)
2020-04-29 17:28:17 +02:00
Ondřej Surý 8d029b4405 Merge branch '1090-fix-unable-to-set-effective-uid-to-0-v9_11' into 'v9_11'
Resolve "BIND 9.14: unable to set effective uid to 0"

See merge request isc-projects/bind9!3441
2020-04-28 16:44:19 +00:00
Ondřej SurýandOndřej Surý bf5df9faf1 Add release notes for GL #1042, #1090
(cherry picked from commit 60b608b65b)
2020-04-28 17:31:27 +02:00
Ondřej SurýandOndřej Surý fa5e9706a0 Add CHANGES for #1042, #1090
(cherry picked from commit a0a5eab31c)
2020-04-28 17:31:27 +02:00
Mark AndrewsandOndřej Surý 94ec98ad7a Propagate first_time to named_os_openfile in generate_session_key.
named_os_openfile was being called with switch_user set to true
unconditionally leading to log messages about being unable to
switch user identity from named when regenerating the key.

(cherry picked from commit 071bc29962)
2020-04-28 17:31:26 +02:00
Ondřej SurýandOndřej Surý 89ad4912e9 Don't change effective uid when we already dropped privileges
When running on Linux and system capabilities are available, named will
drop the extra capabilities before loading the configuration.  This led
to spurious warnings from `seteuid()` because named already dropped
CAP_SETUID and CAP_GETUID capabilities.

The fix removes setting the effective uid/gid when capabilities are
available, and adds a check that we are running under the user we were
requested to run.

(cherry picked from commit 6c82e2af92)
2020-04-28 17:31:26 +02:00
Michal Nowak 126c9d94cf Merge branch 'mnowak/1751-abi-check-does-not-know-which-source-is-older-newer-v9_11' into 'v9_11'
[v9_11] Ensure proper comparison order in "abi-check" jobs

See merge request isc-projects/bind9!3421
2020-04-23 08:01:56 +00:00
Michal Nowak 85ba41d82e Ensure proper comparison order in "abi-check" jobs
Right before the release API version (LIBINTERFACE, LIBREVISION, LIBAGE)
for older and newer libraries tends to be the same. Given that, commit
hash can't be the determining factor here, Unix time of the commit
should suit us better and is placed after the API version. The commit
hash is preserved as it's useful to see it in the actual report.

(cherry picked from commit 313518dd3d)
2020-04-23 09:47:22 +02:00
Ondřej Surý 7d0c73b199 Merge branch 'ondrej/make-merge_copyrights-ignore-hidden-files-v9_11' into 'v9_11'
Make merge_copyrights ignore hidden files

See merge request isc-projects/bind9!3419
2020-04-23 06:05:05 +00:00
Ondřej Surý 2d3ac34b81 Make merge_copyrights ignore hidden files
(cherry picked from commit 6d46082d82)
2020-04-23 08:03:01 +02:00
Mark Andrews 13aba00fc9 Merge branch '1674-warn-bad-id-in-axfr-v9_11' into 'v9_11'
Warn about AXFR stream with inconsistent message id (v9_11)

See merge request isc-projects/bind9!3406
2020-04-21 00:21:53 +00:00
Mark Andrews 3a79f3629c Check that bad message id's are caught by named
(cherry picked from commit 06e53c9e14)
2020-04-21 09:37:47 +10:00
Mark Andrews 87a22c5705 Convert to using retry_quiet and nextpart
(cherry picked from commit 9937116f21)
2020-04-21 09:33:36 +10:00
Mark Andrews a05a6dedcb Warn about AXFR streams that are incompatible with BIND 9.18
(cherry picked from commit 998b2d5a57)
2020-04-21 09:31:24 +10:00