]>
git.ipfire.org Git - thirdparty/pdns.git/log
Matt Nordhoff [Sat, 4 Jun 2022 21:04:06 +0000 (21:04 +0000)]
rec: Fix typos in stats log messages
Remi Gacogne [Fri, 3 Jun 2022 09:39:34 +0000 (11:39 +0200)]
Merge pull request #11668 from rgacogne/ddist-verbose-logging
dnsdist: Optionally send 'verbose' messages to a file, and log them at 'DEBUG' level otherwise
Remi Gacogne [Fri, 3 Jun 2022 08:22:27 +0000 (10:22 +0200)]
Merge pull request #11674 from chbruyand/dnsdist-custom-metrics
dnsdist: add support for user defined metrics
Remi Gacogne [Thu, 2 Jun 2022 15:34:58 +0000 (17:34 +0200)]
Merge pull request #11669 from rgacogne/ddist-log-exit
dnsdist: Log when exiting due to a SIGTERM signal
Remi Gacogne [Thu, 2 Jun 2022 15:34:13 +0000 (17:34 +0200)]
dnsdist: Document that the "debug" log file is currently not rotated
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Remi Gacogne [Thu, 2 Jun 2022 15:10:28 +0000 (17:10 +0200)]
dnsdist: Better wording in setVerboseLogDestination's documentation
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Charles-Henri Bruyand [Thu, 2 Jun 2022 14:59:51 +0000 (16:59 +0200)]
try to appease the spell checker AND the code format checker :)
Remi Gacogne [Thu, 2 Jun 2022 14:38:10 +0000 (16:38 +0200)]
Merge pull request #11673 from rgacogne/ddist-api-backend-protocol
dnsdist: Add the protocol (Do53, DoT, DoH, ...) of backends in the API
Charles-Henri Bruyand [Thu, 2 Jun 2022 14:30:05 +0000 (16:30 +0200)]
dnsdist: also register custom metrics to prometheus
Charles-Henri Bruyand [Thu, 2 Jun 2022 13:48:19 +0000 (15:48 +0200)]
dnsdist: fix custom metrics documentation
Charles-Henri Bruyand [Thu, 2 Jun 2022 13:45:42 +0000 (15:45 +0200)]
dnsdist: log an error when invalid custom metric name is given
Charles-Henri Bruyand [Thu, 2 Jun 2022 13:44:55 +0000 (15:44 +0200)]
dnsdist: avoid multiple lookup
Remi Gacogne [Thu, 2 Jun 2022 10:05:36 +0000 (12:05 +0200)]
dnsdist: Add the protocol (Do53, DoT, DoH, ...) of backends in the API
Otto Moerbeek [Thu, 2 Jun 2022 06:18:15 +0000 (08:18 +0200)]
Merge pull request #11671 from mnordhoff/patch-10
rec: Fix typo in stats log message
Matt Nordhoff [Wed, 1 Jun 2022 21:26:10 +0000 (21:26 +0000)]
rec: Fix typo in stats log message
Remi Gacogne [Wed, 1 Jun 2022 15:21:23 +0000 (17:21 +0200)]
dolog: Handle the non-dnsdist and non-recursor case
Remi Gacogne [Wed, 1 Jun 2022 15:14:14 +0000 (17:14 +0200)]
dnsdist: Log when exiting due to a SIGTERM signal
The recursor already does the same, and it might be useful to understand
why the process was terminated.
Remi Gacogne [Wed, 1 Jun 2022 14:59:04 +0000 (16:59 +0200)]
dnsdist: Add an option to send 'verbose' messages to a log file
Charles-Henri Bruyand [Wed, 1 Jun 2022 08:01:16 +0000 (10:01 +0200)]
dnsdist: add support for user defined metrics
Remi Gacogne [Wed, 1 Jun 2022 14:29:40 +0000 (16:29 +0200)]
dnsdist: Log verbose messages to syslog at 'debug' level, not 'info'
Otto Moerbeek [Wed, 1 Jun 2022 12:08:38 +0000 (14:08 +0200)]
Merge pull request #11661 from omoerbeek/rec-secpoll-44
rec: Update secpoll status for 4.4.8, missed on 4.7.0 release
Otto Moerbeek [Wed, 1 Jun 2022 11:11:24 +0000 (13:11 +0200)]
rec: Update secpoll status for 4.4.8, missed on 4.7.0 release
Remi Gacogne [Wed, 1 Jun 2022 09:06:54 +0000 (11:06 +0200)]
Merge pull request #11656 from chbruyand/dnsdist-cache-cleanup-count
dnsdist: add a counter for the number of cache cleanups
Otto Moerbeek [Wed, 1 Jun 2022 08:10:30 +0000 (10:10 +0200)]
Merge pull request #11654 from omoerbeek/rec-logging-periodic-stats
Rec: structured logging for periodic stats
Peter van Dijk [Tue, 31 May 2022 19:57:47 +0000 (21:57 +0200)]
Merge pull request #11658 from Habbie/protobuf-python-impl
protobuf: use python implementation during tests
Otto Moerbeek [Tue, 31 May 2022 12:57:08 +0000 (14:57 +0200)]
Merge pull request #11655 from omoerbeek/toupper-lower-by-table
Change dns_tolower() and dns_toupper() to use a table
Peter van Dijk [Tue, 31 May 2022 10:13:57 +0000 (12:13 +0200)]
protobuf: use python implementation during tests
Otto Moerbeek [Tue, 31 May 2022 08:34:02 +0000 (10:34 +0200)]
Implemnent dns_tolower() and dns_toupper() by table and fold into dnsname.{cc,hh}
Before:
'BurtleHashCI' 0.10 seconds:
66975796 .8 runs/s, 0.01 usec/run
After:
'BurtleHashCI' 0.10 seconds:
96758136 .6 runs/s, 0.01 usec/run
Otto Moerbeek [Tue, 31 May 2022 08:33:35 +0000 (10:33 +0200)]
Introduce speedtest for case insensitive burtle
Otto Moerbeek [Tue, 31 May 2022 07:30:21 +0000 (09:30 +0200)]
Merge pull request #11642 from omoerbeek/structured-logging2
rec: Structured logging for housekeeping
Otto Moerbeek [Mon, 30 May 2022 13:47:18 +0000 (15:47 +0200)]
Merge pull request #11646 from omoerbeek/rec-prep-4.7.0
Rec: prep 4.7.0
Otto Moerbeek [Mon, 30 May 2022 09:52:32 +0000 (11:52 +0200)]
Tweak: move log level fo SL to Info
Otto Moerbeek [Mon, 30 May 2022 09:06:56 +0000 (11:06 +0200)]
Structured logging for periodic stats, using "official" stat names as key values
Otto Moerbeek [Tue, 24 May 2022 11:47:44 +0000 (13:47 +0200)]
Secpoll and changelog
Peter van Dijk [Fri, 27 May 2022 09:15:01 +0000 (11:15 +0200)]
Merge pull request #11650 from mnordhoff/patch-11
auth: Clarify 4.3.0 upgrade note
Matt Nordhoff [Thu, 26 May 2022 05:45:24 +0000 (05:45 +0000)]
auth: Clarify 4.3.0 upgrade note
It was a little unclear that it doesn't apply to something like 4.2.0-beta2.
Otto Moerbeek [Wed, 25 May 2022 08:31:23 +0000 (10:31 +0200)]
Merge pull request #11644 from omoerbeek/rec-deprecate-xpf-settings
rec: Deprecation warning for XPF settings.
Otto Moerbeek [Wed, 25 May 2022 07:45:08 +0000 (09:45 +0200)]
Deprecation warning for XPF settings.
Plus a tweak in the associated structured logging.
Remi Gacogne [Wed, 25 May 2022 07:46:20 +0000 (09:46 +0200)]
Merge pull request #11643 from rgacogne/ddist-mac-large-buffer
dnsdist: Accept large buffers in getMACAddress()
Remi Gacogne [Tue, 24 May 2022 15:26:29 +0000 (17:26 +0200)]
dnsdist: Accept large buffers in getMACAddress()
Charles-Henri Bruyand [Tue, 24 May 2022 14:59:42 +0000 (16:59 +0200)]
dnsdist: add a statistic for the number of cache cleanups
Otto Moerbeek [Tue, 24 May 2022 13:47:10 +0000 (15:47 +0200)]
Use a name for `const std::shared_ptr<Log::Logger>&`, call it `Logr::log_t`
Otto Moerbeek [Tue, 24 May 2022 10:12:30 +0000 (12:12 +0200)]
Move housekeeping and associated code to strcutured logging
Otto Moerbeek [Tue, 24 May 2022 11:24:21 +0000 (13:24 +0200)]
EOL update for 4.7.0
Remi Gacogne [Tue, 24 May 2022 10:28:02 +0000 (12:28 +0200)]
Merge pull request #11591 from rgacogne/ddist-mac-netlink
dnsdist: Support link-level address retrieval for IPv6 as well
Peter van Dijk [Tue, 24 May 2022 10:05:52 +0000 (12:05 +0200)]
Merge pull request #11639 from Habbie/packages-sdig-dot
auth packaging: add DoT support to sdig
Otto Moerbeek [Tue, 24 May 2022 08:28:46 +0000 (10:28 +0200)]
Merge pull request #11631 from omoerbeek/structured-logging1
rec: use structured logging for startup and config reporting
Peter van Dijk [Tue, 24 May 2022 08:15:20 +0000 (10:15 +0200)]
auth packaging: add DoT support to sdig
Otto Moerbeek [Tue, 24 May 2022 06:51:56 +0000 (08:51 +0200)]
Apply suggestions from code review
Co-authored-by: Charles-Henri Bruyand <charleshenri.bruyand+github@gmail.com>
Remi Gacogne [Mon, 23 May 2022 11:30:47 +0000 (13:30 +0200)]
dnsdist: Proper handling of scope IDs for MAC addresses
Thanks to Peter for the correct check!
Remi Gacogne [Mon, 23 May 2022 11:30:06 +0000 (13:30 +0200)]
dnsdist: Document the return value of getMACAddress()
As suggested by Otto.
Remi Gacogne [Mon, 23 May 2022 11:13:29 +0000 (13:13 +0200)]
dnsdist: Better descripton of getMACAddress() in the documentation
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Mon, 23 May 2022 11:13:17 +0000 (13:13 +0200)]
dnsdist: Better descripton of getMACAddress() in the console help
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Mon, 23 May 2022 11:12:13 +0000 (13:12 +0200)]
Merge pull request #11637 from Habbie/dnsdist-getverbose
dnsdist: add getVerbose() function
Peter van Dijk [Mon, 23 May 2022 10:33:46 +0000 (12:33 +0200)]
Update pdns/dnsdistdist/docs/reference/config.rst
Co-authored-by: Remi Gacogne <github@coredump.fr>
Peter van Dijk [Mon, 23 May 2022 10:10:28 +0000 (12:10 +0200)]
dnsdist: add getVerbose() function
Remi Gacogne [Mon, 23 May 2022 09:16:29 +0000 (11:16 +0200)]
Merge pull request #11606 from rgacogne/ddist-lua-binding-dns-payload
dnsdist: Add Lua bindings to access the DNS payload as a string
Remi Gacogne [Mon, 23 May 2022 09:09:07 +0000 (11:09 +0200)]
dnsdist: Fix typo reported by Peter (thanks!)
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Otto Moerbeek [Mon, 23 May 2022 08:26:07 +0000 (10:26 +0200)]
Merge pull request #11609 from omoerbeek/rec-api-allow-empty
Rec: api allow empty allow-from
Otto Moerbeek [Thu, 19 May 2022 14:08:48 +0000 (16:08 +0200)]
More conversions, startup should be done now
Otto Moerbeek [Thu, 19 May 2022 11:06:57 +0000 (13:06 +0200)]
Try to be smart: if to_string() or toLogString() is there, use it.
Otto Moerbeek [Wed, 18 May 2022 15:38:32 +0000 (17:38 +0200)]
More smart logging of iterables and inline a few methods
Otto Moerbeek [Wed, 18 May 2022 14:32:10 +0000 (16:32 +0200)]
Some more conversions to structured logging
Otto Moerbeek [Wed, 18 May 2022 11:42:27 +0000 (13:42 +0200)]
Tweaks: use name for prio, change some prio's, use setter for arguments
Otto Moerbeek [Wed, 18 May 2022 11:45:39 +0000 (13:45 +0200)]
Merge pull request #11627 from omoerbeek/rec-rpz-dump-docs
Clarify naming of RPZ zones loaded by rpzFile.
Otto Moerbeek [Tue, 17 May 2022 12:37:03 +0000 (14:37 +0200)]
Tsan complained about strftime(), it manulipates locale and/or tz info.
So guard if needed.
Otto Moerbeek [Tue, 17 May 2022 08:43:10 +0000 (10:43 +0200)]
Formatting
Otto Moerbeek [Tue, 17 May 2022 08:13:57 +0000 (10:13 +0200)]
Convert startup and some of config to use structured logging
Otto Moerbeek [Wed, 4 May 2022 08:57:45 +0000 (10:57 +0200)]
Tweaks wrt explicit priority.
It should be made less easy to make mistakes here.
Otto Moerbeek [Wed, 4 May 2022 08:25:49 +0000 (10:25 +0200)]
Reorg to be able to use structured logging in shared files.
Using arguments.cc as a test-case.
Otto Moerbeek [Wed, 18 May 2022 09:55:49 +0000 (11:55 +0200)]
Merge pull request #11626 from omoerbeek/zonemd-zap-binary-function
Zap binary function, not needed and deprecated in c++11, removed in c++17
Otto Moerbeek [Wed, 18 May 2022 09:29:13 +0000 (11:29 +0200)]
Clarify naming of RPZ zones loaded by rpzFile.
Also
- don't include local refs, they end up wrong in the man page. Replace them by URLs.
- add links to general docs on both maual pages.
Otto Moerbeek [Tue, 17 May 2022 15:57:28 +0000 (17:57 +0200)]
Zap binary function, not needed and deprecated in c++11, removed in c++17
Remi Gacogne [Tue, 17 May 2022 07:43:04 +0000 (09:43 +0200)]
Merge pull request #11620 from Y7n05h/fix11619
dnsdist: remove implicit type conversion
Remi Gacogne [Tue, 17 May 2022 07:42:14 +0000 (09:42 +0200)]
Merge pull request #11621 from rgacogne/ddist-fix-proxyprotocol-tc-doh+ddist-fix-proxyprotocol-tc-doh
dnsdist: Fix a crash on a invalid protocol in DoH forwarded-for header
Remi Gacogne [Wed, 11 May 2022 15:58:31 +0000 (17:58 +0200)]
dnsdist: Test for an exception raised when adding proxy protocol payload to a DoH query
Remi Gacogne [Tue, 10 May 2022 20:26:21 +0000 (22:26 +0200)]
dnsdist: Fix a crash on a invalid protocol in DoH forwarded-for header
(cherry picked from commit
f84fbd58b150fe6b69a7af27e23502f58f68eee5 )
Remi Gacogne [Mon, 16 May 2022 09:47:25 +0000 (11:47 +0200)]
Merge pull request #11604 from rgacogne/ddist-fix-proxyprotocol-tc-doh
dnsdist: Fix invalid proxy protocol payload on a DoH TC to TCP retry
Otto Moerbeek [Mon, 16 May 2022 05:28:40 +0000 (07:28 +0200)]
Merge pull request #11614 from xorander00/docs-loglevel-fix
Changed loglevel wording to be more accurate for both recursor and au…
Otto Moerbeek [Mon, 16 May 2022 05:02:51 +0000 (07:02 +0200)]
Merge pull request #11607 from rgacogne/rec-doc-missing-dq-attributes
rec: Document a few missing DNSQuestion attributes
Y7n05h [Thu, 12 May 2022 02:44:22 +0000 (10:44 +0800)]
dnsdist: remove implicit type conversion (fix: #11619 )
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
Peeyush Singh [Mon, 9 May 2022 10:32:34 +0000 (06:32 -0400)]
Changed loglevel wording to be more accurate for both recursor and authoritative.
Otto Moerbeek [Fri, 6 May 2022 09:54:23 +0000 (11:54 +0200)]
Document meaning of empty allow-from
Otto Moerbeek [Fri, 6 May 2022 09:22:17 +0000 (11:22 +0200)]
Merge pull request #11605 from omoerbeek/rec-prep-4.7.0-rc1
Prep for rec-4.7.0-rc1
Remi Gacogne [Thu, 5 May 2022 15:39:00 +0000 (17:39 +0200)]
rec: Document a few missing DNSQuestion attributes
Remi Gacogne [Thu, 5 May 2022 14:20:07 +0000 (16:20 +0200)]
dnsdist: Add Lua bindings to access the DNS payload as a string
Remi Gacogne [Thu, 5 May 2022 12:04:10 +0000 (14:04 +0200)]
Merge pull request #11602 from rgacogne/ddist-missing-prometheus-descriptions
dnsdist: Add missing descriptions for prometheus metrics
Remi Gacogne [Thu, 5 May 2022 11:33:01 +0000 (13:33 +0200)]
Merge pull request #11603 from rgacogne/ddist-upgrade-guide-formatting
dnsdist: Fix formatting issues in the upgrade guide
Otto Moerbeek [Thu, 5 May 2022 08:19:47 +0000 (10:19 +0200)]
Add tests for empty allow-from and allow-notify-from case
Otto Moerbeek [Thu, 5 May 2022 08:04:20 +0000 (10:04 +0200)]
Fix API issue when asking config values for allow-from or allow-notify-from
Otto Moerbeek [Thu, 5 May 2022 07:10:37 +0000 (09:10 +0200)]
Prep for rec-4.7.0-rc1
Remi Gacogne [Wed, 4 May 2022 16:38:22 +0000 (18:38 +0200)]
dnsdist: Fix invalid proxy protocol payload on a DoH TC to TCP retry
dnsdist forwards incoming DoH queries to its backend over UDP, and
retry over TCP if the response is truncated (TC=1).
When the proxy protocol is used between dnsdist and its backend, the
second query, over TCP, needs to take into account that the proxy
protocol payload has already been handled. This was not properly done
in that exact case because the proxy protocol payload length was not
propagated to the code handling the TCP communication, leading to
the query ID being edited at the wrong offset in the packet and thus
to an invalid proxy protocol payload.
Peter van Dijk [Wed, 4 May 2022 12:47:10 +0000 (14:47 +0200)]
Merge pull request #11592 from omoerbeek/auth-test-incomplete-xfr
Auth: fix race in incomplete xfr test
Remi Gacogne [Wed, 4 May 2022 08:50:31 +0000 (10:50 +0200)]
dnsdist: Fix formatting issues in the upgrade guide
Remi Gacogne [Wed, 4 May 2022 08:48:56 +0000 (10:48 +0200)]
dnsdist: Add missing descriptions for prometheus metrics
Remi Gacogne [Tue, 3 May 2022 15:20:19 +0000 (17:20 +0200)]
Merge pull request #11567 from rgacogne/ddist-set-verbose
dnsdist: Add setVerbose() to switch the verbose mode at runtime
Remi Gacogne [Tue, 3 May 2022 10:16:46 +0000 (12:16 +0200)]
dnsdist: Add a 'getMACAdress(ip)' Lua binding
Remi Gacogne [Tue, 3 May 2022 10:15:57 +0000 (12:15 +0200)]
dnsdist: Hopefully prevent a CodeQL warning in the netlink code
Otto Moerbeek [Mon, 2 May 2022 10:54:12 +0000 (12:54 +0200)]
Merge pull request #11598 from omoerbeek/rec-shared-throttlemap
Rec: shared throttle map
Otto Moerbeek [Mon, 2 May 2022 10:32:15 +0000 (12:32 +0200)]
Merge pull request #11599 from omoerbeek/auth-coverity-
1488422
auth: Tweak for Coverity
1488422