]>
git.ipfire.org Git - thirdparty/pdns.git/log
Chris Hofstaedtler [Fri, 10 Dec 2021 21:34:41 +0000 (22:34 +0100)]
auth: show QType by name in log message
(cherry picked from commit
dd276e7ad94c977a0dbdd99ce30f17791f2bebb1 )
Peter van Dijk [Tue, 18 Jan 2022 17:14:11 +0000 (18:14 +0100)]
Merge pull request #11210 from Habbie/backport-11208-to-auth-4.6.x
auth-4.6.x: CI: dnspython 2.2.0 breaks auth and ixfrdist testing, pin to 2.1.0
Peter van Dijk [Tue, 18 Jan 2022 15:40:52 +0000 (16:40 +0100)]
CI: dnspython 2.2.0 breaks auth and ixfrdist testing, pin to 2.1.0
(cherry picked from commit
46a40ed033d64f58aa30013d7e68daa5b5e8d615 )
Peter van Dijk [Mon, 17 Jan 2022 21:12:48 +0000 (22:12 +0100)]
Merge pull request #11182 from Habbie/auth-46-copyright-years
auth-4.6.x: bump copyright years to 2022
Peter van Dijk [Thu, 13 Jan 2022 15:14:56 +0000 (16:14 +0100)]
also bump ws-auth.cc copyright year
Otto Moerbeek [Fri, 7 Jan 2022 08:00:30 +0000 (09:00 +0100)]
Bump copyright year
(cherry picked from commit
2d0db0d9655eb1474367cf0dc565ad8710dda507 )
Peter van Dijk [Thu, 13 Jan 2022 12:50:59 +0000 (13:50 +0100)]
Merge pull request #11160 from mind04/auth46-bp-zonecache
auth-4.6.x: add zone removal to the zonecache
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 14:30:38 +0000 (15:30 +0100)]
Merge pull request #11145 from Habbie/backport-11144-to-auth-4.6.x
auth 4.6.x: pdnsutil edit-zone: fix n and e behaviour on increase-serial prompt, fixes #11142
Peter van Dijk [Tue, 11 Jan 2022 14:28:34 +0000 (15:28 +0100)]
Merge pull request #11159 from mind04/pdns-bp6-lmdb-lookup
auth-4.6.x: lmdb, check if the lookup name is part of the zone
Peter van Dijk [Tue, 11 Jan 2022 14:19:33 +0000 (15:19 +0100)]
Merge pull request #11161 from Habbie/backport-11102-to-auth-4.6.x
auth 4.6.x: add autoprimary management in API & pdnsutil #11102
Peter van Dijk [Wed, 15 Dec 2021 14:05:33 +0000 (15:05 +0100)]
auth: add autoprimary API test
(cherry picked from commit
1d9754ddebf3fa6e42f4ecf11f0e6101f27fcfd9 )
Aki Tuomi [Wed, 21 Jul 2021 13:26:55 +0000 (16:26 +0300)]
auth: add support for autoprimary management via API and pdnsutil
(cherry picked from commit
782e9b24c390a954ab88fec1b1d019f200f9d448 )
Aki Tuomi [Wed, 21 Jul 2021 13:42:48 +0000 (16:42 +0300)]
bindbackend: Document bind-supermaster-config
(cherry picked from commit
8a9ea70a3afc3958d3ae8d3864cc4ffb78de281b )
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
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
(cherry picked from commit
fef0fbfc86aaeee03acf62c9d13af70f373679eb )
Peter van Dijk [Wed, 5 Jan 2022 13:45:16 +0000 (14:45 +0100)]
Merge pull request #11139 from mind04/pdns-bp-46x
Auth-4.6.x: backports
Peter van Dijk [Wed, 5 Jan 2022 13:42:23 +0000 (14:42 +0100)]
Merge pull request #11093 from Habbie/backport-11081-to-auth-4.6.x
auth-4.6.x: docker images: Remove capability requirements
Peter van Dijk [Wed, 5 Jan 2022 13:38:30 +0000 (14:38 +0100)]
Merge pull request #11086 from Habbie/auth46-remove-non-auth-ci
auth-4.6.x: do not run dnsdist/rec CI
Kees Monshouwer [Wed, 22 Dec 2021 12:18:57 +0000 (13:18 +0100)]
auth: improve tcp exception handling
Kees Monshouwer [Mon, 20 Dec 2021 15:57:40 +0000 (16:57 +0100)]
auth: lmdb: fix records removal in deleteDomain()
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
(cherry picked from commit
07b24e5743c08c828c73a93e724a86a5b83b680a )
Nico Vaatstra [Wed, 8 Dec 2021 15:28:42 +0000 (16:28 +0100)]
Remove capability requirements from Docker images
(cherry picked from commit
f28c81ed0242b6838eafdb61933a6f63b68040cf )
Peter van Dijk [Thu, 9 Dec 2021 10:14:50 +0000 (11:14 +0100)]
auth-4.6.x: do not run dnsdist/rec CI
Pieter Lexis [Tue, 7 Dec 2021 12:12:02 +0000 (13:12 +0100)]
Merge pull request #11073 from jsoref/grammar
Minor fixes
Josh Soref [Tue, 7 Dec 2021 09:21:44 +0000 (04:21 -0500)]
Minor fixes
Guided by app.grammarly.com
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
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
Otto Moerbeek [Fri, 3 Dec 2021 16:18:07 +0000 (17:18 +0100)]
Wrong title of check
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
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>
Otto [Wed, 1 Dec 2021 15:21:09 +0000 (16:21 +0100)]
Prep for rec-4.6.0-rc1
Otto Moerbeek [Wed, 1 Dec 2021 12:13:40 +0000 (13:13 +0100)]
Merge pull request #10982 from omoerbeek/systemd-dir-env-cond
Condition to HAVE_SYSTEMD_WITH_RUNTIME_DIR_ENV is reversed
Otto [Mon, 15 Nov 2021 10:48:22 +0000 (11:48 +0100)]
Condition to HAVE_SYSTEMD_WITH_RUNTIME_DIR_ENV is reversed
Remi Gacogne [Wed, 1 Dec 2021 08:53:43 +0000 (09:53 +0100)]
dnsdist: Fix 'custom_headers' -> 'customHeaders' in the webserver doc
`setWebserverConfig()` accepts a 'customHeaders' key, and not a
'custom_headers' one. Also update the documentation for `webserver()`
where it does not really matter so they are in sync.
Remi Gacogne [Tue, 30 Nov 2021 13:01:41 +0000 (14:01 +0100)]
Merge pull request #11039 from rgacogne/ddist-split-advanced-regression
dnsdist: Split the huge test_Advanced regression test file
Otto Moerbeek [Tue, 30 Nov 2021 11:53:30 +0000 (12:53 +0100)]
Merge pull request #11043 from omoerbeek/rec-regr-fast-startup-teardown
rec: Regression tests: smarter and faster startup and teardown of auth and rec
Otto Moerbeek [Tue, 30 Nov 2021 11:02:40 +0000 (12:02 +0100)]
Merge pull request #11050 from omoerbeek/rec-catch-guard-ex
rec: Catch an exception in guard destructor as seen by coverity.
Otto Moerbeek [Tue, 30 Nov 2021 11:00:15 +0000 (12:00 +0100)]
Merge pull request #11033 from omoerbeek/circleci-drop-formatting
CircleCI: drop formatting check, superseded by GH workflows
Otto [Tue, 30 Nov 2021 10:55:59 +0000 (11:55 +0100)]
Wait for web server to come online before proceeding
Otto [Tue, 30 Nov 2021 06:55:10 +0000 (07:55 +0100)]
Set timeout on TCP connect attempt
Otto [Mon, 29 Nov 2021 11:14:55 +0000 (12:14 +0100)]
Wait for webserver to come up
Otto [Mon, 29 Nov 2021 09:56:23 +0000 (10:56 +0100)]
Wait until outgoing requests stabilizes before starting tests, rec might stil be busy resolving hints.
Otto [Mon, 29 Nov 2021 08:47:40 +0000 (09:47 +0100)]
Smarter and faster startup and teardown of auth and rec
Instead of having a fixed 1 or 2s delay, poll the TCP port to see
if rec or auth has started up in a semi-tight loop: a loop with a
small sleep. For teardown we poll the wait status using poll() in
a similar loop.
Otto [Tue, 30 Nov 2021 09:03:57 +0000 (10:03 +0100)]
Catch an exception in guard destructor as seen by coverity.
Otto Moerbeek [Tue, 30 Nov 2021 06:59:08 +0000 (07:59 +0100)]
Merge pull request #11046 from phonedph1/patch-31
Update dq.rst
Peter van Dijk [Mon, 29 Nov 2021 22:09:04 +0000 (23:09 +0100)]
Merge pull request #11047 from phonedph1/patch-32
Update dq.rst
phonedph1 [Mon, 29 Nov 2021 22:08:16 +0000 (15:08 -0700)]
Update dq.rst
phonedph1 [Mon, 29 Nov 2021 22:02:14 +0000 (15:02 -0700)]
Update dq.rst
Otto Moerbeek [Mon, 29 Nov 2021 15:30:04 +0000 (16:30 +0100)]
Merge pull request #11044 from omoerbeek/rec-regr-auth-v6
rec: regression test: Fix v6 setup and start using a more modern auth on circleci
Otto [Mon, 29 Nov 2021 13:48:09 +0000 (14:48 +0100)]
Fix error in test zone that auth-45 does not like
Remi Gacogne [Mon, 29 Nov 2021 13:00:47 +0000 (14:00 +0100)]
Merge pull request #11035 from rgacogne/ddist-17-beta2
dnsdist: Add ChangeLog and secpoll for 1.7.0-beta2
Otto [Mon, 29 Nov 2021 11:52:09 +0000 (12:52 +0100)]
One more occurence of --local-ipv6
Otto Moerbeek [Mon, 29 Nov 2021 11:16:58 +0000 (12:16 +0100)]
Merge pull request #11036 from omoerbeek/rec-qm-9156
rec: Compute step sizes for QM a la RFC 9156
Otto [Mon, 29 Nov 2021 10:56:25 +0000 (11:56 +0100)]
Fix v6 setup and start using a more modern auth on circleci
Otto Moerbeek [Mon, 29 Nov 2021 09:58:06 +0000 (10:58 +0100)]
Merge pull request #11042 from jsoref/recursordist-lua-scripting-doc-grammar
doc: grammar tweaks for recursordist lua-scripting
Otto Moerbeek [Mon, 29 Nov 2021 09:15:22 +0000 (10:15 +0100)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <github@coredump.fr>
Josh Soref [Sun, 28 Nov 2021 20:14:39 +0000 (15:14 -0500)]
doc: grammar tweaks for recursordist lua-scripting
Otto Moerbeek [Sun, 28 Nov 2021 14:02:53 +0000 (15:02 +0100)]
Merge pull request #11041 from omoerbeek/rec-lua-blocking-docs
rec: Warn about blocking calls from Lua
Otto [Sun, 28 Nov 2021 08:20:31 +0000 (09:20 +0100)]
Warn about blocking calls from Lua
Remi Gacogne [Fri, 26 Nov 2021 15:53:48 +0000 (16:53 +0100)]
Merge pull request #11037 from rgacogne/ddist-healthcheck-reuse-tls-session
dnsdist: Reuse and save the TLS session tickets in DoT healthchecks
Otto [Fri, 26 Nov 2021 14:14:36 +0000 (15:14 +0100)]
Alos drop formatting job from the global jobs:
Otto Moerbeek [Fri, 26 Nov 2021 14:04:16 +0000 (15:04 +0100)]
Merge pull request #11030 from omoerbeek/rec-incoming-tcp-finalize
Rec incoming tcp bookkeeping
Remi Gacogne [Fri, 26 Nov 2021 13:48:16 +0000 (14:48 +0100)]
dnsdist: Use `time()` instead of `gettimeofday()`, as suggested by Otto
Remi Gacogne [Fri, 26 Nov 2021 13:29:51 +0000 (14:29 +0100)]
dnsdist: Split the huge test_Advanced regression test file
- The Lua FFI tests moved to `test_LuaFFI.py`
- the rules and actions to `test_RulesActions.py`
- and test_Advanced now contains only tests non directly related to
specific rules and actions
Otto Moerbeek [Fri, 26 Nov 2021 13:08:56 +0000 (14:08 +0100)]
typo in comment
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Fri, 26 Nov 2021 12:56:58 +0000 (13:56 +0100)]
Merge pull request #11038 from omoerbeek/rec-ci-mo-tsan-for-now
rec: Disable tsan regression runs for rec for now,
Remi Gacogne [Fri, 26 Nov 2021 12:51:13 +0000 (13:51 +0100)]
dnsdist: Update the outgoing DoT tests now that we save TLS tickets during healthchecks
Otto [Fri, 26 Nov 2021 12:28:53 +0000 (13:28 +0100)]
Prepend labels starting with an underscore
Otto [Fri, 26 Nov 2021 11:21:23 +0000 (12:21 +0100)]
Disable tsan regression runs for rec for now, there is a failure
mode that if it hits makes almost all remaining test fail. Symptom
is that the auths do not start up properly.
Remi Gacogne [Fri, 26 Nov 2021 11:15:09 +0000 (12:15 +0100)]
dnsdist: Reuse and save the TLS session tickets in DoT healthchecks
This reduces the cost of the healthchecks themselves while saving the
TLS session reduces the cost of opening of a DoT connection for actual
queries later on.
In the future a refactoring of the TCP/DoT healthcheck code to be more
like the "black box" approach used for DoH would be nice to have.
Otto [Fri, 26 Nov 2021 10:40:32 +0000 (11:40 +0100)]
Only call setDropOnIdle() if we're actually have a tcp connection.
Also add extra consistency check, d_tcp and d_tcpcOnnection should
likely be squashed into a single thing.
Otto [Wed, 24 Nov 2021 16:29:38 +0000 (17:29 +0100)]
Compute step sizes for QM a la RFC 9156
Otto [Fri, 26 Nov 2021 09:22:15 +0000 (10:22 +0100)]
If we fall through handleRunningTCPQuestion(), we neeed to keep the connection,
there are more bytes to come. handleTCPReadResult() is now a method of a guard.
Remi Gacogne [Fri, 26 Nov 2021 09:03:02 +0000 (10:03 +0100)]
dnsdist: Add ChangeLog and secpoll for 1.7.0-beta2
Peter van Dijk [Thu, 25 Nov 2021 10:47:04 +0000 (11:47 +0100)]
Merge pull request #11028 from Habbie/auth-4.4.1-secpoll-docs
auth 4.4.2 secpoll&docs
Peter van Dijk [Tue, 23 Nov 2021 13:54:06 +0000 (14:54 +0100)]
auth 4.4.2 secpoll&docs
Remi Gacogne [Wed, 24 Nov 2021 16:00:46 +0000 (17:00 +0100)]
Merge pull request #11031 from rgacogne/ddist-fix-missing-visibility
dnsdist: Add missing visibility attribute on `dnsdist_ffi_dnsquestion_get_qname_hash`
Remi Gacogne [Wed, 24 Nov 2021 14:58:40 +0000 (15:58 +0100)]
Merge pull request #11006 from rgacogne/ddist-show-web-config
dnsdist: Add 'showWebserverConfig'
Otto [Wed, 24 Nov 2021 14:50:21 +0000 (15:50 +0100)]
CircleCI: drop formatting check, superseded by GH workflows
Otto [Wed, 24 Nov 2021 14:33:38 +0000 (15:33 +0100)]
Better names
Remi Gacogne [Wed, 24 Nov 2021 14:20:55 +0000 (15:20 +0100)]
dnsdist: Fix g++/LTO warning about uninitialized dnsheaders in the unit test
Remi Gacogne [Wed, 24 Nov 2021 14:19:56 +0000 (15:19 +0100)]
dnsdist: Add missing visibility attribute on dnsdist_ffi_dnsquestion_get_qname_hash
Making it unusable from Lua FFI when dnsdist is compiled with
`-fvisibility=hidden`.
Otto [Wed, 24 Nov 2021 10:12:16 +0000 (11:12 +0100)]
Use guard objects to do the TCP connection bookkeeping and cleanup if needed.
If a policy drop is to be handled for a TCP connection, do not
answer that query, but do handle already in-flight queries and then close.
Remi Gacogne [Wed, 24 Nov 2021 13:36:32 +0000 (14:36 +0100)]
Merge pull request #10997 from rgacogne/ddist-dump-cached-session-and-connection
dnsdist: Add a function to know how many TLS sessions are currently cached
Remi Gacogne [Wed, 24 Nov 2021 13:36:01 +0000 (14:36 +0100)]
Merge pull request #11001 from rgacogne/ddist-warn-memory-leak-gnutls
dnsdist: Warn that GnuTLS 3.7.x leaks memory when validating certs
Remi Gacogne [Wed, 24 Nov 2021 13:35:50 +0000 (14:35 +0100)]
Merge pull request #10999 from rgacogne/ddist-fix-leak-in-outgoing-tls-session-reuse
dnsdist: Fix a memory leak when reusing TLS tickets for outgoing connections