]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
5 years agoMerge pull request #10078 from Habbie/csync
Peter van Dijk [Thu, 11 Mar 2021 12:11:47 +0000 (13:11 +0100)] 
Merge pull request #10078 from Habbie/csync

add CSYNC type

5 years agogh actions: add secpoll syntax check 10169/head
Peter van Dijk [Thu, 11 Mar 2021 10:51:41 +0000 (11:51 +0100)] 
gh actions: add secpoll syntax check

5 years agopdnsutil load-zone: report errors in exit value
Peter van Dijk [Thu, 11 Mar 2021 10:47:49 +0000 (11:47 +0100)] 
pdnsutil load-zone: report errors in exit value

5 years agoInstall vim in docker-auth image
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.

5 years agoamazonlinux-2: install EPEL the amazon way
Peter van Dijk [Wed, 10 Mar 2021 21:10:23 +0000 (22:10 +0100)] 
amazonlinux-2: install EPEL the amazon way

5 years agoMerge pull request #10161 from omoerbeek/real-real-mem-usage
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

5 years ago"data" size is unreliable, start using RES, as it seem reliable and relevant 10161/head
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

5 years agodnsdist: Check more TCP-related metrics in the web API 10156/head
Remi Gacogne [Tue, 9 Mar 2021 17:38:50 +0000 (18:38 +0100)] 
dnsdist: Check more TCP-related metrics in the web API

5 years agodnsdist: Fix a typo in the prometheus metric name for TCP reuseds
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

5 years agodnsdist: Better messages on TLS connection closed by the remote end
Remi Gacogne [Tue, 9 Mar 2021 15:59:02 +0000 (16:59 +0100)] 
dnsdist: Better messages on TLS connection closed by the remote end

5 years agodnsdist: Reuse the most recently used TCP conn first, check liveness
Remi Gacogne [Tue, 9 Mar 2021 15:57:58 +0000 (16:57 +0100)] 
dnsdist: Reuse the most recently used TCP conn first, check liveness

