]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
7 years agoRemove DST_ALG_ECC algorithm number, it was never specified and it's listed as Reserv... 628-remove-DST_ALG_ECC
Ondřej Surý [Tue, 11 Dec 2018 10:37:52 +0000 (11:37 +0100)] 
Remove DST_ALG_ECC algorithm number, it was never specified and it's listed as Reserved in the IANA DNS Security Algorithm Numbers table

7 years agoMerge branch '628-refactor-digdelv-system-test' into 'master'
Ondřej Surý [Tue, 11 Dec 2018 10:16:59 +0000 (05:16 -0500)] 
Merge branch '628-refactor-digdelv-system-test' into 'master'

Refactor digdelv system test

See merge request isc-projects/bind9!1190

7 years agoRun the digdelv tests with `set -e` enabled
Ondřej Surý [Thu, 6 Dec 2018 10:07:22 +0000 (11:07 +0100)] 
Run the digdelv tests with `set -e` enabled

7 years agoUpdate digdelv system test to not use static RSAMD5 key and make scripts shellcheck...
Ondřej Surý [Thu, 25 Oct 2018 14:04:12 +0000 (16:04 +0200)] 
Update digdelv system test to not use static RSAMD5 key and make scripts shellcheck clean

7 years agoMerge branch '628-refactor-synthfromdnssec-system-test' into 'master'
Ondřej Surý [Tue, 11 Dec 2018 09:19:52 +0000 (04:19 -0500)] 
Merge branch '628-refactor-synthfromdnssec-system-test' into 'master'

Refactor synthfromdnssec system test

See merge request isc-projects/bind9!1193

7 years agoRefactor synthfromdnssec system test to use $DEFAULT_ALGORITHM, be shellcheck clean...
Ondřej Surý [Thu, 25 Oct 2018 14:04:12 +0000 (16:04 +0200)] 
Refactor synthfromdnssec system test to use $DEFAULT_ALGORITHM, be shellcheck clean and run under set -e

7 years agoMerge branch '628-refactor-sfcache-test' into 'master'
Ondřej Surý [Tue, 11 Dec 2018 08:43:14 +0000 (03:43 -0500)] 
Merge branch '628-refactor-sfcache-test' into 'master'

Refactor sfcache system test

See merge request isc-projects/bind9!1184

7 years agoRun the sfcache system tests with `set -e` enabled
Ondřej Surý [Thu, 6 Dec 2018 10:09:25 +0000 (11:09 +0100)] 
Run the sfcache system tests with `set -e` enabled

7 years agosfcache system test: Remove RSAMD5 usage and make script shellcheck compliant
Ondřej Surý [Wed, 21 Nov 2018 11:09:29 +0000 (12:09 +0100)] 
sfcache system test: Remove RSAMD5 usage and make script shellcheck compliant

7 years agoReplace RSAMD5 keys with keys using DEFAULT_ALGORITHM variable from conf.sh
Ondřej Surý [Thu, 25 Oct 2018 14:04:12 +0000 (16:04 +0200)] 
Replace RSAMD5 keys with keys using DEFAULT_ALGORITHM variable from conf.sh

7 years agoMerge branch '628-refactor-dnssec-system-test' into 'master'
Ondřej Surý [Mon, 10 Dec 2018 19:01:44 +0000 (14:01 -0500)] 
Merge branch '628-refactor-dnssec-system-test' into 'master'

Refactor dnssec system test

See merge request isc-projects/bind9!1191

7 years agoRun the dnssec system tests with `set -e` enabled
Ondřej Surý [Thu, 6 Dec 2018 13:41:14 +0000 (14:41 +0100)] 
Run the dnssec system tests with `set -e` enabled

7 years agodnssec system test: Remove RSAMD5 usage and make script shellcheck compliant
Ondřej Surý [Wed, 21 Nov 2018 21:21:16 +0000 (22:21 +0100)] 
dnssec system test: Remove RSAMD5 usage and make script shellcheck compliant

7 years agoReplace RSAMD5 keys with keys using DEFAULT_ALGORITHM variable from conf.sh
Ondřej Surý [Thu, 25 Oct 2018 14:04:12 +0000 (16:04 +0200)] 
Replace RSAMD5 keys with keys using DEFAULT_ALGORITHM variable from conf.sh

