]>
git.ipfire.org Git - thirdparty/pdns.git/log
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
```
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
Remi Gacogne [Thu, 16 Dec 2021 08:54:31 +0000 (09:54 +0100)]
Add 'dnsheader' to the list of allowed words
Remi Gacogne [Thu, 16 Dec 2021 08:46:04 +0000 (09:46 +0100)]
Update pdns/dnsdistdist/docs/install.rst
Co-authored-by: Pieter Lexis <pieter@plexis.eu>
Remi Gacogne [Wed, 15 Dec 2021 17:00:17 +0000 (18:00 +0100)]
dnsdist: First attempt at buiding a 'thin' version with features disabled
Remi Gacogne [Wed, 15 Dec 2021 17:00:09 +0000 (18:00 +0100)]
dnsdist: Document the compile-time options we have
Remi Gacogne [Wed, 15 Dec 2021 16:05:07 +0000 (17:05 +0100)]
dnsdist: Fix the mockup implementation of checkParameterBound in our unit tests
Remi Gacogne [Thu, 25 Nov 2021 15:11:32 +0000 (16:11 +0100)]
dnsdist: Clean up unused parts in the libedit and nghttp2 m4s
Remi Gacogne [Thu, 25 Nov 2021 10:20:48 +0000 (11:20 +0100)]
dnsdist: Add DISABLE_TOP_N_BINDINGS
Remi Gacogne [Mon, 15 Nov 2021 13:55:27 +0000 (14:55 +0100)]
dnsdist: Remove useless actions and rules when support is not present
Remi Gacogne [Mon, 15 Nov 2021 11:01:33 +0000 (12:01 +0100)]
dnsdist: Disable /jsonstats w/ DISABLE_BUILTIN_HTML. Add DISABLE_WEB_CONFIG
Remi Gacogne [Mon, 15 Nov 2021 11:00:52 +0000 (12:00 +0100)]
dnsdist: Also disable forgotten bindings for DISABLE_DEPRECATED_DYNBLOCK
Remi Gacogne [Mon, 15 Nov 2021 09:33:45 +0000 (10:33 +0100)]
dnsdist: Fix formatting
Remi Gacogne [Fri, 12 Nov 2021 17:04:44 +0000 (18:04 +0100)]
dnsdist: More options to disable features, fix compilation on OpenWRT
Remi Gacogne [Fri, 12 Nov 2021 15:10:16 +0000 (16:10 +0100)]
dnsdist: Only expose SNMP helpers when SNMP is built in
Remi Gacogne [Fri, 12 Nov 2021 15:06:17 +0000 (16:06 +0100)]
dnsdist: Remove deprecated actions
Remi Gacogne [Fri, 12 Nov 2021 14:59:45 +0000 (15:59 +0100)]
dnsdist: Clean up parameter types in Lua bindings
Remi Gacogne [Fri, 12 Nov 2021 14:59:13 +0000 (15:59 +0100)]
dnsdist: Disable deprecated DynBlock methods when DISABLE_DEPRECATED_DYNBLOCK is defined
Remi Gacogne [Fri, 12 Nov 2021 14:57:51 +0000 (15:57 +0100)]
dnsdist: Only expose KVS helpers when CDB or LMDB is available
Idem for DNSCrypt
Remi Gacogne [Fri, 12 Nov 2021 14:57:18 +0000 (15:57 +0100)]
dnsdist: Add a comment on which symbols are actually exported
Remi Gacogne [Fri, 12 Nov 2021 10:56:50 +0000 (11:56 +0100)]
dnsdist: Move more DNSCrypt bindings into the right Lua file
Remi Gacogne [Tue, 9 Nov 2021 15:37:17 +0000 (16:37 +0100)]
dnsdist: Make libedit support optional
Remi Gacogne [Tue, 9 Nov 2021 14:12:09 +0000 (15:12 +0100)]
dnsdist: Do not build secpoll support when DISABLE_SECPOLL is defined
Remi Gacogne [Tue, 9 Nov 2021 10:58:57 +0000 (11:58 +0100)]
dnsdist: Do not build carbon support when DISABLE_CARBON is defined
Remi Gacogne [Mon, 8 Nov 2021 16:44:51 +0000 (17:44 +0100)]
dnsdist: Move carbon configuration into a separate header file
Remi Gacogne [Mon, 8 Nov 2021 16:38:59 +0000 (17:38 +0100)]
dnsdist: Do not include built-in HTML content when DISABLE_BUILTIN_HTML is defined
Remi Gacogne [Mon, 8 Nov 2021 16:24:32 +0000 (17:24 +0100)]
dnsdist: Do not build protobuf support when DISABLE_PROTOBUF is defined
Remi Gacogne [Mon, 8 Nov 2021 11:26:44 +0000 (12:26 +0100)]
dnsdist: Add a configure option to disable CDB
Remi Gacogne [Mon, 8 Nov 2021 11:14:31 +0000 (12:14 +0100)]
auth,dnsdist: Add an option to disable 'ipcipher' during configure
Remi Gacogne [Mon, 8 Nov 2021 10:02:29 +0000 (11:02 +0100)]
dnsdist: Do not build prometheus support when DISABLE_PROMETHEUS is defined
Remi Gacogne [Fri, 5 Nov 2021 08:52:00 +0000 (09:52 +0100)]
dnsdist: Do not build the completion and help when DISABLE_COMPLETION is defined
A configure option would be better, as we might then also not link
against libedit.
Otto Moerbeek [Tue, 21 Dec 2021 15:24:52 +0000 (16:24 +0100)]
Merge pull request #11110 from rgacogne/rec-suppressions-forks
rec: Fix the path to the recursor's UBSan suppression file in forks
Otto Moerbeek [Tue, 21 Dec 2021 15:24:19 +0000 (16:24 +0100)]
Merge pull request #11117 from omoerbeek/sendMsgWithOptions-firstTry
fix warning: firstTry is set but not used
Remi Gacogne [Tue, 21 Dec 2021 12:48:37 +0000 (13:48 +0100)]
Merge pull request #11098 from chbruyand/dnsdist-clear-response-qtypes
dnsdist: lua support to remove resource records from a response
Otto [Tue, 21 Dec 2021 10:32:59 +0000 (11:32 +0100)]
firstTry is set but not used if !defined(MSG_FASTOPEN)
Remi Gacogne [Tue, 21 Dec 2021 10:06:49 +0000 (11:06 +0100)]
dnsdist: Move 1.7.0-rc1 release date to the 22nd
Remi Gacogne [Thu, 16 Dec 2021 10:07:00 +0000 (11:07 +0100)]
dnsdist: Remove a duplicated entry in the changelog
Remi Gacogne [Thu, 9 Dec 2021 10:28:24 +0000 (11:28 +0100)]
dnsdist: Update the 1.7.0-rc1 changelog
Remi Gacogne [Tue, 7 Dec 2021 16:52:17 +0000 (17:52 +0100)]
dnsdist: Update the ChangeLog and the secpoll zone for 1.7.0-rc1
Otto Moerbeek [Tue, 21 Dec 2021 08:15:35 +0000 (09:15 +0100)]
Merge pull request #11109 from omoerbeek/version-features
version.c: Two more features to print
Kees Monshouwer [Mon, 20 Dec 2021 15:57:40 +0000 (16:57 +0100)]
auth: lmdb: fix records removal in deleteDomain()
Otto [Sat, 18 Dec 2021 19:24:14 +0000 (20:24 +0100)]
Set policy to not start/enable services by default
Remi Gacogne [Fri, 17 Dec 2021 16:10:03 +0000 (17:10 +0100)]
rec: Fix the path to the recursor's UBSan suppression file in forks
Otto Moerbeek [Fri, 17 Dec 2021 13:00:31 +0000 (14:00 +0100)]
Merge pull request #11108 from chbruyand/libssl-fix-missing-functions
libssl: fix compilation issues on older openssl versions
Otto [Fri, 17 Dec 2021 11:16:51 +0000 (12:16 +0100)]
Two more features to print
Otto Moerbeek [Fri, 17 Dec 2021 10:40:56 +0000 (11:40 +0100)]
Merge pull request #11074 from omoerbeek/rec-postresolve-ffi
rec: postresolve ffi
Charles-Henri Bruyand [Fri, 17 Dec 2021 10:18:25 +0000 (11:18 +0100)]
libssl: do not check for sk_X509_free
Remi Gacogne [Fri, 17 Dec 2021 10:13:42 +0000 (11:13 +0100)]
Merge pull request #11079 from rgacogne/ddist-doh-tc-check-query-size
dnsdist: Check the size of the query when re-sending a DoH query
Remi Gacogne [Fri, 17 Dec 2021 10:13:13 +0000 (11:13 +0100)]
Merge pull request #11105 from rgacogne/ddist-unbreak-compilation-without-doh
dnsdist: Fix compilation without incoming DoH support
Otto Moerbeek [Fri, 17 Dec 2021 10:01:32 +0000 (11:01 +0100)]
Merge pull request #11099 from omoerbeek/rec-prep-4.6.0
rec: Prep for rec-4.6.0 release
Otto [Fri, 17 Dec 2021 09:40:57 +0000 (10:40 +0100)]
Mention that keeping idle outgoing connections open uses fds.
Also correct default tcp-out-max-idle-per-thread in docs.
Charles-Henri Bruyand [Fri, 17 Dec 2021 09:39:07 +0000 (10:39 +0100)]
libssl: fix missing SSL_CTX_use_cert_and_key function on openssl version < 1.1.1 by disabling pkcs12 support
Charles-Henri Bruyand [Thu, 16 Dec 2021 12:35:18 +0000 (13:35 +0100)]
dnsdist: fix ClearRecordTypesResponseAction documentation with an example and clarify subsequent rules will be processed
Charles-Henri Bruyand [Fri, 10 Dec 2021 16:23:51 +0000 (17:23 +0100)]
Cleanup and issues raised by first rgacogne's review (thanks!)
Charles-Henri Bruyand [Fri, 10 Dec 2021 15:59:27 +0000 (16:59 +0100)]
dnsdist: add non ffi interface to clear given record types in a response
Charles-Henri Bruyand [Fri, 3 Dec 2021 17:54:05 +0000 (18:54 +0100)]
dnsdist: add ffi interface to clear given record types in a response
Charles-Henri Bruyand [Fri, 3 Dec 2021 09:07:25 +0000 (10:07 +0100)]
dnsdist: add parser method to clear given record types in a packet