]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
7 years agoMerge branch 'prep-release' v9.15.2
Tinderbox User [Wed, 10 Jul 2019 15:00:29 +0000 (15:00 +0000)] 
Merge branch 'prep-release'

7 years agoprep 9.15.2
Tinderbox User [Wed, 10 Jul 2019 14:51:09 +0000 (14:51 +0000)] 
prep 9.15.2

7 years agoMerge branch '1139-1952-breaks-windows-build' into 'master'
Witold Krecicki [Wed, 10 Jul 2019 13:18:23 +0000 (09:18 -0400)] 
Merge branch '1139-1952-breaks-windows-build' into 'master'

Resolve "!1952 Breaks Windows Build"

Closes #1139

See merge request isc-projects/bind9!2145

7 years agoFix Windows compilation issues with !1952, contributed by Thomas Jach
Witold Kręcicki [Wed, 10 Jul 2019 10:31:17 +0000 (12:31 +0200)] 
Fix Windows compilation issues with !1952, contributed by Thomas Jach

7 years agoMerge branch 'wpk-fix-compilation-error-statschannel' into 'master'
Witold Krecicki [Tue, 9 Jul 2019 17:19:56 +0000 (13:19 -0400)] 
Merge branch 'wpk-fix-compilation-error-statschannel' into 'master'

statschannel.c: declare dnssecsignstat_dump only if it's used (LIBXML2 or LIBJSON is available)

See merge request isc-projects/bind9!2143

7 years agostatschannel.c: declare dnssecsignstat_dump only if it's used (LIBXML2 or LIBJSON...
Witold Kręcicki [Tue, 9 Jul 2019 16:08:49 +0000 (18:08 +0200)] 
statschannel.c: declare dnssecsignstat_dump only if it's used (LIBXML2 or LIBJSON is available)

7 years agoMerge branch '1038-proper-atomics-use' into 'master'
Witold Krecicki [Tue, 9 Jul 2019 15:14:49 +0000 (11:14 -0400)] 
Merge branch '1038-proper-atomics-use' into 'master'

Resolve "Make proper use of the atomics"

Closes #1038

See merge request isc-projects/bind9!1952

7 years agoCHANGES
Witold Kręcicki [Mon, 8 Jul 2019 13:54:26 +0000 (15:54 +0200)] 
CHANGES

7 years agoAdd --enable-mutex-atomics build to CI
Witold Kręcicki [Mon, 8 Jul 2019 15:32:09 +0000 (17:32 +0200)] 
Add --enable-mutex-atomics build to CI

7 years agoFix a few broken atomics initializations
Witold Kręcicki [Mon, 8 Jul 2019 15:30:06 +0000 (17:30 +0200)] 
Fix a few broken atomics initializations

7 years agolib/ns/stats.c: use isc_refcount_t
Ondřej Surý [Mon, 20 May 2019 15:03:34 +0000 (17:03 +0200)] 
lib/ns/stats.c: use isc_refcount_t

7 years agolib/isc/win32/socket.c: use isc_refcount_t
Ondřej Surý [Mon, 20 May 2019 15:01:29 +0000 (17:01 +0200)] 
lib/isc/win32/socket.c: use isc_refcount_t

7 years agolib/isc/task.c: use isc_refcount_t
Ondřej Surý [Mon, 20 May 2019 15:00:22 +0000 (17:00 +0200)] 
lib/isc/task.c: use isc_refcount_t

7 years agolib/isc/stats.c: Use ->references instead of ->refs
Ondřej Surý [Mon, 20 May 2019 14:59:48 +0000 (16:59 +0200)] 
lib/isc/stats.c: Use ->references instead of ->refs

7 years agolib/isc/quota.c: use proper acquire/release/relaxed memory order semantics
Ondřej Surý [Mon, 20 May 2019 14:59:11 +0000 (16:59 +0200)] 
lib/isc/quota.c: use proper acquire/release/relaxed memory order semantics

