]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
4 years agoTweaks to make exception reporting more uniform
Otto Moerbeek [Fri, 3 Jun 2022 11:38:32 +0000 (13:38 +0200)] 
Tweaks to make exception reporting more uniform

4 years agoMerge pull request #11668 from rgacogne/ddist-verbose-logging
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

4 years agoMove RPZ, dnstap and protobuf subsystems to structured logging,
Otto Moerbeek [Wed, 1 Jun 2022 14:34:10 +0000 (16:34 +0200)] 
Move RPZ, dnstap and protobuf subsystems  to structured logging,

Plus a few remaining cases for startup abnd config.

4 years agoMultiple toString() calls -> once call. 11672/head
Otto Moerbeek [Fri, 3 Jun 2022 09:14:41 +0000 (11:14 +0200)] 
Multiple toString() calls -> once call.

4 years agoMerge pull request #11674 from chbruyand/dnsdist-custom-metrics
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

4 years agoMerge pull request #11669 from rgacogne/ddist-log-exit
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

4 years agodnsdist: Document that the "debug" log file is currently not rotated 11668/head
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>
4 years agodnsdist: Better wording in setVerboseLogDestination's documentation
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>
4 years agotry to appease the spell checker AND the code format checker :) 11674/head
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 :)

4 years agoMerge pull request #11673 from rgacogne/ddist-api-backend-protocol
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

4 years agodnsdist: also register custom metrics to prometheus
Charles-Henri Bruyand [Thu, 2 Jun 2022 14:30:05 +0000 (16:30 +0200)] 
dnsdist: also register custom metrics to prometheus

4 years agodnsdist: fix custom metrics documentation
Charles-Henri Bruyand [Thu, 2 Jun 2022 13:48:19 +0000 (15:48 +0200)] 
dnsdist: fix custom metrics documentation

4 years agodnsdist: log an error when invalid custom metric name is given
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

4 years agodnsdist: avoid multiple lookup
Charles-Henri Bruyand [Thu, 2 Jun 2022 13:44:55 +0000 (15:44 +0200)] 
dnsdist: avoid multiple lookup

4 years agodnsdist: Add the protocol (Do53, DoT, DoH, ...) of backends in the API 11673/head
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

4 years agoMerge pull request #11671 from mnordhoff/patch-10
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

4 years agorec: make rec zone files with trailing dot
phonedph1 [Wed, 1 Jun 2022 21:42:28 +0000 (15:42 -0600)] 
rec: make rec zone files with trailing dot

4 years agorec: Fix typo in stats log message 11671/head
Matt Nordhoff [Wed, 1 Jun 2022 21:26:10 +0000 (21:26 +0000)] 
rec: Fix typo in stats log message

4 years agodolog: Handle the non-dnsdist and non-recursor case
Remi Gacogne [Wed, 1 Jun 2022 15:21:23 +0000 (17:21 +0200)] 
dolog: Handle the non-dnsdist and non-recursor case

4 years agodnsdist: Log when exiting due to a SIGTERM signal 11669/head
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.

4 years agodnsdist: Add an option to send 'verbose' messages to a log file
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

4 years agodnsdist: add support for user defined metrics
Charles-Henri Bruyand [Wed, 1 Jun 2022 08:01:16 +0000 (10:01 +0200)] 
dnsdist: add support for user defined metrics

4 years agodnsdist: Log verbose messages to syslog at 'debug' level, not 'info'
Remi Gacogne [Wed, 1 Jun 2022 14:29:40 +0000 (16:29 +0200)] 
dnsdist: Log verbose messages to syslog at 'debug' level, not 'info'

4 years agodnsname: Cast to uint8_t, not unsigned char, in RawLabelsVisitor ctor 11624/head
Remi Gacogne [Wed, 1 Jun 2022 12:36:42 +0000 (14:36 +0200)] 
dnsname: Cast to uint8_t, not unsigned char, in RawLabelsVisitor ctor

4 years agoMerge pull request #11661 from omoerbeek/rec-secpoll-44
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

