]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
7 years agoadd CHANGES
Mark Andrews [Wed, 6 Feb 2019 01:36:37 +0000 (12:36 +1100)] 
add CHANGES

7 years agosend over and undersized cookie
Mark Andrews [Tue, 5 Feb 2019 23:40:03 +0000 (10:40 +1100)] 
send over and undersized cookie

7 years agothe condition test for checking the client cookie value was wrong; don't call process...
Mark Andrews [Tue, 5 Feb 2019 23:08:47 +0000 (10:08 +1100)] 
the condition test for checking the client cookie value was wrong; don't call process_opt multiple times

7 years agoMerge branch '822-test-make-install-in-one-of-the-build-jobs' into 'master'
Ondřej Surý [Tue, 5 Feb 2019 13:41:17 +0000 (08:41 -0500)] 
Merge branch '822-test-make-install-in-one-of-the-build-jobs' into 'master'

Test "make install" in one of the build jobs

Closes #822

See merge request isc-projects/bind9!1450

7 years agoTest "make install" in one of the build jobs
Michał Kępień [Fri, 1 Feb 2019 12:35:53 +0000 (13:35 +0100)] 
Test "make install" in one of the build jobs

Running "make install" in a separate job in the "test" phase of a CI
pipeline causes a lot of object files to be rebuilt due to the way
artifacts are passed between GitLab CI jobs (object files extracted from
the artifacts archive have older modification times than their
respective source files checked out using Git by the worker running the
"install" job).  Test "make install" in one of the build jobs instead,
in order to prevent object rebuilding.

Using 'after_script' for this purpose was not an option because its
failures are ignored.

Duplicating the build script in two places would be error-prone in the
long run and thus was rejected as a solution.  YAML anchors would also
not help in this case.

A "positive" test (`test -n "${RUN_MAKE_INSTALL}" && make install`)
would not work because:

  - it would cause the build script to fail for any job not supposed to
    run "make install",

  - appending `|| :` to the shell pipeline would prevent "make install"
    errors from causing a job failure.

Due to the above, a "negative" test is performed, so that:

  - jobs not supposed to run "make install" succeed immediately,

  - jobs supposed to run "make install" only succeed when "make install"
    succeeds.

7 years agoMerge branch 'each-win-tests' into 'master'
Evan Hunt [Fri, 1 Feb 2019 06:55:25 +0000 (01:55 -0500)] 
Merge branch 'each-win-tests' into 'master'

tests failing on windows due to false crash-on-shutdown reports

See merge request isc-projects/bind9!1446

7 years agodisable the check for crash on shutdown when running under cygwin
Evan Hunt [Fri, 1 Feb 2019 05:35:08 +0000 (21:35 -0800)] 
disable the check for crash on shutdown when running under cygwin

7 years agoMerge branch '513-add-xfer-stats-for-primary-servers' into 'master'
Evan Hunt [Thu, 31 Jan 2019 22:16:13 +0000 (17:16 -0500)] 
Merge branch '513-add-xfer-stats-for-primary-servers' into 'master'

Make primary's transfer log more detailed

See merge request isc-projects/bind9!1427

7 years agoAdd CHANGES entry
Michał Kępień [Thu, 31 Jan 2019 14:43:58 +0000 (15:43 +0100)] 
Add CHANGES entry

