]>
git.ipfire.org Git - thirdparty/pdns.git/log
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
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
Remi Gacogne [Thu, 16 Dec 2021 10:08:55 +0000 (11:08 +0100)]
Merge pull request #11027 from chbruyand/dnsdist-pcks12-certs
dnsdist: add support for password protected PCKS12 files for TLS configuration
Remi Gacogne [Thu, 16 Dec 2021 10:08:27 +0000 (11:08 +0100)]
Merge pull request #11051 from chbruyand/dnsdist-spoof-packet
dnsdist: add support to spoof a full self-generated response from lua
Remi Gacogne [Thu, 16 Dec 2021 09:58:17 +0000 (10:58 +0100)]
Merge pull request #10949 from rgacogne/ddist-lua-ffi-proxy-protocol
dnsdist: Add a Lua FFI helper to generate proxy protocol payloads
Charles-Henri Bruyand [Wed, 24 Nov 2021 10:37:10 +0000 (11:37 +0100)]
Apply rgacogne's suggestions from code review, thanks :)
Charles-Henri Bruyand [Wed, 24 Nov 2021 10:29:51 +0000 (11:29 +0100)]
dnsdist: add pkcs12 file regression tests
Charles-Henri Bruyand [Fri, 19 Nov 2021 14:21:15 +0000 (15:21 +0100)]
dnsdist: add support for password protected PCKS12 files for TLS configuration
Remi Gacogne [Thu, 16 Dec 2021 08:57:56 +0000 (09:57 +0100)]
Merge pull request #11017 from rgacogne/ddist-network-itfs
dnsdist: Add Lua bindings to get the list of network interfaces, addresses
Remi Gacogne [Thu, 16 Dec 2021 08:36:25 +0000 (09:36 +0100)]
dnsdist: Fix compilation without incoming DoH support
Remi Gacogne [Wed, 15 Dec 2021 15:31:06 +0000 (16:31 +0100)]
dnsdist: Make sure we do not throw from the Lua FFI interface
Peter van Dijk [Wed, 15 Dec 2021 14:38:36 +0000 (15:38 +0100)]
Merge pull request #11095 from Habbie/upgrade-notes-11081
dnsdist, rec, auth: upgrade notes for 11081
Remi Gacogne [Wed, 15 Dec 2021 14:12:56 +0000 (15:12 +0100)]
Merge pull request #10734 from rgacogne/ddist-async-tls
dnsdist: Add experimental support for TLS asynchronous engines
Remi Gacogne [Fri, 5 Nov 2021 08:45:42 +0000 (09:45 +0100)]
dnsdist: Add a Lua FFI helper to generate proxy protocol payloads
Otto Moerbeek [Wed, 15 Dec 2021 14:03:13 +0000 (15:03 +0100)]
Merge pull request #11101 from omoerbeek/auth-errno-clobbered
auth: save errno value as close(2) might clobber it
Remi Gacogne [Wed, 15 Dec 2021 13:18:02 +0000 (14:18 +0100)]
Merge pull request #11075 from rgacogne/ddist-fix-dropped-doh-cross-responses
dnsdist: Fix a double-free when a DoH cross-protocol response is dropped
Otto [Wed, 15 Dec 2021 12:40:20 +0000 (13:40 +0100)]
auth: save errno value as close(2) might clobber it
Remi Gacogne [Wed, 15 Dec 2021 11:19:11 +0000 (12:19 +0100)]
dnsdist: Clarify that if the call failed we still own the DOHUnit
Remi Gacogne [Wed, 15 Dec 2021 10:49:29 +0000 (11:49 +0100)]
dnsdist: Add comments on reference counting around our internal pipe
Remi Gacogne [Wed, 15 Dec 2021 09:54:07 +0000 (10:54 +0100)]
dnsdist: Use an alias for the DOHUnit unique pointer
Remi Gacogne [Wed, 15 Dec 2021 09:53:28 +0000 (10:53 +0100)]
dnsdist: Fix typo spotted by Otto
Otto [Wed, 15 Dec 2021 08:08:20 +0000 (09:08 +0100)]
Prep for rec-4.6.0 release
Charles-Henri Bruyand [Tue, 14 Dec 2021 16:22:50 +0000 (17:22 +0100)]
Merge pull request #11059 from chbruyand/dnsdist-lua-ttl-limit
dnsdist: add lua support to limit TTL values of responses
Pieter Lexis [Tue, 14 Dec 2021 09:47:20 +0000 (10:47 +0100)]
Merge pull request #10984 from danel1/master
docs: Add hint on how to find generic records in SQL backends
Peter van Dijk [Mon, 13 Dec 2021 11:05:44 +0000 (12:05 +0100)]
dnsdist, rec, auth: upgrade notes for 11081
Peter van Dijk [Mon, 13 Dec 2021 08:13:37 +0000 (09:13 +0100)]
Merge pull request #11081 from nvaatstra/docker-unprivileged
Docker images: Remove capability requirements
Nico Vaatstra [Thu, 9 Dec 2021 11:39:29 +0000 (12:39 +0100)]
Additional note on Docker Engine version where the requirement of the additional capability was dropped
Peter van Dijk [Thu, 9 Dec 2021 10:44:12 +0000 (11:44 +0100)]
Merge pull request #11061 from Habbie/auth-4.6.0-alpha2-docs-secpoll
auth-4.6.0-beta1: secpoll&docs
Remi Gacogne [Thu, 9 Dec 2021 10:14:57 +0000 (11:14 +0100)]
dnsdist: Account for the proxy protocol payload when checking the query size
Peter van Dijk [Thu, 2 Dec 2021 12:16:30 +0000 (13:16 +0100)]
auth-4.6.0-beta1: secpoll&docs
Nico Vaatstra [Wed, 8 Dec 2021 15:28:42 +0000 (16:28 +0100)]
Remove capability requirements from Docker images
Remi Gacogne [Wed, 8 Dec 2021 15:16:01 +0000 (16:16 +0100)]
Merge pull request #11078 from rgacogne/ddist-ffi-spoof-raw-no-const
dnsdist: Fix const-correctness of dnsdist_ffi_raw_value_t's value
Remi Gacogne [Wed, 8 Dec 2021 14:36:37 +0000 (15:36 +0100)]
dnsdist: Check the size of the query when re-sending a DoH query
When the UDP response to a DoH query was truncated, we re-send the
query via TCP, passing it to a TCP worker. We need to edit the ID
to its original value before that, and while there is no reason
that the query is smaller than a dnsheader, we need to check its size,
not the size of the response.
Remi Gacogne [Wed, 8 Dec 2021 14:31:18 +0000 (15:31 +0100)]
dnsdist: Increment the DoH ref counter before writing to the pipe
As far as I can tell this is not actually needed, as we decrement
it right away, but it prevents TSAN from reporting a race when the
UDP response comes very fast, is truncated, and the query is then
passed to a TCP worker. TSAN seems to think that the thread is still
sending the UDP query when we touch it again in the TCP worker, which
does not really make sense to me.
My guess is that the memory barrier needed to update the ref counter
makes TSAN happy, but I might be missing something.
Otto Moerbeek [Wed, 8 Dec 2021 13:00:53 +0000 (14:00 +0100)]
Add test for new APIs and reformat
Otto [Wed, 8 Dec 2021 12:03:39 +0000 (13:03 +0100)]
API tweaks in response to reviews
Remi Gacogne [Wed, 8 Dec 2021 11:41:23 +0000 (12:41 +0100)]
dnsdist: Fix const-correctness of dnsdist_ffi_raw_value_t's value
This prevent an allocation and a copy since we can now directly pass
a Lua string.
Remi Gacogne [Wed, 8 Dec 2021 11:31:00 +0000 (12:31 +0100)]
dnsdist: Wrap the DOHUnit object in a unique_ptr whenever possible
Remi Gacogne [Wed, 8 Dec 2021 10:15:08 +0000 (11:15 +0100)]
dnsdist: Refactoring of the DoH unit handling
Remi Gacogne [Wed, 8 Dec 2021 10:13:34 +0000 (11:13 +0100)]
dnsdist: Fix a leak when a UDP response for DoH is truncated
Otto [Tue, 7 Dec 2021 16:46:30 +0000 (17:46 +0100)]
Reformat
Remi Gacogne [Tue, 7 Dec 2021 16:41:22 +0000 (17:41 +0100)]
dnsdist: Fix a double-free when a DoH cross-protocol response is dropped
Otto Moerbeek [Tue, 7 Dec 2021 13:22:17 +0000 (14:22 +0100)]
Update pdns/lua-recursor4.hh
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Tue, 7 Dec 2021 13:01:13 +0000 (14:01 +0100)]
Add use of ffi.C.pdns_postresolve_ffi_handle_add_record in test
Otto [Tue, 7 Dec 2021 12:42:37 +0000 (13:42 +0100)]
Add LuaPostResolveFFI enum to dnsmessage.proto
Pieter Lexis [Tue, 7 Dec 2021 12:12:02 +0000 (13:12 +0100)]
Merge pull request #11073 from jsoref/grammar
Minor fixes
Otto Moerbeek [Tue, 7 Dec 2021 11:21:34 +0000 (12:21 +0100)]
Basic test for postresolve_ffi
Josh Soref [Tue, 7 Dec 2021 09:21:44 +0000 (04:21 -0500)]
Minor fixes
Guided by app.grammarly.com
Otto [Tue, 7 Dec 2021 07:51:26 +0000 (08:51 +0100)]
Move pool to private and return const iterator
Otto [Mon, 6 Dec 2021 16:10:08 +0000 (17:10 +0100)]
Supply from address from the recursorcache to the postresolve_ffi API.
Otto [Mon, 6 Dec 2021 14:40:19 +0000 (15:40 +0100)]
Use move for inserting string into pool
Otto [Fri, 3 Dec 2021 12:07:44 +0000 (13:07 +0100)]
Proof of coccept for postresove_ffi
Likely API needs tweaks.
Otto Moerbeek [Mon, 6 Dec 2021 14:27:52 +0000 (15:27 +0100)]
Merge pull request #11070 from omoerbeek/rec-regr-logs
rec: Regression tests: startup/cleanup fixes
Peter van Dijk [Mon, 6 Dec 2021 11:56:02 +0000 (12:56 +0100)]
Merge pull request #11068 from Habbie/bind-hybrid-zone-cache
auth: prevent bind-hybrid+zone-cache
Peter van Dijk [Mon, 6 Dec 2021 11:55:05 +0000 (12:55 +0100)]
Merge pull request #11067 from Habbie/pdnsutil-ds-sha1-verbose
pdnsutil: skip SHA1 DSes except in verbose mode, fixes #11045
Peter van Dijk [Mon, 6 Dec 2021 11:54:33 +0000 (12:54 +0100)]
Merge pull request #11066 from zeha/auth-api-zonecache-flush-small
Auth: add zone to zonecache on flush API endpoint
Charles-Henri Bruyand [Mon, 6 Dec 2021 11:49:37 +0000 (12:49 +0100)]
Update regression-tests.dnsdist/test_Responses.py
Co-authored-by: Remi Gacogne <github@coredump.fr>
Peter van Dijk [Mon, 6 Dec 2021 11:49:09 +0000 (12:49 +0100)]
Merge pull request #11071 from PowerDNS/omoerbeek-patch-1
Wrong title of check
Otto Moerbeek [Mon, 6 Dec 2021 08:29:36 +0000 (09:29 +0100)]
Merge pull request #11069 from omoerbeek/rec-no-eventtrace-on-no-lua
rec: Do not generate eventtrace records if no Lua hook is defined
Otto Moerbeek [Fri, 3 Dec 2021 14:29:09 +0000 (15:29 +0100)]
Cleanup start and stop code
- more clearly print startup logs in case of exec error
- do not try to kill a process that's already dead
- do not call exit, but throw an AssertionError on startup issues
Also print logs on no exception
Charles-Henri Bruyand [Fri, 3 Dec 2021 18:06:42 +0000 (19:06 +0100)]
fix wrong constants used in regression tests
Otto Moerbeek [Fri, 3 Dec 2021 16:18:07 +0000 (17:18 +0100)]
Wrong title of check
Remi Gacogne [Fri, 3 Dec 2021 15:55:06 +0000 (16:55 +0100)]
dnsdist: Hopefully appease the formatting gods
Remi Gacogne [Fri, 3 Dec 2021 15:51:50 +0000 (16:51 +0100)]
rec: Handle "cannot happen" Async results by raising an exception
Remi Gacogne [Fri, 3 Dec 2021 15:50:26 +0000 (16:50 +0100)]
dnsdist: Better wording, as suggested by Josh Soref (thanks!)
Remi Gacogne [Fri, 3 Dec 2021 15:49:46 +0000 (16:49 +0100)]
dnsdist: Fix broken indentation, as spotted by Josh Soref (thanks!)
Remi Gacogne [Fri, 3 Dec 2021 15:43:12 +0000 (16:43 +0100)]
libssl: Warn when async mode is requested but not supported
Remi Gacogne [Fri, 3 Dec 2021 15:40:19 +0000 (16:40 +0100)]
libssl: Add the name of the TLS engine in the error message
Remi Gacogne [Fri, 3 Dec 2021 15:35:22 +0000 (16:35 +0100)]
dnsdist: Move TLS async mode to 1.8.0
Charles-Henri Bruyand [Fri, 3 Dec 2021 15:29:14 +0000 (16:29 +0100)]
dnsdist: improve dnsdist_ffi_dnsresponse_t FFI integration
Remi Gacogne [Wed, 22 Sep 2021 13:58:49 +0000 (15:58 +0200)]
dnsdist: Wait for any TLS async job to be done before deleting the state
Remi Gacogne [Mon, 20 Sep 2021 09:02:59 +0000 (11:02 +0200)]
dnsdist: Fix building on older OpenSSL versions (no engine, no async)
Remi Gacogne [Mon, 20 Sep 2021 09:02:09 +0000 (11:02 +0200)]
dnsdist: Fix typo reported by Chris Hofstaedtler (thanks!)
Remi Gacogne [Fri, 17 Sep 2021 15:31:22 +0000 (17:31 +0200)]
dnsdist: Add experimental support for TLS asynchronous engines
Remi Gacogne [Mon, 22 Nov 2021 11:09:13 +0000 (12:09 +0100)]
spell-chek: Allow 'getifaddrs'
Remi Gacogne [Mon, 22 Nov 2021 11:05:30 +0000 (12:05 +0100)]
dnsdist: Add Lua bindings to get the list of network interfaces, addresses
Remi Gacogne [Mon, 22 Nov 2021 10:28:02 +0000 (11:28 +0100)]
iputils: Add functions to retrieve the list of network interfaces, addresses
Only tested on Linux but should work at least on FreeBSD and OpenBSD
as well.
Chris Hofstaedtler [Fri, 3 Dec 2021 12:52:38 +0000 (13:52 +0100)]
auth API: add zone to zonecache in flush endpoint
Peter van Dijk [Fri, 3 Dec 2021 11:51:10 +0000 (12:51 +0100)]
auth: prevent bind-hybrid+zone-cache, fixes #10658
Chris Hofstaedtler [Fri, 3 Dec 2021 12:45:34 +0000 (13:45 +0100)]
auth API: purge entire zone from cache, not just zone-level records
Otto Moerbeek [Fri, 3 Dec 2021 12:26:32 +0000 (13:26 +0100)]
Merge pull request #11064 from omoerbeek/docs-secpoll-status
secpoll: for pre-releases, use status 2 when supserseded.
Otto [Fri, 3 Dec 2021 12:24:45 +0000 (13:24 +0100)]
Do not generate eventtrace records if no Lua hook is defined
Peter van Dijk [Fri, 3 Dec 2021 11:38:25 +0000 (12:38 +0100)]
pdnsutil: skip SHA1 DSes except in verbose mode, fixes #11045
Charles-Henri Bruyand [Fri, 3 Dec 2021 11:13:38 +0000 (12:13 +0100)]
dnsdist: add DNSAction::Action::SpoofPacket so that spoofing can be done within a regular LuaAction
- fix small (and bigger) nits reported by rgacogne, thanks.
- update regression tests with better boundaries on queries beeing spoofed
Otto [Fri, 3 Dec 2021 08:18:41 +0000 (09:18 +0100)]
For pre-releases, use status 2 when supserseded.
Otto Moerbeek [Fri, 3 Dec 2021 09:32:21 +0000 (10:32 +0100)]
Merge pull request #11063 from omoerbeek/rec-prep-4.6.0-rc1
rec: Prep for rec-4.6.0-rc1
Remi Gacogne [Fri, 3 Dec 2021 09:11:16 +0000 (10:11 +0100)]
Merge pull request #11054 from rgacogne/ddist-fix-webserver-headers-doc
dnsdist: Fix 'custom_headers' -> 'customHeaders' in the webserver doc
Otto Moerbeek [Fri, 3 Dec 2021 08:45:51 +0000 (09:45 +0100)]
Update pdns/recursordist/docs/changelog/4.6.rst
Co-authored-by: Remi Gacogne <github@coredump.fr>