]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Mon, 17 Jan 2022 15:13:09 +0000 (16:13 +0100)]
dnsdist: Fix build with OpenSSL 3.0.0
Remi Gacogne [Mon, 17 Jan 2022 12:40:57 +0000 (13:40 +0100)]
Merge pull request #11188 from rgacogne/ddist-170-changelog-secpoll
dnsdist: ChangeLog and secpoll update for 1.7.0
Otto Moerbeek [Fri, 14 Jan 2022 15:39:53 +0000 (16:39 +0100)]
Merge pull request #11190 from omoerbeek/dnswasher-no-ipcipher
dnswasher: Fix compilation with !HAVE_IPCIPHER
Otto Moerbeek [Fri, 14 Jan 2022 14:11:48 +0000 (15:11 +0100)]
Fix compilation with !HAVE_IPCIPHER
Remi Gacogne [Fri, 14 Jan 2022 13:16:22 +0000 (14:16 +0100)]
Merge pull request #11171 from rgacogne/ddist-defer-rings-creation
dnsdist: Defer the actual allocation of the ring buffer entries
Remi Gacogne [Fri, 14 Jan 2022 13:12:37 +0000 (14:12 +0100)]
dnsdist: ChangeLog and secpoll update for 1.7.0
Peter van Dijk [Fri, 14 Jan 2022 13:08:07 +0000 (14:08 +0100)]
Merge pull request #11181 from Habbie/auth-4.6.0-rc1-docs-secpoll
auth-4.6.0-rc1: docs+secpoll
Peter van Dijk [Thu, 13 Jan 2022 13:19:41 +0000 (14:19 +0100)]
auth-4.6.0-rc1: docs+secpoll
Otto Moerbeek [Fri, 14 Jan 2022 10:48:33 +0000 (11:48 +0100)]
Merge pull request #11100 from omoerbeek/zonemd
First part of ZONEMD support
Remi Gacogne [Fri, 14 Jan 2022 10:00:40 +0000 (11:00 +0100)]
Merge pull request #11166 from rgacogne/ddist-load-tls-algos-only
libssl: Load only the ciphers and digests needed for TLS, not all of them
Otto Moerbeek [Fri, 14 Jan 2022 09:58:25 +0000 (10:58 +0100)]
Process review comments on comments
Otto Moerbeek [Fri, 14 Jan 2022 09:43:23 +0000 (10:43 +0100)]
Merge pull request #11186 from omoerbeek/rec-visibility
rec: Build with -fvisibility=hidden by default
Otto Moerbeek [Fri, 14 Jan 2022 09:43:02 +0000 (10:43 +0100)]
Merge pull request #11175 from omoerbeek/rec-var-names
rec: Rename static, global and thread_local vars to follow naming conventions
Remi Gacogne [Wed, 12 Jan 2022 15:39:30 +0000 (16:39 +0100)]
dnsdist: Avoid a race if one is careless enough to call Rings::init() from two threads at once
Remi Gacogne [Fri, 11 Mar 2022 15:27:56 +0000 (16:27 +0100)]
dnsdist: Defer the actual allocation of the ring buffer entries
It is a bit cumbersome to have to call `Rings::init()` when we are
ready, but it prevents allocating the default number of entries,
10k, which is quite a lot for small setups. Of course the memory
was released once the configuration had been parsed, but it might
be too late in some cases, and we would end up with a bigger reported
memory usage than our actual one since heap shrinkage seldom happens.
Remi Gacogne [Fri, 14 Jan 2022 08:51:17 +0000 (09:51 +0100)]
Merge pull request #11184 from chbruyand/dnsdist-mac-ring-buffers
dnsdist: add support to store mac address in query rings
Otto Moerbeek [Fri, 14 Jan 2022 07:13:19 +0000 (08:13 +0100)]
rec: Build with -fvisibility=hidden by default
Same as #11178, but now for rec.
Remi Gacogne [Thu, 13 Jan 2022 21:10:41 +0000 (22:10 +0100)]
Merge pull request #11178 from rgacogne/ddist-visibility-hidden
dnsdist: Build with `-fvisibility=hidden` by default
Remi Gacogne [Thu, 13 Jan 2022 21:09:54 +0000 (22:09 +0100)]
Merge pull request #11164 from rgacogne/protozero-171
Update protozero to 1.7.1
Charles-Henri Bruyand [Thu, 13 Jan 2022 14:58:39 +0000 (15:58 +0100)]
dnsdist: adds possibilty to store mac address in query rings
Peter van Dijk [Thu, 13 Jan 2022 12:57:15 +0000 (13:57 +0100)]
Merge pull request #11167 from Habbie/various-pieter
remove a few lieter dependencies, plus a doc rendering fix
Remi Gacogne [Thu, 13 Jan 2022 12:00:30 +0000 (13:00 +0100)]
dnsdist: Build with -fvisibility=hidden by default
Not marking our symbols visible by default allows the compiler to do
better optimizations, especially with Link-Time Optimizations that
several distributions are now enabling by default.
The most obvious optimization comes from dead code removal because
the compiler now knows that it cannot be used by an external shared
object, but better inlining might also occur.
Even without LTO, it reduces the final size of stripped binaries and
might improve loading times a bit.
Note that we already mark the symbols that we want to export with the
'default' visibilty, for example for Lua FFI.
Peter van Dijk [Thu, 13 Jan 2022 11:26:41 +0000 (12:26 +0100)]
Merge pull request #11157 from mind04/pdns-zonecache
Auth: add zone removal to the zone cache
Remi Gacogne [Thu, 13 Jan 2022 11:04:56 +0000 (12:04 +0100)]
Merge pull request #11172 from rgacogne/ddist-temporary-files-unit-tests
dnsdist: Remove temporary files used in the KVS unit tests
Remi Gacogne [Thu, 13 Jan 2022 11:03:53 +0000 (12:03 +0100)]
Merge pull request #11155 from rgacogne/ddist-doc-removed-17
dnsdist: Document webserver and actions removals in 1.7.0
Otto Moerbeek [Thu, 13 Jan 2022 08:20:24 +0000 (09:20 +0100)]
Merge pull request #11177 from jsoref/doc-remove-auth-can-lower-ttl
doc: remove auth-can-lower-ttl
Josh Soref [Wed, 12 Jan 2022 20:51:07 +0000 (15:51 -0500)]
doc: remove auth-can-lower-ttl
This wasn't around as of 4.0 - it landed in this file in
223bb49ef87feee34af9d1076b55bee81a38b8bc
but the removal notice was already included at that time.
Remi Gacogne [Wed, 12 Jan 2022 15:43:56 +0000 (16:43 +0100)]
protozero: Update the CHANGELOG.md file as well
Otto Moerbeek [Wed, 12 Jan 2022 14:34:50 +0000 (15:34 +0100)]
Merge pull request #11176 from omoerbeek/dnsdist-workaround-openbsd-compiler-bug
dnsdist: Work around a compiler bug seen on OpenBSD/amd64 using clang-13
Otto Moerbeek [Wed, 12 Jan 2022 12:49:53 +0000 (13:49 +0100)]
Work around a compiler bug seen on OpenBSD/amd64 using clang-13 and make the code a tiny bit more pretty.
Fixes #11113.
Otto Moerbeek [Wed, 12 Jan 2022 10:43:58 +0000 (11:43 +0100)]
As suggested, rename a few types and vars to make them more friendly to the reader
Otto Moerbeek [Wed, 12 Jan 2022 08:25:24 +0000 (09:25 +0100)]
Rename static, global and thread_local vars to follow naming conventions
The thread_local vars in houseKeeping() should be reviewed, as some of them are only relevant for the handler thread,
so they do not need to be thread_local.
Remi Gacogne [Mon, 29 Nov 2021 15:54:28 +0000 (16:54 +0100)]
dnsdist: Remove temporary files used in the KVS unit tests
Otto Moerbeek [Tue, 11 Jan 2022 16:12:18 +0000 (17:12 +0100)]
Merge pull request #10998 from omoerbeek/rec-split-pdns-recursor
Rec: split pdns_recursor.cc
Otto Moerbeek [Tue, 11 Jan 2022 15:44:24 +0000 (16:44 +0100)]
Merge pull request #11168 from omoerbeek/rec-validate-edns-dnskey-missing
rec: servfail.nl changed setup
Otto Moerbeek [Tue, 11 Jan 2022 15:23:03 +0000 (16:23 +0100)]
servfail.nl changed theuir setup.
I think in an ideal world we should return 9 (DNSSEC key missing) but I don't see a
easy way to do that at the moment.
Kees Monshouwer [Sun, 9 Jan 2022 13:25:41 +0000 (14:25 +0100)]
auth: the zonecache ueberbackend test are broken
Kees Monshouwer [Sun, 9 Jan 2022 13:24:23 +0000 (14:24 +0100)]
auth: add zone removal to the zonecache
Peter van Dijk [Tue, 11 Jan 2022 13:19:07 +0000 (14:19 +0100)]
secpoll: change SOA contact
Peter van Dijk [Tue, 11 Jan 2022 13:18:08 +0000 (14:18 +0100)]
docs: move dependencies from pieterlexis to PowerDNS
Peter van Dijk [Tue, 11 Jan 2022 13:17:57 +0000 (14:17 +0100)]
docs: fix rendering of DNSZoneRecord
Remi Gacogne [Fri, 11 Mar 2022 13:08:05 +0000 (14:08 +0100)]
libssl: Load only the ciphers and digests needed for TLS, not all of them
OPENSSL_init_crypto(), added in 1.1.0, loads all available ciphers
and digests by default. Since we only need the TLS-related ones,
that only increases the startup time and the memory usage.
Before:
```
OPENSSL_INIT: ossl_init_base: Setting up stop handlers
OPENSSL_INIT: ossl_init_register_atexit()
OPENSSL_INIT: ossl_init_load_crypto_nodelete()
OPENSSL_INIT: openssl_config_int((null), (null), 50)
OPENSSL_INIT: ossl_init_engine_rdrand: engine_load_rdrand_int()
OPENSSL_INIT: ossl_init_thread_start: marking thread for err_state
OPENSSL_INIT: ossl_init_load_crypto_strings: err_load_crypto_strings_int()
OPENSSL_INIT: ossl_init_engine_dynamic: engine_load_dynamic_int()
OPENSSL_INIT: ossl_init_add_all_ciphers: openssl_add_all_ciphers_int()
OPENSSL_INIT: ossl_init_add_all_digests: openssl_add_all_digests()
OPENSSL_INIT: ossl_init_ssl_base: Adding SSL ciphers and digests
OPENSSL_INIT: ossl_init_ssl_base: SSL_COMP_get_compression_methods()
OPENSSL_INIT: ossl_init_ssl_base: SSL_add_ssl_module()
OPENSSL_INIT: ossl_init_load_ssl_strings: ERR_load_SSL_strings()
OPENSSL_INIT: ossl_init_thread_start: marking thread for rand
OPENSSL_INIT: ossl_init_thread_start: marking thread for rand
```
After:
```
OPENSSL_INIT: ossl_init_base: Setting up stop handlers
OPENSSL_INIT: ossl_init_register_atexit()
OPENSSL_INIT: ossl_init_load_crypto_nodelete()
OPENSSL_INIT: openssl_config_int((null), (null), 50)
OPENSSL_INIT: ossl_init_engine_rdrand: engine_load_rdrand_int()
OPENSSL_INIT: ossl_init_thread_start: marking thread for err_state
OPENSSL_INIT: ossl_init_load_crypto_strings: err_load_crypto_strings_int()
OPENSSL_INIT: ossl_init_engine_dynamic: engine_load_dynamic_int()
OPENSSL_INIT: ossl_init_ssl_base: Adding SSL ciphers and digests
OPENSSL_INIT: ossl_init_ssl_base: SSL_COMP_get_compression_methods()
OPENSSL_INIT: ossl_init_ssl_base: SSL_add_ssl_module()
OPENSSL_INIT: ossl_init_load_ssl_strings: ERR_load_SSL_strings()
OPENSSL_INIT: ossl_init_thread_start: marking thread for rand
OPENSSL_INIT: ossl_init_thread_start: marking thread for rand
```
Otto Moerbeek [Tue, 11 Jan 2022 10:39:46 +0000 (11:39 +0100)]
Reformat with clang-format
Otto Moerbeek [Tue, 11 Jan 2022 10:37:17 +0000 (11:37 +0100)]
Split out rec-main.cc
Otto Moerbeek [Tue, 11 Jan 2022 09:01:45 +0000 (10:01 +0100)]
Introduce rec-main.hh and split out TCP code to rec-tcp.cc
Remi Gacogne [Fri, 11 Mar 2022 08:38:35 +0000 (09:38 +0100)]
Update protozero to 1.7.1
Changes:
- Fixes undefined behaviour in `float` and `double` byteswap.
- Add missing includes of "config.hpp".
- Avoid narrowing conversion by doing an explicit `static_cast`.
Peter van Dijk [Mon, 10 Jan 2022 19:49:10 +0000 (20:49 +0100)]
Merge pull request #11162 from omoerbeek/auth-print-algo-mnemonic
auth: Print algo mnemonic for speed test
Otto Moerbeek [Mon, 10 Jan 2022 14:20:14 +0000 (15:20 +0100)]
Print regular output to stdout
Otto Moerbeek [Mon, 10 Jan 2022 14:16:41 +0000 (15:16 +0100)]
Print algo mnemonic for speed test
Peter van Dijk [Mon, 10 Jan 2022 12:57:33 +0000 (13:57 +0100)]
Merge pull request #11102 from Habbie/autosecondary-api
auth: add autoprimary management in API & pdnsutil
Peter van Dijk [Mon, 10 Jan 2022 11:37:29 +0000 (12:37 +0100)]
Merge pull request #11072 from Habbie/docs-storage-classes
auth docs: overview of DNS storage classes inside PowerDNS
Peter van Dijk [Wed, 15 Dec 2021 14:05:33 +0000 (15:05 +0100)]
auth: add autoprimary API test
Aki Tuomi [Wed, 21 Jul 2021 13:26:55 +0000 (16:26 +0300)]
auth: add support for autoprimary management via API and pdnsutil
Aki Tuomi [Wed, 21 Jul 2021 13:42:48 +0000 (16:42 +0300)]
bindbackend: Document bind-supermaster-config
Otto Moerbeek [Mon, 10 Jan 2022 10:12:31 +0000 (11:12 +0100)]
Merge pull request #11118 from omoerbeek/boost-clang-130
boost.m4: OpenBSD arrived at clang-13
Remi Gacogne [Mon, 10 Jan 2022 09:40:23 +0000 (10:40 +0100)]
dnsdist: Document webserver and actions removals in 1.7.0
Remi Gacogne [Mon, 10 Jan 2022 09:18:19 +0000 (10:18 +0100)]
Merge pull request #11141 from rgacogne/remove-boost-shared-array
Stop using the deprecated boost::shared_array
Peter van Dijk [Mon, 10 Jan 2022 09:16:55 +0000 (10:16 +0100)]
Merge pull request #11154 from omoerbeek/unixodbc-dev-dep
auth: unixodbc-dev is dependency
Peter van Dijk [Mon, 10 Jan 2022 09:14:32 +0000 (10:14 +0100)]
Merge pull request #11152 from mind04/pdns-lmdb-lookup
auth: lmdb, check if the lookup name is part of the zone
Otto Moerbeek [Mon, 10 Jan 2022 07:14:17 +0000 (08:14 +0100)]
unixodbc-dev is an auth dependency
Otto Moerbeek [Mon, 10 Jan 2022 06:53:17 +0000 (07:53 +0100)]
Merge pull request #11137 from jsoref/short-thread-name
Try shorter thread names
Kees Monshouwer [Fri, 7 Jan 2022 23:29:38 +0000 (00:29 +0100)]
auth: lmdb, check if the lookup name is part of the zone
Otto Moerbeek [Fri, 7 Jan 2022 10:51:06 +0000 (11:51 +0100)]
Merge pull request #11124 from omoerbeek/rec-regr-tsan
rec: enable recursor regression tests using tsan
Otto Moerbeek [Fri, 7 Jan 2022 09:59:41 +0000 (10:59 +0100)]
Merge pull request #11150 from omoerbeek/bump-year
Bump copyright year
Otto Moerbeek [Fri, 7 Jan 2022 09:44:24 +0000 (10:44 +0100)]
Process review comments
Otto Moerbeek [Fri, 7 Jan 2022 08:00:30 +0000 (09:00 +0100)]
Bump copyright year
Peter van Dijk [Wed, 5 Jan 2022 20:21:36 +0000 (21:21 +0100)]
Merge pull request #11144 from Habbie/edit-zone-keys
pdnsutil edit-zone: fix n and e behaviour on increase-serial prompt
Peter van Dijk [Wed, 5 Jan 2022 19:04:13 +0000 (20:04 +0100)]
pdnsutil edit-zone: fix n and e behaviour on increase-serial prompt, fixes #11142
Peter van Dijk [Wed, 5 Jan 2022 13:55:16 +0000 (14:55 +0100)]
Merge pull request #11136 from jsoref/rst-link
Use RST instead of Markdown for link
Peter van Dijk [Wed, 5 Jan 2022 13:45:07 +0000 (14:45 +0100)]
Merge pull request #11115 from mind04/lmdb-delete
auth: lmdb: fix records removal in deleteDomain()
Peter van Dijk [Wed, 5 Jan 2022 13:44:50 +0000 (14:44 +0100)]
Merge pull request #11122 from mind04/tcp-exception
auth: improve tcp exception handling
Peter van Dijk [Wed, 5 Jan 2022 11:41:58 +0000 (12:41 +0100)]
Merge pull request #11083 from zeha/zeha-auth-dead-return
auth: remove dead return statements
Remi Gacogne [Tue, 4 Jan 2022 10:22:27 +0000 (11:22 +0100)]
Stop using the deprecated boost::shared_array
It was deprecated in 1.65.0: `This facility is deprecated because a shared_ptr
to T[] or T[N] is now available, and is superior in every regard`.
As far as I can tell we never actually used the reference counting 'shared'
feature anyway.
Otto Moerbeek [Tue, 4 Jan 2022 08:54:34 +0000 (09:54 +0100)]
Better wording in comment
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Mon, 3 Jan 2022 07:57:23 +0000 (02:57 -0500)]
Make trySetThreadName static
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Josh Soref [Thu, 30 Dec 2021 03:40:10 +0000 (22:40 -0500)]
Try shorter thread names
https://man7.org/linux/man-pages/man3/pthread_setname_np.3.html
... The thread name is a
meaningful C language string, whose length is restricted to 16
characters, including the terminating null byte ('\0').
Josh Soref [Wed, 29 Dec 2021 16:26:39 +0000 (11:26 -0500)]
Use RST instead of Markdown for link
Remi Gacogne [Tue, 28 Dec 2021 08:24:07 +0000 (09:24 +0100)]
Merge pull request #11132 from dwfreed/patch-1
Test correct member in DynBlockRatioRule::warningRatioExceeded
Doug Freed [Mon, 27 Dec 2021 17:00:37 +0000 (12:00 -0500)]
Test correct member in DynBlockRatioRule::warningRatioExceeded
Also sprinkle in some more checks of d_enabled.
Fixes #11131
Peter van Dijk [Fri, 24 Dec 2021 18:22:16 +0000 (19:22 +0100)]
Merge pull request #11090 from zeha/auth-rectify-msg
auth: show QType by name in log message
Peter van Dijk [Fri, 24 Dec 2021 12:54:59 +0000 (13:54 +0100)]
Merge pull request #11129 from rgacogne/unbreak-ipcipher
Properly handle ipcipher support when libcrypto is not available
Peter van Dijk [Fri, 24 Dec 2021 10:55:02 +0000 (11:55 +0100)]
Merge pull request #11125 from omoerbeek/circli-no-more-rec
rec: All of rec testing moved to GH workflows
Remi Gacogne [Thu, 23 Dec 2021 09:38:17 +0000 (10:38 +0100)]
Properly handle ipcipher support when libcrypto is not available
Remi Gacogne [Thu, 23 Dec 2021 08:37:43 +0000 (09:37 +0100)]
Merge pull request #11121 from rgacogne/ddist-ignore-p12
dnsdist: Ignore the generated p12 file in the regression tests dir
Remi Gacogne [Thu, 23 Dec 2021 08:36:21 +0000 (09:36 +0100)]
Merge pull request #11126 from Habbie/dnsdist-luathread
dnsdist: add newThread() function (experimental, subject to change)
Peter van Dijk [Fri, 17 Dec 2021 18:27:27 +0000 (19:27 +0100)]
dnsdist: add newThread() function (experimental, subject to change)
Otto [Wed, 22 Dec 2021 09:42:57 +0000 (10:42 +0100)]
Use _config_template and _config_template_default in the right way so common
settings get inherited if possible
Otto [Wed, 22 Dec 2021 14:12:36 +0000 (15:12 +0100)]
All of rec moved to GH workflows
Remi Gacogne [Wed, 22 Dec 2021 14:05:46 +0000 (15:05 +0100)]
Merge pull request #10950 from rgacogne/ddist-console-disable-completion
dnsdist: Add a lot more of build-time options to select features
Kees Monshouwer [Wed, 22 Dec 2021 12:18:57 +0000 (13:18 +0100)]
auth: improve tcp exception handling
Remi Gacogne [Wed, 22 Dec 2021 10:27:40 +0000 (11:27 +0100)]
dnsdist: Ignore the generated p12 file in the regression tests dir
Remi Gacogne [Wed, 22 Dec 2021 10:10:31 +0000 (11:10 +0100)]
dnsdist: Also disable nghttp2 support for the 'lean' build
Otto [Wed, 22 Dec 2021 09:06:03 +0000 (10:06 +0100)]
Stats are racey, disable periodic stats printing in tests
Otto [Wed, 22 Dec 2021 09:00:47 +0000 (10:00 +0100)]
Do not use boost::format, it is not thread safe when calling into locale handling code
according to tsan.
Otto [Tue, 21 Dec 2021 16:36:08 +0000 (17:36 +0100)]
Wait for webserver before querying
Otto [Tue, 21 Dec 2021 15:29:30 +0000 (16:29 +0100)]
Update numberOfDistributedQueries only from the thread itself
Otto [Tue, 21 Dec 2021 13:16:43 +0000 (14:16 +0100)]
Re-enable tsan
Otto Moerbeek [Wed, 22 Dec 2021 10:08:02 +0000 (11:08 +0100)]
Merge pull request #11116 from omoerbeek/do-not-start-services
github actions: Set policy to not start/enable services by default
Remi Gacogne [Wed, 22 Dec 2021 09:34:42 +0000 (10:34 +0100)]
Merge pull request #11076 from rgacogne/ddist-170rc1
dnsdist: Update the ChangeLog and the secpoll zone for 1.7.0-rc1
Remi Gacogne [Thu, 16 Dec 2021 08:56:30 +0000 (09:56 +0100)]
Tasks.py: Fix the format string for dnsdist's configure