]>
git.ipfire.org Git - thirdparty/pdns.git/log
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
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
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
Pieter Lexis [Tue, 1 Dec 2020 12:38:53 +0000 (13:38 +0100)]
Drop Debian Stretch Package builds
Pieter Lexis [Tue, 1 Dec 2020 12:37:41 +0000 (13:37 +0100)]
Remove dropped OS's from generate-repo-files
Pieter Lexis [Tue, 1 Dec 2020 12:34:47 +0000 (13:34 +0100)]
Drop non-LTS Ubuntu
Pieter Lexis [Tue, 1 Dec 2020 12:34:08 +0000 (13:34 +0100)]
Drop Ubuntu Xenial and Debian Jessie from packages
Pieter Lexis [Tue, 10 Dec 2019 10:45:43 +0000 (11:45 +0100)]
pkgs: drop EL6
Pieter Lexis [Tue, 10 Dec 2019 10:44:39 +0000 (11:44 +0100)]
auth: drop EL6 pkg support
Pieter Lexis [Tue, 10 Dec 2019 10:40:31 +0000 (11:40 +0100)]
rec: drop EL6 pkg support
Pieter Lexis [Tue, 10 Dec 2019 10:36:45 +0000 (11:36 +0100)]
dnsdist: drop EL6 pkg support
Kees Monshouwer [Tue, 15 Dec 2020 13:16:39 +0000 (14:16 +0100)]
auth: some cleanup in the AXFR-out code
Kees Monshouwer [Mon, 14 Dec 2020 22:32:12 +0000 (23:32 +0100)]
auth: test direct-dnskey in AXFR-out
Kees Monshouwer [Mon, 14 Dec 2020 22:20:50 +0000 (23:20 +0100)]
auth: fix direct-dnskey in AXFR-out
Kees Monshouwer [Mon, 31 Aug 2020 19:12:48 +0000 (21:12 +0200)]
auth: detect possible metadata cache pollution
Peter van Dijk [Thu, 7 Jan 2021 18:56:41 +0000 (19:56 +0100)]
Merge pull request #9836 from Habbie/circleci-extend-2
circleci: extend coverage some more and disable travis
Remi Gacogne [Thu, 7 Jan 2021 16:41:00 +0000 (17:41 +0100)]
dnsdist: Add a unit test for SNI routing after session resumption
Remi Gacogne [Thu, 7 Jan 2021 15:41:32 +0000 (16:41 +0100)]
dnsdist: Fix SNI on resumed sessions by acknowledging the name sent by the client
Otherwise `SSL_get_servername()` only returns true when the session
has been freshly established, and will return `nullptr` when it is
resumed.
Peter van Dijk [Thu, 7 Jan 2021 13:35:36 +0000 (14:35 +0100)]
stop using travis
Peter van Dijk [Thu, 7 Jan 2021 11:02:29 +0000 (12:02 +0100)]
configure: set --enable-option-checking=fatal
Peter van Dijk [Wed, 6 Jan 2021 17:58:00 +0000 (18:58 +0100)]
geoipbackend: use const_iterator
==8618==ERROR: AddressSanitizer: stack-use-after-scope on address 0x7ffd8c5a1420 at pc 0x55bee0a5d899 bp 0x7ffd8c5a0710 sp 0x7ffd8c5a0708
READ of size 1 at 0x7ffd8c5a1420 thread T0
#0 0x55bee0a5d898 in YAML::Node::begin() const /usr/include/yaml-cpp/node/impl.h:284:8
#1 0x55bee0a3f2f0 in GeoIPBackend::initialize() /opt/project/modules/geoipbackend/geoipbackend.cc:163:27
#2 0x55bee0a3d0d3 in GeoIPBackend::GeoIPBackend(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /opt/project/modules/geoipbackend/geoipbackend.cc:86:5
#3 0x55bee0a784eb in GeoIPFactory::make(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /opt/project/modules/geoipbackend/geoipbackend.cc:1008:16
#4 0x55bedff6cb18 in BackendMakerClass::all(bool) /opt/project/pdns/dnsbackend.cc:200:46
#5 0x55bee07d3abe in UeberBackend::UeberBackend(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /opt/project/pdns/ueberbackend.cc:479:28
#6 0x55bee060579c in PacketHandler::PacketHandler() /opt/project/pdns/packethandler.cc:65:32
#7 0x55bedfee1748 in std::unique_ptr<PacketHandler, std::default_delete<PacketHandler> > make_unique<PacketHandler>() /opt/project/pdns/./misc.hh:571:35
#8 0x55bee079376d in TCPNameserver::go() /opt/project/pdns/tcpreceiver.cc:85:9
#9 0x55bedfecf7b7 in mainthread() /opt/project/pdns/common_startup.cc:656:7
#10 0x55bee0655f67 in main /opt/project/pdns/receiver.cc:654:5
#11 0x7f374b4b809a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2409a)
#12 0x55bedfc9a989 in _start (/opt/pdns-auth/sbin/pdns_server+0x2736989)
Address 0x7ffd8c5a1420 is located in stack of thread T0 at offset 3040 in frame
#0 0x55bee0a3d5ef in GeoIPBackend::initialize() /opt/project/modules/geoipbackend/geoipbackend.cc:115
Peter van Dijk [Wed, 6 Jan 2021 16:17:00 +0000 (17:17 +0100)]
lmdbbackend: avoid unaligned uint32_t reads by using memcpy
lmdbbackend.cc:942:27: runtime error: load of misaligned address 0x604000b827aa for type 'uint32_t' (aka 'unsigned int'), which requires 4 byte alignment
Peter van Dijk [Wed, 6 Jan 2021 16:09:52 +0000 (17:09 +0100)]
remotebackend: use 0 for denoting unknown serial which is uint32_t
remotebackend.cc:610:51: runtime error: -1 is outside the range of representable values of type 'unsigned int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior remotebackend.cc:610:51 in
Peter van Dijk [Wed, 6 Jan 2021 16:06:45 +0000 (17:06 +0100)]
add symbolizer to auth tests
Peter van Dijk [Wed, 6 Jan 2021 15:40:37 +0000 (16:40 +0100)]
disable asan leak sanitizer
Peter van Dijk [Wed, 6 Jan 2021 14:56:26 +0000 (15:56 +0100)]
auth: asan+ubsan; rec: ubsan
Peter van Dijk [Wed, 6 Jan 2021 11:45:08 +0000 (12:45 +0100)]
install LLVM symbolizer
Otto Moerbeek [Wed, 16 Dec 2020 09:54:44 +0000 (10:54 +0100)]
Two bulk test steps were named identically, rename
Otto Moerbeek [Wed, 16 Dec 2020 09:12:39 +0000 (09:12 +0000)]
Test on HAVE_FIBER_SANITIZER for stack enlargement, __SANITIZE_ADDRESS__
is not defined everywhere.
Otto Moerbeek [Wed, 16 Dec 2020 09:12:08 +0000 (09:12 +0000)]
Reomve tmp debug code and fix two nits in the bulk script
Otto Moerbeek [Wed, 16 Dec 2020 08:06:54 +0000 (09:06 +0100)]
Crash happens earlier than I thought
Otto Moerbeek [Wed, 16 Dec 2020 07:38:43 +0000 (08:38 +0100)]
cat recursor.log before trying to kill rec, if the kill fails
(because rec died) we at least have the log.
Peter van Dijk [Mon, 14 Dec 2020 09:40:52 +0000 (10:40 +0100)]
Revert "disable recursor asan"
This reverts commit
2799109d800a368a4aebdf1fb1841602ad4ff3b4 .
Your Name [Wed, 9 Dec 2020 11:09:27 +0000 (12:09 +0100)]
disable recursor asan
Your Name [Tue, 8 Dec 2020 09:18:02 +0000 (10:18 +0100)]
circleci: extend coverage some more
* switch to clang-8
* test Recursor SNMP, DNSTAP, Protobuf
* enable asan for Recursor
Peter van Dijk [Thu, 7 Jan 2021 11:47:20 +0000 (12:47 +0100)]
Merge pull request #9917 from rgacogne/rec-pb-zero-length
rec: Set the Protocol Buffer 'inBytes' field for zero-length messages
Remi Gacogne [Thu, 7 Jan 2021 09:32:44 +0000 (10:32 +0100)]
rec: Set the Protocol Buffer 'inBytes' field for zero-length messages
Th existing Protocol Buffer code used to do that, so existing receivers
might expect that field to be present.
Peter van Dijk [Wed, 6 Jan 2021 18:32:54 +0000 (19:32 +0100)]
Merge pull request #9914 from Habbie/pthread-symbols
autoconf: correctly detect pthread symbols
Otto Moerbeek [Wed, 6 Jan 2021 15:32:54 +0000 (16:32 +0100)]
Merge pull request #9911 from omoerbeek/dnsname-macos-openbsd
MacOS (both Intel and arm64) and OpenBSD have no issues any more with boost::containter::string
Peter van Dijk [Wed, 6 Jan 2021 12:05:56 +0000 (13:05 +0100)]
autoconf: correctly detect pthread symbols
Remi Gacogne [Wed, 6 Jan 2021 10:29:25 +0000 (11:29 +0100)]
Merge pull request #9843 from rgacogne/dnsdist-protozero
Use protozero for Protocol Buffer operations in dnsdist, and dnstap/outgoing for the rec
Remi Gacogne [Wed, 6 Jan 2021 09:30:22 +0000 (10:30 +0100)]
Merge pull request #9782 from rgacogne/ddist-dynblocks-metrics-ebpf
dnsdist: Use an eBPF filter for Dynamic blocks when available
Remi Gacogne [Wed, 6 Jan 2021 09:12:56 +0000 (10:12 +0100)]
Merge pull request #9883 from rgacogne/rec-ds-cname-cache
rec: Lookup DS entries before CNAME entries
Peter van Dijk [Wed, 6 Jan 2021 07:50:14 +0000 (08:50 +0100)]
Merge pull request #9906 from Habbie/rec-doc-la
rec docs: correct local-address default
Peter van Dijk [Tue, 5 Jan 2021 13:36:41 +0000 (14:36 +0100)]
Merge pull request #9826 from Habbie/edit-zone-zpt-exc
pdnsutil edit-zone: do not exit on ZoneParser exception
Peter van Dijk [Tue, 5 Jan 2021 13:15:15 +0000 (14:15 +0100)]
Merge pull request #9910 from nzlosh/zone_xfr_rewording
Reword zone xfr log message to remove ordinal number naming errors.
Otto Moerbeek [Tue, 5 Jan 2021 13:07:22 +0000 (14:07 +0100)]
MacOS (both Intel and arm64) and OpenBSD have no issues any more
with boost::containter::string