]>
git.ipfire.org Git - thirdparty/pdns.git/log
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.
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 [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.
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
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 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
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.
Pieter Lexis [Fri, 8 Jan 2021 16:14:25 +0000 (17:14 +0100)]
Merge pull request #9443 from Habbie/unbound-no-ta-signal
auth testing: disable unbound's trust anchor signaling
Pieter Lexis [Fri, 8 Jan 2021 16:00:45 +0000 (17:00 +0100)]
Merge pull request #8743 from paulhoogsteder/patch-1
Update modes-of-operation.rst
Pieter Lexis [Fri, 8 Jan 2021 16:00:37 +0000 (17:00 +0100)]
Merge pull request #8966 from Habbie/auth-installation-docs
auth: change installation example from MySQL to SQLite
Otto Moerbeek [Fri, 8 Jan 2021 14:35:46 +0000 (15:35 +0100)]
Merge pull request #9925 from omoerbeek/dnsdist-test-reserve-vs-resize
dnsdist: Appease clang++ 12 asan on MacOS
Pieter Lexis [Fri, 8 Jan 2021 13:48:57 +0000 (14:48 +0100)]
Fix comments by @Habbie
paulhoogsteder [Sat, 25 Jan 2020 22:07:53 +0000 (23:07 +0100)]
Update modes-of-operation.rst
Clarified usage of SOA record, NS records and supermasters table.
Pieter Lexis [Fri, 8 Jan 2021 13:40:38 +0000 (14:40 +0100)]
Fix most comments on the basic-database docs
Peter van Dijk [Tue, 31 Mar 2020 14:52:42 +0000 (16:52 +0200)]
Update docs/guides/basic-database.rst
Co-Authored-By: Pieter Lexis <pieter@plexis.eu>
Peter van Dijk [Tue, 31 Mar 2020 14:52:11 +0000 (16:52 +0200)]
Update docs/guides/basic-database.rst
Co-Authored-By: Pieter Lexis <pieter@plexis.eu>
Peter van Dijk [Tue, 31 Mar 2020 14:51:45 +0000 (16:51 +0200)]
Update docs/guides/basic-database.rst
Co-Authored-By: Pieter Lexis <pieter@plexis.eu>
Peter van Dijk [Tue, 31 Mar 2020 14:51:36 +0000 (16:51 +0200)]
Update docs/guides/basic-database.rst
Co-Authored-By: Pieter Lexis <pieter@plexis.eu>
Peter van Dijk [Wed, 25 Mar 2020 11:05:11 +0000 (12:05 +0100)]
a word
Peter van Dijk [Fri, 20 Mar 2020 23:25:52 +0000 (00:25 +0100)]
auth: change installation example from MySQL to SQLite
Peter van Dijk [Fri, 4 Sep 2020 08:02:07 +0000 (10:02 +0200)]
auth testing: disable unbound's trust anchor signaling
unbound-host fires off the _ta query and does not wait for the answer.
This means that the response sometimes ends up with sdig, which was
not expecting it, breaking tests.
Otto Moerbeek [Fri, 8 Jan 2021 12:51:19 +0000 (13:51 +0100)]
Appease clang++ 12 asan on MacOS
MacOS clang++ 12 with asan does not like to access a vector of bytes
outside it's begin()..end(), even thouh we assured there is capacity.
So make sure the size is set before groping inside the vector.
Peter van Dijk [Fri, 8 Jan 2021 12:05:39 +0000 (13:05 +0100)]
auth doc nit
Peter van Dijk [Fri, 8 Jan 2021 11:54:13 +0000 (12:54 +0100)]
Merge pull request #8617 from pieterlexis/drop-el6
Drop EL 6, Debian Stretch and Ubuntu Xenial support in the builder
Peter van Dijk [Fri, 8 Jan 2021 10:03:47 +0000 (11:03 +0100)]
Merge pull request #9872 from mind04/pdns-direct-dnskey
auth: fix direct-dnskey in AXFR-out
Peter van Dijk [Fri, 8 Jan 2021 09:53:18 +0000 (10:53 +0100)]
Merge pull request #9520 from mind04/pdns-detect
auth: detect possible metadata cache pollution
Remi Gacogne [Fri, 8 Jan 2021 09:34:32 +0000 (10:34 +0100)]
Merge pull request #9921 from rgacogne/ddist-sni-resumption
dnsdist: Fix SNI on resumed sessions by acknowledging the name sent by the client
Otto Moerbeek [Fri, 8 Jan 2021 09:06:04 +0000 (10:06 +0100)]
Merge pull request #9924 from omoerbeek/rec-fix-unittest-time
rec: Force the sig generation for test_dnssec_bogus_bad_sig to use the right time
Otto Moerbeek [Fri, 8 Jan 2021 08:57:45 +0000 (09:57 +0100)]
Force the sig generation for test_dnssec_bogus_bad_sig to use the
right time to avoid signature not yet valid issues on slow machines.
Peter van Dijk [Fri, 8 Jan 2021 08:38:16 +0000 (09:38 +0100)]
Merge pull request #9907 from Habbie/auth-doc-lanf
auth docs: correct local-address-nonexist-fail default
Peter van Dijk [Tue, 5 Jan 2021 14:59:05 +0000 (15:59 +0100)]
remove stretch leftover
Peter van Dijk [Tue, 5 Jan 2021 14:58:06 +0000 (15:58 +0100)]
reinstate touch /var/lib/rpm/*
Peter van Dijk [Tue, 5 Jan 2021 14:53:50 +0000 (15:53 +0100)]
remove useless directory change
Peter van Dijk [Tue, 5 Jan 2021 14:58:43 +0000 (15:58 +0100)]
improve language
Peter van Dijk [Tue, 5 Jan 2021 14:45:49 +0000 (15:45 +0100)]
reinstate missing .sql files
Peter van Dijk [Tue, 5 Jan 2021 14:28:39 +0000 (15:28 +0100)]
dnsdist: do not try to ship empty contrib/ dir
Pieter Lexis [Wed, 16 Dec 2020 10:56:41 +0000 (11:56 +0100)]
Add "old OS" builders fro EL7 and Ubuntu 18.04
Pieter Lexis [Tue, 1 Dec 2020 13:47:10 +0000 (14:47 +0100)]
Stop adding locally built stuff to docker