]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Tue, 19 Jan 2021 15:33:21 +0000 (16:33 +0100)]
dnsdist: Send a NotImp answer on empty (qdcount=0) queries
Remi Gacogne [Tue, 19 Jan 2021 10:00:53 +0000 (11:00 +0100)]
Merge pull request #9957 from rgacogne/ddist-tcp-worker-threads
dnsdist: Start all TCP worker threads on startup
Remi Gacogne [Tue, 19 Jan 2021 10:00:22 +0000 (11:00 +0100)]
Merge pull request #9972 from rgacogne/ddist-stats-no-auth
dnsdist: Deprecate parameters to webserver(), add 'statsRequireAuthentication' parameter
Remi Gacogne [Tue, 19 Jan 2021 09:59:31 +0000 (10:59 +0100)]
Merge pull request #9984 from rgacogne/ddist-dynblock-response-count-as-query
dnsdist: Add a test for "Dynamic Block RCode rules messing up the queries count"
Remi Gacogne [Tue, 19 Jan 2021 09:59:14 +0000 (10:59 +0100)]
Merge pull request #9989 from rgacogne/ddist-named-facilities
dnsdist: Handle syslog facility as string, document the numerical one
Remi Gacogne [Tue, 19 Jan 2021 09:58:34 +0000 (10:58 +0100)]
Merge pull request #9986 from rgacogne/ddist-cert-ocsp-reloading
dnsdist: Add regression tests for certificates and OCSP reloading
Remi Gacogne [Mon, 18 Jan 2021 16:55:24 +0000 (17:55 +0100)]
dnsdist: Handle syslog facility as string, document the numerical one
Remi Gacogne [Mon, 18 Jan 2021 14:41:10 +0000 (15:41 +0100)]
dnsdist: Add regression tests for certificates and OCSP reloading
Peter van Dijk [Mon, 18 Jan 2021 10:55:57 +0000 (11:55 +0100)]
Merge pull request #9885 from RobinGeuze/clearLMDBCacheMaster
Clear the LMDB set state when performing a new lookup or list to prevent corruption cases
Remi Gacogne [Mon, 18 Jan 2021 10:19:56 +0000 (11:19 +0100)]
dnsdist: Add a debugging function to load a grepq into the rings
Remi Gacogne [Mon, 18 Jan 2021 10:19:40 +0000 (11:19 +0100)]
dnsdist: Add a test for "Dynamic Block RCode rules messing up the queries count"
Peter van Dijk [Mon, 18 Jan 2021 07:52:49 +0000 (08:52 +0100)]
Merge pull request #9966 from Habbie/auth-4.4-docs-ipseckey
auth upgrade notes: IPSECKEY did not make it into 4.4
Remi Gacogne [Mon, 18 Jan 2021 07:19:43 +0000 (08:19 +0100)]
Merge pull request #9962 from rgacogne/ddist-doh-sub-paths
dnsdist: Add an option to allow sub-paths for DoH
Remi Gacogne [Mon, 18 Jan 2021 07:19:09 +0000 (08:19 +0100)]
Merge pull request #9976 from rgacogne/ddist-more-dynblock-unit-tests
dnsdist: More tests for the dynamic block's sliding window
Peter van Dijk [Sat, 16 Jan 2021 19:32:59 +0000 (20:32 +0100)]
Merge pull request #9959 from omoerbeek/rec-docs-plusassign
rec: Mention += in the docs plus an example
Peter van Dijk [Sat, 16 Jan 2021 19:27:33 +0000 (20:27 +0100)]
Merge pull request #9969 from zeha/doc-nit-alias
auth: Document resolver setting
Peter van Dijk [Sat, 16 Jan 2021 19:26:40 +0000 (20:26 +0100)]
Merge pull request #9975 from aerique/feature/add-rec-45-to-repo-script
Add rec-45 to repo test script.
Peter van Dijk [Sat, 16 Jan 2021 19:25:12 +0000 (20:25 +0100)]
Merge pull request #9981 from franklouwers/feature/update-lmdb-schema-docs
Document LMDB backend schema versions
Otto Moerbeek [Sat, 16 Jan 2021 19:23:48 +0000 (20:23 +0100)]
Merge pull request #9983 from omoerbeek/dist-tar-ustar
Move to ustar format for dist tarballs.
Peter van Dijk [Sat, 16 Jan 2021 19:22:49 +0000 (20:22 +0100)]
Merge pull request #9979 from omoerbeek/calidns-msg_iovlen-type
Some platforms actually have an unsigned msghdr.msg_iovlen even though Posix says it should be an int.
Otto Moerbeek [Sat, 16 Jan 2021 16:51:10 +0000 (17:51 +0100)]
Merge pull request #9982 from omoerbeek/rm-c++17
Rm c++17
Otto [Sat, 16 Jan 2021 14:00:09 +0000 (15:00 +0100)]
Move to ustar format for dnsdist dist tarball.
Pre-Posix format has too low limit on path length that might
get hit on long branch names.
Otto Moerbeek [Fri, 15 Jan 2021 12:56:36 +0000 (12:56 +0000)]
Addding re2 flags wil break c++17, so override
Frank Louwers [Fri, 15 Jan 2021 19:55:22 +0000 (20:55 +0100)]
Update docs/backends/lmdb.rst
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Frank Louwers [Fri, 15 Jan 2021 19:50:49 +0000 (20:50 +0100)]
Document LMDB backend schema versions
Otto [Fri, 15 Jan 2021 14:59:06 +0000 (15:59 +0100)]
Some platforms actually have an unsigned msghdr.msg_iovlen even
though Posix says it should be an int.
So use the power of C++ to make the var the same type as msghdr.msg_iovlen.
Peter van Dijk [Fri, 15 Jan 2021 14:26:46 +0000 (15:26 +0100)]
Merge pull request #9978 from Habbie/configure-sanitizers
auth, rec, dnsdist: always show sanitizers in C[XX]FLAGS in configure output
Otto [Fri, 15 Jan 2021 14:16:30 +0000 (15:16 +0100)]
Refer to EOL policy
Peter van Dijk [Fri, 15 Jan 2021 12:39:42 +0000 (13:39 +0100)]
auth, rec, dnsdist: always show sanitizers in C[XX]FLAGS in configure output
Otto [Fri, 15 Jan 2021 11:37:12 +0000 (12:37 +0100)]
Now that configure adds the -std= flag always, we can stop specifying it manually
Remi Gacogne [Fri, 15 Jan 2021 11:01:30 +0000 (12:01 +0100)]
dnsdist: More tests for the dynamic block's sliding window
Check that we do not look at queries older than our sliding window,
but also that we correctly trigger a block with a huge peak of
queries not followed by any more queries.
Erik Winkels [Fri, 15 Jan 2021 10:08:13 +0000 (11:08 +0100)]
Remove `rec-41` from repo test script.
Otto Moerbeek [Fri, 15 Jan 2021 10:01:40 +0000 (11:01 +0100)]
Merge pull request #9971 from omoerbeek/rec-prep-450-alpha1
rec: Prep for rec-4.5.0-alpha1
Erik Winkels [Fri, 15 Jan 2021 09:59:14 +0000 (10:59 +0100)]
Add rec-45 to repo test script.
Peter van Dijk [Wed, 13 Jan 2021 08:38:12 +0000 (09:38 +0100)]
auth upgrade notes: IPSECKEY did not make it into 4.4
Peter van Dijk [Thu, 14 Jan 2021 10:20:03 +0000 (11:20 +0100)]
auth lmdb: do not reuse backend that has seen corrupted data
Robin Geuze [Wed, 16 Dec 2020 19:45:37 +0000 (20:45 +0100)]
Clear the LMDB set state when performing a new lookup or list to prevent corruption cases
Remi Gacogne [Thu, 14 Jan 2021 08:21:01 +0000 (09:21 +0100)]
Merge pull request #9960 from rgacogne/ddist-skip-cache-response-action
dnsdist: Add SkipCacheResponseAction
Remi Gacogne [Thu, 14 Jan 2021 08:20:25 +0000 (09:20 +0100)]
Merge pull request #9970 from rgacogne/rec-expanded-wildcard-nsec-ttl
rec: Account for the NSEC(3) denial TTL in expanded wildcard answers
Remi Gacogne [Thu, 14 Jan 2021 08:18:16 +0000 (09:18 +0100)]
dnsdist: Replace tabs with whitespaces in 'webserver()'
Remi Gacogne [Wed, 13 Jan 2021 17:35:02 +0000 (18:35 +0100)]
dnsdist: Deprecate parameters to webserver(), add 'statsRequireAuthentication' parameter
This PR deprecates the use of additional parameters with `webserver()`,
as the syntax is confusing and could lead to believe that the parameters
are per-instance while they actually are global.
Also implements an additional 'statsRequireAuthentication' parameter
to allow scraping the statistics without any kind of authentication,
which is useful to Prometheus setups with dynamic service discovery.
Otto [Wed, 13 Jan 2021 14:30:21 +0000 (15:30 +0100)]
Process review comments
Remi Gacogne [Wed, 13 Jan 2021 14:24:37 +0000 (15:24 +0100)]
rec: Test that we correctly cap the answer's TTL in expanded wildcard cases
Otto Moerbeek [Wed, 13 Jan 2021 13:07:14 +0000 (14:07 +0100)]
Merge pull request #9968 from omoerbeek/rec-cache-coverity-origttl
rec: As found by coverity, origTTL can be left uninitialized if all the entries found are expired.
Otto [Wed, 13 Jan 2021 12:46:37 +0000 (13:46 +0100)]
Start of upgrade guide for 4.5.0
Otto [Wed, 13 Jan 2021 11:42:50 +0000 (12:42 +0100)]
Prep for rec-4.5.0-alpha1
Remi Gacogne [Wed, 13 Jan 2021 11:10:03 +0000 (12:10 +0100)]
rec: Account for the NSEC(3) denial TTL in expanded wildcard answers
Otto [Wed, 13 Jan 2021 11:39:26 +0000 (12:39 +0100)]
If routing tag entries were found but rejected, return -1
Chris Hofstaedtler [Wed, 13 Jan 2021 10:42:17 +0000 (11:42 +0100)]
resolver: clarify type
Co-authored-by: Matt Nordhoff <mnordhoff@mattnordhoff.com>
Chris Hofstaedtler [Wed, 13 Jan 2021 10:37:55 +0000 (11:37 +0100)]
auth: Document resolver setting
Otto [Wed, 13 Jan 2021 10:07:45 +0000 (11:07 +0100)]
Solution that only sets *state and calls fakeTTD if the loop actually found a non-expired match.
Otto [Wed, 13 Jan 2021 09:18:47 +0000 (10:18 +0100)]
As found by coverity, origTTL can be left uninitialized if all the entries found are expired.
In that case the loop exits without setting origTTL via handleHit().
Remi Gacogne [Wed, 13 Jan 2021 08:39:54 +0000 (09:39 +0100)]
Merge remote-tracking branch 'origin/ddist-tcp-worker-threads' into ddist-tcp-worker-threads
Remi Gacogne [Wed, 13 Jan 2021 08:37:13 +0000 (09:37 +0100)]
dnsdist: Use only one TCP worker for the per-thread Lua regression test
Otherwise the distribution of queries to the backends is very hard
to predict since every thread uses its own counter. We used to start
only one worker thread at startup, and did not send enough queries
to get additional workers fired up.
Peter van Dijk [Wed, 13 Jan 2021 08:28:38 +0000 (09:28 +0100)]
Merge pull request #9956 from Habbie/spelling-only
spelling workflow: run always (but still only check docs)
Peter van Dijk [Wed, 13 Jan 2021 08:28:01 +0000 (09:28 +0100)]
Merge pull request #9958 from pieterlexis/nsec3param-no-do
auth: Serve NSEC3PARAM when asked without DO
Remi Gacogne [Tue, 12 Jan 2021 16:35:01 +0000 (17:35 +0100)]
dnsdist: Reword the too many 'TCP client thread' message
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Tue, 12 Jan 2021 16:21:48 +0000 (17:21 +0100)]
dnsdist: Add an option to allow sub-paths for DoH
That was the default before 1.5.0 and is very convenient in some setups.
Remi Gacogne [Tue, 12 Jan 2021 14:59:26 +0000 (15:59 +0100)]
dnsdist: Add SkipCacheResponseAction
Otto Moerbeek [Tue, 12 Jan 2021 14:58:49 +0000 (15:58 +0100)]
Merge pull request #9955 from omoerbeek/update-yahttp
Reduce diff to upstream yahttp, fixing a few CodeQL reports
Otto [Tue, 12 Jan 2021 14:55:34 +0000 (15:55 +0100)]
Mention += in the docs plus an example
Remi Gacogne [Tue, 12 Jan 2021 14:46:07 +0000 (15:46 +0100)]
dnsdist: Apply Pieter's suggestions to the tuning guide
Pieter Lexis [Tue, 12 Jan 2021 14:35:16 +0000 (15:35 +0100)]
auth: Serve NSEC3PARAM when asked without DO
Closes #9877
Remi Gacogne [Tue, 12 Jan 2021 14:29:30 +0000 (15:29 +0100)]
dnsdist: Start all TCP worker threads on startup
Instead of starting only as many TCP worker threads on startup as
the number of TCP listeners, then starting more at runtime, start
all TCP worker threads on startup.
Change the default number of worker threads to at least 10, up to
the number of TCP listener threads.
Document that change and improve the tuning page a bit.
Peter van Dijk [Tue, 12 Jan 2021 14:22:00 +0000 (15:22 +0100)]
spelling workflow: run always (but still only check docs)
Otto [Tue, 12 Jan 2021 13:31:01 +0000 (14:31 +0100)]
Reduce diff to upstream yahttp, fixing a few CodeQL reports
Otto Moerbeek [Tue, 12 Jan 2021 10:08:07 +0000 (11:08 +0100)]
Merge pull request #9699 from omoerbeek/rec-refresh-almost-expired
Rec: refresh almost expired
Otto Moerbeek [Tue, 12 Jan 2021 09:57:28 +0000 (10:57 +0100)]
Merge pull request #9948 from omoerbeek/rec-rpz-upgradeguide
Add a note about RPZ changes in the upgrade guide.
Otto Moerbeek [Mon, 26 Oct 2020 10:36:39 +0000 (11:36 +0100)]
Introduce an auto cache refresh mechanism.
If cache records are consulted and seen as "almost-expired"
schedule a task to refetch that record. Default off, enable using
refresh-on-ttl-perc.
Otto Moerbeek [Tue, 12 Jan 2021 08:59:01 +0000 (09:59 +0100)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <rgacogne+github@valombre.net>
Peter van Dijk [Tue, 12 Jan 2021 08:53:29 +0000 (09:53 +0100)]
Merge pull request #9933 from Habbie/lmdb-upgrade-lock
auth lmdb: serialise LMDBBackend construction
Otto [Tue, 12 Jan 2021 08:48:19 +0000 (09:48 +0100)]
Add a note about RPZ changes in the upgrade guide.
Also make the 4.4.0 changes a bit more prominent in the docs and fix a few dead links.
Peter van Dijk [Tue, 12 Jan 2021 08:36:31 +0000 (09:36 +0100)]
Merge pull request #8829 from Habbie/sqlite3-escape-like
auth gsqlite3: handle escaping correctly for API search. Fixes #8791
Remi Gacogne [Tue, 12 Jan 2021 07:52:12 +0000 (08:52 +0100)]
Merge pull request #9934 from rgacogne/ddist-fix-crash-doh-responses-map
dnsdist: Fix a crash when a DoH responses map is updated at runtime
Peter van Dijk [Fri, 14 Feb 2020 16:47:47 +0000 (17:47 +0100)]
auth gsqlite3: handle escaping correctly for API search. Fixes #8791
Peter van Dijk [Mon, 11 Jan 2021 21:48:20 +0000 (22:48 +0100)]
Merge pull request #9888 from RobinGeuze/cleanupStaleLmdbReaders
Do a mdb_reader_check to clean up stale readers on database load
Peter van Dijk [Mon, 11 Jan 2021 20:10:39 +0000 (21:10 +0100)]
Merge pull request #9748 from kpfleming/avoid-removal-of-generated-files
Avoid accidental removal of generated files
Robin Geuze [Thu, 17 Dec 2020 10:51:24 +0000 (11:51 +0100)]
Do a mdb_readers_check to clean up stale readers on database load
Peter van Dijk [Mon, 11 Jan 2021 19:54:33 +0000 (20:54 +0100)]
Merge pull request #9940 from Habbie/support-open
support policy applies to GitHub too
Peter van Dijk [Mon, 11 Jan 2021 18:46:03 +0000 (19:46 +0100)]
Merge pull request #9920 from pieterlexis/autotools-270-fixes
Fix warnings on autoconf 2.70
Peter van Dijk [Mon, 11 Jan 2021 18:45:05 +0000 (19:45 +0100)]
Merge pull request #9919 from Habbie/report-ipseckey
actually report IPSECKEY type - broken since #8638
Peter van Dijk [Mon, 11 Jan 2021 18:42:40 +0000 (19:42 +0100)]
Merge pull request #9938 from Habbie/lmdb-typo
auth lmdb: fix typo from a testing attempt
Peter van Dijk [Mon, 11 Jan 2021 18:40:52 +0000 (19:40 +0100)]
support policy applies to GitHub too
Otto Moerbeek [Mon, 11 Jan 2021 16:50:25 +0000 (17:50 +0100)]
Merge pull request #9937 from omoerbeek/clang-maxcos-warnings
Bunch of signed vs unsigned warnings
Otto Moerbeek [Mon, 11 Jan 2021 15:52:42 +0000 (16:52 +0100)]
Merge pull request #9932 from omoerbeek/boost-thread-test-warnings
Fix warnings generated by boost config test.
Peter van Dijk [Mon, 11 Jan 2021 15:46:41 +0000 (16:46 +0100)]
Merge pull request #9926 from Habbie/codeql-split
codeQL: switch to merge commit analysis; split product builds
Peter van Dijk [Mon, 11 Jan 2021 15:40:04 +0000 (16:40 +0100)]
auth lmdb: fix typo from a testing attempt
Otto Moerbeek [Mon, 11 Jan 2021 15:30:23 +0000 (16:30 +0100)]
Merge pull request #9935 from omoerbeek/codeql-expression-always-true
CodeQL: two instances of expressions being always true
Pieter Lexis [Fri, 8 Jan 2021 11:06:02 +0000 (12:06 +0100)]
Fix weird "install-sh not found" error on autotools 2.69
Pieter Lexis [Thu, 7 Jan 2021 11:53:41 +0000 (12:53 +0100)]
Fix warnings on autoconf 2.70
This bumps the minimal autoconf requirement to 2.69 as well. This
version is on Ubuntu 16.04 (EOL due in 3 months) and CentOS 7.
Closes #9918
Otto [Mon, 11 Jan 2021 15:21:03 +0000 (16:21 +0100)]
Bunch of signed vs unsigned warnings
Remi Gacogne [Mon, 11 Jan 2021 14:37:52 +0000 (15:37 +0100)]
dnsdist: Fix a crash when a DoH responses map is updated at runtime
Otto [Mon, 11 Jan 2021 14:01:18 +0000 (15:01 +0100)]
CodeQL: two instances of expressions being always true
Remi Gacogne [Mon, 11 Jan 2021 13:00:02 +0000 (14:00 +0100)]
Merge pull request #9616 from rgacogne/ddist-vectorize
dnsdist: Add support for incoming Proxy Protocol
Peter van Dijk [Fri, 8 Jan 2021 13:49:09 +0000 (14:49 +0100)]
codeQL: switch to testing merge commits
Peter van Dijk [Mon, 11 Jan 2021 11:27:41 +0000 (12:27 +0100)]
auth lmdb: serialise LMDBBackend construction
Otto Moerbeek [Fri, 8 Jan 2021 15:35:05 +0000 (16:35 +0100)]
Fix warnings generated by boost config test.
Otto Moerbeek [Mon, 11 Jan 2021 10:39:32 +0000 (11:39 +0100)]
Merge pull request #9930 from omoerbeek/fix-codeQL-warnings
auth: Fix a few code ql warnings
Otto Moerbeek [Mon, 11 Jan 2021 10:39:00 +0000 (11:39 +0100)]
Merge pull request #9913 from omoerbeek/move-to-cxx17
Move to c++17
Otto Moerbeek [Mon, 11 Jan 2021 10:28:42 +0000 (11:28 +0100)]
typo
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>