7 years agolib/isc/counter.c: use isc_refcount_t
Ondřej Surý [Mon, 20 May 2019 14:58:08 +0000 (16:58 +0200)] 
lib/isc/counter.c: use isc_refcount_t

7 years agolib/dns/zt.c: use isc_refcount_t and atomics
Ondřej Surý [Mon, 20 May 2019 14:56:12 +0000 (16:56 +0200)] 
lib/dns/zt.c: use isc_refcount_t and atomics

7 years agolib/dns/tsig.c: use isc_refcount_t
Ondřej Surý [Mon, 20 May 2019 14:55:42 +0000 (16:55 +0200)] 
lib/dns/tsig.c: use isc_refcount_t

7 years agolib/dns/ssu.c: use isc_refcount_t
Ondřej Surý [Mon, 20 May 2019 14:54:46 +0000 (16:54 +0200)] 
lib/dns/ssu.c: use isc_refcount_t

7 years agolib/dns/sdlz.c:
Ondřej Surý [Mon, 20 May 2019 14:54:13 +0000 (16:54 +0200)] 
lib/dns/sdlz.c:
- use isc_refcount_t
- properly detach from nodes so that we don't destroy objects
  that have non-zero references count

7 years agolib/dns/sdb.c: use isc_refcount_t
Ondřej Surý [Mon, 20 May 2019 14:53:47 +0000 (16:53 +0200)] 
lib/dns/sdb.c: use isc_refcount_t

7 years agolib/dns/resolver.c: use isc_refcount_t and atomics
Ondřej Surý [Mon, 20 May 2019 14:52:59 +0000 (16:52 +0200)] 
lib/dns/resolver.c: use isc_refcount_t and atomics

7 years agolib/dns/masterdump.c: use isc_refcount_t and atomics
Ondřej Surý [Mon, 20 May 2019 14:44:19 +0000 (16:44 +0200)] 
lib/dns/masterdump.c: use isc_refcount_t and atomics

7 years agolib/dns/master.c: use isc_refcount_t and atomics
Ondřej Surý [Mon, 20 May 2019 14:43:32 +0000 (16:43 +0200)] 
lib/dns/master.c: use isc_refcount_t and atomics

7 years agolib/dns/lib.c: use isc_refcount_t
Ondřej Surý [Mon, 20 May 2019 14:41:36 +0000 (16:41 +0200)] 
lib/dns/lib.c: use isc_refcount_t

7 years agolib/dns/nta.c: use isc_refcount_t
Ondřej Surý [Mon, 20 May 2019 14:41:24 +0000 (16:41 +0200)] 
lib/dns/nta.c: use isc_refcount_t

7 years agolib/dns/ecdb.c: use isc_refcount_t
Ondřej Surý [Mon, 20 May 2019 14:35:17 +0000 (16:35 +0200)] 
lib/dns/ecdb.c: use isc_refcount_t

7 years agolib/dns/dbtable.c: use isc_refcount_t
Ondřej Surý [Mon, 20 May 2019 14:22:15 +0000 (16:22 +0200)] 
lib/dns/dbtable.c: use isc_refcount_t

7 years agolib/dns/cache.c: use isc_refcount_t
Witold Kręcicki [Fri, 17 May 2019 11:47:00 +0000 (13:47 +0200)] 
lib/dns/cache.c: use isc_refcount_t

7 years agodns/stats.c: use isc_refcount_t
Witold Kręcicki [Fri, 17 May 2019 11:35:51 +0000 (13:35 +0200)] 
dns/stats.c: use isc_refcount_t

7 years agolib/ns/client: use refcount_t for reference counting
Witold Kręcicki [Fri, 17 May 2019 11:33:30 +0000 (13:33 +0200)] 
lib/ns/client: use refcount_t for reference counting