4 years agorec: Update secpoll status for 4.4.8, missed on 4.7.0 release 11661/head
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

4 years agoSuffixMatchTree: Fix compilation on old libstdc++
Remi Gacogne [Fri, 20 May 2022 10:00:09 +0000 (12:00 +0200)] 
SuffixMatchTree: Fix compilation on old libstdc++

Move the < operator definition before the set one, so that old versions
of libstdc++ do not mistakenly refuse to compile:
```
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/map:60:
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/stl_tree.h:452:7: error: static_assert failed due to requirement 'std::__is_invocable<std::less<void> &, const SuffixMatchTree<bool> &, const SuffixMatchTree<bool> &>{}' "comparison object must be invocable with two arguments of key type"
      static_assert(__is_invocable<_Compare&, const _Key&, const _Key&>{},
      ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/stl_set.h:133:17: note: in instantiation of template class 'std::_Rb_tree<SuffixMatchTree<bool>, SuffixMatchTree<bool>, std::_Identity<SuffixMatchTree<bool> >, std::less<void>, std::allocator<SuffixMatchTree<bool> > >' requested here
      _Rep_type _M_t;  // Red-black tree representing set.
                ^
../../pdns/dnsname.hh:306:50: note: in instantiation of template class 'std::set<SuffixMatchTree<bool>, std::less<void>, std::allocator<SuffixMatchTree<bool> > >' requested here
  mutable std::set<SuffixMatchTree, std::less<>> children;
                                                 ^
../../pdns/dnsname.hh:497:27: note: in instantiation of template class 'SuffixMatchTree<bool>' requested here
    SuffixMatchTree<bool> d_tree;
                          ^
```
Sseen with clang8 on Buster, but see also
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85965

4 years agoSuffixMatchTree: Avoid cloning labels during lookups
Remi Gacogne [Thu, 12 May 2022 09:37:20 +0000 (11:37 +0200)] 
SuffixMatchTree: Avoid cloning labels during lookups

4 years agoImplement a zero-allocation, zero-copy visitor for DNSName raw labels
Remi Gacogne [Thu, 5 May 2022 16:49:34 +0000 (18:49 +0200)] 
Implement a zero-allocation, zero-copy visitor for DNSName raw labels

4 years agoZap a redundant var 11613/head
Otto Moerbeek [Mon, 9 May 2022 07:37:47 +0000 (09:37 +0200)] 
Zap a redundant var

4 years agoAdd a comment wrt hashing the header
Otto Moerbeek [Mon, 9 May 2022 06:43:07 +0000 (08:43 +0200)] 
Add a comment wrt hashing the header

4 years agomake burtlemix an (inline) function
Otto Moerbeek [Fri, 6 May 2022 17:54:08 +0000 (19:54 +0200)] 
make burtlemix an (inline) function

4 years agoSmarter hashing of header and query
Otto Moerbeek [Fri, 6 May 2022 15:54:41 +0000 (17:54 +0200)] 
Smarter hashing of header and query

4 years agoreformat
Otto Moerbeek [Fri, 6 May 2022 12:26:30 +0000 (14:26 +0200)] 
reformat

4 years agoburtle reorg: to separate file and inline
Otto Moerbeek [Fri, 6 May 2022 12:25:39 +0000 (14:25 +0200)] 
burtle reorg: to separate file and inline

4 years agoMerge pull request #11656 from chbruyand/dnsdist-cache-cleanup-count
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

4 years agoModify journal availability test.
Otto Moerbeek [Wed, 1 Jun 2022 08:46:19 +0000 (10:46 +0200)] 
Modify journal availability test.