5 years agodnsdist: Add metrics about outgoing TCP connections reuse
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()`.

5 years agoFix secpoll zone
Pieter Lexis [Tue, 9 Mar 2021 10:00:46 +0000 (11:00 +0100)] 
Fix secpoll zone

5 years agoMerge pull request #10146 from omoerbeek/prep-rec-4.5.0-alpha2
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

5 years agoMerge pull request #10153 from mnordhoff/patch-7
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

5 years agoUpdate edns-padding-from description in the documentation 8918/head
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>
5 years agoUpdate edns-padding-from description
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>
5 years agorec: Document the new DNSQuestion.addPaddingToResponse Lua attribute
Remi Gacogne [Mon, 8 Mar 2021 17:36:35 +0000 (18:36 +0100)] 
rec: Document the new DNSQuestion.addPaddingToResponse Lua attribute

5 years agorec: Add regression tests for the EDNS Padding Lua bindings
Remi Gacogne [Mon, 8 Mar 2021 17:33:54 +0000 (18:33 +0100)] 
rec: Add regression tests for the EDNS Padding Lua bindings

5 years agorec: Fix the EDNS padding documentation
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.

5 years agorec: Add Lua bindings for the EDNS response padding
Remi Gacogne [Mon, 8 Mar 2021 16:11:40 +0000 (17:11 +0100)] 
rec: Add Lua bindings for the EDNS response padding

5 years agorec: Pad with '\0' bytes, not '0'..
Remi Gacogne [Mon, 8 Mar 2021 14:52:19 +0000 (15:52 +0100)] 
rec: Pad with '\0' bytes, not '0'..

5 years agoMerge pull request #10152 from omoerbeek/rec-non-resolving-followup2 rec-4.5.0-alpha3
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.

5 years agodocs: Explain what DNSSEC settings aggressive NSEC requires 10153/head
Matt Nordhoff [Mon, 8 Mar 2021 13:45:17 +0000 (13:45 +0000)] 
docs: Explain what DNSSEC settings aggressive NSEC requires

5 years agorec: Fix a 'prime root NS' race in the protobuf tests 10057/head
Remi Gacogne [Mon, 8 Mar 2021 13:49:07 +0000 (14:49 +0100)] 
rec: Fix a 'prime root NS' race in the protobuf tests

5 years agodocs: Fix formatting typo in Recursor settings
Matt Nordhoff [Mon, 8 Mar 2021 12:52:08 +0000 (12:52 +0000)] 
docs: Fix formatting typo in Recursor settings

5 years agoIt's going to be the 9th of March 10146/head
Otto [Mon, 8 Mar 2021 12:15:47 +0000 (13:15 +0100)] 
It's going to be the 9th of March

5 years agoAdd one more unit test and use the proper counter. 10152/head
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.

5 years agoit's going to be alpha3
Otto [Mon, 8 Mar 2021 11:21:54 +0000 (12:21 +0100)] 
it's going to be alpha3

5 years agorec: Fix the EDNS padding python implementation for dnspython 2.0.0
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

5 years agorec: EDNS padding will be present in 4.5, it did not make it to 4.4
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

5 years agorec: Clarify (hopefully) which responses are padded
Remi Gacogne [Mon, 8 Mar 2021 09:24:40 +0000 (10:24 +0100)] 
rec: Clarify (hopefully) which responses are padded

5 years agorec: Fix a wrong anchor in the documentation
Remi Gacogne [Mon, 8 Mar 2021 09:19:22 +0000 (10:19 +0100)] 
rec: Fix a wrong anchor in the documentation

5 years agorec: Skip IPv6 tests on Circle CI (second take)
Remi Gacogne [Thu, 12 Mar 2020 11:57:09 +0000 (12:57 +0100)] 
rec: Skip IPv6 tests on Circle CI (second take)

5 years agorec: Fix EDNS padding regression test in Circle CI (no IPv6 there)
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)

5 years agorec: Fix the padding size computation, remove outdated comment
Remi Gacogne [Wed, 11 Mar 2020 17:26:37 +0000 (18:26 +0100)] 
rec: Fix the padding size computation, remove outdated comment

5 years agorec: Add tests for EDNS Padding
Remi Gacogne [Mon, 9 Mar 2020 17:43:37 +0000 (18:43 +0100)] 
rec: Add tests for EDNS Padding

5 years agorec: Implement EDNS0 padding (rfc7830)
Remi Gacogne [Mon, 9 Mar 2020 16:45:36 +0000 (17:45 +0100)] 
rec: Implement EDNS0 padding (rfc7830)

5 years agorec: Update the outgoing protobuf tests
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.

5 years agoMake the non-resolving cache even less aggressive and add a unit test.
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.

5 years agorec: DNAME redirects DNS names subordinate to its owner name
Remi Gacogne [Fri, 5 Mar 2021 22:35:09 +0000 (23:35 +0100)] 
rec: DNAME redirects DNS names subordinate to its owner name

5 years agorec: Update the validation state if we have not validated any record
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

5 years agoMerge pull request #10151 from omoerbeek/rec-non-resolving-followup
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

5 years agorec: An opt-out NSEC3 is a valid (insecure) proof for an expanded wildcard
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

5 years agorec: We can't validate a record signed by a DNSKEY we are retrieving
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

5 years agoTalk about the rec_control changes and the new non-resolving-... settings
Otto [Fri, 5 Mar 2021 15:26:57 +0000 (16:26 +0100)] 
Talk about the rec_control changes and the new non-resolving-... settings

5 years agoMerge pull request #10149 from omoerbeek/sdig-doh-fastopen
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

5 years agoOnly put a failing NS in the map if we actually went out and that 10151/head
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.

5 years agoMerge pull request #10105 from Habbie/ldap-docs-bindmethod
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/

5 years agomake CURLOPT_TCP_FASTOPEN conditional on availability 10149/head
Otto [Fri, 5 Mar 2021 12:36:28 +0000 (13:36 +0100)] 
make CURLOPT_TCP_FASTOPEN conditional on availability

5 years agosdig: implement TCP Fast Open for DoH
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.

5 years agoMerge pull request #10104 from Habbie/sync-dnsmessage
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

5 years agoProcess review comments
Otto [Fri, 5 Mar 2021 09:05:41 +0000 (10:05 +0100)] 
Process review comments

5 years agoPrep for rec-4.5.0-alpha2
Otto [Fri, 5 Mar 2021 08:33:39 +0000 (09:33 +0100)] 
Prep for rec-4.5.0-alpha2

5 years agodocs: ecswho is a Netmask, not a ComboAddress 10145/head
Matt Nordhoff [Fri, 5 Mar 2021 07:24:02 +0000 (07:24 +0000)] 
docs: ecswho is a Netmask, not a ComboAddress

5 years agoauth: implement disabled in LMDB backend 10107/head
Kees Monshouwer [Thu, 4 Mar 2021 21:30:38 +0000 (22:30 +0100)] 
auth: implement disabled in LMDB backend

5 years agorec: Update queries count now that the negindic validation status is right
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.

5 years agorec: Fix the validation status computation with negative indication
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.

5 years agorec: Fix aggressive NSEC unit and regression tests
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.

5 years agoMerge pull request #10140 from rgacogne/ddist160-a2-changelog rec-4.5.0-alpha2
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

5 years agoFix configure issue with systemd runtime dir detection 10141/head
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

5 years agoMerge pull request #10010 from omoerbeek/check-time_t-size
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

5 years agorec: Fix a typo in a comment
Remi Gacogne [Wed, 24 Feb 2021 15:55:06 +0000 (16:55 +0100)] 
rec: Fix a typo in a comment

5 years agorec: Clean up the validation of denial (NXD) in the SyncRes
Remi Gacogne [Thu, 4 Feb 2021 17:29:34 +0000 (18:29 +0100)] 
rec: Clean up the validation of denial (NXD) in the SyncRes

5 years agorec: Make sure we don't miss insecure cuts, fix several DNSSEC issues
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

5 years agorec: Get rid of early zone cut computation
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.

5 years agoMerge pull request #10116 from pieterlexis/lmdb-docs dnsdist-1.6.0-alpha2
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

5 years agoMerge pull request #10133 from rgacogne/ddist-cache-shards-purge-expired
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

5 years agodnsdist: Update the ChangeLog and secpoll zone for 1.6.0-alpha2 10140/head
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

5 years agodnsdist: Use modern C++-for loops, as suggested by Otto 10133/head
Remi Gacogne [Wed, 3 Mar 2021 15:14:07 +0000 (16:14 +0100)] 
dnsdist: Use modern C++-for loops, as suggested by Otto

5 years agodnsdist: Remove now unused shard index, we scan every shard anyway
Remi Gacogne [Wed, 3 Mar 2021 13:49:03 +0000 (14:49 +0100)] 
dnsdist: Remove now unused shard index, we scan every shard anyway

5 years agoMerge pull request #10118 from pieterlexis/rec-deprecate-process-no-validate
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`