7 years agolib/ns/lib.c: use isc_refcount_t for reference counting
Witold Kręcicki [Fri, 17 May 2019 11:25:48 +0000 (13:25 +0200)] 
lib/ns/lib.c: use isc_refcount_t for reference counting

7 years agoSpecial, for-tests-only, mode with atomics emulated by a mutex-locked variable -...
Witold Kręcicki [Fri, 17 May 2019 09:35:35 +0000 (11:35 +0200)] 
Special, for-tests-only, mode with atomics emulated by a mutex-locked variable - useful for finding atomics congestions

7 years agoProperly initialize all atomic variables
Witold Kręcicki [Fri, 17 May 2019 08:47:28 +0000 (10:47 +0200)] 
Properly initialize all atomic variables

7 years agoisc/stats: use isc_refcount_t
Witold Kręcicki [Thu, 16 May 2019 17:27:01 +0000 (19:27 +0200)] 
isc/stats: use isc_refcount_t

7 years agoisc/timer: use isc_refcount_t
Witold Kręcicki [Thu, 16 May 2019 16:53:33 +0000 (18:53 +0200)] 
isc/timer: use isc_refcount_t

7 years agolib/isc/task: use isc_refcount_t
Witold Kręcicki [Thu, 16 May 2019 16:51:39 +0000 (18:51 +0200)] 
lib/isc/task: use isc_refcount_t

7 years agodns/zt.c: use isc_refcount_t for reference counting
Witold Kręcicki [Thu, 16 May 2019 16:46:29 +0000 (18:46 +0200)] 
dns/zt.c: use isc_refcount_t for reference counting

7 years agointerfacemgr: use isc_refcount_t for reference counting
Witold Kręcicki [Thu, 16 May 2019 16:43:06 +0000 (18:43 +0200)] 
interfacemgr: use isc_refcount_t for reference counting

7 years agoMake portentry->refs an isc_refcount_t
Witold Kręcicki [Thu, 16 May 2019 16:28:53 +0000 (18:28 +0200)] 
Make portentry->refs an isc_refcount_t

7 years agoMerge branch 'ondrej/missing-ax_restore_flags-geoip2' into 'master'
Ondřej Surý [Tue, 9 Jul 2019 12:20:45 +0000 (08:20 -0400)] 
Merge branch 'ondrej/missing-ax_restore_flags-geoip2' into 'master'

Add missing AX_RESTORE_FLAGS([geoip2]) to configure.ac

See merge request isc-projects/bind9!2140

7 years agoAdd missing AX_RESTORE_FLAGS([geoip2]) to configure.ac
Ondřej Surý [Tue, 9 Jul 2019 11:35:39 +0000 (13:35 +0200)] 
Add missing AX_RESTORE_FLAGS([geoip2]) to configure.ac

7 years agoMerge branch 'ondrej-disable-freebsd-again' into 'master'
Ondřej Surý [Mon, 8 Jul 2019 13:36:28 +0000 (09:36 -0400)] 
Merge branch 'ondrej-disable-freebsd-again' into 'master'

Disable FreeBSD Runner in the CI

See merge request isc-projects/bind9!2138

7 years agoDisable FreeBSD Runner in the CI; it's broken again.
Ondřej Surý [Mon, 8 Jul 2019 13:28:28 +0000 (15:28 +0200)] 
Disable FreeBSD Runner in the CI; it's broken again.

7 years agoMerge branch '1112-remove-legacy-geoip' into 'master'
Evan Hunt [Thu, 4 Jul 2019 16:38:26 +0000 (12:38 -0400)] 
Merge branch '1112-remove-legacy-geoip' into 'master'

Resolve "Remove legacy GeoIP support in 9.15 after GeoIP2 is merged"

Closes #1112

See merge request isc-projects/bind9!2102

7 years agoGet rid of DNS_GEOIP_DATABASE_INIT explicit initializer for geoip dbs
Ondřej Surý [Thu, 4 Jul 2019 09:17:16 +0000 (11:17 +0200)] 
Get rid of DNS_GEOIP_DATABASE_INIT explicit initializer for geoip dbs