7 years agoMerge branch '756-dyndb-system-test-failing-intermittently' into 'master'
Evan Hunt [Mon, 10 Dec 2018 17:05:14 +0000 (12:05 -0500)] 
Merge branch '756-dyndb-system-test-failing-intermittently' into 'master'

Resolve "dyndb system test failing intermittently."

Closes #756

See merge request isc-projects/bind9!1210

7 years agoallow a small about of time for the syncptr event to be processed
Mark Andrews [Mon, 10 Dec 2018 05:59:27 +0000 (16:59 +1100)] 
allow a small about of time for the syncptr event to be processed

7 years agoMerge branch 'michal-extend-dname-dnssec-tests' into 'master'
Mark Andrews [Mon, 10 Dec 2018 05:51:06 +0000 (00:51 -0500)] 
Merge branch 'michal-extend-dname-dnssec-tests' into 'master'

Extend DNAME DNSSEC tests

See merge request isc-projects/bind9!1205

7 years agoCheck that DNAME is not treated as a delegation when signing
Michał Kępień [Wed, 28 Nov 2018 12:26:29 +0000 (13:26 +0100)] 
Check that DNAME is not treated as a delegation when signing

7 years agoverify that auto-dnssec maintain generates and signs NSEC3 records with DNAME at...
Mark Andrews [Mon, 26 Nov 2018 02:46:37 +0000 (13:46 +1100)] 
verify that auto-dnssec maintain generates and signs NSEC3 records with DNAME at the apex

7 years agoverify that dnssec-signzone generates NSEC3 records with DNAME at the apex
Mark Andrews [Mon, 26 Nov 2018 01:56:40 +0000 (12:56 +1100)] 
verify that dnssec-signzone generates NSEC3 records with DNAME at the apex

7 years agoMerge branch 'michal-zone_sign-error-logging' into 'master'
Mark Andrews [Mon, 10 Dec 2018 04:11:47 +0000 (23:11 -0500)] 
Merge branch 'michal-zone_sign-error-logging' into 'master'

Log CHECK() errors in zone_sign()

See merge request isc-projects/bind9!1206

7 years agolog a error if we don't explicitly know that a error has been logged in zone_sign
Mark Andrews [Tue, 4 Dec 2018 02:39:00 +0000 (13:39 +1100)] 
log a error if we don't explicitly know that a error has been logged in zone_sign

7 years agoMerge branch 'each-win32-fix' into 'master' v9.13.5
Evan Hunt [Fri, 7 Dec 2018 18:44:21 +0000 (13:44 -0500)] 
Merge branch 'each-win32-fix' into 'master'

add missing hooks.c and hooks.h to project files, remove missing symbols

See merge request isc-projects/bind9!1207

7 years agofix win32 build
Evan Hunt [Fri, 7 Dec 2018 17:24:24 +0000 (09:24 -0800)] 
fix win32 build

- add missing hooks.h and hooks.c to project files
- remove extraneous symbols from libns.def

7 years agoMerge branch 'prep-release'
Tinderbox User [Fri, 7 Dec 2018 03:41:27 +0000 (03:41 +0000)] 
Merge branch 'prep-release'

7 years agoprep 9.13.5
Tinderbox User [Fri, 7 Dec 2018 03:11:45 +0000 (03:11 +0000)] 
prep 9.13.5

7 years agoMerge branch 'each-check-cfg' into 'master'
Evan Hunt [Fri, 7 Dec 2018 02:07:12 +0000 (21:07 -0500)] 
Merge branch 'each-check-cfg' into 'master'

checklibs needs to grep for the cfg_* prefix in lib/isccfg

See merge request isc-projects/bind9!1201

7 years agochecklibs needs to grep for the cfg_* prefix in lib/isccfg
Evan Hunt [Fri, 7 Dec 2018 01:21:38 +0000 (17:21 -0800)] 
checklibs needs to grep for the cfg_* prefix in lib/isccfg

7 years agoMerge branch '770-building-with-geoip-is-currently-broken-on-master' into 'master'
Evan Hunt [Fri, 7 Dec 2018 02:05:23 +0000 (21:05 -0500)] 
Merge branch '770-building-with-geoip-is-currently-broken-on-master' into 'master'

Resolve "Building with GEOIP is currently broken on master."

See merge request isc-projects/bind9!1202

7 years agomove geoip to parser.c
Mark Andrews [Fri, 7 Dec 2018 01:50:03 +0000 (12:50 +1100)] 
move geoip to parser.c

