]>
git.ipfire.org Git - thirdparty/bind9.git/log
Mark Andrews [Mon, 30 Mar 2020 00:18:52 +0000 (11:18 +1100)]
Add CHANGES entry
Mark Andrews [Wed, 25 Mar 2020 06:46:26 +0000 (17:46 +1100)]
Only look at tsig.error in responses
Mark Andrews [Wed, 25 Mar 2020 06:44:51 +0000 (17:44 +1100)]
Check that a 'BADTIME' response with 'QR=0' is handled as a request
Mark Andrews [Tue, 19 May 2020 03:33:53 +0000 (03:33 +0000)]
Merge branch '1856-race-in-clear-signing-records-in-dnssec-system-test' into 'master'
Resolve "Race in 'clear signing records' in dnssec system test."
Closes #1856
See merge request isc-projects/bind9!3557
Mark Andrews [Tue, 19 May 2020 00:15:49 +0000 (10:15 +1000)]
Add CHANGES
Mark Andrews [Tue, 19 May 2020 00:09:51 +0000 (10:09 +1000)]
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.
Mark Andrews [Mon, 18 May 2020 14:10:56 +0000 (14:10 +0000)]
Merge branch '1855-check-max-journal-size-limits-failed-as-not-enough-time-allowed' into 'master'
Resolve ""check max-journal-size limits" failed as not enough time allowed"
Closes #1855
See merge request isc-projects/bind9!3551
Mark Andrews [Mon, 18 May 2020 06:50:43 +0000 (16:50 +1000)]
Add CHANGES
Mark Andrews [Mon, 18 May 2020 06:47:07 +0000 (16:47 +1000)]
Wait longer (up to 20 secs) for journal to be truncated
Michał Kępień [Mon, 18 May 2020 08:28:26 +0000 (08:28 +0000)]
Merge branch 'michal/misc-cppcheck-tweaks' into 'master'
Miscellaneous cppcheck tweaks
See merge request isc-projects/bind9!3541
Michał Kępień [Mon, 18 May 2020 08:23:06 +0000 (10:23 +0200)]
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/dnssec/dnssec-cds.c:283:6: error: Uninitialized variable: length [uninitvar]
if (isc_buffer_availablelength(&buf) <= len) {
^
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 /
Michał Kępień [Mon, 18 May 2020 08:23:06 +0000 (10:23 +0200)]
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.
Michał Kępień [Mon, 18 May 2020 08:23:06 +0000 (10:23 +0200)]
Ensure cppcheck creates a HTML report upon failure
Commit
ec72d1100d7e86c131ab1936f91ed4da87c48a4b 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.
Mark Andrews [Mon, 18 May 2020 05:56:33 +0000 (05:56 +0000)]
Merge branch '1852-race-in-autosign-system-test' into 'master'
Resolve "race in autosign system test."
Closes #1852
See merge request isc-projects/bind9!3546
Mark Andrews [Mon, 18 May 2020 05:17:42 +0000 (15:17 +1000)]
Add CHANGES
Mark Andrews [Mon, 18 May 2020 02:04:09 +0000 (12:04 +1000)]
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.
Evan Hunt [Mon, 18 May 2020 00:30:17 +0000 (00:30 +0000)]
Merge branch 'each-move-wiretest' into 'master'
move wire_test
See merge request isc-projects/bind9!3544
Evan Hunt [Fri, 15 May 2020 20:10:36 +0000 (13:10 -0700)]
incidental fix: reduce a long timeout in dnstap test
the dnstap test was pausing for 20 seconds to search for a string in
named.run, which only appears if named is built with --enable-developer or
--enable-querytrace.
Evan Hunt [Fri, 15 May 2020 19:57:18 +0000 (12:57 -0700)]
move wire_test back to bin/tests, no longer dependent on dnstap
wire_test is not only used by the dnstap system test, but also in
fuzz testing. it doesn't need to be installed, but it's useful to have it
built when BIND is. this commit moves it back from bin/tests/system to
bin/tests, as a noinst_PROGRAM so that it's built by "make all" but
not installed.
Michal Nowak [Fri, 15 May 2020 09:28:42 +0000 (09:28 +0000)]
Merge branch 'mnowak/abi-check-artifacts' into 'master'
Collect TXT and HTML reports produced by ABI checker
See merge request isc-projects/bind9!3501
Michal Nowak [Tue, 5 May 2020 12:51:42 +0000 (14:51 +0200)]
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.
Mark Andrews [Fri, 15 May 2020 03:48:21 +0000 (03:48 +0000)]
Merge branch '1714-provide-ixfr-no-should-still-send-up-to-date-responses' into 'master'
Resolve "'provide-ixfr no;' should still send up-to-date responses."
Closes #1714
See merge request isc-projects/bind9!3307
Mark Andrews [Wed, 1 Apr 2020 01:14:45 +0000 (12:14 +1100)]
Add CHANGES entry
Mark Andrews [Mon, 30 Mar 2020 03:21:48 +0000 (14:21 +1100)]
move provide-ixfr testing after the serial has been checked
Witold Krecicki [Wed, 13 May 2020 10:19:57 +0000 (10:19 +0000)]
Merge branch 'wpk/fix-isc-assertions-c-error' into 'master'
Fix 'error: ‘%s’ directive argument is null [-Werror=format-overflow=]' in assertions.c
See merge request isc-projects/bind9!3504
Witold Kręcicki [Wed, 6 May 2020 09:25:30 +0000 (11:25 +0200)]
Fix 'error: ‘%s’ directive argument is null [-Werror=format-overflow=]' in assertions.c
Witold Krecicki [Wed, 13 May 2020 07:19:49 +0000 (07:19 +0000)]
Merge branch 'wpk/tcp-accept-refactoring' into 'master'
TCP accept refactoring
See merge request isc-projects/bind9!3320
Witold Kręcicki [Tue, 12 May 2020 13:04:54 +0000 (15:04 +0200)]
CHANGES note
Witold Kręcicki [Wed, 1 Apr 2020 09:13:08 +0000 (11:13 +0200)]
Clean quota callback after calling it
Witold Kręcicki [Tue, 24 Mar 2020 12:38:51 +0000 (13:38 +0100)]
Redesigned TCP accepting: one listen/accept loop, passing the connected socket.
Instead of using bind() and passing the listening socket to the children
threads using uv_export/uv_import use one thread that does the accepting,
and then passes the connected socket using uv_export/uv_import to a random
worker. The previous solution had thundering herd problems (all workers
waking up on one connection and trying to accept()), this one avoids this
and is simpler.
The tcp clients quota is simplified with isc_quota_attach_cb - a callback
is issued when the quota is available.
Mark Andrews [Wed, 13 May 2020 06:06:11 +0000 (06:06 +0000)]
Merge branch 'marka-update-per-type-record-limits' into 'master'
allow per type record counts to be specified in update-policy
Closes #1657
See merge request isc-projects/bind9!2124
Mark Andrews [Fri, 6 Mar 2020 03:54:28 +0000 (14:54 +1100)]
Add release note entry
Mark Andrews [Fri, 6 Mar 2020 03:51:22 +0000 (14:51 +1100)]
Add CHANGES note
Mark Andrews [Thu, 13 Feb 2020 03:53:20 +0000 (14:53 +1100)]
document type count limits
Mark Andrews [Thu, 4 Jul 2019 05:58:13 +0000 (15:58 +1000)]
test max records policy
Mark Andrews [Thu, 4 Jul 2019 05:24:20 +0000 (15:24 +1000)]
enforce record count maximums
Mark Andrews [Wed, 3 Jul 2019 07:03:13 +0000 (17:03 +1000)]
allow grant rules to be retrieved
Mark Andrews [Wed, 3 Jul 2019 06:42:15 +0000 (16:42 +1000)]
allow per type record counts to be specified
Evan Hunt [Tue, 12 May 2020 20:26:40 +0000 (20:26 +0000)]
Merge branch 'each-nsec3-ixfr' into 'master'
don't bother checking for empty nodes when searching the NSEC3 tree
Closes #1834
See merge request isc-projects/bind9!3512
Evan Hunt [Mon, 11 May 2020 22:27:14 +0000 (15:27 -0700)]
CHANGES
Evan Hunt [Sat, 9 May 2020 01:40:41 +0000 (18:40 -0700)]
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.
Ondřej Surý [Tue, 12 May 2020 13:52:32 +0000 (13:52 +0000)]
Merge branch 'michal/prepare-release-notes-for-master' into 'master'
Prepare release notes for "master"
See merge request isc-projects/bind9!3517
Michał Kępień [Tue, 12 May 2020 13:20:22 +0000 (15:20 +0200)]
Add table of contents for release notes
Michał Kępień [Tue, 12 May 2020 13:20:22 +0000 (15:20 +0200)]
Drop custom section identifiers
Michał Kępień [Tue, 12 May 2020 13:20:22 +0000 (15:20 +0200)]
Apply release note tweaks lost during rebase
Michał Kępień [Tue, 12 May 2020 13:20:22 +0000 (15:20 +0200)]
Restore release notes for BIND 9.17.2
Michał Kępień [Tue, 12 May 2020 13:20:22 +0000 (15:20 +0200)]
Restore release notes for BIND 9.17.1
Michał Kępień [Tue, 12 May 2020 13:20:22 +0000 (15:20 +0200)]
Restore release notes for BIND 9.17.0
Michał Kępień [Tue, 12 May 2020 13:20:22 +0000 (15:20 +0200)]
Tweak and reword recent CHANGES entries
Mark Andrews [Tue, 12 May 2020 12:26:50 +0000 (12:26 +0000)]
Merge branch '1835-add-the-ability-to-parse-and-display-extended-dns-error-code-ede' into 'master'
Resolve "Add the ability to parse and display Extended DNS Error code (EDE)."
Closes #1835
See merge request isc-projects/bind9!3515
Mark Andrews [Mon, 11 May 2020 05:46:00 +0000 (15:46 +1000)]
Add release note entry
Mark Andrews [Mon, 11 May 2020 05:43:48 +0000 (15:43 +1000)]
Add CHANGES entry
Mark Andrews [Mon, 11 May 2020 05:23:49 +0000 (15:23 +1000)]
Check display of EDE option
Mark Andrews [Mon, 11 May 2020 06:26:13 +0000 (16:26 +1000)]
Also print out valid printable utf8
Mark Andrews [Mon, 11 May 2020 04:44:23 +0000 (14:44 +1000)]
Report Extended DNS Error codes
Ondřej Surý [Tue, 12 May 2020 11:10:55 +0000 (11:10 +0000)]
Merge branch 'ondrej/fix-statschannel-setup.sh-failure' into 'master'
Fix statschannel setup.sh failure
See merge request isc-projects/bind9!3522
Ondřej Surý [Tue, 12 May 2020 10:35:53 +0000 (12:35 +0200)]
Fix the rsabigexponent setup.sh script to not fail
Ondřej Surý [Tue, 12 May 2020 10:34:29 +0000 (12:34 +0200)]
Remove the custom-test-driver status_file
Ondřej Surý [Tue, 12 May 2020 08:02:41 +0000 (10:02 +0200)]
Add missing manykeys.db.in file that was causing statschannel setup.sh to fail
Ondřej Surý [Tue, 12 May 2020 08:01:35 +0000 (10:01 +0200)]
Fail immediatelly when clean.sh or setup.sh fails
The `statschannel/ns2/` was missing `manykeys.db.in`, but the test
succeeded even when `setup.sh` (or `clean.sh`) failed to execute. This
commit makes run.sh to run in stricter mode and fail the test
immediately when `clean.sh` or `setup.sh` fails.
Ondřej Surý [Tue, 12 May 2020 08:33:25 +0000 (08:33 +0000)]
Merge branch 'marka-silence-flake8-warning' into 'master'
Silence: E741 ambiguous variable name 'l'
See merge request isc-projects/bind9!3521
Mark Andrews [Tue, 12 May 2020 07:41:41 +0000 (17:41 +1000)]
Silence: E741 ambiguous variable name 'l'
Ondřej Surý [Tue, 12 May 2020 07:21:47 +0000 (07:21 +0000)]
Merge branch '1232-stats-channel-zone-timers' into 'master'
Resolve "[ISC-support #15166] expose zone timers (reload, refresh, expire) via stats channel"
Closes #1232
See merge request isc-projects/bind9!3308
Ondřej Surý [Thu, 31 Oct 2019 16:05:12 +0000 (11:05 -0500)]
Add CHANGES
Ondřej Surý [Thu, 31 Oct 2019 16:04:12 +0000 (11:04 -0500)]
Add release notes
Ondřej Surý [Mon, 11 May 2020 15:43:12 +0000 (17:43 +0200)]
Use the result of clean.sh and setup.sh command directly
Ondřej Surý [Tue, 14 Apr 2020 15:02:21 +0000 (17:02 +0200)]
Rewrite the statschannel traffic tests to pytest
Ondřej Surý [Fri, 27 Mar 2020 09:13:31 +0000 (10:13 +0100)]
Add tests for zone timers using the pytest testing framework
Paul Frieden [Mon, 4 Nov 2019 22:49:55 +0000 (16:49 -0600)]
Add the zone timers to the XSL
Paul Frieden [Wed, 30 Oct 2019 22:06:06 +0000 (17:06 -0500)]
Export zone timers via stats channels
Ondřej Surý [Tue, 12 May 2020 06:46:04 +0000 (06:46 +0000)]
Merge branch 'ondrej/dont-put-copyright-to-named.conf.rst' into 'master'
Remove copyright from generated named.conf.rst
See merge request isc-projects/bind9!3519
Ondřej Surý [Tue, 12 May 2020 06:41:31 +0000 (08:41 +0200)]
Remove copyright from generated named.conf.rst
Mark Andrews [Sun, 10 May 2020 23:44:14 +0000 (23:44 +0000)]
Merge branch '1828-util-check-categories-sh-needs-updating-for-doc-arm-logging-categories-rst' into 'master'
Resolve "util/check-categories.sh needs updating for doc/arm/logging-categories.rst"
Closes #1828
See merge request isc-projects/bind9!3509
Mark Andrews [Fri, 8 May 2020 04:52:41 +0000 (14:52 +1000)]
Add rpz-passthru category to logging-categories.rst
Mark Andrews [Fri, 8 May 2020 04:34:34 +0000 (14:34 +1000)]
remove xmllint of .html files
Mark Andrews [Fri, 8 May 2020 04:29:14 +0000 (14:29 +1000)]
Update util/check-categories.sh for logging-categories.rst and call from CI
Mark Andrews [Fri, 8 May 2020 06:05:11 +0000 (06:05 +0000)]
Merge branch '1817-named-checkzone-s-full-relative-missing-from-usage' into 'master'
Resolve "named-checkzone: [-s (full|relative)] missing from usage."
Closes #1817
See merge request isc-projects/bind9!3508
Mark Andrews [Thu, 7 May 2020 06:52:28 +0000 (16:52 +1000)]
add [-s (full|relative)] to usage
Diego dos Santos Fronza [Thu, 7 May 2020 15:31:59 +0000 (15:31 +0000)]
Merge branch '54-separate-logging-channel-rpz-passthru' into 'master'
Resolve "suppress logging of RPZ passthru"
Closes #54
See merge request isc-projects/bind9!3405
Diego Fronza [Wed, 29 Apr 2020 19:41:30 +0000 (16:41 -0300)]
Add release notes for GL #54
Diego Fronza [Wed, 29 Apr 2020 19:40:16 +0000 (16:40 -0300)]
Added CHANGES entry
Diego Fronza [Wed, 29 Apr 2020 19:12:03 +0000 (16:12 -0300)]
Updated copyrights
Diego Fronza [Wed, 29 Apr 2020 18:55:38 +0000 (15:55 -0300)]
Added test for rpz-passthru logging channel
This test ensures that all rpz-passthru activity will be redirected
to a dedicated log file following ns1/named.conf configuration.
Diego Fronza [Mon, 20 Apr 2020 19:32:56 +0000 (16:32 -0300)]
Added new logging category rpz-passthru
It is now possible to use the new logging category "rpz-passthru"
to redirect RPZ passthru activity to a dedicate logging channel.
Ondřej Surý [Thu, 7 May 2020 14:34:05 +0000 (14:34 +0000)]
Merge branch 'ondrej/fix-custom-test-driver' into 'master'
Fix the custom-test-driver
See merge request isc-projects/bind9!3505
Ondřej Surý [Wed, 6 May 2020 12:47:57 +0000 (14:47 +0200)]
Move custom-test-driver to bin/tests/system where it belongs
Ondřej Surý [Wed, 6 May 2020 12:47:02 +0000 (14:47 +0200)]
Fix the status_file in custom-test-driver in non-verbose runs
Ondřej Surý [Thu, 7 May 2020 14:27:30 +0000 (14:27 +0000)]
Merge branch '83-convert-the-documentation-to-sphinx-build' into 'master'
Convert documentation from docbook to sphinx-doc syntax
Closes #83
See merge request isc-projects/bind9!1761
Ondřej Surý [Sun, 31 Mar 2019 10:49:47 +0000 (12:49 +0200)]
Convert the documentation to Sphinx documentation format
The ARM and the manpages have been converted into Sphinx documentation
format.
Sphinx uses reStructuredText as its markup language, and many of its
strengths come from the power and straightforwardness of
reStructuredText and its parsing and translating suite, the Docutils.
Evan Hunt [Wed, 6 May 2020 19:40:16 +0000 (19:40 +0000)]
Merge branch '1812-uninitialized-dscp' into 'master'
Unexpected output from named-checkconf
Closes #1812
See merge request isc-projects/bind9!3502
Evan Hunt [Tue, 5 May 2020 19:48:31 +0000 (12:48 -0700)]
initialize sockaddrdscp to prevent spurious output from 'named-checkconf -p'
Ondřej Surý [Tue, 5 May 2020 10:52:53 +0000 (10:52 +0000)]
Merge branch 'ondrej/fix-get_ports.sh-script' into 'master'
Fix get_ports.sh script
See merge request isc-projects/bind9!3499
Ondřej Surý [Tue, 5 May 2020 09:11:57 +0000 (11:11 +0200)]
Fix get_ports.sh script
There were two errors:
1. get_random() function was returning random number with leading zeros
that could lead the shell to interpret the number as octal value
instead of decimal. The surrounding whitespace was also causing
problems.
2. The calculation of the port was off, it was adding the whole range
and not just the min port to the base.
Michał Kępień [Mon, 4 May 2020 10:02:59 +0000 (10:02 +0000)]
Merge branch '1797-add-release-note-discussing-recvmmsg-support' into 'master'
Add release note discussing recvmmsg() support
Closes #1797
See merge request isc-projects/bind9!3492
Michał Kępień [Mon, 4 May 2020 10:00:40 +0000 (12:00 +0200)]
Add release note discussing recvmmsg() support
Michał Kępień [Mon, 4 May 2020 07:45:48 +0000 (07:45 +0000)]
Merge branch '1723-fputs-fprintf' into 'master'
replace fputs() with fprintf()
Closes #1723
See merge request isc-projects/bind9!3325
Evan Hunt [Fri, 3 Apr 2020 01:51:06 +0000 (18:51 -0700)]
replace fputs() with fprintf()
Evan Hunt [Sat, 2 May 2020 00:11:35 +0000 (00:11 +0000)]
Merge branch '1807-checkconf-error' into 'master'
named-checkconf -z could exit with an incorrect status
Closes #1807
See merge request isc-projects/bind9!3468
Evan Hunt [Thu, 30 Apr 2020 20:17:37 +0000 (13:17 -0700)]
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.
Ondřej Surý [Fri, 1 May 2020 15:34:19 +0000 (15:34 +0000)]
Merge branch '1713-use-default-buffer-sizes' into 'master'
Don't set recv/send buffer sizes for sockets.
Closes #1713
See merge request isc-projects/bind9!3476