]>
git.ipfire.org Git - thirdparty/pdns.git/log
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 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
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
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().
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: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
Pieter Lexis [Tue, 12 Jan 2021 14:35:16 +0000 (15:35 +0100)]
auth: Serve NSEC3PARAM when asked without DO
Closes #9877
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>
Otto Moerbeek [Tue, 5 Jan 2021 15:53:06 +0000 (16:53 +0100)]
Move to c++17
Remi Gacogne [Mon, 11 Jan 2021 10:06:42 +0000 (11:06 +0100)]
dnsdist: Fix "keyword 'try' is not allowed in global scope" warning
Reported by cppcheck. Using a proper block function also makes the
code easier to read.
The diff looks huge but that's mostly indentation changes, getting
rid of the changed whitespaces yields a very small diff.
Remi Gacogne [Mon, 11 Jan 2021 10:04:38 +0000 (11:04 +0100)]
dnsdist: Fix uninitialized dnsheader in the rings unit tests
Remi Gacogne [Tue, 24 Nov 2020 14:51:32 +0000 (15:51 +0100)]
dnsdist: Add 'ACLTo' in our spell-checker list
Remi Gacogne [Tue, 24 Nov 2020 14:50:45 +0000 (15:50 +0100)]
dnsdist: Fix 'TVL' -> 'TLV' typo
Remi Gacogne [Thu, 15 Oct 2020 15:34:17 +0000 (17:34 +0200)]
dnsdist: Add regression tests for incoming Proxy Protocol
Remi Gacogne [Tue, 24 Nov 2020 13:24:02 +0000 (14:24 +0100)]
dnsdist: Fix TLV reuse over TCP
Remi Gacogne [Wed, 14 Oct 2020 14:47:49 +0000 (16:47 +0200)]
dnsdist: Incoming Proxy Protocol support
Remi Gacogne [Tue, 13 Oct 2020 14:27:27 +0000 (16:27 +0200)]
Implement a "no-initialization" vector to avoid a perf regression
Remi Gacogne [Tue, 13 Oct 2020 08:37:50 +0000 (10:37 +0200)]
dnsdist: Prevent allocations and copies by using the right types
Remi Gacogne [Mon, 12 Oct 2020 15:27:49 +0000 (17:27 +0200)]
Make PacketReader accept a pdns_string_view
Remi Gacogne [Mon, 12 Oct 2020 15:27:17 +0000 (17:27 +0200)]
Templatize B64Decode()
Remi Gacogne [Mon, 12 Oct 2020 14:52:07 +0000 (16:52 +0200)]
dnsdist: Use the new set_http_response() API in DoH regression tests
Remi Gacogne [Tue, 6 Oct 2020 15:54:43 +0000 (17:54 +0200)]
dnsdist: Use vectors instead of C arrays as buffers
Otto [Mon, 11 Jan 2021 09:05:56 +0000 (10:05 +0100)]
CodeQL: use && for logical and
Otto [Mon, 11 Jan 2021 09:03:31 +0000 (10:03 +0100)]
Make WebServer a unqiue poiner to avoid warning from CodeQL.
Has the drawback that we need to include webserver.hh in the .hh file though.
Otto [Mon, 11 Jan 2021 08:55:08 +0000 (09:55 +0100)]
Resource not released in destructor
Peter van Dijk [Mon, 11 Jan 2021 07:42:37 +0000 (08:42 +0100)]
Merge pull request #9928 from jsoref/mysql-binlog-format
Add SEO for BINLOG_FORMAT = STATEMENT error
Josh Soref [Sun, 10 Jan 2021 20:51:18 +0000 (15:51 -0500)]
Add SEO for BINLOG_FORMAT = STATEMENT error
Lead users who see errors about READ COMMITTED or READ UNCOMMITTED / BINLOG_FORMAT = STATEMENT
to this section of the docs.