7 years agoMerge branch 'michal-befix-squashed' into 'master'
Mark Andrews [Fri, 7 Dec 2018 00:38:33 +0000 (19:38 -0500)] 
Merge branch 'michal-befix-squashed' into 'master'

Fix bottom of zone determination.

Closes #771

See merge request isc-projects/bind9!1198

7 years agoadd CHANGES and release notes entries.
Mark Andrews [Fri, 23 Nov 2018 04:41:30 +0000 (15:41 +1100)] 
add CHANGES and release notes entries.

7 years agoProperly detect bottom of zone when sign_a_node() is not called
Mark Andrews [Fri, 23 Nov 2018 04:03:58 +0000 (15:03 +1100)] 
Properly detect bottom of zone when sign_a_node() is not called

7 years agoMerge branch 'each-fix-macos-build' into 'master'
Evan Hunt [Thu, 6 Dec 2018 23:58:14 +0000 (18:58 -0500)] 
Merge branch 'each-fix-macos-build' into 'master'

fix shared library build on darwin

See merge request isc-projects/bind9!1197

7 years agofix shared library build on darwin
Evan Hunt [Thu, 6 Dec 2018 23:52:29 +0000 (15:52 -0800)] 
fix shared library build on darwin

7 years agoMerge branch '769-host-u-documented-in-manpage-but-disabled-in-code' into 'master'
Mark Andrews [Thu, 6 Dec 2018 21:10:45 +0000 (16:10 -0500)] 
Merge branch '769-host-u-documented-in-manpage-but-disabled-in-code' into 'master'

Resolve ""host -U" documented in manpage, but disabled in code"

Closes #769

See merge request isc-projects/bind9!1194

7 years agoadd CHANGES
Mark Andrews [Thu, 6 Dec 2018 20:56:43 +0000 (07:56 +1100)] 
add CHANGES

7 years agoadd -U to preparse and usage
Andreas Hasenack [Thu, 6 Dec 2018 20:43:52 +0000 (07:43 +1100)] 
add -U to preparse and usage

7 years agoMerge branch '15-filter-aaaa-module' into 'master'
Evan Hunt [Thu, 6 Dec 2018 18:57:49 +0000 (13:57 -0500)] 
Merge branch '15-filter-aaaa-module' into 'master'

first module: filter-aaaa

See merge request isc-projects/bind9!799

7 years agoCHANGES, release notes
Evan Hunt [Sat, 1 Dec 2018 02:59:30 +0000 (18:59 -0800)] 
CHANGES, release notes

7 years agomake hook actions return an enum instead of a bool
Michał Kępień [Thu, 6 Dec 2018 10:36:30 +0000 (11:36 +0100)] 
make hook actions return an enum instead of a bool

Use an enum instead of a bool for the return type of hook actions in
order to facilitate adding further hook processing models in the future.

7 years agorevise hooks.h comments
Evan Hunt [Wed, 5 Dec 2018 04:06:03 +0000 (20:06 -0800)] 
revise hooks.h comments

7 years agoadd basic plugins documentation
Evan Hunt [Sat, 1 Dec 2018 02:01:47 +0000 (18:01 -0800)] 
add basic plugins documentation

7 years agoadd a function for processing a list of configured plugins
Michał Kępień [Mon, 3 Dec 2018 14:30:02 +0000 (15:30 +0100)] 
add a function for processing a list of configured plugins

Add a new libisccfg function, cfg_pluginlist_foreach(), which allows an
arbitrary callback to be invoked for every "plugin" stanza present in a
configuration object.  Use this function for both loading plugins and
checking their configuration in order to reduce duplication of
configuration processing code present in bin/named/server.c and
lib/bind9/check.c.

7 years agoname change from "hook modules" to "plugins"
Evan Hunt [Fri, 30 Nov 2018 23:32:03 +0000 (15:32 -0800)] 
name change from "hook modules" to "plugins"

- "hook" is now used only for hook points and hook actions
- the "hook" statement in named.conf is now "plugin"
- ns_module and ns_modlist are now ns_plugin and ns_plugins
- ns_module_load is renamed ns_plugin_register
- the mandatory functions in plugin modules (hook_register,
  hook_check, hook_version, hook_destroy) have been renamed

7 years agoeliminate ns_hookctx structure, pass mctx/lctx/view directly
Evan Hunt [Fri, 30 Nov 2018 18:12:04 +0000 (10:12 -0800)] 
eliminate ns_hookctx structure, pass mctx/lctx/view directly

