]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 years agoProcess review comments 11710/head
Otto Moerbeek [Tue, 21 Jun 2022 07:40:30 +0000 (09:40 +0200)] 
Process review comments

3 years agoRemaining structured logging, "only" sending/receiving questions and answers, validat...
Otto Moerbeek [Wed, 15 Jun 2022 08:43:37 +0000 (10:43 +0200)] 
Remaining structured logging, "only" sending/receiving questions and answers, validation and tracing remain.

3 years agoStructured Logging: finish Lua config messages
Otto Moerbeek [Wed, 15 Jun 2022 07:24:45 +0000 (09:24 +0200)] 
Structured Logging: finish Lua config messages

3 years agoStructured logging for root refresh
Otto Moerbeek [Wed, 15 Jun 2022 06:57:52 +0000 (08:57 +0200)] 
Structured logging for root refresh

3 years agoMerge pull request #11651 from Y7n05h/refactor
Remi Gacogne [Fri, 17 Jun 2022 12:20:55 +0000 (14:20 +0200)] 
Merge pull request #11651 from Y7n05h/refactor

dnsdist: refactor sendfromto

3 years agodnsdist: refactor sendfromto 11651/head
Y7n05h [Thu, 26 May 2022 05:56:52 +0000 (13:56 +0800)] 
dnsdist: refactor sendfromto

Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
3 years agoMerge pull request #11601 from omoerbeek/rec-shared-ednsmap
Otto Moerbeek [Fri, 17 Jun 2022 09:32:00 +0000 (11:32 +0200)] 
Merge pull request #11601 from omoerbeek/rec-shared-ednsmap

Rec: shared ednsmap

3 years agoMerge pull request #11685 from rgacogne/ddist-cppcheck-warnings
Remi Gacogne [Fri, 17 Jun 2022 09:23:04 +0000 (11:23 +0200)] 
Merge pull request #11685 from rgacogne/ddist-cppcheck-warnings

dnsdist: Fix a few performance-related warnings reported by cppcheck

3 years agoMerge pull request #11613 from omoerbeek/burtle
Otto Moerbeek [Fri, 17 Jun 2022 08:55:46 +0000 (10:55 +0200)] 
Merge pull request #11613 from omoerbeek/burtle

hashHeaderAndQName burtle optimization

3 years agoMerge pull request #11641 from omoerbeek/codeQL-v2
Peter van Dijk [Fri, 17 Jun 2022 08:51:11 +0000 (10:51 +0200)] 
Merge pull request #11641 from omoerbeek/codeQL-v2

Move to v2 for CodeQL action, v1 will be deprecated dec 2022

3 years agoProcess review comment: move var to inner block 11601/head
Otto Moerbeek [Fri, 17 Jun 2022 08:43:32 +0000 (10:43 +0200)] 
Process review comment: move var to inner block

3 years agoUse the level actually *used* to decide to update edns status.
Otto Moerbeek [Tue, 3 May 2022 07:05:21 +0000 (09:05 +0200)] 
Use the level actually *used* to decide to update edns status.
Fold the logic to not update if no change and updating the timestamp to the setter.

3 years agoPrune EDNS table once every minute, as the entries last for 2 hours
Otto Moerbeek [Mon, 2 May 2022 09:35:53 +0000 (11:35 +0200)] 
Prune EDNS table once every minute, as the entries last for 2 hours

3 years agoMove edns table to a shared table
Otto Moerbeek [Mon, 2 May 2022 09:32:15 +0000 (11:32 +0200)] 
Move edns table to a shared table

3 years agoMerge pull request #11340 from norve/pdnustil-flush-prompt
Peter van Dijk [Thu, 16 Jun 2022 11:09:58 +0000 (13:09 +0200)] 
Merge pull request #11340 from norve/pdnustil-flush-prompt

Pdnustil flush prompt