5 years agoMerge pull request #10139 from rgacogne/ddist-remove-trailing-test-overflow
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

5 years agos/contented/contended
Otto Moerbeek [Wed, 3 Mar 2021 11:42:26 +0000 (12:42 +0100)] 
s/contented/contended

5 years agoMerge pull request #10138 from omoerbeek/format-modules
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

5 years agoextend and fix OutgoingProtobufNoQueriesTest.testA 10118/head
Pieter Lexis [Wed, 3 Mar 2021 11:04:06 +0000 (12:04 +0100)] 
extend and fix OutgoingProtobufNoQueriesTest.testA

5 years agoprotobuf test: fix and expand the OutgoingProtobufDefaultTest.testA test
Pieter Lexis [Wed, 3 Mar 2021 10:33:48 +0000 (11:33 +0100)] 
protobuf test: fix and expand the OutgoingProtobufDefaultTest.testA test

5 years agoprotobuf test: print message and fix a small bug
Pieter Lexis [Wed, 3 Mar 2021 10:33:02 +0000 (11:33 +0100)] 
protobuf test: print message and fix a small bug

5 years agodnsdist: Revert 'Remove the useless separate entries counter from the cache'
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.

5 years agoFormatting fixes in recursordist 10138/head
Otto [Wed, 3 Mar 2021 10:21:10 +0000 (11:21 +0100)] 
Formatting fixes in recursordist

5 years agoLets move to bullseye which has more modern clang-format-11
Otto [Wed, 3 Mar 2021 10:05:55 +0000 (11:05 +0100)] 
Lets move to bullseye which has more modern clang-format-11

5 years agoMerge pull request #10137 from omoerbeek/cpp-warnings
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

5 years agodnsdist: Fix size check during trailing data addition, regression tests 10139/head
Remi Gacogne [Wed, 3 Mar 2021 09:59:11 +0000 (10:59 +0100)] 
dnsdist: Fix size check during trailing data addition, regression tests

5 years agoStart format checks for pdns/modules
Otto [Wed, 3 Mar 2021 09:45:04 +0000 (10:45 +0100)] 
Start format checks for pdns/modules

5 years agodnsdist: Prevent an infinite loop when a cache shard is below the limit
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

5 years agoFix a few unused lambda captures and signed/unsigned warnings 10137/head
Otto [Wed, 3 Mar 2021 08:58:37 +0000 (09:58 +0100)] 
Fix a few unused lambda captures and signed/unsigned warnings

5 years agodnsdist: Make sure the TTD is expired in the cache cleaning unit tests
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.

5 years agoMerge pull request #10131 from rgacogne/ddist-tcp-counters
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

5 years agoMerge pull request #10134 from rgacogne/ddist-fix-loop-copy-warning
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()

5 years agodnsdist: Prevent a copy in DownstreamConnectionsManager::clear() 10134/head
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.

5 years agodnsdist: Use modern C++ loops in the packet cache code
Remi Gacogne [Tue, 2 Mar 2021 17:16:59 +0000 (18:16 +0100)] 
dnsdist: Use modern C++ loops in the packet cache code

5 years agodnsdist: Remove the useless separate entries counter from the cache
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.

5 years agodnsdist: Remove entries from all the packet cache's shards as well
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

5 years agodnsdist: Clean up expired entries from all the packet cache's shards
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.

5 years agoMerge pull request #10132 from omoerbeek/sdig-single-write
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.

5 years agoWrite 2-byte header and request in one write call. 10132/head
Otto [Tue, 2 Mar 2021 15:31:13 +0000 (16:31 +0100)] 
Write 2-byte header and request in one write call.

5 years agodnsdist: Do not update the TCP error counters on idle states 10131/head
Remi Gacogne [Tue, 2 Mar 2021 14:55:04 +0000 (15:55 +0100)] 
dnsdist: Do not update the TCP error counters on idle states

5 years agoMerge pull request #10130 from rgacogne/ddist-src-itf-selection
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

5 years agodnsdist: Remove forgotten warning about source interface selection 10130/head
Remi Gacogne [Tue, 2 Mar 2021 12:51:23 +0000 (13:51 +0100)] 
dnsdist: Remove forgotten warning about source interface selection

5 years agoFix tests
Pieter Lexis [Thu, 25 Feb 2021 12:18:48 +0000 (13:18 +0100)] 
Fix tests