Instead of the explicit struct initializer with all member, rely on the fact
that static variables are explicitly initialized to 0 if not explicitly
initialized.

7 years agoremove --with-geoip and change --without-geoip2 to --disable-geoip in CI
Evan Hunt [Tue, 2 Jul 2019 23:33:00 +0000 (16:33 -0700)] 
remove --with-geoip and change --without-geoip2 to --disable-geoip in CI

7 years agoconvert geoip to geoip2 in win32utils/Configure
Thomas Jach [Tue, 2 Jul 2019 23:27:42 +0000 (16:27 -0700)] 
convert geoip to geoip2 in win32utils/Configure

7 years agouse configure --enable-geoip to turn on GeoIP2
Evan Hunt [Fri, 28 Jun 2019 04:19:30 +0000 (21:19 -0700)] 
use configure --enable-geoip to turn on GeoIP2

- instead of --with-geoip2, use --enable-geoip to turn on the GeoIP
  feature
- --with-maxminddb can be used to set the prefix for maxminddb

7 years agoadd CHANGES note; remove references to legacy GeoIP from documentation
Evan Hunt [Fri, 28 Jun 2019 04:11:45 +0000 (21:11 -0700)] 
add CHANGES note; remove references to legacy GeoIP from documentation

7 years agoremove all support for legacy GeoIP
Evan Hunt [Fri, 28 Jun 2019 04:08:20 +0000 (21:08 -0700)] 
remove all support for legacy GeoIP

7 years agoMerge branch '7-matthijs-deprecate-dnssec-lookaside' into 'master'
Matthijs Mekking [Thu, 4 Jul 2019 12:51:32 +0000 (08:51 -0400)] 
Merge branch '7-matthijs-deprecate-dnssec-lookaside' into 'master'

Deprecate dnssec-lookaside option

Closes #7

See merge request isc-projects/bind9!2104

7 years agoremove spurious commas from docbook
Evan Hunt [Tue, 2 Jul 2019 19:59:42 +0000 (12:59 -0700)] 
remove spurious commas from docbook

7 years agoDeprecate dnssec-lookaside option
Matthijs Mekking [Fri, 28 Jun 2019 09:52:08 +0000 (11:52 +0200)] 
Deprecate dnssec-lookaside option

Add the CFG_CLAUSEFLAG_DEPRECATED flag to the option so that people are
discouraged from using DLV.

7 years agoMerge branch 'ondrej/kyua.result-location' into 'master'
Ondřej Surý [Wed, 3 Jul 2019 17:17:25 +0000 (13:17 -0400)] 
Merge branch 'ondrej/kyua.result-location' into 'master'

Use $KYUA_RESULT in kyua report-html invocation for unified file location

See merge request isc-projects/bind9!2127

7 years agoSet number of parallel jobs in .gitlab-ci.yml
Ondřej Surý [Wed, 3 Jul 2019 17:00:18 +0000 (19:00 +0200)] 
Set number of parallel jobs in .gitlab-ci.yml

7 years agoUse $KYUA_RESULT in kyua report-html invocation for unified file location
Ondřej Surý [Wed, 3 Jul 2019 16:03:11 +0000 (18:03 +0200)] 
Use $KYUA_RESULT in kyua report-html invocation for unified file location

7 years agoMerge branch '1114-windows-build-broken' into 'master'
Evan Hunt [Wed, 3 Jul 2019 16:53:18 +0000 (12:53 -0400)] 
Merge branch '1114-windows-build-broken' into 'master'

fix broken windows build

Closes #1114

See merge request isc-projects/bind9!2110

7 years agofix broken windows build
Evan Hunt [Fri, 28 Jun 2019 19:45:26 +0000 (12:45 -0700)] 
fix broken windows build