3 years agoMerge pull request #11413 from Habbie/man-pdnsutil-b2b-migrate
Peter van Dijk [Thu, 16 Jun 2022 10:35:04 +0000 (12:35 +0200)] 
Merge pull request #11413 from Habbie/man-pdnsutil-b2b-migrate

auth: add b2b-migrate to pdnsutil man page

3 years agoMerge pull request #11350 from mind04/pdns-presigned-alias
Peter van Dijk [Thu, 16 Jun 2022 10:30:39 +0000 (12:30 +0200)] 
Merge pull request #11350 from mind04/pdns-presigned-alias

auth: no ALIAS and LUA record expansion in presigned zones

3 years agoMerge pull request #11691 from rgacogne/ddist-1.7.2-changelog-secpoll
Remi Gacogne [Tue, 14 Jun 2022 08:49:13 +0000 (10:49 +0200)] 
Merge pull request #11691 from rgacogne/ddist-1.7.2-changelog-secpoll

dnsdist: ChangeLog and secpoll update for 1.7.2

3 years agodnsdist: Update the release date for 1.7.2 11691/head
Remi Gacogne [Tue, 14 Jun 2022 08:19:25 +0000 (10:19 +0200)] 
dnsdist: Update the release date for 1.7.2

3 years agoMerge pull request #11682 from fredmorcos/recursor-ipv6-from-etc-hosts
Fred Morcos [Mon, 13 Jun 2022 13:14:46 +0000 (15:14 +0200)] 
Merge pull request #11682 from fredmorcos/recursor-ipv6-from-etc-hosts

Recursor: Load IPv6 entries from `etc-hosts` file

3 years agoDNSRecord: Formatting 11682/head
Fred Morcos [Thu, 9 Jun 2022 13:05:19 +0000 (15:05 +0200)] 
DNSRecord: Formatting

3 years agoDNSRecord: Explicit member initialization
Fred Morcos [Thu, 9 Jun 2022 13:05:01 +0000 (15:05 +0200)] 
DNSRecord: Explicit member initialization

3 years agoAdd domain map population tests that include search suffixes
Fred Morcos [Fri, 3 Jun 2022 11:02:26 +0000 (13:02 +0200)] 
Add domain map population tests that include search suffixes

3 years agoOnly add PTR records for the canonical hostname
Fred Morcos [Fri, 3 Jun 2022 10:48:39 +0000 (12:48 +0200)] 
Only add PTR records for the canonical hostname

3 years agoConvert the handling of addresses from etc-hosts file to ComboAddress
Fred Morcos [Mon, 23 May 2022 13:06:43 +0000 (15:06 +0200)] 
Convert the handling of addresses from etc-hosts file to ComboAddress

This enables almost-seamless IPv6 support and cleans up a few things e.g. avoid using
strings when handling IP addresses.

This commit also refactors the creation of forward and reverse lookup entries.

3 years agoMove domain-map related helper functions for testability and add tests
Fred Morcos [Tue, 31 May 2022 11:37:30 +0000 (13:37 +0200)] 
Move domain-map related helper functions for testability and add tests

This also adds tests for loading entries from an etc-hosts-like file.

3 years agoImplement toString() for DNSRecord
Fred Morcos [Tue, 31 May 2022 11:35:58 +0000 (13:35 +0200)] 
Implement toString() for DNSRecord

3 years agoAnother constructor that accepts all params for DNSRecord
Fred Morcos [Tue, 31 May 2022 11:35:35 +0000 (13:35 +0200)] 
Another constructor that accepts all params for DNSRecord

3 years agoDefault init of DNSRecord fields
Fred Morcos [Tue, 31 May 2022 11:35:21 +0000 (13:35 +0200)] 
Default init of DNSRecord fields

3 years agoImplement toString() for SyncRes::AuthDomain
Fred Morcos [Tue, 31 May 2022 11:34:10 +0000 (13:34 +0200)] 
Implement toString() for SyncRes::AuthDomain

3 years agoImplement operator== for SyncRes::AuthDomain
Fred Morcos [Tue, 31 May 2022 11:33:51 +0000 (13:33 +0200)] 
Implement operator== for SyncRes::AuthDomain