5153. [func] Zone transfer statistics (size, number of records, and
number of messages) are now logged for outgoing
transfers as well as incoming ones. [GL #513]

7 years agoAdd system tests for IXFR statistics
Michał Kępień [Thu, 31 Jan 2019 14:43:58 +0000 (15:43 +0100)] 
Add system tests for IXFR statistics

Ensure IXFR statistics are calculated correctly by dig and named, both
for incoming and outgoing transfers.  Disable EDNS when using dig to
request an IXFR so that the same reference file can be used for testing
statistics calculated by both dig and named (dig uses EDNS by default
when sending transfer requests, which affects the number of bytes
transferred).

7 years agoAdd system tests for AXFR statistics
Michał Kępień [Thu, 31 Jan 2019 14:43:58 +0000 (15:43 +0100)] 
Add system tests for AXFR statistics

Ensure AXFR statistics are calculated correctly by dig and named, both
for incoming and outgoing transfers.  Rather than employing a zone which
is already used in the "xfer" system test, create a new one whose AXFR
form spans multiple TCP messages.  Disable EDNS when using dig to
request an AXFR so that the same reference file can be used for testing
statistics calculated by both dig and named (dig uses EDNS by default
when sending transfer requests, which affects the number of bytes
transferred).

7 years agoAdd functions for extracting transfer statistics
Michał Kępień [Thu, 31 Jan 2019 14:43:58 +0000 (15:43 +0100)] 
Add functions for extracting transfer statistics

Add two helper shell functions to facilitate extracting transfer
statistics from dig output and named log files.

7 years agoMaintain and report outgoing transfer statistics
Michał Kępień [Thu, 31 Jan 2019 14:43:58 +0000 (15:43 +0100)] 
Maintain and report outgoing transfer statistics

Transfer statistics are currently only reported for incoming transfers,
even though they are equally useful for outgoing transfers.  Define a
separate structure for keeping track of the number of messages, records,
and bytes sent during each outgoing transfer, along with the time each
outgoing transfer took.  Repurpose the 'nmsg' field of the xfrout_ctx_t
structure for tracking the number of messages actually sent, ensuring it
is only increased after isc_socket_send() indicates success.  Report the
statistics gathered when an outgoing transfer completes.

7 years agoTrack QUESTION section presence using a boolean
Michał Kępień [Thu, 31 Jan 2019 14:43:58 +0000 (15:43 +0100)] 
Track QUESTION section presence using a boolean

The 'nmsg' field of the xfrout_ctx_t structure is an integer, even
though it is only ever compared against 0 (for tracking whether the
QUESTION section has already been sent to the client).  Use a boolean
instead as it is more appropriate and also enables 'nmsg' to be
repurposed.

7 years agoMerge branch 'each-silence-warning' into 'master'
Evan Hunt [Thu, 31 Jan 2019 21:42:38 +0000 (16:42 -0500)] 
Merge branch 'each-silence-warning' into 'master'

silence a spurious dnssec-keygen warning in the dnssec system test

See merge request isc-projects/bind9!1238

7 years agosilence a spurious dnssec-keygen warning in the dnssec system test
Evan Hunt [Sat, 15 Dec 2018 00:58:54 +0000 (16:58 -0800)] 
silence a spurious dnssec-keygen warning in the dnssec system test

the occluded-key test creates both a KEY and a DNSKEY. the second
call to dnssec-keygen calls dns_dnssec_findmatchingkeys(), which causes
a spurious warning to be printed when it sees the type KEY record.
this should be fixed in dnssec.c, but the meantime this change silences
the warning by reversing the order in which the keys are created.

7 years agoMerge branch '714-dnssec-key-logging' into 'master'
Evan Hunt [Thu, 31 Jan 2019 20:32:10 +0000 (15:32 -0500)] 
Merge branch '714-dnssec-key-logging' into 'master'

Resolve "Add logging to DNSSEC key events"

Closes #714

See merge request isc-projects/bind9!1371

7 years agoCHANGES and release note
Evan Hunt [Mon, 21 Jan 2019 05:56:14 +0000 (21:56 -0800)] 
CHANGES and release note

7 years agotest logging of key maintenance events
Evan Hunt [Mon, 21 Jan 2019 06:21:16 +0000 (22:21 -0800)] 
test logging of key maintenance events

7 years agoadd more key maintenance event logging
Evan Hunt [Mon, 21 Jan 2019 04:05:58 +0000 (20:05 -0800)] 
add more key maintenance event logging

log when a key is:
- published in the DNSKEY rrset
- activated
- deactivated
- unpublished from the DNSKEY rrset
- revoked

7 years agoinclude the name when logging that a key is being fetched from key repostitory
Evan Hunt [Mon, 21 Jan 2019 03:37:40 +0000 (19:37 -0800)] 
include the name when logging that a key is being fetched from key repostitory

7 years agoincrease the log level for some key status and managed-key events
Evan Hunt [Mon, 21 Jan 2019 01:31:28 +0000 (17:31 -0800)] 
increase the log level for some key status and managed-key events

some key-related events were logged at DEBUG(3) but seem likely to
be relevant to a typical operator's interests during key rollovers.

7 years agouse log category "dnssec" instead of "zone" for DNSSEC-related events
Evan Hunt [Sun, 20 Jan 2019 18:25:20 +0000 (10:25 -0800)] 
use log category "dnssec" instead of "zone" for DNSSEC-related events

use "dnssec" log category for:
- managed key zone events
- DNSSEC key status changes (activation, deletion, etc)
- zone signing status

7 years agostyle cleanups
Evan Hunt [Sun, 20 Jan 2019 18:13:07 +0000 (10:13 -0800)] 
style cleanups

7 years agoMerge branch '850-catch-shutdown-aborts' into 'master'
Evan Hunt [Thu, 31 Jan 2019 17:27:54 +0000 (12:27 -0500)] 
Merge branch '850-catch-shutdown-aborts' into 'master'

detect crash on shutdown in stop.pl

Closes #850

See merge request isc-projects/bind9!1435

7 years agodetect crash on shutdown in stop.pl
Evan Hunt [Thu, 31 Jan 2019 01:12:40 +0000 (17:12 -0800)] 
detect crash on shutdown in stop.pl

7 years agoMerge branch '849-fix-tkey-leak' into 'master'
Evan Hunt [Thu, 31 Jan 2019 17:15:34 +0000 (12:15 -0500)] 
Merge branch '849-fix-tkey-leak' into 'master'

fix TKEY problems

Closes #849

See merge request isc-projects/bind9!1434

7 years agoChange #4148 wasn't complete
Evan Hunt [Wed, 30 Jan 2019 23:42:04 +0000 (15:42 -0800)] 
Change #4148 wasn't complete

- there was a memory leak when using negotiated TSIG keys.
- TKEY responses could only be signed when using a newly negotiated
  key; if an existent matching TSIG was found in in the keyring it
  would not be used.

7 years agoMerge branch '358-ancient-options' into 'master'
Ondřej Surý [Thu, 31 Jan 2019 11:16:26 +0000 (06:16 -0500)] 
Merge branch '358-ancient-options' into 'master'

make ancient named.conf options fatal

Closes #358

See merge request isc-projects/bind9!1373

7 years agoAdd CHANGES entry for #358.
Evan Hunt [Mon, 21 Jan 2019 07:50:17 +0000 (23:50 -0800)] 
Add CHANGES entry for #358.

7 years agoAncient named.conf options are now a fatal configuration error
Evan Hunt [Mon, 21 Jan 2019 07:50:17 +0000 (23:50 -0800)] 
Ancient named.conf options are now a fatal configuration error

- options that were flagged as obsolete or not implemented in 9.0.0
  are now flagged as "ancient", and are a fatal error
- the ARM has been updated to remove these, along with other
  obsolete descriptions of BIND 8 behavior
- the log message for obsolete options explicitly recommends removal

7 years agoMerge branch '735-remove-ability-to-disable-dbc-assertions' into 'master'
Ondřej Surý [Thu, 31 Jan 2019 10:37:19 +0000 (05:37 -0500)] 
Merge branch '735-remove-ability-to-disable-dbc-assertions' into 'master'

Remove support for compiling without assertions (Both ISC_CHECK_ALL, ISC_CHECK_NONE are now gone)

Closes #735

See merge request isc-projects/bind9!1130

7 years agoAdd CHANGES entry for GL #735.
Ondřej Surý [Thu, 31 Jan 2019 10:15:01 +0000 (11:15 +0100)] 
Add CHANGES entry for GL #735.

7 years agoRemove support for compiling without assertions (Both ISC_CHECK_ALL, ISC_CHECK_NONE...
Ondřej Surý [Fri, 23 Nov 2018 09:25:38 +0000 (10:25 +0100)] 
Remove support for compiling without assertions (Both ISC_CHECK_ALL, ISC_CHECK_NONE are now gone)

7 years agoMerge branch '101-dumpdb-stale-ttl' into 'master'
Matthijs Mekking [Thu, 31 Jan 2019 09:25:20 +0000 (04:25 -0500)] 
Merge branch '101-dumpdb-stale-ttl' into 'master'

Resolve "[Support#12071] [RT#46548] Output stale/expired data with 'rndc dumpdb'"

Closes #101

See merge request isc-projects/bind9!1387

7 years agoCHANGES
Matthijs Mekking [Wed, 30 Jan 2019 12:58:50 +0000 (13:58 +0100)] 
CHANGES

7 years agoAdd tests for dumpdb stale ttl
Matthijs Mekking [Thu, 24 Jan 2019 09:28:41 +0000 (10:28 +0100)] 
Add tests for dumpdb stale ttl

This adds a test for rndc dumpdb to ensure the correct "stale
comment" is printed.  It also adds a test for non-stale data to
ensure no "stale comment" is printed for active RRsets.

In addition, the serve-stale tests are hardened with more accurate
grep calls.

7 years agoPrint in dump-file stale ttl
Matthijs Mekking [Thu, 24 Jan 2019 09:24:44 +0000 (10:24 +0100)] 
Print in dump-file stale ttl

This change makes rndc dumpdb correctly print the "; stale" line.
It also provides extra information on how long this data may still
be served to clients (in other words how long the stale RRset may
still be used).

7 years agoMerge branch '821-matthijs-unsigned-gss-tsig-tkey-query-response' into 'master'
Evan Hunt [Wed, 30 Jan 2019 19:59:35 +0000 (14:59 -0500)] 
Merge branch '821-matthijs-unsigned-gss-tsig-tkey-query-response' into 'master'

Resolve "Unsigned GSS-TSIG TKEY Query Response"

Closes #821

See merge request isc-projects/bind9!1429

7 years agoUpdate CHANGES
Matthijs Mekking [Wed, 30 Jan 2019 10:16:04 +0000 (11:16 +0100)] 
Update CHANGES

7 years agoHarden checks
Matthijs Mekking [Wed, 30 Jan 2019 10:12:49 +0000 (11:12 +0100)] 
Harden checks

7 years agoBetter signed TKEY response verification
Matthijs Mekking [Wed, 30 Jan 2019 09:57:06 +0000 (10:57 +0100)] 
Better signed TKEY response verification

7 years agoNo longer need +question
Matthijs Mekking [Wed, 30 Jan 2019 09:04:41 +0000 (10:04 +0100)] 
No longer need +question

7 years agosuggested alternate test for TSIG signature
Evan Hunt [Tue, 29 Jan 2019 19:56:17 +0000 (11:56 -0800)] 
suggested alternate test for TSIG signature

feel free to remove this commit if you prefer the other method.

7 years ago"grep -q" isn't portable
Evan Hunt [Tue, 29 Jan 2019 19:57:57 +0000 (11:57 -0800)] 
"grep -q" isn't portable

7 years agoremove the 'new_tsigkey' exception, allow TSIG to be set any time
Evan Hunt [Tue, 29 Jan 2019 19:51:48 +0000 (11:51 -0800)] 
remove the 'new_tsigkey' exception, allow TSIG to be set any time

this allows 'dns_message_settsigkey()' to be run any time after
parsing without having to set a special flag in the message object.

7 years agoallow TSIG key to be added to message structure after parsing
Evan Hunt [Tue, 29 Jan 2019 19:39:06 +0000 (11:39 -0800)] 
allow TSIG key to be added to message structure after parsing

up until now, message->tsigkey could only be set during parsing
of the request, but gss-tsig allows one to be created afterward.

this commit adds a new flag to the message structure, `new_tsigkey`,
which indicates that in this case it's okay for `dns_message_settsigkey()`
to be run on a message after parsing, without hitting any assertions due
to the lack of a TSIG in the request. this allows us to keep the current
restriction in place generally, but add an exception for TKEY processing.
it's probably better to just remove the restriction entirely (see next
commit).

7 years agoWeak verification for signed TKEY response
Matthijs Mekking [Tue, 29 Jan 2019 17:09:06 +0000 (18:09 +0100)] 
Weak verification for signed TKEY response

The introduced grep call checks whether there was a
response that has an answer and an additional record.
There should be only one in the nsupdate output that is
for the TKEY response.

7 years agoSome thoughts on a solution
Matthijs Mekking [Tue, 29 Jan 2019 17:10:27 +0000 (18:10 +0100)] 
Some thoughts on a solution

7 years agoWeak verification for signed TKEY response
Matthijs Mekking [Tue, 29 Jan 2019 17:09:06 +0000 (18:09 +0100)] 
Weak verification for signed TKEY response

The introduced grep call checks whether there was a
response that has an answer and an additional record.
There should be only one in the nsupdate output that is
for the TKEY response.

7 years agoHarden GSS-TSIG tests
Matthijs Mekking [Tue, 29 Jan 2019 16:58:46 +0000 (17:58 +0100)] 
Harden GSS-TSIG tests

7 years agoMerge branch 'each-fix-win32-build' into 'master'
Ondřej Surý [Wed, 30 Jan 2019 15:56:47 +0000 (10:56 -0500)] 
Merge branch 'each-fix-win32-build' into 'master'

atomic_store wasn't working on windows

See merge request isc-projects/bind9!1403

7 years agoFix Centos 6 build by explicitly casting to __typeof__(obj) in atomic_compare_exchang...
Ondřej Surý [Wed, 30 Jan 2019 14:50:35 +0000 (15:50 +0100)] 
Fix Centos 6 build by explicitly casting to __typeof__(obj) in atomic_compare_exchange_strong shim function

7 years agoCast atomic_load_explicit to proper size
Witold Kręcicki [Wed, 30 Jan 2019 10:21:30 +0000 (11:21 +0100)] 
Cast atomic_load_explicit to proper size

7 years agoAdd #pragma intrinsic for intrinsic Windows functions
Ondřej Surý [Tue, 29 Jan 2019 16:07:27 +0000 (17:07 +0100)] 
Add #pragma intrinsic for intrinsic Windows functions

7 years agoFix memory_order_cst_seq -> memory_order_seq_cst typo
Ondřej Surý [Tue, 29 Jan 2019 15:35:03 +0000 (16:35 +0100)] 
Fix memory_order_cst_seq -> memory_order_seq_cst typo

7 years agoProperly use atomic_compare_exchange instead of load/store
Ondřej Surý [Tue, 29 Jan 2019 15:19:50 +0000 (16:19 +0100)] 
Properly use atomic_compare_exchange instead of load/store

7 years agoAdd define for InterlockedExchangeAdd8 intrinsic
Ondřej Surý [Tue, 29 Jan 2019 14:27:55 +0000 (15:27 +0100)] 
Add define for InterlockedExchangeAdd8 intrinsic

7 years agoAdd atomic_bool implementation to unix and win32 stdatomic.h shim headers
Ondřej Surý [Tue, 29 Jan 2019 09:30:54 +0000 (10:30 +0100)] 
Add atomic_bool implementation to unix and win32 stdatomic.h shim headers

7 years agoFix copy&paste error in the atomic_fetch_add_explicit{32,64} macros.
Ondřej Surý [Mon, 28 Jan 2019 20:29:56 +0000 (21:29 +0100)] 
Fix copy&paste error in the atomic_fetch_add_explicit{32,64} macros.

- InterlockedExchange was incorrectly used in place where InterlockedExchangeAdd
  should have been used

7 years agoBump Windows minimum target environment to _WIN32_WINNT_WIN8/NTDDI_WIN8 values
Ondřej Surý [Tue, 29 Jan 2019 09:24:37 +0000 (10:24 +0100)] 
Bump Windows minimum target environment to _WIN32_WINNT_WIN8/NTDDI_WIN8 values

7 years agoFix a typo in the win32 version of the atomic_store macro
Evan Hunt [Fri, 25 Jan 2019 21:38:24 +0000 (13:38 -0800)] 
Fix a typo in the win32 version of the atomic_store macro

7 years agoMoved the unix version to lib/isc/unix/include/isc so it's more obvious in the future...
Evan Hunt [Fri, 25 Jan 2019 21:38:24 +0000 (13:38 -0800)] 
Moved the unix version to lib/isc/unix/include/isc so it's more obvious in the future that it isn't the only copy

7 years agoMerge branch '848-keymgr-19-old-keys-failing-on-penguin' into 'master'
Mark Andrews [Wed, 30 Jan 2019 04:36:31 +0000 (23:36 -0500)] 
Merge branch '848-keymgr-19-old-keys-failing-on-penguin' into 'master'

Resolve "keymgr 19-old-keys failing on penguin"

Closes #848

See merge request isc-projects/bind9!1424

7 years agoadd CHANGES
Mark Andrews [Wed, 30 Jan 2019 04:07:30 +0000 (15:07 +1100)] 
add CHANGES

7 years agoadd 300 seconds of fudge
Mark Andrews [Wed, 30 Jan 2019 02:02:14 +0000 (13:02 +1100)] 
add 300 seconds of fudge

7 years agoonly use a single policy file when testing.
Mark Andrews [Wed, 30 Jan 2019 01:12:47 +0000 (12:12 +1100)] 
only use a single policy file when testing.

7 years agoMerge branch 'placeholder' into 'master'
Evan Hunt [Tue, 29 Jan 2019 23:07:31 +0000 (18:07 -0500)] 
Merge branch 'placeholder' into 'master'

placeholder

See merge request isc-projects/bind9!1421

7 years agoplaceholder
Evan Hunt [Tue, 29 Jan 2019 23:07:01 +0000 (15:07 -0800)] 
placeholder

7 years agoMerge branch '766-querytrace-doc' into 'master'
Evan Hunt [Tue, 29 Jan 2019 22:19:49 +0000 (17:19 -0500)] 
Merge branch '766-querytrace-doc' into 'master'

Resolve "--enable-querytrace has negative performance impact - update the documentation to say this"

Closes #766

See merge request isc-projects/bind9!1367

7 years agoadded querytrace documentation in README
Evan Hunt [Sun, 20 Jan 2019 00:12:45 +0000 (16:12 -0800)] 
added querytrace documentation in README

also:
- rearranged things a little, adding a "dependencies" section
- removed the documentation of 'enable-threads'. (this part of
  the change should not be backported.)

7 years agoMerge branch 'michal/add-fedora-29-to-ci' into 'master'
Michał Kępień [Tue, 29 Jan 2019 12:53:15 +0000 (07:53 -0500)] 
Merge branch 'michal/add-fedora-29-to-ci' into 'master'

Add Fedora 29 to CI

See merge request isc-projects/bind9!1414

7 years agoAdd Fedora 29 to CI
Michał Kępień [Tue, 29 Jan 2019 12:02:53 +0000 (13:02 +0100)] 
Add Fedora 29 to CI

Modify .gitlab-ci.yml so that every CI pipeline also builds and tests
BIND on Fedora 29.

7 years agoMerge branch 'ondrej/configure.ac-fix-int-assignment-to-pointer-in-ECC-checks' into...
Ondřej Surý [Tue, 29 Jan 2019 12:20:41 +0000 (07:20 -0500)] 
Merge branch 'ondrej/configure.ac-fix-int-assignment-to-pointer-in-ECC-checks' into 'master'

Change the check for EC curves so it doesn't assign int to pointer

See merge request isc-projects/bind9!1413

7 years agoChange the check for EC curves so it doesn't assign int to pointer
Ondřej Surý [Mon, 28 Jan 2019 15:31:22 +0000 (16:31 +0100)] 
Change the check for EC curves so it doesn't assign int to pointer

7 years agoMerge branch 'wpk-fix-taskmgr-tsan-issues' into 'master'
Witold Krecicki [Tue, 29 Jan 2019 08:56:55 +0000 (03:56 -0500)] 
Merge branch 'wpk-fix-taskmgr-tsan-issues' into 'master'

ix taskmgr tsan issues

See merge request isc-projects/bind9!1396

7 years agoFix a race in access to manager->tasks in taskmgr
Witold Kręcicki [Fri, 18 Jan 2019 10:47:43 +0000 (11:47 +0100)] 
Fix a race in access to manager->tasks in taskmgr
Make taskmgr->mode and boolean state flags (exclusive, paused, exiting) atomic.

7 years agoMerge branch '845-configure-PLATFORMS' into 'master'
Mark Andrews [Tue, 29 Jan 2019 04:59:57 +0000 (23:59 -0500)] 
Merge branch '845-configure-PLATFORMS' into 'master'

corrected PLATFORM.md to PLATFORMS.md to match reality

Closes #845

See merge request isc-projects/bind9!1408

7 years agocorrected PLATFORM.md to PLATFORMS.md to match reality
Alan [Tue, 29 Jan 2019 04:01:11 +0000 (04:01 +0000)] 
corrected PLATFORM.md to PLATFORMS.md to match reality

7 years agoMerge branch '259-named-args' into 'master'
Evan Hunt [Tue, 29 Jan 2019 04:24:42 +0000 (23:24 -0500)] 
Merge branch '259-named-args' into 'master'

add properly-formatted -D options to named.args files

Closes #259

See merge request isc-projects/bind9!1372

7 years agoalso add -D options for transient named processes started in tests.sh
Evan Hunt [Tue, 29 Jan 2019 02:11:57 +0000 (18:11 -0800)] 
also add -D options for transient named processes started in tests.sh

7 years agoadd properly-formatted -D options to named.args files
Evan Hunt [Mon, 21 Jan 2019 06:54:01 +0000 (22:54 -0800)] 
add properly-formatted -D options to named.args files

this prevents servers that use arguments specified in named.args
from appearing different in 'ps' output from servers run with arguments
from start.pl

7 years agoMerge branch 'each-fix-logfileconfig' into 'master'
Evan Hunt [Tue, 29 Jan 2019 03:57:47 +0000 (22:57 -0500)] 
Merge branch 'each-fix-logfileconfig' into 'master'

reset SYSTEMTESTTOP when changing directories

See merge request isc-projects/bind9!1407

7 years agoreset SYSTEMTESTTOP when changing directories
Evan Hunt [Tue, 29 Jan 2019 02:13:31 +0000 (18:13 -0800)] 
reset SYSTEMTESTTOP when changing directories

7 years agoMerge branch '842-broken-build' into 'master'
Mark Andrews [Tue, 29 Jan 2019 02:32:56 +0000 (21:32 -0500)] 
Merge branch '842-broken-build' into 'master'

rename struct members to avoid a name collision on BSD and MacOS

Closes #842

See merge request isc-projects/bind9!1406

7 years agorename struct members to avoid a name collision on BSD
Evan Hunt [Mon, 28 Jan 2019 18:59:27 +0000 (10:59 -0800)] 
rename struct members to avoid a name collision on BSD

7 years agoMerge branch 'michal/update-PLATFORMS-2019-01' into 'master'
Evan Hunt [Mon, 28 Jan 2019 18:54:15 +0000 (13:54 -0500)] 
Merge branch 'michal/update-PLATFORMS-2019-01' into 'master'

Update PLATFORMS (January 2019)

See merge request isc-projects/bind9!1405

7 years agoUpdate the list of supported platforms
Michał Kępień [Mon, 28 Jan 2019 12:37:39 +0000 (13:37 +0100)] 
Update the list of supported platforms

- Change 5023 (present in BIND 9.13.3+) removed BIND's internal
  implementation of the getifaddrs() function which was required for
  iterating network interfaces on Solaris 10 as that system does not
  support that function natively.
- As of January 2019, FreeBSD 10.x is neither supported upstream nor
  regularly tested by ISC, so move it from the list of regularly tested
  platforms to the "Best effort" section.
- Debian 10, OpenBSD 6.3, and Fedora 29 have been released and are now
  tested regularly.

7 years agoMerge branch 'wpk-atomic-counters-quota' into 'master'
Witold Krecicki [Fri, 25 Jan 2019 09:45:27 +0000 (04:45 -0500)] 
Merge branch 'wpk-atomic-counters-quota' into 'master'

Atomic counters and quota

See merge request isc-projects/bind9!1389

7 years agoCHANGES entry
Witold Kręcicki [Fri, 25 Jan 2019 08:35:13 +0000 (09:35 +0100)] 
CHANGES entry

7 years agoMake isc_counter use atomics instead of locks
Witold Kręcicki [Thu, 24 Jan 2019 11:05:29 +0000 (12:05 +0100)] 
Make isc_counter use atomics instead of locks

7 years ago- Make isc_quota use atomics instead of locks
Witold Kręcicki [Thu, 24 Jan 2019 11:01:11 +0000 (12:01 +0100)] 
- Make isc_quota use atomics instead of locks
- Use getters for isc_quota parameters, make fields private
- Fix a potential data race with recursion clients limits logging

7 years agoAdd atomic_store_relaxed and atomic_load_relaxed macros to isc/atomic.h, fix issues...
Witold Kręcicki [Mon, 21 Jan 2019 08:32:36 +0000 (09:32 +0100)] 
Add atomic_store_relaxed and atomic_load_relaxed macros to isc/atomic.h, fix issues in isc/stdatomic.h

7 years agoMerge branch 'each-win32-test-list' into 'master'
Evan Hunt [Fri, 25 Jan 2019 08:45:06 +0000 (03:45 -0500)] 
Merge branch 'each-win32-test-list' into 'master'

fix win32 system tests

See merge request isc-projects/bind9!1381

7 years agofix rrl test
Evan Hunt [Thu, 24 Jan 2019 18:11:25 +0000 (10:11 -0800)] 
fix rrl test

strip CR characters before using awk/sed

7 years agofix rpz test
Evan Hunt [Thu, 24 Jan 2019 17:42:30 +0000 (09:42 -0800)] 
fix rpz test

- work around a CR newline problem
- use rndc to stop servers

7 years agofix rpzrecurse test
Evan Hunt [Thu, 24 Jan 2019 17:21:35 +0000 (09:21 -0800)] 
fix rpzrecurse test

use rndc to stop servers

7 years agofix dnssec test
Evan Hunt [Thu, 24 Jan 2019 06:57:49 +0000 (22:57 -0800)] 
fix dnssec test

- work around CR issues
- use UTC for time comparisons
- use $DIFF instead of cmp

7 years agofix legacy test
Evan Hunt [Thu, 24 Jan 2019 06:08:43 +0000 (22:08 -0800)] 
fix legacy test

use rndc rather than signals to stop the server

7 years agofix fetchlimit test
Evan Hunt [Thu, 24 Jan 2019 06:00:00 +0000 (22:00 -0800)] 
fix fetchlimit test

use TCP for the test queries in between UDP bursts; this avoids
congestion issues that interfered with the test on windows