]>
git.ipfire.org Git - thirdparty/pdns.git/log
Peter van Dijk [Tue, 20 Oct 2020 19:31:50 +0000 (21:31 +0200)]
auth: change "misconfigured" SOA MNAME to not mention powerdns and be RFC6761 compliant
Peter van Dijk [Tue, 20 Oct 2020 17:48:36 +0000 (19:48 +0200)]
Merge pull request #9568 from mind04/pdns-presigned
auth: Speedup presigned signature lookups.
Peter van Dijk [Tue, 20 Oct 2020 15:34:57 +0000 (17:34 +0200)]
Merge pull request #9625 from Habbie/revert-9552
auth: delay local-ipv6 and query-local-address6 removal to 4.5.0 together
Peter van Dijk [Tue, 20 Oct 2020 13:48:06 +0000 (15:48 +0200)]
Merge pull request #9593 from mind04/pdns-deprecate
Auth: remove deprecated features/settings
Peter van Dijk [Tue, 20 Oct 2020 13:22:25 +0000 (15:22 +0200)]
Merge pull request #9622 from Habbie/codeql-dnsdist-deps
explicitly generate the protobuf parsers/generators
Peter van Dijk [Tue, 20 Oct 2020 12:26:49 +0000 (14:26 +0200)]
docs: delay local-ipv6 removal until after 4.4.0
Peter van Dijk [Tue, 20 Oct 2020 12:10:33 +0000 (14:10 +0200)]
improve query-local-address6 deprecation notice
Peter van Dijk [Mon, 19 Oct 2020 13:14:43 +0000 (15:14 +0200)]
Revert "auth: remove local-ipv6, query-local-address6"
This reverts commit
c71c6ea62eb67aa7580dfadee981607559d1247c .
Peter van Dijk [Mon, 19 Oct 2020 12:33:42 +0000 (14:33 +0200)]
explicitly generate the protobuf parsers/generators
Kees Monshouwer [Tue, 6 Oct 2020 00:30:31 +0000 (02:30 +0200)]
auth: api, remove set-ptr
Kees Monshouwer [Mon, 19 Oct 2020 12:24:56 +0000 (14:24 +0200)]
auth: remove SOA filling
Otto Moerbeek [Mon, 19 Oct 2020 11:54:04 +0000 (13:54 +0200)]
Merge pull request #9617 from omoerbeek/prep-rec-4.4.0
Prep rec-4.4.0
Peter van Dijk [Mon, 19 Oct 2020 10:49:11 +0000 (12:49 +0200)]
Merge pull request #9552 from zeha/auth-local-ipv6
auth: remove local-ipv6, query-local-address6
Peter van Dijk [Mon, 19 Oct 2020 10:47:39 +0000 (12:47 +0200)]
Merge pull request #9533 from mind04/pdns-fixme400-2
Fix some FIXME400s
Peter van Dijk [Mon, 19 Oct 2020 10:44:54 +0000 (12:44 +0200)]
Merge pull request #9613 from pieterlexis/lua-records-fixes
Lua records fixes
Pieter Lexis [Sat, 17 Oct 2020 08:15:30 +0000 (10:15 +0200)]
Merge pull request #9570 from pieterlexis/sort-SOURCES
Sort *_SOURCES and add a checker
Peter van Dijk [Fri, 16 Oct 2020 15:22:53 +0000 (17:22 +0200)]
Merge pull request #9093 from Habbie/dockerise
auth/rec/dnsdist: dockerise
Peter van Dijk [Mon, 4 May 2020 15:37:52 +0000 (17:37 +0200)]
auth/rec/dnsdist: dockerise
Peter van Dijk [Sat, 9 May 2020 21:30:49 +0000 (23:30 +0200)]
dnsdist docs: fix typo
Otto Moerbeek [Fri, 16 Oct 2020 08:40:54 +0000 (10:40 +0200)]
Prep rec-4.4.0
Remi Gacogne [Thu, 15 Oct 2020 07:51:22 +0000 (09:51 +0200)]
Merge pull request #9572 from rgacogne/rec-close-tcp-conn-drop
rec: Terminate TCP connections instead of 'ignoring' errors
Remi Gacogne [Wed, 14 Oct 2020 14:55:54 +0000 (16:55 +0200)]
Merge pull request #9612 from rgacogne/ddist-dnsheader-doc
dnsdist: Add the missing documentation for some dnsheader methods
Pieter Lexis [Wed, 14 Oct 2020 11:05:04 +0000 (13:05 +0200)]
Update pdns/lua-record.cc
Co-authored-by: Remi Gacogne <rgacogne+github@valombre.net>
Pieter Lexis [Wed, 14 Oct 2020 09:42:28 +0000 (11:42 +0200)]
LUA record: document all variables available
Pieter Lexis [Wed, 14 Oct 2020 09:28:44 +0000 (11:28 +0200)]
LUA rec: fix uncaught DNSName init exception
Remi Gacogne [Wed, 14 Oct 2020 07:00:12 +0000 (09:00 +0200)]
Merge pull request #9599 from ihsinme/patch-1
fix the initialization order in the class.
Remi Gacogne [Tue, 13 Oct 2020 14:28:56 +0000 (16:28 +0200)]
dnsdist: Add the missing documentation for some dnsheader methods
aerique [Tue, 13 Oct 2020 11:00:05 +0000 (13:00 +0200)]
Merge pull request #9606 from omoerbeek/rec-prep-2020-07
rec: Prep for rec Oct 13th 2020 security releases
Otto Moerbeek [Wed, 7 Oct 2020 10:36:15 +0000 (12:36 +0200)]
Prep for rec Oct 13th 2020 security releases
Otto Moerbeek [Tue, 13 Oct 2020 09:43:56 +0000 (11:43 +0200)]
Merge pull request #9602 from omoerbeek/rec-sec-2020-07
Rec: Security 2020-07
ihsinme [Mon, 12 Oct 2020 15:44:26 +0000 (18:44 +0300)]
fix the initialization order in the class.
Remi Gacogne [Mon, 12 Oct 2020 14:05:49 +0000 (16:05 +0200)]
rec: Remove duplicate semicolon spotted by Otto
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
aerique [Mon, 12 Oct 2020 11:43:00 +0000 (13:43 +0200)]
Remove `auth-40` and `rec-40` arguments.
The removed releases are EOL and do not work with this script anymore.
Remi Gacogne [Thu, 24 Sep 2020 16:02:13 +0000 (18:02 +0200)]
rec: Add a unit test for the ANY "just-in-time" cached records case
Remi Gacogne [Thu, 24 Sep 2020 16:01:16 +0000 (18:01 +0200)]
rec: Fix validation when more than one cached record is returned
We need to validate them RRSet by RRSet.
Remi Gacogne [Tue, 22 Sep 2020 14:49:34 +0000 (16:49 +0200)]
rec: Fix returning more than one cached records
The existing implementation did not properly update the DNSSEC
and authoritative status, and did not include all the needed
RRSIG and additional records.
Remi Gacogne [Tue, 22 Sep 2020 14:48:11 +0000 (16:48 +0200)]
rec: Prevent updating the status of all cached records for a name
Before that fix, it was possible to make the recursor update the
DNSSEC status of all cached records for a given name using an ANY
query.
This real issue is that we should retrieve the needed RRSIGs and
authority records for all cached records when processing an ANY
query, but this fix prevents the cache pollution which is the worst
part of the issue.
aerique [Fri, 9 Oct 2020 10:01:13 +0000 (12:01 +0200)]
Remove CentOS 6 for Recursor 4.4.x.
Otto Moerbeek [Tue, 6 Oct 2020 13:42:20 +0000 (15:42 +0200)]
Merge pull request #9590 from omoerbeek/rewrite-rsa-fromiscmap
auth: Rewrite OpenSSLRSADNSCryptoKeyEngine::fromISCMap to be less tricky
Otto Moerbeek [Tue, 6 Oct 2020 12:22:23 +0000 (14:22 +0200)]
Merge pull request #9585 from omoerbeek/rec-prep-4.4.0-rc2
rec: Prep for rec-4.4.0-rc2
Peter van Dijk [Tue, 6 Oct 2020 12:03:28 +0000 (14:03 +0200)]
Merge pull request #9578 from zeha/fix-gai-call
Fix error checking on one getaddrinfo call
Otto Moerbeek [Tue, 6 Oct 2020 12:02:49 +0000 (14:02 +0200)]
Merge pull request #9566 from omoerbeek/rec-make-ns-loop-test-deterministic
rec: Switch off IPv4 for test_glueless_referral_loop test to make sure there's only one IP per nameserver
Otto Moerbeek [Tue, 6 Oct 2020 11:24:45 +0000 (13:24 +0200)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <rgacogne+github@valombre.net>
Otto Moerbeek [Tue, 6 Oct 2020 09:42:31 +0000 (11:42 +0200)]
Rewrite OpenSSLRSADNSCryptoKeyEngine::fromISCMap to be less tricky
Peter van Dijk [Tue, 6 Oct 2020 09:28:37 +0000 (11:28 +0200)]
Merge pull request #9589 from Habbie/github-codeql-split-jobs
codeql: separate build steps for auth/rec/dnsdist
Peter van Dijk [Mon, 5 Oct 2020 18:45:14 +0000 (20:45 +0200)]
reduce dnsdist build concurrency
Peter van Dijk [Mon, 5 Oct 2020 17:29:45 +0000 (19:29 +0200)]
codeql: separate build steps for auth/rec/dnsdist
Otto Moerbeek [Tue, 6 Oct 2020 06:45:34 +0000 (08:45 +0200)]
Merge pull request #9587 from omoerbeek/auth-include-guard
Missing include guards as noted by CodeQL
Otto Moerbeek [Mon, 5 Oct 2020 14:57:52 +0000 (16:57 +0200)]
Merge pull request #9586 from omoerbeek/codeql-errors
rec: NULL check for return value of mutable_response() as noted by CodeQL
Otto Moerbeek [Mon, 5 Oct 2020 14:55:41 +0000 (16:55 +0200)]
Missing include guards as noted by CodeQL
Otto Moerbeek [Mon, 5 Oct 2020 10:32:00 +0000 (12:32 +0200)]
NULL check for return value of mutable_response() as noted by CodeQL
Otto Moerbeek [Mon, 5 Oct 2020 13:14:56 +0000 (15:14 +0200)]
Merge pull request #9432 from omoerbeek/rec-parse-ip-port
Rec: make parse ip:port a bit smarter
Otto Moerbeek [Wed, 2 Sep 2020 08:59:52 +0000 (10:59 +0200)]
Make comments less confusing
Otto Moerbeek [Wed, 2 Sep 2020 08:08:39 +0000 (10:08 +0200)]
Better way to distinguish IPV6 vs IPV4L count colons, plus explicitly
verify port in unit tests.
Otto Moerbeek [Tue, 1 Sep 2020 10:01:09 +0000 (12:01 +0200)]
Move parseIPAndPort() to iputils and add unit test
Otto Moerbeek [Tue, 25 Aug 2020 07:48:15 +0000 (09:48 +0200)]
Try to be abit more smart in recognizing IP:port combos for both
IPV4 and IPv6.
Should fix #7743
Peter van Dijk [Mon, 5 Oct 2020 11:06:13 +0000 (13:06 +0200)]
Merge pull request #9584 from mind04/pdns-always-true
auth: remove always true conditions in zone2sql
Peter van Dijk [Mon, 5 Oct 2020 09:52:30 +0000 (11:52 +0200)]
Merge pull request #9534 from PowerDNS/enable-github-code-scanning
enable code scanning
Otto Moerbeek [Mon, 5 Oct 2020 09:32:00 +0000 (11:32 +0200)]
Merge pull request #9413 from omoerbeek/rec-upgrade-guide-44
rec: News/changed settings for 4.4.x upgrade guide.
Otto Moerbeek [Mon, 5 Oct 2020 09:25:53 +0000 (11:25 +0200)]
More strict parsing of unknown record format
Peter van Dijk [Mon, 5 Oct 2020 08:47:43 +0000 (10:47 +0200)]
Merge pull request #9580 from zeha/cav6macos
Support serving APL records pointing to fe80:: on macOS
Otto Moerbeek [Mon, 5 Oct 2020 08:31:40 +0000 (10:31 +0200)]
Prep for rec-4.4.0-rc2
Peter van Dijk [Fri, 25 Sep 2020 15:22:59 +0000 (17:22 +0200)]
enable GitHub CodeQL code scanning
Peter van Dijk [Mon, 5 Oct 2020 08:05:50 +0000 (10:05 +0200)]
Merge pull request #9583 from Habbie/dnsdist-make-fixes
dnsdist make: two fixes
Kees Monshouwer [Sun, 4 Oct 2020 19:18:34 +0000 (21:18 +0200)]
auth: remove always true conditions in zone2sql
Peter van Dijk [Sun, 4 Oct 2020 13:48:27 +0000 (15:48 +0200)]
Merge pull request #9581 from zeha/auth-readme
auth: update bionic packages in README
Peter van Dijk [Fri, 2 Oct 2020 19:26:50 +0000 (21:26 +0200)]
dnsdist make: two fixes
* make sure dnsdist-lua-ffi-interface.inc is built before dnsdist-lua-ffi.o
* cleaner output while building that .inc
by Pieter Lexis
Chris Hofstaedtler [Fri, 2 Oct 2020 11:07:26 +0000 (13:07 +0200)]
auth: update bionic packages in README
Especially for gpgsql, we do not need the full postgresql-server-dev package.
Chris Hofstaedtler [Fri, 2 Oct 2020 10:35:43 +0000 (12:35 +0200)]
Support serving APL records pointing to fe80:: on macOS
Remi Gacogne [Fri, 2 Oct 2020 09:49:11 +0000 (11:49 +0200)]
rec: Reply with NOTIMP instead of terminating the TCP connection
For qdcount == 0 and UPDATE/NOTIFY opcodes.
Chris Hofstaedtler [Fri, 2 Oct 2020 09:20:21 +0000 (11:20 +0200)]
Fix error checking on one getaddrinfo call
Otto Moerbeek [Fri, 2 Oct 2020 08:26:22 +0000 (10:26 +0200)]
Merge pull request #9569 from pieterlexis/rec-no-cfg-parse-on-version
recursor: Don't parse any config with `--version`
Otto Moerbeek [Fri, 2 Oct 2020 08:21:45 +0000 (10:21 +0200)]
Merge pull request #9562 from omoerbeek/rec-flush-typed-api
rec: Expose typed cache flush via Web API
Otto Moerbeek [Fri, 2 Oct 2020 08:21:21 +0000 (10:21 +0200)]
Be explicit we're talking about the recursor.
Remi Gacogne [Thu, 1 Oct 2020 16:20:21 +0000 (18:20 +0200)]
rec: Terminate TCP connections instead of 'ignoring' errors
We used to ignore questions that we consider invalid (unexpected
opcode, qdcount != 1, QR=1, parse error, ...) but also those
received from source addresses blocked by ipfilter, still waiting
for a new question to come up on the socket.
That might be fine for clients that will keep sending queries, even
though they will still end up wondering what happened to the ignored
queries, but some clients like dnsdist will wait until a response is
sent, or a time out occurs.
Closing the TCP connection instead allows dnsdist to keep going,
possibly retrying over a new connection but finally giving up,
instead of keeping the connection alive.
Pieter Lexis [Thu, 1 Oct 2020 14:03:34 +0000 (16:03 +0200)]
Add script to check sort order for SOURCES
Peter van Dijk [Thu, 1 Oct 2020 14:17:13 +0000 (16:17 +0200)]
Merge pull request #9563 from omoerbeek/rec-docs-endpoint-servers-config
rec: fix double "Configuration endpoint" in docs
Pieter Lexis [Thu, 1 Oct 2020 12:27:16 +0000 (14:27 +0200)]
Sort all _SOURCES = lines
Peter van Dijk [Thu, 1 Oct 2020 11:49:33 +0000 (13:49 +0200)]
Merge pull request #9558 from Habbie/auth-4.4.0-alpha1-docs
auth: changelog for 4.4.0-alpha1
Pieter Lexis [Thu, 1 Oct 2020 11:47:27 +0000 (13:47 +0200)]
recursor: Don't parse any config with `--version`
This ensures we don't log anything _apart_ from the version info.
Spotted in https://github.com/PowerDNS/pdns_recursor-ansible/issues/66
Peter van Dijk [Thu, 1 Oct 2020 11:42:57 +0000 (13:42 +0200)]
generate-repo-files: add auth-44
Peter van Dijk [Thu, 1 Oct 2020 11:09:00 +0000 (13:09 +0200)]
Merge pull request #9564 from Habbie/centos6-inttypes
el6: set __STDC_FORMAT_MACROS during package builds
Peter van Dijk [Wed, 30 Sep 2020 12:08:10 +0000 (14:08 +0200)]
document 4.3.1 sqlite index changes
Peter van Dijk [Mon, 28 Sep 2020 11:28:57 +0000 (13:28 +0200)]
4.4.0-alpha1 changelog, secpoll, notes
Kees Monshouwer [Thu, 1 Oct 2020 06:57:21 +0000 (08:57 +0200)]
auth: Speedup presigned signature lookups.
There was an unnecessary soa lookup which resulted in a large number of extra backend queries.
Remi Gacogne [Thu, 1 Oct 2020 07:16:16 +0000 (09:16 +0200)]
Merge pull request #9551 from rgacogne/ddist151-changelog-secpoll
dnsdist: ChangeLog and secpoll update for 1.5.1
Remi Gacogne [Thu, 1 Oct 2020 07:14:41 +0000 (09:14 +0200)]
dnsdist: 1.5.1 is a bit late, fixing the secpoll and ChangeLog :)
Remi Gacogne [Wed, 30 Sep 2020 12:15:06 +0000 (14:15 +0200)]
dnsdist: Add 9555 to 1.5.x's changelog
Remi Gacogne [Mon, 28 Sep 2020 14:18:09 +0000 (16:18 +0200)]
dnsdist: Prepare secpoll update for 1.5.1
Remi Gacogne [Mon, 28 Sep 2020 14:17:12 +0000 (16:17 +0200)]
dnsdist: Add the ChangeLog entries for 1.5.1
Otto Moerbeek [Wed, 30 Sep 2020 12:11:38 +0000 (14:11 +0200)]
Switch off IPv4 for this test to make sure there's only one IP per NS.
This avoids the non-deterministic behaviour.
Otto Moerbeek [Wed, 30 Sep 2020 12:07:14 +0000 (14:07 +0200)]
Merge pull request #9559 from omoerbeek/rec-test-glueless-referral-loop
rec: add unit test for potential NS loop.
Otto Moerbeek [Wed, 30 Sep 2020 09:50:40 +0000 (11:50 +0200)]
Count number of queries as suggested by @rgacogne. Do not assert on it yet,
we are seeing some non-deterministic behaviour.
Peter van Dijk [Wed, 30 Sep 2020 09:26:31 +0000 (11:26 +0200)]
el6: set __STDC_FORMAT_MACROS during package builds
Otto Moerbeek [Wed, 30 Sep 2020 08:55:50 +0000 (10:55 +0200)]
Merge pull request #9554 from pieterlexis/rec-rm-qla6
Recursor: Remove query-local-address6
Otto Moerbeek [Wed, 30 Sep 2020 08:33:51 +0000 (10:33 +0200)]
Due to include structure we have a double "Configuration endpoint" header
Otto Moerbeek [Wed, 30 Sep 2020 08:24:33 +0000 (10:24 +0200)]
Expose typed cache flush via Web API
Remi Gacogne [Tue, 29 Sep 2020 15:47:39 +0000 (17:47 +0200)]
Merge pull request #9553 from rgacogne/ddist-edns-negative-additional-soa
dnsdist: Only add EDNS on negative answers if the query had EDNS
Remi Gacogne [Tue, 29 Sep 2020 15:47:09 +0000 (17:47 +0200)]
Merge pull request #9556 from rgacogne/ddist-debug-trailing
dnsdist: Debug trailing data failures
Chris Hofstaedtler [Tue, 29 Sep 2020 12:42:17 +0000 (14:42 +0200)]
auth: remove local-ipv6, query-local-address6