]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Wed, 13 Oct 2021 16:06:28 +0000 (18:06 +0200)]
dnsdist: Clear the UDP states of TCP-only backends
Remi Gacogne [Wed, 13 Oct 2021 13:18:40 +0000 (15:18 +0200)]
Merge pull request #10775 from rgacogne/ddist-fix-unit-tests-connectivity
dnsdist: Fix the unit tests to handle v4-only or v6-only connectivity
Remi Gacogne [Wed, 13 Oct 2021 13:17:53 +0000 (15:17 +0200)]
Merge pull request #10823 from rgacogne/ddist-outgoing-release-buffer-renego
dnsdist: Disable TLS renegotiation, release buffers for outgoing TLS
Remi Gacogne [Wed, 13 Oct 2021 13:16:56 +0000 (15:16 +0200)]
Merge pull request #10822 from rgacogne/ddist-document-dynblock-ringbuffer-link
dnsdist: Document the ringbuffers' size impacts Dynamic Blocks
Remi Gacogne [Wed, 13 Oct 2021 13:16:44 +0000 (15:16 +0200)]
Merge pull request #10821 from rgacogne/rename-queued-processed-remote-logger
Rename the 'queued' metric of the Remote Logger to 'processed'
Remi Gacogne [Wed, 13 Oct 2021 13:16:25 +0000 (15:16 +0200)]
Merge pull request #10820 from rgacogne/ddist-add-hashed-changelog-upgrade
dnsdist: Add #10157 to the upgrade guide and the 1.7.0-alpha1 ChangeLog
Otto Moerbeek [Wed, 13 Oct 2021 12:36:09 +0000 (14:36 +0200)]
Merge pull request #10836 from rgacogne/rec-no-false-sharing
rec: Prevent false sharing for the recursor's metrics
Otto Moerbeek [Wed, 13 Oct 2021 10:32:16 +0000 (12:32 +0200)]
Merge pull request #10797 from omoerbeek/rec-pc-ttl-no-records
rec: Use packetcache-servfail-ttl for all packet cache entries considered an error reply
Otto [Wed, 13 Oct 2021 10:26:16 +0000 (12:26 +0200)]
Add missing include
Otto [Wed, 13 Oct 2021 09:12:28 +0000 (11:12 +0200)]
Convert more atomics to stat_t and eliminate AtomicCounter form the recursor
(except in cases that are shared by with auth).
I changed two AtomicCounters to atomic<int32>; their range is limited and
they are not updated very frequently.
Otto Moerbeek [Wed, 13 Oct 2021 08:01:00 +0000 (10:01 +0200)]
Merge pull request #10837 from gmelikov/examples
Recursor: clean up kv-example-script.lua
Remi Gacogne [Wed, 13 Oct 2021 07:24:47 +0000 (09:24 +0200)]
Merge pull request #10832 from phonedph1/concurrent-idea
dnsdist: Rule for basing decisions on outstanding queries in a pool
Otto Moerbeek [Tue, 12 Oct 2021 15:42:16 +0000 (17:42 +0200)]
Merge pull request #10838 from omoerbeek/rec-structlog-backward
rec: A compatibiliy macro to have bold old and new (structured) logging.
Otto Moerbeek [Tue, 12 Oct 2021 15:42:01 +0000 (17:42 +0200)]
Merge pull request #10839 from omoerbeek/rec-rpz-extendedErrorCode-docs
rec: Provide a little example for extendedErrorCode/extendedErrorExtra
ph1 [Tue, 12 Oct 2021 15:29:34 +0000 (09:29 -0600)]
test case
ph1 [Tue, 12 Oct 2021 15:29:23 +0000 (09:29 -0600)]
typo; update version; actually include the Lua binding
Otto Moerbeek [Tue, 12 Oct 2021 13:49:56 +0000 (15:49 +0200)]
typo
Co-authored-by: Remi Gacogne <github@coredump.fr>
Remi Gacogne [Tue, 12 Oct 2021 12:56:37 +0000 (14:56 +0200)]
Merge pull request #10814 from chbruyand/dnsdist-setednsoptionaction
dnsdist: add lua support for SetEDNSOptionAction
Remi Gacogne [Tue, 12 Oct 2021 12:56:13 +0000 (14:56 +0200)]
Merge pull request #10833 from chbruyand/dnsdist-protocol-grepq
dnsdist: add incoming and outgoing protocols to grepq
Otto [Tue, 12 Oct 2021 12:45:47 +0000 (14:45 +0200)]
Spelling: add EDE as a word
Otto [Tue, 12 Oct 2021 12:40:35 +0000 (14:40 +0200)]
Tell the default value inn the upgrade notes
Otto [Tue, 12 Oct 2021 11:47:22 +0000 (13:47 +0200)]
Provide a little example for extendedErrorCode/extendedErrorExtra
Otto [Tue, 12 Oct 2021 10:19:55 +0000 (12:19 +0200)]
Add setting to switch to non-structed logging
George Melikov [Mon, 11 Oct 2021 16:01:23 +0000 (19:01 +0300)]
kv-example-script.lua: clean up spaces + empty lines
Otto [Wed, 6 Oct 2021 14:18:15 +0000 (16:18 +0200)]
A compatibiliy macro to have both old and new logging.
Existing logging is routed to old-style to avoid breaking log scanner
tools. New logging can use the structured logging API.
George Melikov [Mon, 11 Oct 2021 15:57:57 +0000 (18:57 +0300)]
kv-example-script.lua: use pdnslog() instead of print()
Charles-Henri Bruyand [Mon, 11 Oct 2021 14:19:17 +0000 (16:19 +0200)]
Merge pull request #1 from rgacogne/dnsdist-protocol-grepq
dnsdist: Prevent implicit conversions between dnsdist::Protocol and uint8_t
Remi Gacogne [Mon, 11 Oct 2021 14:00:19 +0000 (16:00 +0200)]
dnsdist: Return a pretty protocol string for DNSResponse objects
Remi Gacogne [Mon, 11 Oct 2021 13:52:18 +0000 (15:52 +0200)]
dnsdist: Prevent implicit conversions between dnsdist::Protocol and uint8_t
This commit makes sure that we always use the dnsdist::Protocol type,
and that we cannot easily convert to or from a different type by mistake.
C++ really dropped the ball by making it impossible to declare methods
on the 'enum class' that solved the issue of making regular enums
implicitly convertible to int and back, thus making it possible to
assign and compare different types of enums together, as well as
enums and ints.
The result is that we are stuck with declaring classes to hold our
methods, along with a lot of plumbing to make sure that we can convert
in some cases but not allow obvious mistakes from happening.
Otto Moerbeek [Mon, 11 Oct 2021 11:30:08 +0000 (13:30 +0200)]
Merge pull request #10826 from omoerbeek/rec-prep-4.5.6
rec: Prep for rec-4.5.6
Otto Moerbeek [Mon, 11 Oct 2021 11:07:33 +0000 (13:07 +0200)]
Update 4.5.rst
Otto [Mon, 11 Oct 2021 10:11:15 +0000 (12:11 +0200)]
Add a few tests for the PacketCache TTLs:
- ordinary records case
- NXDomain and NoData cases
- ServFail case
The "no answer and no auth records" is not possible to generate using an Auth Zone afaik.
Remi Gacogne [Mon, 11 Oct 2021 09:08:05 +0000 (11:08 +0200)]
rec: Prevent false sharing for the recursor's metrics
Otto Moerbeek [Mon, 11 Oct 2021 09:04:00 +0000 (11:04 +0200)]
Docs improvements from review
Co-authored-by: Remi Gacogne <github@coredump.fr>
Charles-Henri Bruyand [Mon, 11 Oct 2021 09:01:52 +0000 (11:01 +0200)]
fix fuzz_target_dnsdistcache build
Otto Moerbeek [Mon, 11 Oct 2021 08:45:33 +0000 (10:45 +0200)]
Merge pull request #10828 from omoerbeek/rec-proxy-protobuf-test
rec: Basic test for the `from' and `to' fields in protobuf when proxy protocol is used.
Charles-Henri Bruyand [Mon, 11 Oct 2021 08:12:15 +0000 (10:12 +0200)]
dnsdist: add incoming and outgoing protocols to grepq
ph1 [Sun, 10 Oct 2021 02:35:23 +0000 (20:35 -0600)]
Rule for outstanding limits
Pieter Lexis [Sat, 9 Oct 2021 09:02:54 +0000 (11:02 +0200)]
Merge pull request #10831 from phonedph1/patch-29
Update dq.rst
phonedph1 [Sat, 9 Oct 2021 01:48:16 +0000 (19:48 -0600)]
Update dq.rst
Otto Moerbeek [Fri, 8 Oct 2021 12:36:26 +0000 (14:36 +0200)]
Basic test for the `from' and `to' fields in protobuf when proxy protocol is used.
Fixes #10114, as there are already tests for the other mentioned cases.
Peter van Dijk [Fri, 8 Oct 2021 11:11:42 +0000 (13:11 +0200)]
Merge pull request #10819 from Habbie/proxy-guide
auth, rec docs: some improvements
Otto Moerbeek [Fri, 8 Oct 2021 09:33:23 +0000 (11:33 +0200)]
Prep for rec-4.5.6
aerique [Fri, 8 Oct 2021 08:26:31 +0000 (10:26 +0200)]
Merge pull request #10818 from aerique/feature/add-auth-45-46-to-repo-script
Add auth-45 and auth-46 to repo test script.
Otto Moerbeek [Fri, 8 Oct 2021 08:17:46 +0000 (10:17 +0200)]
Merge pull request #10817 from omoerbeek/rec-prep-4.4.6
rec: Prep for rec-4.4.6
Otto Moerbeek [Fri, 8 Oct 2021 08:14:24 +0000 (10:14 +0200)]
Quating and spelling
Otto [Wed, 6 Oct 2021 11:36:22 +0000 (13:36 +0200)]
Prep for rec-4.4.6
Otto Moerbeek [Fri, 8 Oct 2021 05:35:32 +0000 (07:35 +0200)]
Condition covering NoError, NXDomain and missing records properly
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Fri, 8 Oct 2021 05:33:30 +0000 (07:33 +0200)]
Merge pull request #10798 from gmelikov/examples
Recursor: update powerdns-example-script.lua
Remi Gacogne [Thu, 7 Oct 2021 15:35:26 +0000 (17:35 +0200)]
dnsdist: Disable TLS renegotiation, release buffers for outgoing TLS
We already do that for incoming TLS connections, do it for outgoing
ones as well.
Remi Gacogne [Thu, 7 Oct 2021 14:07:01 +0000 (16:07 +0200)]
dnsdist: Document the ringbuffers' size impacts Dynamic Blocks
The number of entries available in the in-memory ring buffers is
crucial for some of the Dynamic Block rules, as they simply will never
trigger if there are too few queries and responses available.
Suggested by Denis Machard on the mailing-list (thanks!).
Remi Gacogne [Thu, 7 Oct 2021 12:34:02 +0000 (14:34 +0200)]
Rename the 'queued' metric of the Remote Logger to 'processed'
Since it was not clear at all whether 'queued' meant 'has been put
in the queue at some point, might have been sent or not' or 'actually
still in the queue' (it was the former).
Remi Gacogne [Thu, 7 Oct 2021 12:23:31 +0000 (14:23 +0200)]
dnsdist: Add #10157 to the upgrade guide and the 1.7.0-alpha1 ChangeLog
As suggested by Denis Machard on the mailing-list (thanks!).
Peter van Dijk [Thu, 7 Oct 2021 10:03:45 +0000 (12:03 +0200)]
add pdnsutil note about attodot removal to upgrade guide
Peter van Dijk [Thu, 7 Oct 2021 09:37:11 +0000 (11:37 +0200)]
auth, rec docs: link to dnsdist PROXY guide
Erik Winkels [Thu, 7 Oct 2021 08:32:18 +0000 (10:32 +0200)]
Add auth-45 and auth-46 to repo test script.
Also remove auth-41, auth-42 and rec-42 from the script.
Peter van Dijk [Thu, 7 Oct 2021 08:24:06 +0000 (10:24 +0200)]
Merge pull request #10747 from Habbie/auth-4.6.0-alpha1-docs
auth 4.6.0 alpha1: changelog & secpoll
Peter van Dijk [Tue, 21 Sep 2021 14:04:35 +0000 (16:04 +0200)]
auth 4.6.0 alpha1: changelog & secpoll
Remi Gacogne [Thu, 7 Oct 2021 07:59:34 +0000 (09:59 +0200)]
Merge pull request #10791 from chbruyand/dnsdist-skip-options
dnsdist: allow skipping arbitrary EDNS options when computing packet hash
Remi Gacogne [Thu, 7 Oct 2021 07:55:40 +0000 (09:55 +0200)]
Merge pull request #10812 from chbruyand/dnsdist-advancedtests-cleanup
dnsdist tests: remove redundant tests
Charles-Henri Bruyand [Wed, 6 Oct 2021 15:19:02 +0000 (17:19 +0200)]
Make sure that any EDNS sent by the backend is removed before forwarding the response to the client
Charles-Henri Bruyand [Wed, 6 Oct 2021 12:30:35 +0000 (14:30 +0200)]
fuzz: update canHashPacket() calls accordingly
Peter van Dijk [Wed, 6 Oct 2021 11:06:17 +0000 (13:06 +0200)]
Merge pull request #10780 from Habbie/remove-attodot
auth: remove attodot feature; fixes #10254
Charles-Henri Bruyand [Wed, 6 Oct 2021 10:14:12 +0000 (12:14 +0200)]
remove DNSDistPacketCache::setCookieHashing and clarify documentation and code about skipped options
Peter van Dijk [Wed, 6 Oct 2021 10:00:27 +0000 (12:00 +0200)]
Merge pull request #10788 from mind04/pdns-getalldomains
auth: improve SOA parse exception handling
Charles-Henri Bruyand [Wed, 6 Oct 2021 09:28:12 +0000 (11:28 +0200)]
prevent unnecessary padding
Charles-Henri Bruyand [Wed, 6 Oct 2021 09:10:19 +0000 (11:10 +0200)]
dnsdist: add lua support for SetEDNSOptionAction to set arbitrary EDNS option and content to the query
Charles-Henri Bruyand [Wed, 6 Oct 2021 09:18:43 +0000 (11:18 +0200)]
dnsdist tests: remove redundant tests
Peter van Dijk [Fri, 1 Oct 2021 15:03:24 +0000 (17:03 +0200)]
pdnsutil check-zone: warn about @ in SOA RNAME
Co-authored-by: Kees Monshouwer <mind04@monshouwer.org>
Peter van Dijk [Thu, 23 Sep 2021 15:25:16 +0000 (17:25 +0200)]
auth: remove attodot feature; fixes #10254
Otto Moerbeek [Wed, 6 Oct 2021 05:42:00 +0000 (07:42 +0200)]
too short title line
Otto Moerbeek [Tue, 5 Oct 2021 19:20:58 +0000 (21:20 +0200)]
Merge pull request #10800 from omoerbeek/rec-fix-10799
rec: Fix compile error on Ubuntu 18
Otto [Tue, 5 Oct 2021 11:50:12 +0000 (13:50 +0200)]
Fixes 10799:
test-rec-zonetocache.cc: In member function 'void rec_zonetocache::test_zonetocache::test_method()':
test-rec-zonetocache.cc:77:27: sorry, unimplemented: non-trivial designated initializers not supported
.d_refreshPeriod = 0};
^
test-rec-zonetocache.cc:77:27: warning: missing initializer for member 'RecZoneToCache::Config::d_tt' [-Wmissing-field-initializers]
George Melikov [Tue, 5 Oct 2021 13:00:52 +0000 (16:00 +0300)]
powerdns-example-script.lua: clean up empty lines and spaces
Otto [Tue, 5 Oct 2021 11:44:15 +0000 (13:44 +0200)]
Do not consider an NXDomain reply an error
George Melikov [Tue, 5 Oct 2021 10:06:48 +0000 (13:06 +0300)]
Recursor: update powerdns-example-script.lua
print() won't output properly, use pdnslog.
Otto Moerbeek [Tue, 5 Oct 2021 10:08:38 +0000 (12:08 +0200)]
Merge pull request #10794 from omoerbeek/rec-zonetocache-followup
rec: Followup on ZoneToCache and fix #10246: document local root config
Otto [Tue, 5 Oct 2021 09:20:24 +0000 (11:20 +0200)]
Use packetcache-servfail-ttl for all packet cache entries considered an error reply.
The "this is an error" test is: no answer records and rcode not equal to NoError. This needs to be validated.
Fixes #9135.
Otto Moerbeek [Tue, 5 Oct 2021 08:47:42 +0000 (10:47 +0200)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <github@coredump.fr>
Kees Monshouwer [Fri, 1 Oct 2021 08:33:27 +0000 (10:33 +0200)]
auth: fix the SOA check in pdnsutil
Kees Monshouwer [Thu, 30 Sep 2021 20:46:28 +0000 (22:46 +0200)]
auth: ignore broken SOA content in getAllDomains(),
avoid unnecessary parsing of SOA content
Otto [Tue, 5 Oct 2021 07:42:19 +0000 (09:42 +0200)]
Followup on ZoneToCache and fix #10246: document local root config (rfc8806)
Otto Moerbeek [Mon, 4 Oct 2021 13:23:00 +0000 (15:23 +0200)]
Merge pull request #10505 from omoerbeek/rec-zonetocache
Add a periodic zones-to-cache function.
Otto [Mon, 4 Oct 2021 11:46:59 +0000 (13:46 +0200)]
Add two comments based on code review
Otto [Mon, 4 Oct 2021 11:36:50 +0000 (13:36 +0200)]
Small stuff from review comments
Otto [Mon, 4 Oct 2021 10:23:21 +0000 (12:23 +0200)]
Basic zone to cache unit test plus scaffolding to make structured
logging work (test backend logs to the regular logging)
Otto Moerbeek [Fri, 1 Oct 2021 13:40:47 +0000 (15:40 +0200)]
Don;t take refresh time from SOA, allow for single shot (refreshPeriod = 0) and
docs fixes.
Otto Moerbeek [Fri, 1 Oct 2021 12:18:23 +0000 (14:18 +0200)]
Docs
Otto Moerbeek [Fri, 1 Oct 2021 11:42:14 +0000 (13:42 +0200)]
Use structured logging, move loading to separate thread (a la RPZ)
Otto Moerbeek [Fri, 1 Oct 2021 11:31:57 +0000 (13:31 +0200)]
setting verbosity should not reset the logger name
Otto [Wed, 29 Sep 2021 14:36:42 +0000 (16:36 +0200)]
Current code doesn't care if dnssec is enabled or not; reorder struct Config
Otto [Wed, 29 Sep 2021 13:51:51 +0000 (15:51 +0200)]
Scaffolding for config via Lua
Otto [Wed, 12 May 2021 13:56:57 +0000 (15:56 +0200)]
Add a periodic zones-to-cache function.
No signatures are validated, that will happen on-demand if the
records are used.
Peter van Dijk [Mon, 4 Oct 2021 10:02:47 +0000 (12:02 +0200)]
Merge pull request #10562 from Habbie/auth-log-nsname
auth NOTIFY: log names of NSes we could not resolve
Peter van Dijk [Mon, 4 Oct 2021 08:22:04 +0000 (10:22 +0200)]
Merge pull request #10784 from Habbie/docs-remove-autoserial
auth docs: remove some leftover mentions of autoserial
Remi Gacogne [Mon, 4 Oct 2021 07:38:17 +0000 (09:38 +0200)]
Merge pull request #10787 from rgacogne/ddist-udp-cross-protocol-cache
dnsdist: Properly cache UDP queries passed to a TCP/DoT/DoH backend
Remi Gacogne [Mon, 4 Oct 2021 07:32:13 +0000 (09:32 +0200)]
Merge pull request #10789 from rgacogne/ddist-typo-healthchecks
dnsdist: Fix several typos in the health check code
Remi Gacogne [Mon, 4 Oct 2021 07:20:57 +0000 (09:20 +0200)]
Merge pull request #10783 from rgacogne/remove-BoundsCheckingPointer
Remove the unused BoundsCheckingPointer class
Peter van Dijk [Fri, 1 Oct 2021 15:52:39 +0000 (17:52 +0200)]
reduce back and forth type conversions; beter var naming
Charles-Henri Bruyand [Fri, 1 Oct 2021 15:46:39 +0000 (17:46 +0200)]
auth: update canHashPacket() calls accordingly