Commit Graph
28606 Commits
Author SHA1 Message Date
Mark AndrewsandMichał Kępień 086b0e4f1c Only look at tsig.error in responses 2020-05-19 14:24:52 +02:00
Mark AndrewsandMichał Kępień 67ba3f8f3a Check that a 'BADTIME' response with 'QR=0' is handled as a request 2020-05-19 14:24:52 +02:00
Mark Andrews 68881f49b9 Merge branch '1856-race-in-clear-signing-records-in-dnssec-system-test-v9_11' into 'v9_11'
Resolve "Race in 'clear signing records' in dnssec system test."

See merge request isc-projects/bind9!3560
2020-05-19 06:09:34 +00:00
Mark Andrews 016cea35f4 Add CHANGES
(cherry picked from commit 3405ee9eb2)
2020-05-19 13:51:45 +10:00
Mark Andrews 809d55226b Address race in dnssec system test. 'clear signing records' can fail
as the update triggers by the rndc command to clear the signing records
may not have completed by the time the subsequent rndc command to test
that the records have been removed is commenced.  Loop several times to
prevent false negative.

(cherry picked from commit 353018c0e5)
2020-05-19 13:50:51 +10:00
Michał Kępień 90bf2b10b2 Merge branch 'michal/misc-cppcheck-tweaks-v9_11' into 'v9_11'
[v9_11] Miscellaneous cppcheck tweaks

See merge request isc-projects/bind9!3553
2020-05-18 08:45:36 +00:00
Michał Kępień 41b4af5d20 Work around cppcheck 2.0 uninitvar false positives
cppcheck 2.0 reports false positives about uninitialized variables in a
lot of places throughout BIND source code, e.g.:

    bin/dig/host.c:386:24: error: Uninitialized variable: length [uninitvar]
     printf("%.*s", (int)r.length, (char *)r.base);
                           ^

Apparently cppcheck 2.0 has issues with processing (&var)->field syntax,
which is what the macros from lib/isc/include/isc/buffer.h are evaluated
to.  This issue was reported upstream [1] and will hopefully be
addressed in a future cppcheck release.

In the meantime, to avoid modifying BIND source code in multiple places
just because of a static checker false positive, work around the issue
by adding intermediate variables to buffer macro definitions using a sed
invocation in the cppcheck job script.

[1] https://sourceforge.net/p/cppcheck/discussion/general/thread/122153e3c1/

(cherry picked from commit 481fa34e50)
2020-05-18 10:41:41 +02:00
Michał Kępień b5608306d4 Make GCC version extraction work with GCC 10
Add whitespace to the regular expression used for extracting the GCC
version from "gcc --version" output so that it works properly with
multi-digit major version numbers.

(cherry picked from commit 3b48eec79f)
2020-05-18 10:41:41 +02:00
Michał Kępień 90a20ad8ef Ensure cppcheck creates a HTML report upon failure
Commit 00f12220c0 broke the cppcheck job
in GitLab CI: when cppcheck fails, the script is immediately
interrupted, preventing cppcheck-htmlreport from being run.  To ensure
the HTML report is generated when cppcheck fails, revert to invoking
cppcheck-htmlreport in the "after_script" part of the job.

(cherry picked from commit cb2037ee9d)
2020-05-18 10:41:06 +02:00
Mark Andrews 3b52372f3c Merge branch '1852-race-in-autosign-system-test-v9_11' into 'v9_11'
Resolve "race in autosign system test."

See merge request isc-projects/bind9!3550
2020-05-18 07:00:36 +00:00
Mark Andrews 7507971413 Add CHANGES
(cherry picked from commit 07e335138b)
2020-05-18 16:00:55 +10:00
Mark Andrews ae4f31e434 Retry checks that records are present and signed
There a race between when the delta is logged and when the
server returns signed record.  Retry the queries if the
lookups fail to meet expectations.

(cherry picked from commit 46c4e5d96f)
2020-05-18 16:00:51 +10:00
Mark Andrews fd5a55f924 Merge branch '1714-provide-ixfr-no-should-still-send-up-to-date-responses-v9_16-v9_11' into 'v9_11'
Resolve "'provide-ixfr no;' should still send up-to-date responses."

See merge request isc-projects/bind9!3540
2020-05-18 02:54:45 +00:00
Mark Andrews 6ca026b313 Add CHANGES entry
(cherry picked from commit 11b1cbecb0)
(cherry picked from commit 5b5bebee05)
2020-05-18 09:40:13 +10:00
Mark Andrews 7c1043ae73 move provide-ixfr testing after the serial has been checked
(cherry picked from commit c7cdc47cc5)
(cherry picked from commit 89c1bc58e4)
2020-05-18 09:40:13 +10:00
Michał Kępień f9e81cf40d Merge branch 'michal/generate-text-documentation-in-utf-8' into 'v9_11'
Generate text documentation in UTF-8

See merge request isc-projects/bind9!3518
2020-05-15 10:03:21 +00:00
Michał Kępień 5876e31960 Generate text documentation in UTF-8
Modify all invocations of "w3m -O ascii ..."  with their UTF-8
counterparts to ensure all text documentation generated from UTF-8
source files is also in UTF-8.
2020-05-15 12:00:54 +02:00
Michal Nowak 4ed9745e7a Merge branch 'mnowak/abi-check-artifacts-v9_11' into 'v9_11'
[v9_11] Collect TXT and HTML reports produced by ABI checker

See merge request isc-projects/bind9!3543
2020-05-15 09:37:58 +00:00
Michal Nowak db09c63003 Collect TXT and HTML reports produced by ABI checker
Although in util/api-checker.sh we create textual reports, we don't
preserve them in job artifacts, but we should.

We don't want to keep all HTML pages present in the project root, but
just those produced by ABI checker.

(cherry picked from commit b5ccf95b0a)
2020-05-15 11:32:57 +02:00
Mark Andrews 166199ce90 Merge branch '1835-add-the-ability-to-parse-and-display-extended-dns-error-code-ede-v9_16-v9_11' into 'v9_11'
Resolve "Add the ability to parse and display Extended DNS Error code (EDE)."

See merge request isc-projects/bind9!3530
2020-05-13 02:51:28 +00:00
Mark Andrews fc4626c124 Add release note entry
(cherry picked from commit 88615006c5)
(cherry picked from commit 2e02c6f9a7)
2020-05-13 12:18:55 +10:00
Mark Andrews e692d460a1 Add CHANGES entry
(cherry picked from commit 79729c0e19)
(cherry picked from commit e196c7f9fa)
2020-05-13 12:18:55 +10:00
Mark Andrews ee49cc6201 Check display of EDE option
(cherry picked from commit e6b0153f8a)
(cherry picked from commit 88e11a9971)
2020-05-13 12:18:55 +10:00
Mark Andrews 0339907d19 Also print out valid printable utf8
(cherry picked from commit 1c8f9d06e2)
(cherry picked from commit c13fb2c67f)
2020-05-13 12:18:55 +10:00
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