]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
8 years agoDon't synthesize NXDOMAIN from NSEC for records under a DNAME
Witold Kręcicki [Thu, 5 Jul 2018 10:58:49 +0000 (12:58 +0200)] 
Don't synthesize NXDOMAIN from NSEC for records under a DNAME

8 years agoMerge branch '402-memory-leak-found-in-file-fuzz-c-in-bind-9-12-1-p2' into 'master'
Mark Andrews [Tue, 10 Jul 2018 04:32:32 +0000 (00:32 -0400)] 
Merge branch '402-memory-leak-found-in-file-fuzz-c-in-bind-9-12-1-p2' into 'master'

Resolve "Memory Leak found in file 'fuzz.c' in BIND-9.12.1-P2"

Closes #402

See merge request isc-projects/bind9!488

8 years agofree rbuf
Mark Andrews [Tue, 10 Jul 2018 04:24:06 +0000 (14:24 +1000)] 
free rbuf

8 years agoMerge branch 'prep-release-v9_13_2' into 'master' v9.13.2
Evan Hunt [Tue, 3 Jul 2018 07:51:40 +0000 (03:51 -0400)] 
Merge branch 'prep-release-v9_13_2' into 'master'

prep 9.13.2

See merge request isc-projects/bind9!473

8 years agoprep 9.13.2
Tinderbox User [Tue, 3 Jul 2018 07:31:31 +0000 (07:31 +0000)] 
prep 9.13.2

8 years agoMerge branch 'clarify-mirror' into 'master'
Michał Kępień [Tue, 3 Jul 2018 07:23:50 +0000 (03:23 -0400)] 
Merge branch 'clarify-mirror' into 'master'

clarify documentation of the 'mirror' option

See merge request isc-projects/bind9!469

8 years agoclarify documentation of the 'mirror' option
Evan Hunt [Tue, 3 Jul 2018 06:07:38 +0000 (23:07 -0700)] 
clarify documentation of the 'mirror' option

8 years agoMerge branch '371-remove-dns_rdataslab_tordataset' into 'master'
Michał Kępień [Tue, 3 Jul 2018 06:53:53 +0000 (02:53 -0400)] 
Merge branch '371-remove-dns_rdataslab_tordataset' into 'master'

Remove dns_rdataslab_tordataset() and its related dns_rdatasetmethods_t callbacks

Closes #371

See merge request isc-projects/bind9!456

8 years agoAdd CHANGES entry
Michał Kępień [Tue, 3 Jul 2018 06:44:05 +0000 (08:44 +0200)] 
Add CHANGES entry