The MSVS C compiler requires every struct to have at least one member.
The dns_geoip_databases_t structure had one set of members for
HAVE_GEOIP and a different set for HAVE_GEOIP2, and none when neither
API is in use.

This commit silences the compiler error by moving the declaration of
dns_geoip_databases_t to types.h as an opaque reference, and commenting
out the contents of geoip.h when neither version of GeoIP is enabled.

7 years agoMerge branch 'michal/define-ATOMIC_VAR_INIT-on-windows' into 'master'
Ondřej Surý [Wed, 3 Jul 2019 15:58:34 +0000 (11:58 -0400)] 
Merge branch 'michal/define-ATOMIC_VAR_INIT-on-windows' into 'master'

Define ATOMIC_VAR_INIT() on Windows

See merge request isc-projects/bind9!2125

7 years agoDefine ATOMIC_VAR_INIT() on Windows
Michał Kępień [Wed, 3 Jul 2019 12:25:11 +0000 (14:25 +0200)] 
Define ATOMIC_VAR_INIT() on Windows

Commit b104a9bc503033b4c3174f088e2c5bdbc5d8bb51 introduced unconditional
use of the ATOMIC_VAR_INIT() macro in bin/dnssec/dnssec-signzone.c even
though that macro is only defined on Unix platforms.  Define it on
Windows systems as well in order to prevent build failures.

7 years agoMerge branch '1026-make-dnssec-signzone-thread-sanitizer-clean' into 'master'
Ondřej Surý [Wed, 3 Jul 2019 04:20:57 +0000 (00:20 -0400)] 
Merge branch '1026-make-dnssec-signzone-thread-sanitizer-clean' into 'master'

Resolve "Make dnssec-signzone ThreadSanitizer clean"

Closes #1026

See merge request isc-projects/bind9!1938

7 years agoProtect global init_count variable in rbtdb.c by making it atomic
Ondřej Surý [Mon, 13 May 2019 17:59:36 +0000 (00:59 +0700)] 
Protect global init_count variable in rbtdb.c by making it atomic

7 years agobin/dnssec/dnssec-signzone.c: Protect global variables by making them atomic
Ondřej Surý [Mon, 13 May 2019 17:36:02 +0000 (00:36 +0700)] 
bin/dnssec/dnssec-signzone.c: Protect global variables by making them atomic

Both global shuttingdown and finished bool variables were prone to data race
(as reported by ThreadSanitizer).  The commit makes them both atomic.

7 years agoMake isc_rwlock.c thread-safe
Ondřej Surý [Mon, 13 May 2019 17:19:11 +0000 (00:19 +0700)] 
Make isc_rwlock.c thread-safe