7 years agorestore filter-aaaa syntax checking
Evan Hunt [Sat, 3 Nov 2018 06:28:25 +0000 (23:28 -0700)] 
restore filter-aaaa syntax checking

- added functionality to check hook parameters in named-checkconf,
  and restored the checkconf tests that were removed from the
  filter-aaaa test.

7 years agorefactor to support multiple module instances
Evan Hunt [Thu, 1 Nov 2018 02:02:29 +0000 (19:02 -0700)] 
refactor to support multiple module instances

- use a per-view module list instead of global hook_modules
- create an 'instance' pointer when registering modules, store it in
  the module structure, and use it as action_data when calling
  hook functions - this enables multiple module instances to be set
  up in parallel
- also some nomenclature changes and cleanup

7 years agoadd additional hook points, plus some minor refactoring
Evan Hunt [Thu, 22 Nov 2018 09:15:13 +0000 (09:15 +0000)] 
add additional hook points, plus some minor refactoring

- added some hook points that will be needed for a dns64 module later
- moved some code from the beginning of query_respond() to
  the end of query_prepresponse(); this has no effect on functionality
  but means we can have a hook point at the top of query_respond(),
  which seems nicer
- compressed duplicated code into query_zerottl_refetch() function
- added a qctx->answered flag so that a module can prevent
  query_addrrset() from being called from query_respond() when
  it's already been called from the module.

7 years agorefactor response filtering code in bin/hooks/filter-aaaa.c
Michał Kępień [Thu, 20 Sep 2018 13:07:33 +0000 (15:07 +0200)] 
refactor response filtering code in bin/hooks/filter-aaaa.c

7 years agocopy ns_hook objects before adding them to a hook table
Evan Hunt [Thu, 20 Sep 2018 06:38:23 +0000 (23:38 -0700)] 
copy ns_hook objects before adding them to a hook table

- this is necessary because adding the same hook to multiple views
  causes the ISC_LIST link value to become inconsistent; it isn't
  noticeable when only one hook action is ever registered at a
  given hook point, but it will break things when there are two.

7 years agouse entirely local persistent data in modules
Evan Hunt [Wed, 19 Sep 2018 23:25:50 +0000 (16:25 -0700)] 
use entirely local persistent data in modules

- eliminate qctx->hookdata and client->hookflags.
- use a memory pool to allocate data blobs in the filter-aaaa module,
  and associate them with the client address in a hash table
- instead of detaching the client in query_done(), mark it for deletion
  and then call ns_client_detach() from qctx_destroy(); this ensures
  that it will still exist when the QCTX_DESTROYED hook point is
  reached.

7 years agorefactor to remove dead code in query_respond_any()
Evan Hunt [Wed, 19 Sep 2018 19:19:58 +0000 (12:19 -0700)] 
refactor to remove dead code in query_respond_any()

7 years agoclear AD flag when altering response messages
Evan Hunt [Fri, 14 Sep 2018 19:32:36 +0000 (12:32 -0700)] 
clear AD flag when altering response messages

- the AD flag was not being cleared correctly when filtering
- enabled dnssec valdiation in the filter-aaaa test to confirm this
  works correctly now

7 years agoimprove hook processing macros
Evan Hunt [Tue, 14 Aug 2018 04:08:08 +0000 (21:08 -0700)] 
improve hook processing macros

- use a get_hooktab() function to determine the hook table.
- PROCESS_HOOK now jumps to a cleanup tag on failure
- add PROCESS_ALL_HOOKS in query.c, to run all hook functions at
  a specified hook point without stopping. this is to be used for
  intiialization and destruction functions that must run in every
  module.
- 'result' is set in PROCESS_HOOK only when a hook function
  interrupts processing.
- revised terminology: a "callback" is now a "hook action"
- remove unused NS_PROCESS_HOOK and NS_PROCESS_HOOK_VOID macros.

7 years agoenable modules to store data in qctx
Evan Hunt [Mon, 13 Aug 2018 08:18:09 +0000 (01:18 -0700)] 
enable modules to store data in qctx

- added a 'hookdata' array to qctx to store pointers to up to
  16 blobs of data which are allocated by modules as needed.
  each module is assigned an ID number as it's loaded, and this
  is the index into the hook data array. this is to be used for
  holding persistent state between calls to a hook module for a
  specific query.