To both test for NOTIFY_SOCKET (to see if we're runnign underst systemd)
and availbility of the journal socket (to see if systemd-journal is
active)

4 years agoUse systemd-journal for structured logging if it is available
Otto Moerbeek [Tue, 31 May 2022 12:56:16 +0000 (14:56 +0200)] 
Use systemd-journal for structured logging if it is available

4 years agoMerge pull request #11654 from omoerbeek/rec-logging-periodic-stats
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

4 years agoMerge pull request #11658 from Habbie/protobuf-python-impl
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

4 years agoMerge pull request #11655 from omoerbeek/toupper-lower-by-table
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

4 years agoprotobuf: use python implementation during tests 11658/head
Peter van Dijk [Tue, 31 May 2022 10:13:57 +0000 (12:13 +0200)] 
protobuf: use python implementation during tests

4 years agoSomewhat more info in housekeeping and directResolve 11662/head
Otto Moerbeek [Tue, 31 May 2022 09:17:01 +0000 (11:17 +0200)] 
Somewhat more info in housekeeping and directResolve

4 years agoImplemnent dns_tolower() and dns_toupper() by table and fold into dnsname.{cc,hh} 11655/head
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

4 years agoIntroduce speedtest for case insensitive burtle
Otto Moerbeek [Tue, 31 May 2022 08:33:35 +0000 (10:33 +0200)] 
Introduce speedtest for case insensitive burtle

4 years agoStructured logging for dns64 and simliar functions using directResolve()
Otto Moerbeek [Mon, 30 May 2022 14:57:26 +0000 (16:57 +0200)] 
Structured logging for dns64 and simliar functions using directResolve()

4 years agoMerge pull request #11642 from omoerbeek/structured-logging2
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

4 years agoMerge pull request #11646 from omoerbeek/rec-prep-4.7.0
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

4 years agoTweak: move log level fo SL to Info 11654/head
Otto Moerbeek [Mon, 30 May 2022 09:52:32 +0000 (11:52 +0200)] 
Tweak: move log level fo SL to Info

4 years agoStructured logging for periodic stats, using "official" stat names as key values
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

4 years agoSecpoll and changelog 11646/head
Otto Moerbeek [Tue, 24 May 2022 11:47:44 +0000 (13:47 +0200)] 
Secpoll and changelog

4 years agoMerge pull request #11650 from mnordhoff/patch-11
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

4 years agoauth: make it possible to completely disable LUA records 11350/head
Kees Monshouwer [Tue, 15 Feb 2022 19:09:20 +0000 (20:09 +0100)] 
auth: make it possible to completely disable LUA records

4 years agoauth: no ALIAS and LUA record processing in presigned zones
Kees Monshouwer [Tue, 15 Feb 2022 18:37:35 +0000 (19:37 +0100)] 
auth: no ALIAS and LUA record processing in presigned zones

4 years agoauth: Clarify 4.3.0 upgrade note 11650/head
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.

4 years agoMerge pull request #11644 from omoerbeek/rec-deprecate-xpf-settings
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.

4 years agoDeprecation warning for XPF settings. 11644/head
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.

4 years agoMerge pull request #11643 from rgacogne/ddist-mac-large-buffer
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()

4 years agodnsdist: Accept large buffers in getMACAddress() 11643/head
Remi Gacogne [Tue, 24 May 2022 15:26:29 +0000 (17:26 +0200)] 
dnsdist: Accept large buffers in getMACAddress()

4 years agodnsdist: add a statistic for the number of cache cleanups 11656/head
Charles-Henri Bruyand [Tue, 24 May 2022 14:59:42 +0000 (16:59 +0200)] 
dnsdist: add a statistic for the number of cache cleanups

4 years agoUse a name for `const std::shared_ptr<Log::Logger>&`, call it `Logr::log_t` 11642/head
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`

4 years agoMove housekeeping and associated code to strcutured logging
Otto Moerbeek [Tue, 24 May 2022 10:12:30 +0000 (12:12 +0200)] 
Move housekeeping and associated code to strcutured logging

4 years agoEOL update for 4.7.0
Otto Moerbeek [Tue, 24 May 2022 11:24:21 +0000 (13:24 +0200)] 
EOL update for 4.7.0

4 years agoMove to v2 for CodeQL action, v1 will be deprecated dec 2022 11641/head
Otto Moerbeek [Tue, 24 May 2022 10:36:28 +0000 (12:36 +0200)] 
Move to v2 for CodeQL action, v1 will be deprecated dec 2022

4 years agoMerge pull request #11591 from rgacogne/ddist-mac-netlink
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

4 years agoMerge pull request #11639 from Habbie/packages-sdig-dot
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

4 years agoMerge pull request #11631 from omoerbeek/structured-logging1
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

4 years agoauth packaging: add DoT support to sdig 11639/head
Peter van Dijk [Tue, 24 May 2022 08:15:20 +0000 (10:15 +0200)] 
auth packaging: add DoT support to sdig

4 years agoApply suggestions from code review 11631/head
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>
4 years agodnsdist: Proper handling of scope IDs for MAC addresses 11591/head
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!

4 years agodnsdist: Document the return value of getMACAddress()
Remi Gacogne [Mon, 23 May 2022 11:30:06 +0000 (13:30 +0200)] 
dnsdist: Document the return value of getMACAddress()

As suggested by Otto.

4 years agodnsdist: Better descripton of getMACAddress() in the documentation
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>
4 years agodnsdist: Better descripton of getMACAddress() in the console help
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>
4 years agoMerge pull request #11637 from Habbie/dnsdist-getverbose
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

4 years agoUpdate pdns/dnsdistdist/docs/reference/config.rst 11637/head
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>
4 years agodnsdist: add getVerbose() function
Peter van Dijk [Mon, 23 May 2022 10:10:28 +0000 (12:10 +0200)] 
dnsdist: add getVerbose() function

4 years agoMerge pull request #11606 from rgacogne/ddist-lua-binding-dns-payload
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

4 years agodnsdist: Fix typo reported by Peter (thanks!)
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>
4 years agoMerge pull request #11609 from omoerbeek/rec-api-allow-empty
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

4 years agoMore conversions, startup should be done now
Otto Moerbeek [Thu, 19 May 2022 14:08:48 +0000 (16:08 +0200)] 
More conversions, startup should be done now

4 years agoTry to be smart: if to_string() or toLogString() is there, use it.
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.

4 years agoMore smart logging of iterables and inline a few methods
Otto Moerbeek [Wed, 18 May 2022 15:38:32 +0000 (17:38 +0200)] 
More smart logging of iterables and inline a few methods

4 years agoSome more conversions to structured logging
Otto Moerbeek [Wed, 18 May 2022 14:32:10 +0000 (16:32 +0200)] 
Some more conversions to structured logging

4 years agoTweaks: use name for prio, change some prio's, use setter for arguments
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

4 years agoMerge pull request #11627 from omoerbeek/rec-rpz-dump-docs
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.

4 years agoTsan complained about strftime(), it manulipates locale and/or tz info.
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.

4 years agoFormatting
Otto Moerbeek [Tue, 17 May 2022 08:43:10 +0000 (10:43 +0200)] 
Formatting

4 years agoConvert startup and some of config to use structured logging
Otto Moerbeek [Tue, 17 May 2022 08:13:57 +0000 (10:13 +0200)] 
Convert startup and some of config to use structured logging

4 years agoTweaks wrt explicit priority.
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.

4 years agoReorg to be able to use structured logging in shared files.
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.

4 years agoMerge pull request #11626 from omoerbeek/zonemd-zap-binary-function
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

4 years agoClarify naming of RPZ zones loaded by rpzFile. 11627/head
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.

4 years agoZap binary function, not needed and deprecated in c++11, removed in c++17 11626/head
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

4 years agoMerge pull request #11620 from Y7n05h/fix11619
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

4 years agoMerge pull request #11621 from rgacogne/ddist-fix-proxyprotocol-tc-doh+ddist-fix...
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

4 years agodnsdist: Test for an exception raised when adding proxy protocol payload to a DoH... 11621/head
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

4 years agodnsdist: Fix a crash on a invalid protocol in DoH forwarded-for header
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)

4 years agoMerge pull request #11604 from rgacogne/ddist-fix-proxyprotocol-tc-doh
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

4 years agoMerge pull request #11614 from xorander00/docs-loglevel-fix
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…

4 years agoMerge pull request #11607 from rgacogne/rec-doc-missing-dq-attributes
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