]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Wed, 15 Mar 2023 10:01:46 +0000 (11:01 +0100)]
dnsdist: Update the backend discovery tests
The output of `showServers()` has been modified, and these tests
parse it to know whether a backend has been correctly upgraded.
Charles-Henri Bruyand [Tue, 14 Mar 2023 17:40:38 +0000 (18:40 +0100)]
dnsdist: report distinct udp and tcp latencies both in the console and the builtin webserver
Remi Gacogne [Tue, 14 Mar 2023 09:22:14 +0000 (10:22 +0100)]
dnsdist: Report the TCP latency for TCP-only Do53, DoT and DoH backends
Since 1.8.0 we separately record the latency for queries forwarded
over UDP and TCP, to get a better picture of what is going on.
It means we have to be careful to pick the relevant one when looking
at the latency.
Remi Gacogne [Thu, 9 Mar 2023 18:23:22 +0000 (19:23 +0100)]
Merge pull request #12635 from jsoref/github-actions-follow-major
GitHub actions follow major
Josh Soref [Thu, 9 Mar 2023 15:47:41 +0000 (10:47 -0500)]
Use actions/cache@v3
Josh Soref [Thu, 9 Mar 2023 15:47:03 +0000 (10:47 -0500)]
Use actions/checkout@v3
Peter van Dijk [Thu, 9 Mar 2023 12:56:56 +0000 (13:56 +0100)]
Merge pull request #12631 from zeha/nudgesystemctl
Steer Linux users towards the supported service manager
Peter van Dijk [Thu, 9 Mar 2023 12:40:21 +0000 (13:40 +0100)]
Merge pull request #12632 from zeha/tsanspell
spelling: re-add "TSAN" to expect.txt
Chris Hofstaedtler [Thu, 9 Mar 2023 11:45:37 +0000 (12:45 +0100)]
Steer Linux users towards the supported service manager
Chris Hofstaedtler [Thu, 9 Mar 2023 11:54:12 +0000 (12:54 +0100)]
spelling: re-add "TSAN" to expect.txt
Remi Gacogne [Thu, 9 Mar 2023 09:01:29 +0000 (10:01 +0100)]
Merge pull request #12624 from rgacogne/ddist-1.8.0-rc2-changelog-secpoll
dnsdist: ChangeLog and secpoll update for 1.8.0-rc2
Peter van Dijk [Thu, 9 Mar 2023 08:47:35 +0000 (09:47 +0100)]
Merge pull request #12406 from mind04/auth-catalog-members
auth: pdnsutil, implement list-member-zones
Peter van Dijk [Wed, 8 Mar 2023 13:52:55 +0000 (14:52 +0100)]
Merge pull request #12249 from jsoref/master-spelling-v0.0.21
Upgrade check-spelling to v0.0.21
Peter van Dijk [Wed, 8 Mar 2023 13:47:19 +0000 (14:47 +0100)]
fix a typo, tweak expect.txt
Peter van Dijk [Wed, 8 Mar 2023 13:43:59 +0000 (14:43 +0100)]
Merge pull request #12349 from Habbie/auth-lua-hex
auth LUA: accept more hex formats in createForward[6]
Peter van Dijk [Wed, 8 Mar 2023 13:42:25 +0000 (14:42 +0100)]
Merge pull request #12331 from v1shnya/master
auth: fix ColumnSize argument in SQLBindParameter #12324
Josh Soref [Wed, 7 Dec 2022 15:42:14 +0000 (10:42 -0500)]
Add hmac pattern
Josh Soref [Tue, 6 Dec 2022 19:14:02 +0000 (14:14 -0500)]
Document permissions grants
Josh Soref [Mon, 14 Nov 2022 18:21:32 +0000 (13:21 -0500)]
Switch from pull_request_target to pull_request
At this point, most things do not care.
The main change here will be that spell checking will not check a PR if there are conflicts
Josh Soref [Tue, 6 Dec 2022 15:58:42 +0000 (10:58 -0500)]
Limit sarif to PRs from same repo
Josh Soref [Mon, 14 Nov 2022 18:20:35 +0000 (13:20 -0500)]
Drop comments in favor of job summaries
As we are no longer commenting, there will not be any confusion
between the two comments, and thus there is no real benefit in
skipping the check run for the push. At most a user will get two
failed runs instead of one.
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Sun, 6 Nov 2022 02:17:50 +0000 (22:17 -0400)]
Apply candidates
Josh Soref [Sun, 6 Nov 2022 02:03:24 +0000 (22:03 -0400)]
Refresh check-spelling metadata
Josh Soref [Sun, 7 Aug 2022 20:44:08 +0000 (16:44 -0400)]
Add dictionaries
Josh Soref [Tue, 29 Nov 2022 12:49:26 +0000 (07:49 -0500)]
gh actions: add dummy spelling workflow so we can prevent old versions from running
Josh Soref [Fri, 22 Jul 2022 09:07:12 +0000 (05:07 -0400)]
Upgrade check-spelling to v0.0.21
Using check-spelling/spell-check-this@main
https://github.com/check-spelling/spell-check-this/commit/
7adef917a33f6b1032e7f8c617b5e71cefd6f101
---
Expect isn't being updated by this commit in order to enable the
previous version of check-spelling to report it's happy before it rides
off into the sunset.
The next person to trigger an update to expect will have the chance to
remove the stale items.
Josh Soref [Mon, 23 May 2022 01:59:19 +0000 (21:59 -0400)]
spelling: will
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Josh Soref [Mon, 23 May 2022 02:07:14 +0000 (22:07 -0400)]
spelling: when
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Josh Soref [Mon, 23 May 2022 01:57:50 +0000 (21:57 -0400)]
spelling: the
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Josh Soref [Mon, 23 May 2022 01:57:39 +0000 (21:57 -0400)]
spelling: really
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Josh Soref [Mon, 23 May 2022 01:55:26 +0000 (21:55 -0400)]
spelling: other
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Josh Soref [Fri, 22 Jul 2022 05:54:46 +0000 (01:54 -0400)]
spelling: nonexistent
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Mon, 23 May 2022 02:00:56 +0000 (22:00 -0400)]
spelling: javascript
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Josh Soref [Mon, 23 May 2022 01:59:05 +0000 (21:59 -0400)]
spelling: has
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Josh Soref [Mon, 23 May 2022 02:04:02 +0000 (22:04 -0400)]
spelling: github
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Josh Soref [Tue, 29 Nov 2022 13:38:23 +0000 (08:38 -0500)]
spelling: explicitly
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Mon, 23 May 2022 01:59:37 +0000 (21:59 -0400)]
spelling: every
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Josh Soref [Mon, 23 May 2022 02:01:30 +0000 (22:01 -0400)]
spelling: dependent
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Josh Soref [Mon, 23 May 2022 01:59:11 +0000 (21:59 -0400)]
spelling: been
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Josh Soref [Mon, 23 May 2022 01:59:46 +0000 (21:59 -0400)]
spelling: and
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Peter van Dijk [Wed, 8 Mar 2023 13:25:55 +0000 (14:25 +0100)]
update completions
Peter van Dijk [Wed, 8 Mar 2023 13:10:39 +0000 (14:10 +0100)]
Merge pull request #12580 from PowerDNS/dependabot/github_actions/actions/cache-3.2.6
build(deps): bump actions/cache from 3.2.5 to 3.2.6
Peter van Dijk [Wed, 8 Mar 2023 13:10:02 +0000 (14:10 +0100)]
Merge pull request #12604 from jsoref/docs-pdnsutil
docs: pdnsutil
Peter van Dijk [Wed, 8 Mar 2023 13:03:35 +0000 (14:03 +0100)]
Merge pull request #12625 from rgacogne/add-xdp-tsan-spell
Allow xdp and TSAN in our spell-checker
Remi Gacogne [Wed, 8 Mar 2023 09:12:03 +0000 (10:12 +0100)]
Merge pull request #12615 from rgacogne/ddist-protobuf-device-id-name
dnsdist: Add Lua bindings for PB requestorID, deviceName and deviceID
Remi Gacogne [Tue, 7 Mar 2023 10:10:44 +0000 (11:10 +0100)]
Allow xdp and TSAN in our spell-checker
Remi Gacogne [Tue, 7 Mar 2023 09:05:08 +0000 (10:05 +0100)]
dnsdist: ChangeLog and secpoll update for 1.8.0-rc2
Otto Moerbeek [Tue, 7 Mar 2023 09:29:03 +0000 (10:29 +0100)]
Merge pull request #12620 from omoerbeek/rec-prep-4.8.3
rec: Prep for rec-4.8.3
Otto Moerbeek [Mon, 6 Mar 2023 12:40:54 +0000 (13:40 +0100)]
Merge pull request #12614 from omoerbeek/rec-test-serve-stale-immservfailex
rec: test that an ImmediateServFailException isn't hidden by the serve-stale logic
Otto Moerbeek [Fri, 3 Mar 2023 13:10:54 +0000 (14:10 +0100)]
Prep for rec-4.8.3
Otto Moerbeek [Fri, 3 Mar 2023 14:24:58 +0000 (15:24 +0100)]
Rec: test that an ImmediateServFailException isn't hidden by the serve-stale logic
Remi Gacogne [Fri, 3 Mar 2023 15:36:06 +0000 (16:36 +0100)]
dnsdist: Add Lua bindings for PB requestorID, deviceName and deviceID
Otto Moerbeek [Fri, 3 Mar 2023 11:52:28 +0000 (12:52 +0100)]
Merge pull request #12611 from omoerbeek/rec-negcache-serve-stale-logic
rec: Fix serve-stale logic in negcache by following the record cache case more closely
Otto Moerbeek [Fri, 3 Mar 2023 11:52:16 +0000 (12:52 +0100)]
Merge pull request #12610 from omoerbeek/rec-fix-server-stale-loop
rec: Fix serve-stale loop logic
Otto Moerbeek [Fri, 3 Mar 2023 11:08:35 +0000 (12:08 +0100)]
Reinstate refresh && served-stale logic
Otto Moerbeek [Fri, 3 Mar 2023 08:55:59 +0000 (09:55 +0100)]
rec: Fix serve-stale logic in negcache by following the record cache case more closely
Otto Moerbeek [Fri, 3 Mar 2023 08:44:06 +0000 (09:44 +0100)]
Fix serve-stale loop logic.
There are several issues here: we do not want to retry on an exception
ever as an exception indicates a final failure. e.g. a resolution
timeout for the whole query. Recursing in that state will generate
an exception storm. Individual timeouts of contacting a nameserver
do not generate an exception. Also, we do not want to recurse if
the cache lookup for stale records did not produce anything in the
second iteration, we know it's probably going to be fatal and it
requires (portentially) a lot of work to find out.
This solves CPU pegging seen.
Josh Soref [Wed, 1 Mar 2023 14:07:13 +0000 (09:07 -0500)]
docs: pdnsutil
- remove stray `:`
- harmonize `...`
Remi Gacogne [Wed, 1 Mar 2023 09:17:29 +0000 (10:17 +0100)]
Merge pull request #12598 from rgacogne/rec-update-validation-state-missing-negative-indication
rec: Update validation state after a missing negative indication
Otto Moerbeek [Tue, 28 Feb 2023 10:41:40 +0000 (11:41 +0100)]
Merge pull request #12595 from omoerbeek/rec-serve-stale-wipe
rec: Call the right wipe function for negcache in the serve-stale case
Otto Moerbeek [Tue, 28 Feb 2023 09:50:50 +0000 (10:50 +0100)]
Call the right wipe function for negcache in the serve-stale case
This is a reason serve-stale is causing an intermittent high CPU
load: the wipe function actually called was deleting a (potentially
large) subtree of the negcache on all shards.
Remi Gacogne [Mon, 27 Feb 2023 14:37:36 +0000 (15:37 +0100)]
Merge pull request #12593 from rgacogne/clean-up-m4
m4: Clean up the fortify and LTO m4 by not directly editing flags
Remi Gacogne [Mon, 27 Feb 2023 12:58:34 +0000 (13:58 +0100)]
Merge pull request #12592 from rgacogne/ddist-servfail-metric
dnsdist: Only increment the 'servfail-responses' metric on backend responses
Remi Gacogne [Mon, 27 Feb 2023 11:21:48 +0000 (12:21 +0100)]
m4: Clean up the fortify and LTO m4 by not directly editing flags
Remi Gacogne [Mon, 27 Feb 2023 10:39:02 +0000 (11:39 +0100)]
Merge pull request #12586 from rgacogne/ddist-harvest-dest-addr
dnsdist: Fix the harvesting of destination addresses
Remi Gacogne [Mon, 27 Feb 2023 09:58:38 +0000 (10:58 +0100)]
dnsdist: Only increment the 'servfail-responses' metric on backend responses
Reported by phonedph1 (many thanks!).
Remi Gacogne [Mon, 27 Feb 2023 09:23:06 +0000 (10:23 +0100)]
Merge pull request #12589 from rgacogne/yahttp-cxx11-detection
YaHTTP: Better detection of whether C++11 features are available
Remi Gacogne [Fri, 24 Feb 2023 16:44:34 +0000 (17:44 +0100)]
Merge pull request #12588 from AdamMajer/doh_compilation_fix
dnsdist-protobuf: fix compilation with DoH disabled
Remi Gacogne [Fri, 24 Feb 2023 16:35:53 +0000 (17:35 +0100)]
yahttp: Better detection of whether C++11 features are available
The previous version relied on having `HAVE_CXX11` defined, which
is not true when you are compiling with C++17, for example, even
though the C++11 features are available (`HAVE_CXX17` is defined
but that does not help).
Adam Majer [Fri, 24 Feb 2023 15:46:23 +0000 (16:46 +0100)]
dnsdist-protobuf: fix compilation with DoH disabled
Remi Gacogne [Fri, 24 Feb 2023 14:28:52 +0000 (15:28 +0100)]
Merge pull request #12585 from romeroalx/repo-odbc-cleanup
Avoid Microsoft repo for ODBC packages. Step 3 of 3: cleanup manual installation of ODBC packages
Remi Gacogne [Fri, 24 Feb 2023 14:25:01 +0000 (15:25 +0100)]
dnsdist: Only fall back origDest, not hopLocal, to the frontend's address
Remi Gacogne [Fri, 24 Feb 2023 14:14:43 +0000 (15:14 +0100)]
Merge pull request #12587 from rgacogne/ddist-no-tsan-signal-warning
dnsdist: Skip signal-unsafe logging when we are about to exit, with TSAN
Remi Gacogne [Fri, 24 Feb 2023 11:08:27 +0000 (12:08 +0100)]
dnsdist: Skip signal-unsafe logging when we are about to exit, with TSAN
TSAN is rightfully unhappy about this:
```
WARNING: ThreadSanitizer: signal-unsafe call inside of a signal
```
This is not a real problem for us, as the worst case is that
we crash trying to exit, but let's try to avoid the warnings
in our tests.
Remi Gacogne [Fri, 24 Feb 2023 10:30:44 +0000 (11:30 +0100)]
dnsdist: Fix the harvesting of destination addresses
The original destination was not properly updated: 'hopLocal' contains
the destination address of the packet we received, and matches 'origDest'
unless the proxy protocol is used, in which case 'origDest' will be
updated by the 'real' destination address as seen by the client and
the first hop.
Reported by phonedph1 (many thanks!).
Alexis Romero [Fri, 24 Feb 2023 10:24:26 +0000 (11:24 +0100)]
Avoid Microsoft repo for ODBC. Step 3: unixodbc install cleanup
Otto Moerbeek [Fri, 24 Feb 2023 10:15:55 +0000 (11:15 +0100)]
Merge pull request #12584 from omoerbeek/auth-include-crypto
auth: Add flags to find libssl includes to two modules needing them
Otto Moerbeek [Fri, 24 Feb 2023 09:08:31 +0000 (10:08 +0100)]
Add flags to find libssl includes to two modules needing them
Remi Gacogne [Fri, 24 Feb 2023 08:57:44 +0000 (09:57 +0100)]
Merge pull request #12582 from hlindqvist/dnsdist-svcb-dohpath-key7
Use key7 for dohpath in SVCB examples in dnsdist
Håkan Lindqvist [Thu, 23 Feb 2023 20:58:48 +0000 (21:58 +0100)]
Use key7 for dohpath in SVCB examples in dnsdist
As per the IANA registry, 7 is the id assigned for the dohpath SVCB
parameter: https://www.iana.org/assignments/dns-svcb/dns-svcb.xhtml
dependabot[bot] [Thu, 23 Feb 2023 16:05:20 +0000 (16:05 +0000)]
build(deps): bump actions/cache from 3.2.5 to 3.2.6
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.5 to 3.2.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.2.5...v3.2.6)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Remi Gacogne [Thu, 23 Feb 2023 15:40:12 +0000 (16:40 +0100)]
Merge pull request #12577 from romeroalx/repo-odbc-codeql-allow-downgrades
Avoid Microsoft repo for ODBC packages. Step 1b: codeql - allow apt downgrades
Remi Gacogne [Thu, 23 Feb 2023 15:39:10 +0000 (16:39 +0100)]
Merge pull request #12578 from aerique/feature/add-dnsdist-18-to-repo-script
Add dnsdist-18 to repo test script.
Remi Gacogne [Thu, 23 Feb 2023 10:21:21 +0000 (11:21 +0100)]
Merge pull request #12576 from rgacogne/ddist-180-rc1-secpoll-2
dnsdist: The security status for 1.8.0-rc1 should be 1, not 3
Erik Winkels [Thu, 23 Feb 2023 10:08:06 +0000 (11:08 +0100)]
Add dnsdist-18 to repo test script.
Alexis Romero [Thu, 23 Feb 2023 10:03:30 +0000 (11:03 +0100)]
Avoid Microsoft repo for ODBC. Step 1: codeql allow apt downgrades
Remi Gacogne [Thu, 23 Feb 2023 09:57:49 +0000 (10:57 +0100)]
dnsdist: Actually, 1 is even better than 2 for pre-releases
Remi Gacogne [Thu, 23 Feb 2023 09:52:41 +0000 (10:52 +0100)]
dnsdist: The security status for 1.8.0-rc1 should be 2, not 3
Which means Update recommended instead of mandatory. Neither are nice,
so perhaps we need a different level for pre-releases?
Fred Morcos [Thu, 23 Feb 2023 09:43:49 +0000 (10:43 +0100)]
Merge pull request #12550 from fredmorcos/openssl3-pkcs11-signers
OpenSSL 3.0: PKCS11 signers
Remi Gacogne [Thu, 23 Feb 2023 09:09:38 +0000 (10:09 +0100)]
Merge pull request #12575 from rgacogne/ddist-180-rc1
dnsdist: ChangeLog and secpoll update for 1.8.0-rc1
Remi Gacogne [Wed, 15 Feb 2023 14:22:01 +0000 (15:22 +0100)]
spell-check: Allow new names and technical terms
Remi Gacogne [Wed, 15 Feb 2023 13:57:37 +0000 (14:57 +0100)]
dnsdist: ChangeLog and secpoll update for 1.8.0-rc1
romeroalx [Wed, 22 Feb 2023 12:58:13 +0000 (13:58 +0100)]
Merge pull request #12573 from romeroalx/repo-odbc-apt-allow-downgrades
Avoid Microsoft repo for ODBC packages. Step 1 of 3: allow apt downgrades
Fred Morcos [Wed, 15 Feb 2023 10:18:22 +0000 (11:18 +0100)]
OpenSSL 3.0: PKCS11 signer
Fred Morcos [Wed, 22 Feb 2023 11:49:27 +0000 (12:49 +0100)]
PKCS11 Signer: Fix buffer overflow
Alexis Romero [Wed, 22 Feb 2023 10:48:28 +0000 (11:48 +0100)]
Avoid Microsoft repo for ODBC. Step 1: allow apt downgrades
Fred Morcos [Wed, 15 Feb 2023 09:42:49 +0000 (10:42 +0100)]
pkcs11signers cleanup
Peter van Dijk [Wed, 22 Feb 2023 09:30:02 +0000 (10:30 +0100)]
Merge pull request #12555 from romeroalx/gh-auth-ldap-geoip
GH Actions: added ldap and geoip-mmdb tests. Removed from CircleCI.
Remi Gacogne [Wed, 22 Feb 2023 09:26:53 +0000 (10:26 +0100)]
rec: Update validation state after a missing negative indication
Remi Gacogne [Wed, 22 Feb 2023 08:37:27 +0000 (09:37 +0100)]
Merge pull request #12561 from rgacogne/ddist-test-protobuf-doh-tags-all-protocols
dnsdist: Ensure we have at least one protobuf MetaValue