]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 years agodnsdist: Fix a typo LeastOustandingType -> LeastOutstandingType 11689/head
Remi Gacogne [Wed, 22 Jun 2022 09:32:06 +0000 (11:32 +0200)] 
dnsdist: Fix a typo LeastOustandingType -> LeastOutstandingType

3 years agodnsdist: Fix a bound issue, improve readability (thanks, Otto!)
Remi Gacogne [Wed, 22 Jun 2022 09:18:32 +0000 (11:18 +0200)] 
dnsdist: Fix a bound issue, improve readability (thanks, Otto!)

3 years agodnsdist: Use the correct positions in the LB servers array
Remi Gacogne [Fri, 10 Jun 2022 08:45:51 +0000 (10:45 +0200)] 
dnsdist: Use the correct positions in the LB servers array

3 years agodnsdist: Avoid allocating memory in LB policies for small number of servers
Remi Gacogne [Fri, 10 Jun 2022 07:50:36 +0000 (09:50 +0200)] 
dnsdist: Avoid allocating memory in LB policies for small number of servers

The gist of this commit is that we do not need to dynamically allocate
memory in our load-balancing policies when we have a few number of
servers to consider: we can very well use a stack-based array instead.

3 years agoMerge pull request #11624 from rgacogne/dnsname-labels-visitor
Remi Gacogne [Thu, 9 Jun 2022 14:18:51 +0000 (16:18 +0200)] 
Merge pull request #11624 from rgacogne/dnsname-labels-visitor

SuffixMatchTree: Improve lookup performance

3 years agoMerge pull request #11686 from phonedph1/patch-34
Remi Gacogne [Thu, 9 Jun 2022 10:38:15 +0000 (12:38 +0200)] 
Merge pull request #11686 from phonedph1/patch-34

dnsdist: Update dq.rst

3 years agoMerge pull request #11687 from mind04/auth-unused
Peter van Dijk [Wed, 8 Jun 2022 19:21:52 +0000 (21:21 +0200)] 
Merge pull request #11687 from mind04/auth-unused

auth: remove an unused variable from the querycache

3 years agoauth: remove an unused variable from the querycache 11687/head
Kees Monshouwer [Wed, 8 Jun 2022 16:14:48 +0000 (18:14 +0200)] 
auth: remove an unused variable from the querycache

3 years agoUpdate dq.rst 11686/head
phonedph1 [Wed, 8 Jun 2022 16:06:43 +0000 (10:06 -0600)] 
Update dq.rst

3 years agoMerge pull request #11684 from rgacogne/ddist-fix-dumpstats-custom-metrics
Remi Gacogne [Wed, 8 Jun 2022 08:17:56 +0000 (10:17 +0200)] 
Merge pull request #11684 from rgacogne/ddist-fix-dumpstats-custom-metrics

dnsdist: Fix 'dumpStats()' with custom metrics

3 years agodnsdist: Fix 'dumpStats()' with custom metrics 11684/head
Remi Gacogne [Tue, 7 Jun 2022 16:35:43 +0000 (18:35 +0200)] 
dnsdist: Fix 'dumpStats()' with custom metrics

3 years agoMerge pull request #11683 from Habbie/dnsdist-libedit2
Peter van Dijk [Tue, 7 Jun 2022 12:42:25 +0000 (14:42 +0200)] 
Merge pull request #11683 from Habbie/dnsdist-libedit2

dnsdist: fix building without libedit in dnsdist.cc as well

3 years agoMerge pull request #11659 from rgacogne/ddist-add-stats-to-general-api-endpoint
Remi Gacogne [Tue, 7 Jun 2022 12:40:34 +0000 (14:40 +0200)] 
Merge pull request #11659 from rgacogne/ddist-add-stats-to-general-api-endpoint

dnsdist: Add 'statistics' to the general API endpoint

3 years agodnsdist: fix building without libedit in dnsdist.cc as well 11683/head
Peter van Dijk [Tue, 7 Jun 2022 10:47:45 +0000 (12:47 +0200)] 
dnsdist: fix building without libedit in dnsdist.cc as well

3 years agodnsdist: Add 'statistics' to the general API endpoint 11659/head
Remi Gacogne [Tue, 31 May 2022 14:55:41 +0000 (16:55 +0200)] 
dnsdist: Add 'statistics' to the general API endpoint

Making it possible to retrieve all metrics by querying one endpoint
(/api/v1/servers/localhost) instead of two (/api/v1/servers/localhost
and /api/v1/servers/localhost/statistics).

3 years agoMerge pull request #11680 from mnordhoff/patch-12
Otto Moerbeek [Sun, 5 Jun 2022 06:52:47 +0000 (08:52 +0200)] 
Merge pull request #11680 from mnordhoff/patch-12

rec: Fix typos in stats log messages

3 years agorec: Fix typos in stats log messages 11680/head
Matt Nordhoff [Sat, 4 Jun 2022 21:04:06 +0000 (21:04 +0000)] 
rec: Fix typos in stats log messages

3 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

3 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

3 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

3 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>
3 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>
3 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 :)

3 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

3 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

3 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

3 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

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

3 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

3 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

3 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

3 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

3 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.

3 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

3 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

3 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'

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

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

3 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

3 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.

3 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.

3 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.

3 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()

3 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()

3 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

3 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`

3 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

3 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

3 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

3 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

3 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

3 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

3 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>
3 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!

3 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.

3 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>
3 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>
3 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

3 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>
3 years agodnsdist: add getVerbose() function
Peter van Dijk [Mon, 23 May 2022 10:10:28 +0000 (12:10 +0200)] 
dnsdist: add getVerbose() function

3 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

3 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>
3 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

3 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

3 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.

3 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

3 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

3 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

3 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.

3 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.

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

3 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

3 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.

3 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.

3 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

3 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.

3 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

3 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

3 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

3 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

3 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)

3 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

3 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…

3 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