3 years agoAdd IPv4 and IPv6 address reversal to ComboAddress
Fred Morcos [Fri, 20 May 2022 10:41:36 +0000 (12:41 +0200)] 
Add IPv4 and IPv6 address reversal to ComboAddress

3 years agoWhitespace & cleanup
Fred Morcos [Wed, 18 May 2022 11:51:39 +0000 (13:51 +0200)] 
Whitespace & cleanup

3 years agoRecursor: Add .clang-tidy to gitignore
Fred Morcos [Wed, 18 May 2022 11:50:55 +0000 (13:50 +0200)] 
Recursor: Add .clang-tidy to gitignore

3 years agoLint fix when iterating over IP parts in reverse
Fred Morcos [Fri, 6 May 2022 09:53:55 +0000 (11:53 +0200)] 
Lint fix when iterating over IP parts in reverse

3 years agoLint fixes when loading etc-hosts file
Fred Morcos [Thu, 5 May 2022 15:28:28 +0000 (17:28 +0200)] 
Lint fixes when loading etc-hosts file

3 years agoWhitespace
Fred Morcos [Mon, 9 May 2022 07:58:19 +0000 (09:58 +0200)] 
Whitespace

3 years agoMerge pull request #11692 from omoerbeek/rec-actually-run-tasks
Otto Moerbeek [Fri, 10 Jun 2022 14:35:36 +0000 (16:35 +0200)] 
Merge pull request #11692 from omoerbeek/rec-actually-run-tasks

rec: Run tasks from houskeeping thread in a proper way.

3 years agoMerge pull request #11548 from rgacogne/ddist-ebpf-docs
Remi Gacogne [Fri, 10 Jun 2022 13:56:34 +0000 (15:56 +0200)] 
Merge pull request #11548 from rgacogne/ddist-ebpf-docs

dnsdist: Document eBPF requirements, external program support

3 years agoMerge pull request #11526 from Y7n05h/master
Remi Gacogne [Fri, 10 Jun 2022 13:55:19 +0000 (15:55 +0200)] 
Merge pull request #11526 from Y7n05h/master

use BPF_MAP_TYPE_LPM_TRIE for range matching

3 years agoRun tasks from houskeeping thread in a proper way. 11692/head
Otto Moerbeek [Fri, 10 Jun 2022 13:39:36 +0000 (15:39 +0200)] 
Run tasks from houskeeping thread in a proper way.

Previously, this was only done if log-common-errors was true, due
to argument reversal.  In general task *would* be executed, as they
are also run after each query processed by SyncRes (so not after
packet cache hits).

Thanks to @jelu!

3 years agodnsdist: ChangeLog and secpoll update for 1.7.2
Remi Gacogne [Fri, 10 Jun 2022 13:15:26 +0000 (15:15 +0200)] 
dnsdist: ChangeLog and secpoll update for 1.7.2

3 years agoMerge pull request #11688 from rgacogne/ddist-downstream-doc-typo
Remi Gacogne [Fri, 10 Jun 2022 09:39:09 +0000 (11:39 +0200)] 
Merge pull request #11688 from rgacogne/ddist-downstream-doc-typo

dnsdist: Fix a typo in the Downstream guide

3 years agoMerge pull request #11660 from omoerbeek/rec-sd-journal
Otto Moerbeek [Fri, 10 Jun 2022 08:11:15 +0000 (10:11 +0200)] 
Merge pull request #11660 from omoerbeek/rec-sd-journal

rec: Use systemd-journal for structured logging if it is available

3 years agoMerge pull request #11681 from omoerbeek/rec-sl-subsys
Otto Moerbeek [Fri, 10 Jun 2022 08:10:19 +0000 (10:10 +0200)] 
Merge pull request #11681 from omoerbeek/rec-sl-subsys

rec: structured logging for various subsystyems

3 years agoBeter naming of closure 11660/head
Otto Moerbeek [Fri, 10 Jun 2022 06:32:23 +0000 (08:32 +0200)] 
Beter naming of closure