4987. [cleanup] dns_rdataslab_tordataset() and its related
dns_rdatasetmethods_t callbacks were removed as they
were not being used by anything in BIND. [GL #371]

8 years agoRemove dns_rdataslab_tordataset() and its related dns_rdatasetmethods_t callbacks
Michał Kępień [Tue, 3 Jul 2018 06:44:05 +0000 (08:44 +0200)] 
Remove dns_rdataslab_tordataset() and its related dns_rdatasetmethods_t callbacks

Since BIND libraries are no longer considered public and
dns_rdataslab_tordataset() is not used anywhere in the tree, remove the
latter and its associated dns_rdatasetmethods_t callbacks from
lib/dns/rdataslab.c.

8 years agoMerge branch 'fix-doc' into 'master'
Evan Hunt [Tue, 3 Jul 2018 02:11:33 +0000 (22:11 -0400)] 
Merge branch 'fix-doc' into 'master'

fix doc issues

See merge request isc-projects/bind9!466

8 years agoupdate new features list; also fix the "mirror" release note
Evan Hunt [Tue, 3 Jul 2018 02:09:32 +0000 (19:09 -0700)] 
update new features list; also fix the "mirror" release note

8 years agoMerge branch '321-improve-documentation-on-libcap-change' into 'master'
Evan Hunt [Mon, 2 Jul 2018 16:35:05 +0000 (12:35 -0400)] 
Merge branch '321-improve-documentation-on-libcap-change' into 'master'

Improve documentation on libcap change in 9.13+

See merge request isc-projects/bind9!461

8 years agoUse m4_normalize to reformat the long lines in the configure output
Ondřej Surý [Mon, 2 Jul 2018 06:53:13 +0000 (08:53 +0200)] 
Use m4_normalize to reformat the long lines in the configure output

8 years agoImprove documentation and error messages when libcap is not available
Ondřej Surý [Mon, 2 Jul 2018 06:47:32 +0000 (08:47 +0200)] 
Improve documentation and error messages when libcap is not available

8 years agoMerge branch '321-remove-linux-capability-support-without-libcap' into 'master'
Ondřej Surý [Sat, 30 Jun 2018 14:59:49 +0000 (10:59 -0400)] 
Merge branch '321-remove-linux-capability-support-without-libcap' into 'master'

Remove ability to build without libcap when Linux capabilities are enabled

Closes #321

See merge request isc-projects/bind9!421

8 years agoAdd CHANGES entry for GL #321.
Ondřej Surý [Tue, 26 Jun 2018 13:52:37 +0000 (15:52 +0200)] 
Add CHANGES entry for GL #321.

8 years agolibcap ships with <sys/capability.h>, so use an #ifdef associated with that header...
Michał Kępień [Thu, 28 Jun 2018 19:54:22 +0000 (21:54 +0200)] 
libcap ships with <sys/capability.h>, so use an #ifdef associated with that header to determine whether to enable capabilities support

8 years agoRevert parts of 3dd314590e introducing WANT_LINUX_CAPABILITY
Michał Kępień [Thu, 28 Jun 2018 19:48:08 +0000 (21:48 +0200)] 
Revert parts of 3dd314590e introducing WANT_LINUX_CAPABILITY

8 years agoMake libcap mandatory when Linux capabilities are enabled
Ondřej Surý [Tue, 26 Jun 2018 12:52:11 +0000 (14:52 +0200)] 
Make libcap mandatory when Linux capabilities are enabled

8 years agoMerge branch 'fix-win32' into 'master'
Evan Hunt [Thu, 28 Jun 2018 15:46:51 +0000 (11:46 -0400)] 
Merge branch 'fix-win32' into 'master'

add missing symbols for windows build

See merge request isc-projects/bind9!454

8 years agoadd missing symbols
Evan Hunt [Thu, 28 Jun 2018 15:38:22 +0000 (08:38 -0700)] 
add missing symbols

8 years agoMerge branch '33-implement-mirror-zones' into 'master'
Michał Kępień [Thu, 28 Jun 2018 11:53:10 +0000 (07:53 -0400)] 
Merge branch '33-implement-mirror-zones' into 'master'

Implement mirror zones

Closes #33

See merge request isc-projects/bind9!329

8 years agoAdd CHANGES entry
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Add CHANGES entry

4985. [func] Add a new slave zone option, "mirror", to enable
serving a non-authoritative copy of a zone that
is subject to DNSSEC validation before being
used.  For now, this option is only meant to
facilitate deployment of an RFC 7706-style local
copy of the root zone. [GL #33]

8 years agoAdd a release note
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Add a release note

8 years agoAdd documentation for mirror zones
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Add documentation for mirror zones

Update the ARM and various option lists with information about the
"mirror" option for slave zones.

8 years agoMake "rndc zonestatus" output for mirror zones different than for regular slave zones
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Make "rndc zonestatus" output for mirror zones different than for regular slave zones

Replace "type: slave" with "type: mirror" in "rndc zonestatus" output
for mirror zones in order to enable the user to tell a regular slave
zone and a mirror zone apart.

8 years agoDisable notifies for mirror zones unless also-notify is used
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Disable notifies for mirror zones unless also-notify is used

Since the mirror zone feature is expected to mostly be used for the root
zone, prevent slaves from sending NOTIFY messages for mirror zones by
default.  Retain the possibility to use "also-notify" as it might be
useful in certain cases.

8 years agoDisable outgoing mirror zone transfers by default
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Disable outgoing mirror zone transfers by default

As mirror zone data should be treated the way validated, cached DNS
responses are, outgoing mirror zone transfers should be disabled unless
they are explicitly enabled by zone configuration.

8 years agoTreat mirror zone data as cache data for access control purposes
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Treat mirror zone data as cache data for access control purposes

As mirror zone data should be treated the way validated, cached DNS
responses are, it should not be used when responding to clients who are
not allowed cache access.  Reuse code responsible for determining cache
database access for evaluating mirror zone access.

8 years agoRework query_checkcacheaccess()
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Rework query_checkcacheaccess()

Modify query_checkcacheaccess() so that it only contains a single return
statement rather than three and so that the "check_acl" variable is no
longer needed.  Tweak and expand comments.  Fix coding style issues.

8 years agoSimplify query_getcachedb()
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Simplify query_getcachedb()

Modify query_getcachedb() so that it uses a common return path for both
success and failure.  Remove a redundant NULL check since 'db' will
never be NULL after being passed as a target pointer to dns_db_attach().
Fix coding style issues.

8 years agoExtract cache access checks in query_getcachedb() to a separate function
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Extract cache access checks in query_getcachedb() to a separate function

Extract the parts of query_getcachedb() responsible for checking whether
the client is allowed to access the cache to a separate function, so
that it can be reused for determining mirror zone access.

8 years agoFall back to normal recursion when mirror zone data is unavailable
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Fall back to normal recursion when mirror zone data is unavailable

If transferring or loading a mirror zone fails, resolution should still
succeed by means of falling back to regular recursive queries.
Currently, though, if a slave zone is present in the zone table and not
loaded, a SERVFAIL response is generated.  Thus, mirror zones need
special handling in this regard.

Add a new dns_zt_find() flag, DNS_ZTFIND_MIRROR, and set it every time a
domain name is looked up rather than a zone itself.  Handle that flag in
dns_zt_find() in such a way that a mirror zone which is expired or not
yet loaded is ignored when looking up domain names, but still possible
to find when the caller wants to know whether the zone is configured.
This causes a fallback to recursion when mirror zone data is unavailable
without making unloaded mirror zones invisible to code checking a zone's
existence.

8 years agoEnsure responses sourced from mirror zones have the AD bit set
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Ensure responses sourced from mirror zones have the AD bit set

Zone RRsets are assigned trust level "ultimate" upon load, which causes
the AD bit to not be set in responses coming from slave zones, including
mirror zones.  Make dns_zoneverify_dnssec() update the trust level of
verified RRsets to "secure" so that the AD bit is set in such responses.
No rollback mechanism is implemented as dns_zoneverify_dnssec() fails in
case of any DNSSEC failure, which causes the mirror zone version being
verified to be discarded.

8 years agoDo not treat mirror zone data as authoritative
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Do not treat mirror zone data as authoritative

Section 4 of RFC 7706 suggests that responses sourced from a local copy
of a zone should not have the AA bit set.  Follow that recommendation by
setting 'qctx->authoritative' to ISC_FALSE when a response to a query is
coming from a mirror zone.

8 years agoEnsure delegations inside mirror zones are properly handled for non-recursive queries
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Ensure delegations inside mirror zones are properly handled for non-recursive queries

When a resolver is a regular slave (i.e. not a mirror) for some zone,
non-recursive queries for names below that slaved zone will return a
delegation sourced from it.  This behavior is suboptimal for mirror
zones as their contents should rather be treated as validated, cached
DNS responses.  Modify query_delegation() and query_zone_delegation() to
permit clients allowed cache access to check its contents for a better
answer when responding to non-recursive queries.

8 years agoPerform basic resolution checks with a mirror zone in use
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Perform basic resolution checks with a mirror zone in use

Make ns3 mirror the "root" zone from ns1 and query the former for a
properly signed record below the root.  Ensure ns1 is not queried during
resolution and that the AD bit is set in the response.

8 years agoVerify mirror zone journals
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Verify mirror zone journals

As mirror zone files are verified when they are loaded from disk, verify
journal files as well to ensure invalid data is not used.  Reuse the
journals generated during IXFR tests to test this.

8 years agoVerify mirror zone files loaded from disk
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Verify mirror zone files loaded from disk

Verify data read from mirror zone files before it is used in order to
prevent loading corrupt mirror zones from disk.

8 years agoVerify mirror zone IXFRs
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Verify mirror zone IXFRs

Update ixfr_commit() so that all incoming versions of a mirror zone
transferred using IXFR are verified before being used.

8 years agoVerify mirror zone AXFRs
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Verify mirror zone AXFRs

Update axfr_commit() so that all incoming versions of a mirror zone
transferred using AXFR are verified before being used.  If zone
verification fails, discard the received version of the zone, wait until
the next refresh and retry.

8 years agoAdd dns_zone_verifydb()
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Add dns_zone_verifydb()

Add a function for determining whether the supplied version of a mirror
zone passes DNSSEC validation and is signed using a trusted key.  Define
a new libdns result signifying a zone verification failure.

8 years agoEnable dns_zoneverify_dnssec() to check whether the zone was signed by a trust anchor
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Enable dns_zoneverify_dnssec() to check whether the zone was signed by a trust anchor

Extend check_dnskey_sigs() so that, if requested, it checks whether the
DNSKEY RRset at zone apex is signed by at least one trust anchor.  The
trust anchor table is passed as an argument to dns_zoneverify_dnssec()
and passed around in the verification context structure.  Neither
dnssec-signzone nor dnssec-verify are yet modified to make use of that
feature, though.

8 years agoAdd a system test for mirror zones
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Add a system test for mirror zones

Create the basic files comprising a system test and define a few helper
functions which will be useful when testing mirror zones.

8 years agoImplement a "read-only" version of nextpart()
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Implement a "read-only" version of nextpart()

The system test helper function nextpart() always updates the "lines
read so far" marker ("<file>.prev") when it is called, which somewhat
limits its flexibility.  Add two new helper functions, nextpartpeek()
and nextpartreset(), so that certain parts of log files can be easily
examined more than once.  Add some documentation to help understand the
purpose of each function in the nextpart*() family.

8 years agoAdd new "mirror" slave zone option
Michał Kępień [Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)] 
Add new "mirror" slave zone option

Add a new slave-only boolean configuration option, "mirror", along with
its corresponding dns_zoneopt_t enum and a helper function for checking
whether that option was set for a given zone.  This commit does not
introduce any behavior changes yet.

8 years agoMerge branch '339-issues-with-large-journal-entries' into 'master'
Evan Hunt [Thu, 28 Jun 2018 01:24:29 +0000 (21:24 -0400)] 
Merge branch '339-issues-with-large-journal-entries' into 'master'

Fix handling of large journal entries.

Closes #339

See merge request isc-projects/bind9!432

8 years agoCHANGES, release note
Evan Hunt [Thu, 28 Jun 2018 00:34:51 +0000 (17:34 -0700)] 
CHANGES, release note

8 years agoFallback to normal procedure if creating of ixfr-from-differences fails
Witold Kręcicki [Wed, 27 Jun 2018 12:10:04 +0000 (14:10 +0200)] 
Fallback to normal procedure if creating of ixfr-from-differences fails

8 years agoFix some issues with large journal entries
Witold Kręcicki [Tue, 26 Jun 2018 19:06:55 +0000 (21:06 +0200)] 
Fix some issues with large journal entries

8 years agoMerge branch '367-dnssec-system-test-failing' into 'master'
Ondřej Surý [Wed, 27 Jun 2018 11:35:32 +0000 (07:35 -0400)] 
Merge branch '367-dnssec-system-test-failing' into 'master'

Resolve "dnssec system test failing"

Closes #367

See merge request isc-projects/bind9!438

8 years agoremove re-signing race when testing dnskey-sig-validity
Mark Andrews [Wed, 27 Jun 2018 04:04:16 +0000 (14:04 +1000)] 
remove re-signing race when testing dnskey-sig-validity

8 years agoimprove forensics
Mark Andrews [Wed, 27 Jun 2018 03:32:31 +0000 (13:32 +1000)] 
improve forensics

8 years agoMerge branch '366-missing-dereference-in-require-statement' into 'master'
Mark Andrews [Wed, 27 Jun 2018 07:33:12 +0000 (03:33 -0400)] 
Merge branch '366-missing-dereference-in-require-statement' into 'master'

Resolve "Missing dereference in REQUIRE statement?"

Closes #366

See merge request isc-projects/bind9!437

8 years agocfg_parse_boolean's REQUIRE test for ret was incomplete.
Mark Andrews [Wed, 27 Jun 2018 01:10:59 +0000 (11:10 +1000)] 
cfg_parse_boolean's REQUIRE test for ret was incomplete.

8 years agoMerge branch '275-add-permanent-option-to-disable-server-side-cookies' into 'master'
Evan Hunt [Tue, 26 Jun 2018 22:20:37 +0000 (18:20 -0400)] 
Merge branch '275-add-permanent-option-to-disable-server-side-cookies' into 'master'

Resolve "Provide a mechanism (build or runtime) to turn off server-side support for RFC7873"

Closes #275

See merge request isc-projects/bind9!413

8 years agoUpdate CHANGES and doc to reflect changes in master
Ondřej Surý [Tue, 26 Jun 2018 09:56:20 +0000 (11:56 +0200)] 
Update CHANGES and doc to reflect changes in master

8 years agoadd CHANGES and release notes
Mark Andrews [Fri, 8 Jun 2018 06:17:27 +0000 (16:17 +1000)] 
add CHANGES and release notes

(cherry picked from commit 5f7a6232d632119e4eb3e5e0e6d2b2c665820b3e)

8 years agoUpdate ARM documentation
Mukund Sivaraman [Tue, 20 Mar 2018 16:19:16 +0000 (21:49 +0530)] 
Update ARM documentation

(cherry picked from commit b5265a8cfa8ed1818f2ea1ccbe2d2c66bbe0e431)

8 years agoAdd system test
Mukund Sivaraman [Tue, 20 Mar 2018 16:06:01 +0000 (21:36 +0530)] 
Add system test

(cherry picked from commit a5933fa2bb6270f900515fb466cfaded2430b4ba)

8 years agoAdd a answer-cookie named config option
Mukund Sivaraman [Mon, 19 Mar 2018 12:39:05 +0000 (18:09 +0530)] 
Add a answer-cookie named config option

(cherry picked from commit 29305073575459a66f0a93b9becc4863fd1c0c6b)

8 years agoMerge branch '260-queries-with-empty-question-section-return-noerror' into 'master'
Evan Hunt [Tue, 26 Jun 2018 21:20:08 +0000 (17:20 -0400)] 
Merge branch '260-queries-with-empty-question-section-return-noerror' into 'master'

Resolve "Queries with empty question section (and otherwise query message of undetermined RDCLASS) return NOERROR instead of FORMERR"

Closes #260

See merge request isc-projects/bind9!283

8 years agoCHANGES
Evan Hunt [Tue, 26 Jun 2018 20:52:47 +0000 (13:52 -0700)] 
CHANGES

8 years agoreturn FORMERR when question section is empty if COOKIE is not present
Mukund Sivaraman [Tue, 15 May 2018 18:37:17 +0000 (00:07 +0530)] 
return FORMERR when question section is empty if COOKIE is not present

8 years agoMerge branch 'temp-disable-qmin-on-rpz' into 'master'
Ondřej Surý [Tue, 26 Jun 2018 19:47:52 +0000 (15:47 -0400)] 
Merge branch 'temp-disable-qmin-on-rpz' into 'master'

Temporarily disable qname minimization in RPZ tests

See merge request isc-projects/bind9!433

8 years agoTemporarily disable qname minimization in RPZ test
Witold Kręcicki [Tue, 26 Jun 2018 19:28:24 +0000 (21:28 +0200)] 
Temporarily disable qname minimization in RPZ test

8 years agoMerge branch 'git-replay-merge-explicit-push' into 'master'
Ondřej Surý [Tue, 26 Jun 2018 16:58:33 +0000 (12:58 -0400)] 
Merge branch 'git-replay-merge-explicit-push' into 'master'

Explicitly push into the same named branch at the remote

See merge request isc-projects/bind9!424

8 years agoExplicitly push into same named branch at the remote instead of relying on whatever...
Ondřej Surý [Tue, 26 Jun 2018 16:49:40 +0000 (18:49 +0200)] 
Explicitly push into same named branch at the remote instead of relying on whatever branch settings the git config might have

8 years agoMerge branch 'fix-changes' into 'master'
Evan Hunt [Tue, 26 Jun 2018 16:02:34 +0000 (12:02 -0400)] 
Merge branch 'fix-changes' into 'master'

fix CHANGES

See merge request isc-projects/bind9!422

8 years agoadd missing placeholder and fix CHANGES numbers
Evan Hunt [Tue, 26 Jun 2018 16:01:39 +0000 (09:01 -0700)] 
add missing placeholder and fix CHANGES numbers

8 years agoMerge branch '180-fix-cmsgbuf-usage' into 'master'
Witold Krecicki [Tue, 26 Jun 2018 15:55:14 +0000 (11:55 -0400)] 
Merge branch '180-fix-cmsgbuf-usage' into 'master'

Resolve "Intermittent recursive resolver issues [socket.c:2135]"

Closes #180

See merge request isc-projects/bind9!409

8 years agoUse completely static-sized buffers
Witold Kręcicki [Tue, 26 Jun 2018 13:11:28 +0000 (15:11 +0200)] 
Use completely static-sized buffers

8 years agoFix socket cmsg buffer usage
Witold Kręcicki [Tue, 26 Jun 2018 09:18:43 +0000 (11:18 +0200)] 
Fix socket cmsg buffer usage

8 years agoMerge branch '288-named-checkconf-does-not-recognize-errors-related-to-in-view-zones...
Evan Hunt [Tue, 26 Jun 2018 15:33:32 +0000 (11:33 -0400)] 
Merge branch '288-named-checkconf-does-not-recognize-errors-related-to-in-view-zones' into 'master'

Resolve "named-checkconf does not recognize errors related to in-view zones"

Closes #288

See merge request isc-projects/bind9!319

8 years agoCHANGES, copyright
Mark Andrews [Fri, 25 May 2018 06:29:04 +0000 (16:29 +1000)] 
CHANGES, copyright

8 years agoconstruct a symtab of valid in-view targets then check that the target exists
Mark Andrews [Fri, 25 May 2018 03:15:00 +0000 (13:15 +1000)] 
construct a symtab of valid in-view targets then check that the target exists

8 years agoMerge branch '312-fix-rpz-system-test' into 'master'
Michał Kępień [Tue, 26 Jun 2018 10:52:03 +0000 (06:52 -0400)] 
Merge branch '312-fix-rpz-system-test' into 'master'

Fix rpz system test

Closes #312

See merge request isc-projects/bind9!340

8 years agoAdd CHANGES entry
Michał Kępień [Tue, 26 Jun 2018 10:19:41 +0000 (12:19 +0200)] 
Add CHANGES entry

4978. [test] Fix error handling and resolver configuration in the
"rpz" system test. [GL #312]

8 years agoDo not use IANA DNSSEC keys in the "rpz" system test
Michał Kępień [Tue, 26 Jun 2018 10:19:41 +0000 (12:19 +0200)] 
Do not use IANA DNSSEC keys in the "rpz" system test

With "dnssec-validation" now defaulting to "auto", it needs to be
explicitly set to "yes" (the previous default value) for all validating
resolvers used in system tests.  Ensure that requirement is satisfied by
the resolvers used in the "rpz" system test.

8 years agoDetermine "rpz" system test mode based on $mode rather than $DNSRPS_TEST_MODE
Michał Kępień [Tue, 26 Jun 2018 10:19:41 +0000 (12:19 +0200)] 
Determine "rpz" system test mode based on $mode rather than $DNSRPS_TEST_MODE

Change 4897 modified the way the $DNSRPS_TEST_MODE variable is used in
bin/tests/system/rpz/tests.sh without updating all references to it,
which i.a. causes the $native and $dnsrps variables to not be set in the
default testing mode, effectively preventing failed checks from being
propagated to the final result of the test.  Use $mode instead of
$DNSRPS_TEST_MODE where appropriate to fix error handling in the "rpz"
system test.

8 years agoMerge branch 'git-replay-merge+x' into 'master'
Ondřej Surý [Tue, 26 Jun 2018 09:47:45 +0000 (05:47 -0400)] 
Merge branch 'git-replay-merge+x' into 'master'

Make util/git-replay-merge.sh executable

See merge request isc-projects/bind9!411

8 years agoMake util/git-replay-merge.sh executable 412/head
Ondřej Surý [Tue, 26 Jun 2018 09:37:20 +0000 (11:37 +0200)] 
Make util/git-replay-merge.sh executable

8 years agoMerge branch '247-log-the-remaining-v-info-at-startup' into 'master'
Evan Hunt [Mon, 25 Jun 2018 22:00:17 +0000 (18:00 -0400)] 
Merge branch '247-log-the-remaining-v-info-at-startup' into 'master'

Resolve "Log the remaining -V info at startup"

Closes #247

See merge request isc-projects/bind9!249

8 years agolog the remaining -V info at startup
Mark Andrews [Tue, 8 May 2018 06:09:18 +0000 (16:09 +1000)] 
log the remaining -V info at startup

8 years agoMerge branch '254-invalid-rpz-prefix-length-log-message-improperly-displays-the-prefi...
Mark Andrews [Mon, 25 Jun 2018 07:29:23 +0000 (03:29 -0400)] 
Merge branch '254-invalid-rpz-prefix-length-log-message-improperly-displays-the-prefix-labels-not-length' into 'master'

Resolve ""invalid RPZ prefix length" log message improperly displays the prefix labels, not length"

Closes #254

See merge request isc-projects/bind9!270

8 years agoAdd CHANGES entry
Mukund Sivaraman [Sat, 12 May 2018 03:27:56 +0000 (08:57 +0530)] 
Add CHANGES entry

8 years agoAdd system test
Mukund Sivaraman [Sat, 12 May 2018 03:03:18 +0000 (08:33 +0530)] 
Add system test

8 years agoPatch in trailing nul character to print just the length label (for various cases...
Mukund Sivaraman [Sat, 12 May 2018 02:50:57 +0000 (08:20 +0530)] 
Patch in trailing nul character to print just the length label (for various cases below)

8 years agoMerge branch '343-casecompare-of-ninfo-tkey-txt-have-wrong-return-type' into 'master'
Mark Andrews [Mon, 25 Jun 2018 02:57:20 +0000 (22:57 -0400)] 
Merge branch '343-casecompare-of-ninfo-tkey-txt-have-wrong-return-type' into 'master'

Resolve "casecompare of NINFO, TKEY, TXT have wrong return type"

Closes #343

See merge request isc-projects/bind9!384

8 years agofix casecompare return type for ninfo, tkey, txt
Mark Andrews [Mon, 18 Jun 2018 01:10:42 +0000 (11:10 +1000)] 
fix casecompare return type for ninfo, tkey, txt

8 years agoMerge branch '355-bind-9-13-1-windows-build-fails' into 'master'
Ondřej Surý [Fri, 22 Jun 2018 10:37:33 +0000 (06:37 -0400)] 
Merge branch '355-bind-9-13-1-windows-build-fails' into 'master'

Resolve "BIND 9.13.1: Windows Build Fails"

Closes #355

See merge request isc-projects/bind9!400

8 years agoadd zoneverify.c and zoneverify.h to libdns.vcxproj.filters.in and libdns.vcxproj.in
Mark Andrews [Fri, 22 Jun 2018 00:46:06 +0000 (10:46 +1000)] 
add zoneverify.c and zoneverify.h to libdns.vcxproj.filters.in and libdns.vcxproj.in

8 years agoMerge branch '356-client-cookie-is-being-hashed-twice-when-computing-the-dns-server...
Mark Andrews [Fri, 22 Jun 2018 07:40:23 +0000 (03:40 -0400)] 
Merge branch '356-client-cookie-is-being-hashed-twice-when-computing-the-dns-server-cookie' into 'master'

Resolve "Client cookie is being hashed twice when computing the DNS server cookie."

Closes #356

See merge request isc-projects/bind9!399

8 years ago4975. [bug] The server cookie computation for sha1 and sha256 did
Mark Andrews [Fri, 22 Jun 2018 00:26:21 +0000 (10:26 +1000)] 
4975.   [bug]           The server cookie computation for sha1 and sha256 did
                        not match the method described in RFC 7873. [GL #356]

8 years agothe client cookie was being hashed twice when computing the server cookie for sha1...
Mark Andrews [Thu, 21 Jun 2018 23:50:10 +0000 (09:50 +1000)] 
the client cookie was being hashed twice when computing the server cookie for sha1 and sha256

8 years agoMerge branch '351-fix-with-cmocka=path-build' into 'master'
Ondřej Surý [Thu, 21 Jun 2018 12:22:48 +0000 (08:22 -0400)] 
Merge branch '351-fix-with-cmocka=path-build' into 'master'

Resolve "configure fails unless --enable-developer is specified"

Closes #351

See merge request isc-projects/bind9!393

8 years agoUse cmocka_set_message_output as test function for cmocka presence
Ondřej Surý [Thu, 21 Jun 2018 12:12:02 +0000 (14:12 +0200)] 
Use cmocka_set_message_output as test function for cmocka presence

8 years agoMerge branch '350-merge-9-13-1-release-to-master' into 'master'
Ondřej Surý [Thu, 21 Jun 2018 10:40:12 +0000 (06:40 -0400)] 
Merge branch '350-merge-9-13-1-release-to-master' into 'master'

Resolve "Merge 9.13.1 release to master"

Closes #350

See merge request isc-projects/bind9!392

8 years agoprepare 9.13.1 release
Evan Hunt [Fri, 8 Jun 2018 19:50:21 +0000 (12:50 -0700)] 
prepare 9.13.1 release