- instead of using qctx->filter_aaaa, we now use qctx->hookdata.
  (this was the last piece of filter-aaaa specific code outside the
  module.)
- added hook points for qctx initialization and destruction. we get
  a filter-aaaa data pointer from the mempool when initializing and
  store it in the qctx->hookdata table; return to to the mempool
  when destroying the qctx.
- link the view to the qctx so that detaching the client doesn't cause
  hooks to fail
- added a qctx_destroy() function which must be called after qctx_init;
  this calls the QCTX_DESTROY hook and detaches the view
- general cleanup and comments

7 years agoadd a parser to filter-aaaa.so and pass in the parameters
Evan Hunt [Mon, 13 Aug 2018 06:06:00 +0000 (23:06 -0700)] 
add a parser to filter-aaaa.so and pass in the parameters

- make some cfg-parsing functions global so they can be run
  from filter-aaaa.so
- add filter-aaaa options to the hook module's parser
- mark filter-aaaa options in named.conf as obsolete, remove
  from named and checkconf, and update the filter-aaaa test not to
  use checkconf anymore
- remove filter-aaaa-related struct members from dns_view

7 years agoadd hook statement to configuration parser
Evan Hunt [Sun, 12 Aug 2018 18:19:36 +0000 (11:19 -0700)] 
add hook statement to configuration parser

- allow multiple "hook" statements at global or view level
- add "optional bracketed text" type for optional parameter list
- load hook module from specified path rather than hardcoded path
- add a hooktable pointer (and a callback for freeing it) to the
  view structure
- change the hooktable functions so they no longer update ns__hook_table
  by default, and modify PROCESS_HOOK so it uses the view hooktable, if
  set, rather than ns__hook_table. (ns__hook_table is retained for
  use by unit tests.)
- update the filter-aaaa system test to load filter-aaaa.so
- add a prereq script to check for dlopen support before running
  the filter-aaaa system test

not yet done:
- configuration parameters are not being passed to the filter-aaaa
  module; the filter-aaaa ACL and filter-aaaa-on-{v4,v6} settings are
  still stored in dns_view

7 years agomove filter-aaaa.so build from lib/ns to bin/hooks
Evan Hunt [Sun, 12 Aug 2018 00:07:51 +0000 (17:07 -0700)] 
move filter-aaaa.so build from lib/ns to bin/hooks

7 years agoinitial implementation of filter-aaaa.so as a shared object
Evan Hunt [Sat, 11 Aug 2018 02:32:12 +0000 (19:32 -0700)] 
initial implementation of filter-aaaa.so as a shared object

- temporary kluge! in this version, for testing purposes,
  named always searches for a filter-aaaa module at /tmp/filter-aaaa.so.
  this enables the filter-aaaa system test to run even though the
  code to configure hooks in named.conf hasn't been written yet.
- filter-aaaa-on-v4, filter-aaaa-on-v6 and the filter-aaaa ACL are
  still configured in the view as they were before, not in the hook.

7 years agomove several query.c helper functions to client.c and rename
Evan Hunt [Fri, 10 Aug 2018 22:54:14 +0000 (15:54 -0700)] 
move several query.c helper functions to client.c and rename

- these formerly static helper functions have been moved into client.c
  and made external so that they can be used in hook modules as well as
  internally in libns: query_newrdataset, query_putrdataset,
  query_newnamebuf, query_newname, query_getnamebuf, query_keepname,
  query_releasename, query_newdbversion, query_findversion
- made query_recurse() and query_done() into public functions
  ns_query_recurse() and ns_query_done() so they can be called from
  modules.

7 years agomove filter-aaaa implementation into hook functions directly
Evan Hunt [Wed, 8 Aug 2018 02:39:00 +0000 (19:39 -0700)] 
move filter-aaaa implementation into hook functions directly

7 years agorefactor filter-aaaa implementation
Evan Hunt [Tue, 7 Aug 2018 02:34:20 +0000 (19:34 -0700)] 
refactor filter-aaaa implementation

 - the goal of this change is for AAAA filtering to be fully contained
   in the query logic, and implemented at discrete points that can be
   replaced with hook callouts later on.
 - the new code may be slightly less efficient than the old filter-aaaa
   implementation, but maximum efficiency was never a priority for AAAA
   filtering anyway.
 - we now use the rdataset RENDERED attribute to indicate that an AAAA
   rdataset should not be included when rendering the message. (this
   flag was originally meant to indicate that an rdataset has already
   been rendered and should not be repeated, but it can also be used to
   prevent rendering in the first place.)
 - the DNS_MESSAGERENDER_FILTER_AAAA, NS_CLIENTATTR_FILTER_AAAA,
   and DNS_RDATASETGLUE_FILTERAAAA flags are all now unnecessary and
   have been removed.