3 years agoProcess review commens from @fredmorcos, thanks! 11681/head
Otto Moerbeek [Fri, 10 Jun 2022 06:18:09 +0000 (08:18 +0200)] 
Process review commens from @fredmorcos, thanks!

3 years agoMerge pull request #11662 from omoerbeek/rec-sl-dns64
Otto Moerbeek [Fri, 10 Jun 2022 06:07:42 +0000 (08:07 +0200)] 
Merge pull request #11662 from omoerbeek/rec-sl-dns64

rec:  Structured logging for dns64 and simlar functions using directResolve()

3 years agoUpdate pdns/dnsdistdist/docs/reference/ebpf.rst 11526/head
Y7n05h [Fri, 10 Jun 2022 04:15:00 +0000 (12:15 +0800)] 
Update pdns/dnsdistdist/docs/reference/ebpf.rst

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agoUpdate pdns/dnsdistdist/docs/reference/ebpf.rst
Y7n05h [Fri, 10 Jun 2022 04:14:51 +0000 (12:14 +0800)] 
Update pdns/dnsdistdist/docs/reference/ebpf.rst

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agoUpdate pdns/dnsdistdist/docs/reference/ebpf.rst
Y7n05h [Fri, 10 Jun 2022 04:14:44 +0000 (12:14 +0800)] 
Update pdns/dnsdistdist/docs/reference/ebpf.rst

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agodnsdist: Fix a typo in the Downstream guide 11688/head
Remi Gacogne [Thu, 9 Jun 2022 17:05:11 +0000 (19:05 +0200)] 
dnsdist: Fix a typo in the Downstream guide

3 years agodnsdist: fix build error
Y7n05h [Thu, 9 Jun 2022 15:55:12 +0000 (23:55 +0800)] 
dnsdist: fix build error

Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
3 years agoUpdate document
Y7n05h [Thu, 9 Jun 2022 15:04:12 +0000 (23:04 +0800)] 
Update document

3 years agoUpdate pdns/bpf-filter.hh
Y7n05h [Thu, 9 Jun 2022 14:30:47 +0000 (22:30 +0800)] 
Update pdns/bpf-filter.hh

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agoUpdate pdns/bpf-filter.hh
Y7n05h [Thu, 9 Jun 2022 14:29:35 +0000 (22:29 +0800)] 
Update pdns/bpf-filter.hh

Co-authored-by: Remi Gacogne <github@coredump.fr>
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 agodnsdist: Fix a few performance-related warnings reported by cppcheck 11685/head
Remi Gacogne [Wed, 8 Jun 2022 15:24:04 +0000 (17:24 +0200)] 
dnsdist: Fix a few performance-related warnings reported by cppcheck

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 agorec-main part of control channel structured logging
Otto Moerbeek [Tue, 7 Jun 2022 06:24:48 +0000 (08:24 +0200)] 
rec-main part of control channel structured logging

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 agodnsdist: Change the bpf:blockRange bpf:allowRange to bpf:addRangeRule
Y7n05h [Sat, 4 Jun 2022 05:31:37 +0000 (13:31 +0800)] 
dnsdist: Change the bpf:blockRange bpf:allowRange to bpf:addRangeRule
bpf:rmRangeRule bpf:lsRangeRule

Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
3 years agoUpdate pdns/bpf-filter.cc
Y7n05h [Fri, 3 Jun 2022 18:40:07 +0000 (02:40 +0800)] 
Update pdns/bpf-filter.cc

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agoUpdate pdns/bpf-filter.hh
Y7n05h [Fri, 3 Jun 2022 18:38:56 +0000 (02:38 +0800)] 
Update pdns/bpf-filter.hh

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agoUpdate pdns/bpf-filter.cc
Y7n05h [Fri, 3 Jun 2022 18:37:56 +0000 (02:37 +0800)] 
Update pdns/bpf-filter.cc

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 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

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

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