Michał Kępień
4c7eea4437
Include conf.sh from all prereq.sh scripts
...
Every prereq.sh script must include bin/tests/system/conf.sh, otherwise
if some prerequisite is not met, errors about echo_i not being found
will be printed instead of actual error messages.
(cherry picked from commit cc0e8cda71 )
2018-07-13 08:23:15 +02:00
Michał Kępień
0561d6bb0c
Update ATF path in the ./configure invocation used during CI
...
The Docker images used for CI install ATF to /usr, not /usr/local.
Update the ./configure invocation in .gitlab-ci.yml accordingly in order
to prevent confusion.
(cherry picked from commit 12df6829d1 )
2018-07-13 08:23:09 +02:00
Michał Kępień
82b03e949f
Add "-f" to command line arguments for autoreconf in autogen.sh
...
Depending on tool versions being used, "autoreconf -i" may not update
all Autoconf-generated files, which in turn may result in build errors.
Make autogen.sh call autoreconf with the "-f" command line argument to
ensure all Autoconf-generated files are updated when autogen.sh is run.
(cherry picked from commit 45e77a3680 )
2018-07-13 08:23:03 +02:00
Ondřej Surý
12772c743e
Merge branch 'fix-last-USE_ENGINE-usage-v9_12' into 'v9_12'
...
Replace the last missed usage of USE_ENGINE with OPENSSL_NO_ENGINE
See merge request isc-projects/bind9!529
2018-07-12 06:45:29 -04:00
Ondřej Surý
0b93c77024
Replace the last missed usage of USE_ENGINE with OPENSSL_NO_ENGINE
2018-07-12 06:33:54 -04:00
Mark Andrews
bac8cab38d
Merge branch '373-generic_tostruct_tlsa-incorrectly-initialises-common-structure-v9_12' into 'v9_12'
...
Resolve "generic_tostruct_tlsa incorrectly initialises common structure."
See merge request isc-projects/bind9!525
2018-07-11 19:54:43 -04:00
Mark Andrews
26a2ab4152
remove re-initalisation of common structure
...
(cherry picked from commit 6e06d3e7c6 )
2018-07-12 09:48:03 +10:00
Evan Hunt
c677a1a987
Merge branch '403-missing-sanity-check-for-call-to-next_token-in-file-dig-c-v9_12' into 'v9_12'
...
Resolve "Missing Sanity Check for call to next_token() in file 'dig.c'"
See merge request isc-projects/bind9!523
2018-07-11 15:06:26 -04:00
Evan Hunt
6fc6b3ab69
CHANGES
...
(cherry picked from commit 8ae1774089 )
2018-07-11 11:58:52 -07:00
Mark Andrews
9f126bac32
add test for bad dig option '+ednsopt=:' being handled gracefully
...
(cherry picked from commit ad86878d61 )
2018-07-11 11:58:52 -07:00
Bill Parker
62d047658a
check code is non NULL
...
(cherry picked from commit 408bcf9c07 )
2018-07-11 11:58:49 -07:00
Evan Hunt
f6fce682c9
Merge branch '235-enhance-denied-logging-for-dynamic-updates-v9_12' into 'v9_12'
...
Add tcp-self policy tests.
See merge request isc-projects/bind9!521
2018-07-11 14:15:31 -04:00
Mukund Sivaraman
d54a38d733
Add system tests for "tcp-self" update-policy
...
(cherry picked from commit a7e6a584ea )
2018-07-11 11:05:37 -07:00
Michał Kępień
73f653c243
Merge branch '392-send-upstream-tat-queries-for-locally-served-zones-v9_12' into 'v9_12'
...
[v9_12] Trust anchor telemetry queries are not sent for locally served zones
See merge request isc-projects/bind9!516
2018-07-11 03:15:47 -04:00
Michał Kępień
e54cddc0c1
Add CHANGES entry
...
4994. [bug] Trust anchor telemetry queries were not being sent
upstream for locally served zones. [GL #392 ]
(cherry picked from commit a64750e428 )
2018-07-11 08:59:29 +02:00
Michał Kępień
873c091408
Send upstream TAT queries for locally served zones
...
Trying to resolve a trust anchor telemetry query for a locally served
zone does not cause upstream queries to be sent as the response is
determined just by consulting local data. Work around this issue by
calling dns_view_findzonecut() first in order to determine the NS RRset
for a given domain name and then passing the zone cut found to
dns_resolver_createfetch().
Note that this change only applies to TAT queries generated by the
resolver itself, not to ones received from downstream resolvers.
(cherry picked from commit a7657dc150 )
2018-07-11 08:59:29 +02:00
Michał Kępień
2e7dd0d61f
Extract TAT QNAME preparation to a separate function
...
Extract the part of dotat() reponsible for preparing the QNAME for a TAT
query to a separate function in order to limit the number of local
variables used by each function and improve code readability.
Rename 'name' to 'origin' to better convey the purpose of that variable.
Also mark it with the const qualifier.
(cherry picked from commit 127810e512 )
2018-07-11 08:59:29 +02:00
Ondřej Surý
ec786f42bd
Merge branch 'pkcs11-missing-gitignore-v9_12' into 'v9_12'
...
PKCS#11 build missing some .gitignore files and ignore .gitignore files
See merge request isc-projects/bind9!514
2018-07-11 02:19:58 -04:00
Ondřej Surý
8a143b1582
Don't check copyrights on .gitignore files
...
(cherry picked from commit 718c527e1d )
2018-07-11 08:12:48 +02:00
Ondřej Surý
bbd82796bd
Add .gitignore for PKCS#11 test files
...
(cherry picked from commit 96907d636d )
2018-07-11 08:11:21 +02:00
Evan Hunt
363dee7e0c
Merge branch 'git-replay-merge-no-push-option-v9_12' into 'v9_12'
...
Add --no-push and --push options and DONT_PUSH environment variable
See merge request isc-projects/bind9!510
2018-07-11 00:03:55 -04:00
Evan Hunt
458f273444
fixed an argument counting bug
2018-07-10 20:59:49 -07:00
Ondřej Surý
e50988255c
Add --no-push and --push options and DONT_PUSH environment as default to control what happens after merge
...
(cherry picked from commit 23f69e5626 )
2018-07-10 20:58:19 -07:00
Evan Hunt
c87c42acb5
Merge branch 'ci-check-libs' into 'v9_12'
...
check correctness of win32 .def files in CI 'precheck' step
See merge request isc-projects/bind9!505
2018-07-10 23:38:24 -04:00
Evan Hunt
f74fc06ede
add checklibs to precheck CI step
2018-07-10 20:31:21 -07:00
Evan Hunt
4e657c1430
Merge branch 'remove-redundant-test-v9_12' into 'v9_12'
...
remove redundant test
See merge request isc-projects/bind9!502
2018-07-10 22:11:45 -04:00
Mark Andrews
85d7298387
remove redundant test
...
(cherry picked from commit 6eec7fe092 )
2018-07-10 19:05:01 -07:00
Evan Hunt
70c7e02c53
Merge branch '379-trust-anchor-telemetry-log-should-include-client-ip-address-v9_12' into 'v9_12'
...
Resolve "trust anchor telemetry log should include client IP address"
See merge request isc-projects/bind9!500
2018-07-10 21:36:37 -04:00
Mark Andrews
0f180d976a
add CHANGES note
2018-07-10 18:29:13 -07:00
Mark Andrews
d1539d991a
fix spelling of 'telemetry'
...
(cherry picked from commit 4f18b6a09a )
2018-07-10 18:28:51 -07:00
Mark Andrews
0ed6214375
use extracted netaddr rather than client->destaddr
...
(cherry picked from commit 69fd3f5ba4 )
2018-07-10 18:28:50 -07:00
Evan Hunt
e42ec0531b
Merge branch '378-run-xmllint-on-xml-and-docbook-in-precheck-v9_12' into 'v9_12'
...
Check correctness of *.xml, *.docbook, and *.html during precheck
See merge request isc-projects/bind9!498
2018-07-10 20:57:27 -04:00
Mark Andrews
01003dd321
Resolve "run xmllint on *.xml and *.docbook in precheck"
...
(cherry picked from commit bb1937aaec )
2018-07-10 17:50:06 -07:00
Evan Hunt
ed12266e64
Merge branch '401-null-pointer-de-reference-found-in-bind-9-12-1-p2-v9_12' into 'v9_12'
...
Resolve "NULL Pointer de-reference found in BIND 9.12.1-P2"
See merge request isc-projects/bind9!495
2018-07-10 17:45:24 -04:00
Evan Hunt
ed3febd737
CHANGES
2018-07-10 14:38:45 -07:00
Bill Parker
05669a987a
check param_template[i].pValue is non NULL
...
(cherry picked from commit 8ac0152651 )
2018-07-10 14:38:23 -07:00
Michał Kępień
8195ee7ac5
Merge branch '399-do-not-use-net-dns-nameserver-in-the-serve-stale-system-test-v9_12' into 'v9_12'
...
[v9_12] Do not use Net::DNS::Nameserver in the "serve-stale" system test
See merge request isc-projects/bind9!494
2018-07-10 09:22:25 -04:00
Michał Kępień
77929046ec
Do not use Net::DNS::Nameserver in the "serve-stale" system test
...
Net::DNS versions older than 0.67 respond to queries sent to a
Net::DNS::Nameserver even if its ReplyHandler returns undef. This makes
the "serve-stale" system test fail as it takes advantage of the newer
behavior. Since the latest Net::DNS version available with stock
RHEL/CentOS 6 packages is 0.65 and we officially support that operating
system, bin/tests/system/serve-stale/ans2/ans.pl should behave
consistently for various Net::DNS versions. Ensure that by reworking it
so that it does not use Net::DNS::Nameserver.
(cherry picked from commit c4209418a5 )
2018-07-10 15:15:18 +02:00
Michał Kępień
a20495b8bf
Merge branch '393-fix-a-net-dns-version-quirk-in-the-resolver-system-test-v9_12' into 'v9_12'
...
[v9_12] Fix a Net::DNS version quirk in the "resolver" system test
See merge request isc-projects/bind9!492
2018-07-10 09:14:41 -04:00
Michał Kępień
655dccf4ea
Fix a Net::DNS version quirk in the "resolver" system test
...
Net::DNS versions older than 0.68 insert a ./ANY RR into the QUESTION
section if the latter is empty. Since the latest Net::DNS version
available with stock RHEL/CentOS 6 packages is 0.65 and we officially
support that operating system, bin/tests/system/resolver/ans8/ans.pl
should behave consistently for various Net::DNS versions. Ensure that
by making handleUDP() return the query ID and flags generated by
Net::DNS with 8 zero bytes appended.
(cherry picked from commit 6c3c6aea37 )
2018-07-10 15:07:38 +02:00
Witold Krecicki
df69b89f21
Merge branch 'fix-synth-from-dnssec-dname-handling-v9_12' into 'v9_12'
...
Don't synthesize NXDOMAIN from NSEC for records under a DNAME.
See merge request isc-projects/bind9!491
2018-07-10 04:04:29 -04:00
Mark Andrews
687ca4412a
the presence of a DNAME record proves that the name does not exist in the zone but as we don't want to use that for NXDMOMAIN return DNS_R_DNAME from dns_nsec_noexistnodata
...
(cherry picked from commit 8ef23f9fb0 )
2018-07-10 09:50:35 +02:00
Witold Kręcicki
e263fe91c0
Don't synthesize NXDOMAIN from NSEC for records under a DNAME
...
(cherry picked from commit 7f60bb39df )
2018-07-10 09:50:30 +02:00
Mark Andrews
8561c61013
Merge branch '402-memory-leak-found-in-file-fuzz-c-in-bind-9-12-1-p2-v9_12' into 'v9_12'
...
Resolve "Memory Leak found in file 'fuzz.c' in BIND-9.12.1-P2"
See merge request isc-projects/bind9!489
2018-07-10 01:14:12 -04:00
Mark Andrews
22327b4cdf
free rbuf
...
(cherry picked from commit ecb2f20324 )
2018-07-10 14:37:52 +10:00
Evan Hunt
3631aeb070
Merge branch 'prep-release-v9_12_2' into 'v9_12'
...
prep 9.12.2
See merge request isc-projects/bind9!472
v9.12.2
2018-07-03 03:08:14 -04:00
Tinderbox User
355c8f0e55
prep 9.12.2
2018-07-03 06:57:10 +00:00
Evan Hunt
3a84d617bf
Merge branch 'fix-readme-v9_12' into 'v9_12'
...
Fix README
See merge request isc-projects/bind9!465
2018-07-02 20:23:13 -04:00
Evan Hunt
ec9e85260f
fix version ordering
2018-07-02 17:19:05 -07:00
Evan Hunt
56cf466766
Merge branch 'prep-release-v9_12_2rc2' into 'v9_12'
...
prep 9.12.2rc2
See merge request isc-projects/bind9!450
v9.12.2rc2
2018-06-28 00:55:59 -04:00