7 years agorefactor query.c to make qctx more accessible
Evan Hunt [Tue, 7 Aug 2018 08:05:55 +0000 (01:05 -0700)] 
refactor query.c to make qctx more accessible

- the purpose of this change is allow for more well-defined hook points
  to be available in the query processing logic. some functions that
  formerly didn't have access to 'qctx' do now; this is needed because
  'qctx' is what gets passed when calling a hook function.
- query_addrdataset() has been broken up into three separate functions
  since it used to do three unrelated things, and what was formerly
  query_addadditional() has been renamed query_additional_cb() for
  clarity.
- client->filter_aaaa is now qctx->filter_aaaa. (later, it will be moved
  into opaque storage in the qctx, for use by the filter-aaaa module.)
- cleaned up style and braces

7 years agoset up hooks.c to enable setting hook points and loading modules
Evan Hunt [Fri, 3 Aug 2018 21:16:41 +0000 (14:16 -0700)] 
set up hooks.c to enable setting hook points and loading modules

- move hooks.h to public include directory
- ns_hooktable_init() initializes a hook table. if NULL is passed in, it
  initializes the global hook table
- ns_hooktable_save() saves a pointer to the current global hook table.
- ns_hooktable_reset() replaces the global hook table with different
  one
- ns_hook_add() adds hooks at specified hook points in a hook table (or
  the global hook table if the specified table is NULL)
- load and unload functions support dlopen() of hook modules (this is
  adapted from dyndb and not yet functional)
- began adding new hook points to query.c

7 years agoMerge branch 'mr1106-remove-some-more-algorithm-references-master' into 'master'
Ondřej Surý [Thu, 6 Dec 2018 14:39:41 +0000 (09:39 -0500)] 
Merge branch 'mr1106-remove-some-more-algorithm-references-master' into 'master'

(master) Mr1106 remove some more algorithm references

See merge request isc-projects/bind9!1192

7 years agoReplace some more DSA examples with ECDSAP256SHA256
Matthijs Mekking [Thu, 6 Dec 2018 09:34:43 +0000 (10:34 +0100)] 
Replace some more DSA examples with ECDSAP256SHA256

(cherry picked from commit 5f27dc35df7651be8bfd24138c2ccd6fd28806af)

7 years agoRemove one more GOST reference
Matthijs Mekking [Thu, 6 Dec 2018 09:33:52 +0000 (10:33 +0100)] 
Remove one more GOST reference

We can remove this, because it is used in `strtodsdigest` but that
already no longer covers the algorithm name "GOST".

There is one more GOST reference in `bin/python/isc/checkds.py.in`
but that is used for presentation format and probably should stay.

(cherry picked from commit 57d44fbc628d3c7dafdd545f6b83dbdcdc39a986)

7 years agoMerge branch '756-dyndb-system-test-failing-intermittently' into 'master' 757-managed-key-algorihtm-not-supported 757-managed-key_algorihtm-not-supported mr1106-remove-some-more-references
Mark Andrews [Thu, 6 Dec 2018 00:04:40 +0000 (19:04 -0500)] 
Merge branch '756-dyndb-system-test-failing-intermittently' into 'master'

Add additional logging to driver.

See merge request isc-projects/bind9!1178

7 years agoadd more error logging; add event processing logging
Mark Andrews [Wed, 5 Dec 2018 02:49:52 +0000 (13:49 +1100)] 
add more error logging; add event processing logging

7 years agoMerge branch '444-isc_refcount_decrement-uses-invalid-memory-ordering' into 'master'
Ondřej Surý [Wed, 5 Dec 2018 19:35:35 +0000 (14:35 -0500)] 
Merge branch '444-isc_refcount_decrement-uses-invalid-memory-ordering' into 'master'

Resolve "isc_refcount_decrement() uses invalid memory ordering"

Closes #444

See merge request isc-projects/bind9!560

7 years agoJust #define isc_refcount_increment0() to isc_refcount_increment()
Ondřej Surý [Wed, 5 Dec 2018 13:16:41 +0000 (14:16 +0100)] 
Just #define isc_refcount_increment0() to isc_refcount_increment()