The ThreadSanitizer found several possible data races in our rwlock
implementation.  This commit changes all the unprotected variables to atomic and
also changes the explicit memory ordering (atomic_<foo>_explicit(..., <order>)
functions to use our convenience macros (atomic_<foo>_<order>).

7 years agoDefine ATOMIC_VAR_INIT in isc/stdatomic.h shim
Mark Andrews [Fri, 24 May 2019 21:48:12 +0000 (07:48 +1000)] 
Define ATOMIC_VAR_INIT in isc/stdatomic.h shim

7 years agoAdd atomic_compare_exchange_strong_relaxed convenience macro
Ondřej Surý [Mon, 13 May 2019 17:39:37 +0000 (00:39 +0700)] 
Add atomic_compare_exchange_strong_relaxed convenience macro

7 years agoMerge branch 'ondrej/with-or-without-geoip' into 'master'
Ondřej Surý [Tue, 2 Jul 2019 19:08:47 +0000 (15:08 -0400)] 
Merge branch 'ondrej/with-or-without-geoip' into 'master'

Enable GeoIP2 for all builds and enable old GeoIP only for Debian amd64 stretch build

See merge request isc-projects/bind9!2120

7 years agoEnable GeoIP2 for all builds and enable old GeoIP only for Debian jessie and Ubuntu...
Ondřej Surý [Tue, 2 Jul 2019 17:56:32 +0000 (19:56 +0200)] 
Enable GeoIP2 for all builds and enable old GeoIP only for Debian jessie and Ubuntu xenial builds

7 years agoMerge branch 'ondrej/missing-dot-in-job' into 'master'
Ondřej Surý [Tue, 2 Jul 2019 18:22:55 +0000 (14:22 -0400)] 
Merge branch 'ondrej/missing-dot-in-job' into 'master'

Add missing dot in .autoconf job template that caused duplicate job

See merge request isc-projects/bind9!2121

7 years agoAdd missing dot in .autoconf job template that caused duplicate job
Ondřej Surý [Tue, 2 Jul 2019 18:00:25 +0000 (20:00 +0200)] 
Add missing dot in .autoconf job template that caused duplicate job

7 years agoMerge branch 'ondrej/restore-freebsd-runner' into 'master'
Ondřej Surý [Tue, 2 Jul 2019 17:39:49 +0000 (13:39 -0400)] 
Merge branch 'ondrej/restore-freebsd-runner' into 'master'

Restore the FreeBSD Runner

See merge request isc-projects/bind9!2117

7 years agoUse $(pwd) instead of $CI_PROJECT_DIR to always get absolute path
Ondřej Surý [Tue, 2 Jul 2019 10:51:49 +0000 (12:51 +0200)] 
Use $(pwd) instead of $CI_PROJECT_DIR to always get absolute path

7 years agoUse sudo to setup the interfaces when CI job is not running as root
Ondřej Surý [Tue, 2 Jul 2019 10:23:56 +0000 (12:23 +0200)] 
Use sudo to setup the interfaces when CI job is not running as root

7 years agoAdd FreeBSD 11 GitLab CI Runner
Evan Hunt [Wed, 11 Apr 2018 03:24:03 +0000 (20:24 -0700)] 
Add FreeBSD 11 GitLab CI Runner

7 years agoMerge branch 'ondrej/fix-freebsd-make' into 'master'
Ondřej Surý [Tue, 2 Jul 2019 10:58:27 +0000 (06:58 -0400)] 
Merge branch 'ondrej/fix-freebsd-make' into 'master'

Add rules to make sure subdirs are always built before testdirs

See merge request isc-projects/bind9!2116

7 years agoAdd rules to make sure subdirs are always built before testdirs
Ondřej Surý [Tue, 2 Jul 2019 10:16:30 +0000 (12:16 +0200)] 
Add rules to make sure subdirs are always built before testdirs

7 years agoMerge branch '1120-remove-so_bsdcompat-usage' into 'master'
Ondřej Surý [Mon, 1 Jul 2019 15:12:47 +0000 (11:12 -0400)] 
Merge branch '1120-remove-so_bsdcompat-usage' into 'master'

Resolve "Remove SO_BSDCOMPAT usage"

Closes #1120

See merge request isc-projects/bind9!2113

7 years agoAdd CHANGES note:
Ondřej Surý [Mon, 1 Jul 2019 14:19:01 +0000 (16:19 +0200)] 
Add CHANGES note:

5261.  [cleanup]       Remove SO_BSDCOMPAT socket option usage.

7 years agoRemove SO_BSDCOMPAT usage, it's ignore since Linux 2.4
Ondřej Surý [Mon, 1 Jul 2019 14:16:40 +0000 (16:16 +0200)] 
Remove SO_BSDCOMPAT usage, it's ignore since Linux 2.4

The SO_BSDCOMPAT socket option is no-op since Linux 2.4, see the manpage:

SO_BSDCOMPAT
Enable BSD bug-to-bug compatibility.  This is used by the UDP protocol
module in Linux 2.0 and 2.2.  If enabled, ICMP errors received for a UDP
socket will not be passed to the user program.  In later kernel
versions, support for this option has been phased out: Linux 2.4
silently ignores it, and Linux 2.6 generates a kernel warning (printk())
if a program uses this option.  Linux 2.0 also enabled BSD bug-to-bug
compatibility options (random header changing, skipping of the broadcast
flag) for raw sockets with this option, but that was removed in Linux
2.2.

7 years agoMerge branch 'managed-keys-is-deprecated' into 'master'
Matthijs Mekking [Mon, 1 Jul 2019 08:53:16 +0000 (04:53 -0400)] 
Merge branch 'managed-keys-is-deprecated' into 'master'

Mark some managed-keys instances deprecated

See merge request isc-projects/bind9!2105

7 years agoMark some managed-keys instances deprecated
Matthijs Mekking [Fri, 28 Jun 2019 10:19:13 +0000 (12:19 +0200)] 
Mark some managed-keys instances deprecated

The 'managed-keys' (and 'trusted-keys') options have been deprecated
by 'dnssec-keys'.  Some documentation references to 'managed-keys'
had not yet been marked or noted as such.

7 years agoMerge branch 'michal/add-and-use-keyfile_to_key_id-helper-function' into 'master'
Michał Kępień [Fri, 28 Jun 2019 12:33:29 +0000 (08:33 -0400)] 
Merge branch 'michal/add-and-use-keyfile_to_key_id-helper-function' into 'master'

Add and use keyfile_to_key_id() helper function

See merge request isc-projects/bind9!2087

7 years agoAdd and use keyfile_to_key_id() helper function
Michał Kępień [Fri, 28 Jun 2019 11:11:26 +0000 (13:11 +0200)] 
Add and use keyfile_to_key_id() helper function

When trying to extract the key ID from a key file name, some test code
incorrectly attempts to strip all leading zeros.  This breaks tests when
keys with ID 0 are generated.  Add a new helper shell function,
keyfile_to_key_id(), which properly handles keys with ID 0 and use it in
test code whenever a key ID needs to be extracted from a key file name.

7 years agoMerge branch '1093-dnstap-read-clear-buffer-before-expanding-it' into 'master'
Michał Kępień [Fri, 28 Jun 2019 11:08:35 +0000 (07:08 -0400)] 
Merge branch '1093-dnstap-read-clear-buffer-before-expanding-it' into 'master'

dnstap-read: clear buffer before expanding it

Closes #1093

See merge request isc-projects/bind9!2049

7 years agoAdd CHANGES entry
Michał Kępień [Fri, 28 Jun 2019 10:12:46 +0000 (12:12 +0200)] 
Add CHANGES entry

5260. [bug] dnstap-read was producing malformed output for large
packets. [GL #1093]

7 years agodnstap-read: clear buffer before expanding it
Michał Kępień [Fri, 28 Jun 2019 10:12:46 +0000 (12:12 +0200)] 
dnstap-read: clear buffer before expanding it

When printing a packet, dnstap-read checks whether its text form takes
up more than the 2048 bytes allocated for the output buffer by default.
If that is the case, the output buffer is automatically expanded, but
the truncated output is left in the buffer, resulting in malformed data
being printed.  Clear the output buffer before expanding it to prevent
this issue from occurring.

7 years agoMerge branch '1101-matthijs-checkconf-i' into 'master'
Matthijs Mekking [Fri, 28 Jun 2019 09:50:40 +0000 (05:50 -0400)] 
Merge branch '1101-matthijs-checkconf-i' into 'master'

named-checkconf -i: ignore deprecate warnings

Closes #1101

See merge request isc-projects/bind9!2079

7 years agonamed-checkconf -i: ignore deprecate warnings
Matthijs Mekking [Tue, 25 Jun 2019 07:41:51 +0000 (09:41 +0200)] 
named-checkconf -i: ignore deprecate warnings

Adds a new option to named-checkconf, -i.  If set, named-checkconf
will not warn you about deprecated options.  This allows people
to use named-checkconf in automated deployment precoesses where an
operator only cares if their conf is valid, even if it is not optimal.

This was added as a request as part of introducing a policy on
removing named.conf options.

7 years agoMerge branch 'each-missing-dbtype' into 'master'
Evan Hunt [Fri, 28 Jun 2019 03:41:05 +0000 (23:41 -0400)] 
Merge branch 'each-missing-dbtype' into 'master'

accidentally omitted region from valid dbtypes

See merge request isc-projects/bind9!2100

7 years agoaccidentally omitted region from valid dbtypes
Evan Hunt [Thu, 27 Jun 2019 23:38:21 +0000 (16:38 -0700)] 
accidentally omitted region from valid dbtypes

7 years agoMerge branch '182-geoip2-api' into 'master'
Evan Hunt [Thu, 27 Jun 2019 22:12:04 +0000 (18:12 -0400)] 
Merge branch '182-geoip2-api' into 'master'

Resolve "Update GeoIP support to new API (GeoLite2 from Maxmind)"

Closes #182

See merge request isc-projects/bind9!2031

7 years agoCHANGES, release note, README
Evan Hunt [Sun, 23 Jun 2019 03:41:43 +0000 (20:41 -0700)] 
CHANGES, release note, README

7 years agoupdate ARM documentation
Evan Hunt [Sun, 23 Jun 2019 03:57:08 +0000 (20:57 -0700)] 
update ARM documentation

7 years agoadd geoip2 system test
Evan Hunt [Sat, 22 Jun 2019 19:52:26 +0000 (12:52 -0700)] 
add geoip2 system test

7 years agoadd GeoIP2 lookups to unit test
Evan Hunt [Sun, 23 Jun 2019 06:45:59 +0000 (23:45 -0700)] 
add GeoIP2 lookups to unit test

7 years agoimplement searching of geoip2 database
Evan Hunt [Wed, 12 Jun 2019 03:32:21 +0000 (20:32 -0700)] 
implement searching of geoip2 database

- revise mapping of search terms to database types to match the
  GeoIP2 schemas.
- open GeoIP2 databases when starting up; close when shutting down.
- clarify the logged error message when an unknown database type
  is configured.
- add new geoip ACL subtypes to support searching for continent in
  country databases.
- map geoip ACL subtypes to specific MMDB database queries.
- perform MMDB lookups based on subtype, saving state between
  queries so repeated lookups for the same address aren't necessary.

7 years agoadd HAVE_GEOIP2 #ifdef branches, without implementing yet
Evan Hunt [Wed, 12 Jun 2019 01:36:52 +0000 (18:36 -0700)] 
add HAVE_GEOIP2 #ifdef branches, without implementing yet

7 years agoadd a search for GeoIP2 libraries in configure
Evan Hunt [Tue, 11 Jun 2019 22:59:31 +0000 (15:59 -0700)] 
add a search for GeoIP2 libraries in configure

- "--with-geoip" is used to enable the legacy GeoIP library.
- "--with-geoip2" is used to enable the new GeoIP2 library
  (libmaxminddb), and is on by default if the library is found.
- using both "--with-geoip" and "--with-geoip2" at the same time
  is an error.
- an attempt is made to determine the default GeoIP2 database path at
  compile time if pkg-config is able to report the module prefix. if
  this fails, it will be necessary to set the path in named.conf with
  geoip-directory
- Makefiles have been updated, and a stub lib/dns/geoip2.c has been
  added for the eventual GeoIP2 search implementation.

7 years agoMerge branch '1095-when-gnu-c-compiler-is-used-on-solaris-gnu-ld-must-be-used' into...
Ondřej Surý [Thu, 27 Jun 2019 11:29:13 +0000 (07:29 -0400)] 
Merge branch '1095-when-gnu-c-compiler-is-used-on-solaris-gnu-ld-must-be-used' into 'master'

Enforce usage -zrelax=transtls when GNU C Compiler is used on Solaris

Closes #1095

See merge request isc-projects/bind9!2053