]>
git.ipfire.org Git - thirdparty/pdns.git/log
Peter van Dijk [Thu, 11 Mar 2021 12:11:47 +0000 (13:11 +0100)]
Merge pull request #10078 from Habbie/csync
add CSYNC type
Peter van Dijk [Thu, 11 Mar 2021 10:51:41 +0000 (11:51 +0100)]
gh actions: add secpoll syntax check
Peter van Dijk [Thu, 11 Mar 2021 10:47:49 +0000 (11:47 +0100)]
pdnsutil load-zone: report errors in exit value
Rytis Sileika [Wed, 10 Mar 2021 21:13:48 +0000 (21:13 +0000)]
Install vim in docker-auth image
pdnsutil edit-zone requires EDITOR to be set. Currently there's no editor installed at all. Adding vim, so that it can be used as default editor by pdnsutil edit-zone.
Peter van Dijk [Wed, 10 Mar 2021 21:10:23 +0000 (22:10 +0100)]
amazonlinux-2: install EPEL the amazon way
Otto Moerbeek [Wed, 10 Mar 2021 15:06:14 +0000 (16:06 +0100)]
Merge pull request #10161 from omoerbeek/real-real-mem-usage
"data" size is unreliable, start using RES, as it seem reliable and relavant
Otto [Wed, 10 Mar 2021 10:45:02 +0000 (11:45 +0100)]
"data" size is unreliable, start using RES, as it seem reliable and relevant
Remi Gacogne [Tue, 9 Mar 2021 17:38:50 +0000 (18:38 +0100)]
dnsdist: Check more TCP-related metrics in the web API
Remi Gacogne [Tue, 9 Mar 2021 17:38:24 +0000 (18:38 +0100)]
dnsdist: Fix a typo in the prometheus metric name for TCP reuseds
Remi Gacogne [Tue, 9 Mar 2021 15:59:02 +0000 (16:59 +0100)]
dnsdist: Better messages on TLS connection closed by the remote end
Remi Gacogne [Tue, 9 Mar 2021 15:57:58 +0000 (16:57 +0100)]
dnsdist: Reuse the most recently used TCP conn first, check liveness
Remi Gacogne [Tue, 9 Mar 2021 15:42:11 +0000 (16:42 +0100)]
dnsdist: Add metrics about outgoing TCP connections reuse
As well as a new command to get a dump of the current TCP states:
`requestTCPStatesDump()`.
Pieter Lexis [Tue, 9 Mar 2021 10:00:46 +0000 (11:00 +0100)]
Fix secpoll zone
Pieter Lexis [Tue, 9 Mar 2021 09:51:39 +0000 (10:51 +0100)]
Merge pull request #10146 from omoerbeek/prep-rec-4.5.0-alpha2
rec: Prep for rec-4.5.0-alpha3
Otto Moerbeek [Tue, 9 Mar 2021 08:51:18 +0000 (09:51 +0100)]
Merge pull request #10153 from mnordhoff/patch-7
docs: Fix formatting typo in Recursor settings
Remi Gacogne [Tue, 9 Mar 2021 08:49:35 +0000 (09:49 +0100)]
Update edns-padding-from description in the documentation
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Tue, 9 Mar 2021 08:49:21 +0000 (09:49 +0100)]
Update edns-padding-from description
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Mon, 8 Mar 2021 17:36:35 +0000 (18:36 +0100)]
rec: Document the new DNSQuestion.addPaddingToResponse Lua attribute
Remi Gacogne [Mon, 8 Mar 2021 17:33:54 +0000 (18:33 +0100)]
rec: Add regression tests for the EDNS Padding Lua bindings
Remi Gacogne [Mon, 8 Mar 2021 16:13:30 +0000 (17:13 +0100)]
rec: Fix the EDNS padding documentation
We actually only pad response to queries coming from the whitelist,
and then you can configure whether we add padding to queries with
the EDNS padding option or not.
Remi Gacogne [Mon, 8 Mar 2021 16:11:40 +0000 (17:11 +0100)]
rec: Add Lua bindings for the EDNS response padding
Remi Gacogne [Mon, 8 Mar 2021 14:52:19 +0000 (15:52 +0100)]
rec: Pad with '\0' bytes, not '0'..
Otto Moerbeek [Mon, 8 Mar 2021 14:33:34 +0000 (15:33 +0100)]
Merge pull request #10152 from omoerbeek/rec-non-resolving-followup2
Make the non-resolving cache even less aggressive and add a unit test.
Matt Nordhoff [Mon, 8 Mar 2021 13:45:17 +0000 (13:45 +0000)]
docs: Explain what DNSSEC settings aggressive NSEC requires
Remi Gacogne [Mon, 8 Mar 2021 13:49:07 +0000 (14:49 +0100)]
rec: Fix a 'prime root NS' race in the protobuf tests
Matt Nordhoff [Mon, 8 Mar 2021 12:52:08 +0000 (12:52 +0000)]
docs: Fix formatting typo in Recursor settings
Otto [Mon, 8 Mar 2021 12:15:47 +0000 (13:15 +0100)]
It's going to be the 9th of March
Otto [Mon, 8 Mar 2021 10:51:40 +0000 (11:51 +0100)]
Add one more unit test and use the proper counter.
nretrieveAddressesForNS is only incremented on empty results, so the clearing did not work as expected.
Otto [Mon, 8 Mar 2021 11:21:54 +0000 (12:21 +0100)]
it's going to be alpha3
Remi Gacogne [Mon, 8 Mar 2021 11:03:07 +0000 (12:03 +0100)]
rec: Fix the EDNS padding python implementation for dnspython 2.0.0
Remi Gacogne [Mon, 8 Mar 2021 09:25:34 +0000 (10:25 +0100)]
rec: EDNS padding will be present in 4.5, it did not make it to 4.4
Remi Gacogne [Mon, 8 Mar 2021 09:24:40 +0000 (10:24 +0100)]
rec: Clarify (hopefully) which responses are padded
Remi Gacogne [Mon, 8 Mar 2021 09:19:22 +0000 (10:19 +0100)]
rec: Fix a wrong anchor in the documentation
Remi Gacogne [Thu, 12 Mar 2020 11:57:09 +0000 (12:57 +0100)]
rec: Skip IPv6 tests on Circle CI (second take)
Remi Gacogne [Thu, 12 Mar 2020 10:44:01 +0000 (11:44 +0100)]
rec: Fix EDNS padding regression test in Circle CI (no IPv6 there)
Remi Gacogne [Wed, 11 Mar 2020 17:26:37 +0000 (18:26 +0100)]
rec: Fix the padding size computation, remove outdated comment
Remi Gacogne [Mon, 9 Mar 2020 17:43:37 +0000 (18:43 +0100)]
rec: Add tests for EDNS Padding
Remi Gacogne [Mon, 9 Mar 2020 16:45:36 +0000 (17:45 +0100)]
rec: Implement EDNS0 padding (rfc7830)
Remi Gacogne [Mon, 8 Mar 2021 09:08:16 +0000 (10:08 +0100)]
rec: Update the outgoing protobuf tests
We no longer send DS queries to determine the zone cuts before
resolving.
Otto [Mon, 8 Mar 2021 08:48:43 +0000 (09:48 +0100)]
Make the non-resolving cache even less aggressive and add a unit test.
In particular, we clear the entry if we see a succeeding resolve.
This means that we only a couple of failing resolves in a row will
cause a ban. Also change to default non-resolving-ns-max-fails from
1 to 5.
Remi Gacogne [Fri, 5 Mar 2021 22:35:09 +0000 (23:35 +0100)]
rec: DNAME redirects DNS names subordinate to its owner name
Remi Gacogne [Fri, 5 Mar 2021 16:25:43 +0000 (17:25 +0100)]
rec: Update the validation state if we have not validated any record
Otto Moerbeek [Fri, 5 Mar 2021 16:24:41 +0000 (17:24 +0100)]
Merge pull request #10151 from omoerbeek/rec-non-resolving-followup
rec: Only put a failing NS in the map if we actually went out and that produced no results
Remi Gacogne [Fri, 5 Mar 2021 16:24:04 +0000 (17:24 +0100)]
rec: An opt-out NSEC3 is a valid (insecure) proof for an expanded wildcard
Remi Gacogne [Fri, 5 Mar 2021 16:18:09 +0000 (17:18 +0100)]
rec: We can't validate a record signed by a DNSKEY we are retrieving
Otto [Fri, 5 Mar 2021 15:26:57 +0000 (16:26 +0100)]
Talk about the rec_control changes and the new non-resolving-... settings
Otto Moerbeek [Fri, 5 Mar 2021 15:12:25 +0000 (16:12 +0100)]
Merge pull request #10149 from omoerbeek/sdig-doh-fastopen
sdig: implement TCP Fast Open for DoH
Otto [Fri, 5 Mar 2021 15:09:29 +0000 (16:09 +0100)]
Only put a failing NS in the map if we actually went out and that
produced no results.
While there, rename a var to be different from the method name.
Peter van Dijk [Fri, 5 Mar 2021 15:08:53 +0000 (16:08 +0100)]
Merge pull request #10105 from Habbie/ldap-docs-bindmethod
auth ldap docs: s/authmethod/bindmethod/
Otto [Fri, 5 Mar 2021 12:36:28 +0000 (13:36 +0100)]
make CURLOPT_TCP_FASTOPEN conditional on availability
Otto [Fri, 5 Mar 2021 12:15:13 +0000 (13:15 +0100)]
sdig: implement TCP Fast Open for DoH
While at it, honour timeout parameter as well for DoT.
Peter van Dijk [Fri, 5 Mar 2021 10:38:16 +0000 (11:38 +0100)]
Merge pull request #10104 from Habbie/sync-dnsmessage
update dnsmessage.proto from upstream
Otto [Fri, 5 Mar 2021 09:05:41 +0000 (10:05 +0100)]
Process review comments
Otto [Fri, 5 Mar 2021 08:33:39 +0000 (09:33 +0100)]
Prep for rec-4.5.0-alpha2
Matt Nordhoff [Fri, 5 Mar 2021 07:24:02 +0000 (07:24 +0000)]
docs: ecswho is a Netmask, not a ComboAddress
Kees Monshouwer [Thu, 4 Mar 2021 21:30:38 +0000 (22:30 +0100)]
auth: implement disabled in LMDB backend
Remi Gacogne [Thu, 4 Mar 2021 15:04:13 +0000 (16:04 +0100)]
rec: Update queries count now that the negindic validation status is right
We used to look for zone cuts when we did not need to.
Remi Gacogne [Thu, 4 Mar 2021 15:02:48 +0000 (16:02 +0100)]
rec: Fix the validation status computation with negative indication
We need to know whether the denial had signatures to decide whether
we need to lool for a zone cut.
Remi Gacogne [Thu, 4 Mar 2021 15:01:02 +0000 (16:01 +0100)]
rec: Fix aggressive NSEC unit and regression tests
We don't get the SOA and NSEC(3) since we don't ask for the DS before-hand,
so we need to do a specific query to get it.
Remi Gacogne [Thu, 4 Mar 2021 16:30:57 +0000 (17:30 +0100)]
Merge pull request #10140 from rgacogne/ddist160-a2-changelog
dnsdist: Update the ChangeLog and secpoll zone for 1.6.0-alpha2
Pieter Lexis [Thu, 4 Mar 2021 11:18:52 +0000 (12:18 +0100)]
Fix configure issue with systemd runtime dir detection
This issue was introduced in
7bbaae110abb53f43d0bf60c81efe3bb8630a925
Otto Moerbeek [Thu, 4 Mar 2021 10:33:47 +0000 (11:33 +0100)]
Merge pull request #10010 from omoerbeek/check-time_t-size
Check sizeof(time_t) to be at least 8
Remi Gacogne [Wed, 24 Feb 2021 15:55:06 +0000 (16:55 +0100)]
rec: Fix a typo in a comment
Remi Gacogne [Thu, 4 Feb 2021 17:29:34 +0000 (18:29 +0100)]
rec: Clean up the validation of denial (NXD) in the SyncRes
Remi Gacogne [Thu, 4 Feb 2021 15:21:13 +0000 (16:21 +0100)]
rec: Make sure we don't miss insecure cuts, fix several DNSSEC issues
Remi Gacogne [Wed, 3 Feb 2021 17:34:58 +0000 (18:34 +0100)]
rec: Get rid of early zone cut computation
This commits removes the early zone cut computation using DS queries.
It instead determines the status of a record when it is either received
from an authoritative server or retrieved from a cache, detecting missed
zone cuts when the expected signatures are not present.
This results in roughly 8% less outgoing queries in quick testing.
One remaining issue is that we do not detect a missing zone cut when
we get signatures but the DS record has not been pusblished. We should
likely try to find a DS denial when the signer is not expected, or
perhaps always?
We also need some optimizations, like perhaps caching the (N)TA,
and updating the zone cuts when we see a DS or denial of a DS in
an answer.
Pieter Lexis [Wed, 3 Mar 2021 21:14:44 +0000 (22:14 +0100)]
Merge pull request #10116 from pieterlexis/lmdb-docs
docs: improve rendering of lmdb page
Remi Gacogne [Wed, 3 Mar 2021 16:22:25 +0000 (17:22 +0100)]
Merge pull request #10133 from rgacogne/ddist-cache-shards-purge-expired
dnsdist: Clean up expired entries from all the packet cache's shards
Remi Gacogne [Wed, 3 Mar 2021 15:25:03 +0000 (16:25 +0100)]
dnsdist: Update the ChangeLog and secpoll zone for 1.6.0-alpha2
Remi Gacogne [Wed, 3 Mar 2021 15:14:07 +0000 (16:14 +0100)]
dnsdist: Use modern C++-for loops, as suggested by Otto
Remi Gacogne [Wed, 3 Mar 2021 13:49:03 +0000 (14:49 +0100)]
dnsdist: Remove now unused shard index, we scan every shard anyway
Otto Moerbeek [Wed, 3 Mar 2021 12:25:19 +0000 (13:25 +0100)]
Merge pull request #10118 from pieterlexis/rec-deprecate-process-no-validate
rec: Change dnssec default to `process`
Remi Gacogne [Wed, 3 Mar 2021 12:14:48 +0000 (13:14 +0100)]
Merge pull request #10139 from rgacogne/ddist-remove-trailing-test-overflow
dnsdist: Fix size check during trailing data addition, regression tests
Otto Moerbeek [Wed, 3 Mar 2021 11:42:26 +0000 (12:42 +0100)]
s/contented/contended
Otto Moerbeek [Wed, 3 Mar 2021 11:31:41 +0000 (12:31 +0100)]
Merge pull request #10138 from omoerbeek/format-modules
Move to clang-format-11 and start format checks for pdns/modules
Pieter Lexis [Wed, 3 Mar 2021 11:04:06 +0000 (12:04 +0100)]
extend and fix OutgoingProtobufNoQueriesTest.testA
Pieter Lexis [Wed, 3 Mar 2021 10:33:48 +0000 (11:33 +0100)]
protobuf test: fix and expand the OutgoingProtobufDefaultTest.testA test
Pieter Lexis [Wed, 3 Mar 2021 10:33:02 +0000 (11:33 +0100)]
protobuf test: print message and fix a small bug
Remi Gacogne [Wed, 3 Mar 2021 10:26:25 +0000 (11:26 +0100)]
dnsdist: Revert 'Remove the useless separate entries counter from the cache'
We should not be getting the size of the map without locking it, so
keeping a separate counter is better for now.
Otto [Wed, 3 Mar 2021 10:21:10 +0000 (11:21 +0100)]
Formatting fixes in recursordist
Otto [Wed, 3 Mar 2021 10:05:55 +0000 (11:05 +0100)]
Lets move to bullseye which has more modern clang-format-11
Otto Moerbeek [Wed, 3 Mar 2021 10:12:48 +0000 (11:12 +0100)]
Merge pull request #10137 from omoerbeek/cpp-warnings
Fix a few unused lambda captures and signed/unsigned warnings
Remi Gacogne [Wed, 3 Mar 2021 09:59:11 +0000 (10:59 +0100)]
dnsdist: Fix size check during trailing data addition, regression tests
Otto [Wed, 3 Mar 2021 09:45:04 +0000 (10:45 +0100)]
Start format checks for pdns/modules
Remi Gacogne [Wed, 3 Mar 2021 09:33:12 +0000 (10:33 +0100)]
dnsdist: Prevent an infinite loop when a cache shard is below the limit
Otto [Wed, 3 Mar 2021 08:58:37 +0000 (09:58 +0100)]
Fix a few unused lambda captures and signed/unsigned warnings
Remi Gacogne [Wed, 3 Mar 2021 08:31:44 +0000 (09:31 +0100)]
dnsdist: Make sure the TTD is expired in the cache cleaning unit tests
We were using a too small time margin in the test, causing some issues
to not be expired when the test takes more than one second to insert
the cache entries.
Use a one-hour margin instead.
Remi Gacogne [Wed, 3 Mar 2021 08:07:11 +0000 (09:07 +0100)]
Merge pull request #10131 from rgacogne/ddist-tcp-counters
dnsdist: Do not update the TCP error counters on idle states
Remi Gacogne [Wed, 3 Mar 2021 08:07:02 +0000 (09:07 +0100)]
Merge pull request #10134 from rgacogne/ddist-fix-loop-copy-warning
dnsdist: Prevent a copy in DownstreamConnectionsManager::clear()
Remi Gacogne [Tue, 2 Mar 2021 18:54:41 +0000 (19:54 +0100)]
dnsdist: Prevent a copy in DownstreamConnectionsManager::clear()
We don't care about performance in that place but it prevents a warning.
Remi Gacogne [Tue, 2 Mar 2021 17:16:59 +0000 (18:16 +0100)]
dnsdist: Use modern C++ loops in the packet cache code
Remi Gacogne [Tue, 2 Mar 2021 17:08:17 +0000 (18:08 +0100)]
dnsdist: Remove the useless separate entries counter from the cache
Getting the size of the map is a constant-time operation and should
be as accurate so let's just use that.
Remi Gacogne [Tue, 2 Mar 2021 17:03:17 +0000 (18:03 +0100)]
dnsdist: Remove entries from all the packet cache's shards as well
Remi Gacogne [Tue, 2 Mar 2021 16:50:54 +0000 (17:50 +0100)]
dnsdist: Clean up expired entries from all the packet cache's shards
Otherwise we might remove enough entries from the first shards only
and stop there, which means that the other shards might remain full.
This might be fine if we clean up often enough since the next cleaning
run will start with the remaining shards, but that's sub-optimal when
we are often nearly full because it will prevent new entries from being
inserted in the shards that are full.
Otto Moerbeek [Tue, 2 Mar 2021 16:44:36 +0000 (17:44 +0100)]
Merge pull request #10132 from omoerbeek/sdig-single-write
sdig: write 2-byte header and request in one write call.
Otto [Tue, 2 Mar 2021 15:31:13 +0000 (16:31 +0100)]
Write 2-byte header and request in one write call.
Remi Gacogne [Tue, 2 Mar 2021 14:55:04 +0000 (15:55 +0100)]
dnsdist: Do not update the TCP error counters on idle states
Remi Gacogne [Tue, 2 Mar 2021 14:23:28 +0000 (15:23 +0100)]
Merge pull request #10130 from rgacogne/ddist-src-itf-selection
dnsdist: Remove forgotten warning about source interface selection
Remi Gacogne [Tue, 2 Mar 2021 12:51:23 +0000 (13:51 +0100)]
dnsdist: Remove forgotten warning about source interface selection
Pieter Lexis [Thu, 25 Feb 2021 12:18:48 +0000 (13:18 +0100)]
Fix tests