7 years agoThe isc_refcount_decrement must use memory_order_release and isc_refcount_destroy...
Ondřej Surý [Fri, 27 Jul 2018 12:17:09 +0000 (14:17 +0200)] 
The isc_refcount_decrement must use memory_order_release and isc_refcount_destroy must run thread barrier with memory_order_require

7 years agoMerge branch '744-race-in-socket' into 'master'
Witold Krecicki [Wed, 5 Dec 2018 12:19:32 +0000 (07:19 -0500)] 
Merge branch '744-race-in-socket' into 'master'

Fix a race between process_fd and socketclose in unix socket code. [GL #744]

Closes #744

See merge request isc-projects/bind9!1145

7 years agoFix a race between process_fd and socketclose in unix socket code. [GL #744]
Witold Kręcicki [Wed, 28 Nov 2018 09:55:15 +0000 (09:55 +0000)] 
Fix a race between process_fd and socketclose in unix socket code. [GL #744]

7 years agoMerge branch '628-refactor-masterformat-system-test' into 'master'
Ondřej Surý [Wed, 5 Dec 2018 11:22:51 +0000 (06:22 -0500)] 
Merge branch '628-refactor-masterformat-system-test' into 'master'

Refactor masterformat system test

See merge request isc-projects/bind9!1180

7 years agoAdd DNSKEY and CDNSKEY with unknown algorithm number (PRIVATEDNS) and \0 as content
Ondřej Surý [Wed, 5 Dec 2018 10:28:11 +0000 (11:28 +0100)] 
Add DNSKEY and CDNSKEY with unknown algorithm number (PRIVATEDNS) and \0 as content

7 years agoRefactor masterformat to be shellcheck clean and don't use RSAMD5 algorithm in the...
Ondřej Surý [Wed, 5 Dec 2018 10:22:17 +0000 (11:22 +0100)] 
Refactor masterformat to be shellcheck clean and don't use RSAMD5 algorithm in the tests

7 years agoMerge branch '745-start.pl-and-stop.pl-cygwin-fixes' into 'master'
Ondřej Surý [Tue, 4 Dec 2018 14:17:06 +0000 (09:17 -0500)] 
Merge branch '745-start.pl-and-stop.pl-cygwin-fixes' into 'master'

Make the start.pl and stop.pl more Cygwin friendly

Closes #745

See merge request isc-projects/bind9!1175

7 years agoMake the start.pl and stop.pl more Cygwin friendly
Ondřej Surý [Tue, 4 Dec 2018 12:51:59 +0000 (13:51 +0100)] 
Make the start.pl and stop.pl more Cygwin friendly

7 years agoMerge branch '628-dont-check-for-memory-leaks-in-dnstest.c' into 'master'
Witold Krecicki [Tue, 4 Dec 2018 09:57:38 +0000 (04:57 -0500)] 
Merge branch '628-dont-check-for-memory-leaks-in-dnstest.c' into 'master'

Don't check the memory leaks in the libdns tests as they hide the cmocka assertion failures

Closes #628

See merge request isc-projects/bind9!1174

7 years agoDon't check the memory leaks in the libdns tests as they hide the cmocka assertion...
Ondřej Surý [Fri, 30 Nov 2018 12:02:15 +0000 (13:02 +0100)] 
Don't check the memory leaks in the libdns tests as they hide the cmocka assertion failures

7 years agoMerge branch '745-fix-missing-realpath-on-centos6' into 'master'
Ondřej Surý [Mon, 3 Dec 2018 20:16:11 +0000 (15:16 -0500)] 
Merge branch '745-fix-missing-realpath-on-centos6' into 'master'

Replace realpath with cd&pwd shell magic

See merge request isc-projects/bind9!1172

7 years agoReplace realpath with cd&pwd shell magic
Ondřej Surý [Mon, 3 Dec 2018 19:35:03 +0000 (20:35 +0100)] 
Replace realpath with cd&pwd shell magic

7 years agoMerge branch 'wpk-test-fixes' into 'master'
Witold Krecicki [Mon, 3 Dec 2018 19:03:23 +0000 (14:03 -0500)] 
Merge branch 'wpk-test-fixes' into 'master'

Fetchlimit and tcp test fixes

See merge request isc-projects/bind9!1150

7 years agotcp test: sleep for 1 second before gathering stats to make
Witold Kręcicki [Wed, 28 Nov 2018 15:01:06 +0000 (15:01 +0000)] 
tcp test: sleep for 1 second before gathering stats to make
sure that the stats are there

7 years agoFetchlimit test: update softquota limit to 380.
Witold Kręcicki [Wed, 28 Nov 2018 13:59:38 +0000 (13:59 +0000)] 
Fetchlimit test: update softquota limit to 380.
In the test the quota is set to 400, and softquota to 90%*400=360.
We first attach to quota, and then if we're above softquota we
drop the oldest client. With new socket code and taskmgr it's
parallel enough to create a race between multiple instances doing
'attach to quota' and then 'drop oldest client' - making number
of clients go over softquota. It's not a problem in real life, as
it's just soft quota.

7 years agoMerge branch '745-start.pl-refactoring' into 'master'
Ondřej Surý [Mon, 3 Dec 2018 15:58:32 +0000 (10:58 -0500)] 
Merge branch '745-start.pl-refactoring' into 'master'

start.pl - wait for server to say 'running', refactor

Closes #745

See merge request isc-projects/bind9!1141

7 years agoMake calls to the stop.pl always use the test name instead of '.'
Ondřej Surý [Mon, 3 Dec 2018 12:14:32 +0000 (13:14 +0100)] 
Make calls to the stop.pl always use the test name instead of '.'

7 years agostop.pl - refactor
Ondřej Surý [Mon, 3 Dec 2018 12:14:05 +0000 (13:14 +0100)] 
stop.pl - refactor

7 years agoMake calls to the start.pl always use the test name instead of '.'
Ondřej Surý [Mon, 3 Dec 2018 11:29:39 +0000 (12:29 +0100)] 
Make calls to the start.pl always use the test name instead of '.'

7 years agostart.pl - refactor
Brian Conry [Tue, 27 Nov 2018 23:47:08 +0000 (17:47 -0600)] 
start.pl - refactor

7 years agostart.pl - wait for server to say 'running'
Brian Conry [Tue, 27 Nov 2018 23:47:08 +0000 (17:47 -0600)] 
start.pl - wait for server to say 'running'

7 years agoMerge branch '628-improvements-to-system-tests-windows-fixes' into 'master'
Ondřej Surý [Mon, 3 Dec 2018 13:38:41 +0000 (08:38 -0500)] 
Merge branch '628-improvements-to-system-tests-windows-fixes' into 'master'

Fix typos and missing ALTERNATIVE_ALGORITHM in conf.sh.win32

See merge request isc-projects/bind9!1169

7 years agoFix typos and missing ALTERNATIVE_ALGORITHM in conf.sh.win32
Ondřej Surý [Mon, 3 Dec 2018 08:29:33 +0000 (09:29 +0100)] 
Fix typos and missing ALTERNATIVE_ALGORITHM in conf.sh.win32

7 years agoMerge branch '628-improvements-to-system-tests' into 'master'
Ondřej Surý [Mon, 3 Dec 2018 08:01:27 +0000 (03:01 -0500)] 
Merge branch '628-improvements-to-system-tests' into 'master'

Tiny small improvements to system test scripts.

See merge request isc-projects/bind9!1166

7 years agoAdd ALTERNATIVE_ALGORITHM to conf.sh
Ondřej Surý [Wed, 21 Nov 2018 21:18:12 +0000 (22:18 +0100)] 
Add ALTERNATIVE_ALGORITHM to conf.sh

7 years agoExport SYSTEMTESTTOP from run.sh (so, it doesn't have to be defined in each script...
Ondřej Surý [Wed, 21 Nov 2018 11:10:08 +0000 (12:10 +0100)] 
Export SYSTEMTESTTOP from run.sh (so, it doesn't have to be defined in each script) and scrub / from the test names

7 years agoMerge branch '754-silence-warning-about-first-half-of-conditional-always-being-true...
Mark Andrews [Mon, 3 Dec 2018 05:49:39 +0000 (00:49 -0500)] 
Merge branch '754-silence-warning-about-first-half-of-conditional-always-being-true' into 'master'

Resolve "Silence warning about first half of conditional always being true."

Closes #754

See merge request isc-projects/bind9!1162

7 years agoonly test for prefixlen <= 63
Mark Andrews [Mon, 3 Dec 2018 05:26:54 +0000 (16:26 +1100)] 
only test for prefixlen <= 63