]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Tue, 8 Dec 2020 10:29:39 +0000 (11:29 +0100)]
Also convert te recursor cache, adding the needed hash function for boost
Otto Moerbeek [Mon, 7 Dec 2020 10:10:27 +0000 (11:10 +0100)]
Keep const QType in definitions and introduce a nicer way to build
the name to number mapping and vice versa.
Otto Moerbeek [Fri, 4 Dec 2020 17:22:41 +0000 (18:22 +0100)]
Simplify boilerplates a bit by deriving the QType from the RNAME by using
QType::RNAME, enforcing that one must exist.
Otto Moerbeek [Fri, 4 Dec 2020 15:31:33 +0000 (16:31 +0100)]
Improve the way QType behaves by defining proper conversion
operators and a hash function.
I converted syncres.* for starters to stop using uint16_t for qtype
and use QType everywhere. Note that I also changed const QType&
in arg lists by QType, since it makes little sense to pass a 16 bit
value by const reference.
Otto Moerbeek [Wed, 10 Feb 2021 07:22:45 +0000 (08:22 +0100)]
Merge pull request #10022 from omoerbeek/rec-missing-prometheus-entries
rec: Move prometheus table to web server and add missing entries.
Remi Gacogne [Tue, 9 Feb 2021 13:28:55 +0000 (14:28 +0100)]
Merge pull request #10063 from AntagonistHQ/spoof_multi
dnsdist: Add option to spoofRawAction to spoof multiple answers
Peter van Dijk [Mon, 8 Feb 2021 11:03:48 +0000 (12:03 +0100)]
Merge pull request #10005 from Habbie/auth-4.4.1-docs
changelog&secpoll for auth-4.4.1
Peter van Dijk [Mon, 8 Feb 2021 10:45:48 +0000 (11:45 +0100)]
Merge pull request #8813 from RobinGeuze/checkForDuplicateMetadata
Make check-zone also check whether there are duplicate key value pair metadatas for the zone
Otto Moerbeek [Mon, 8 Feb 2021 10:03:06 +0000 (11:03 +0100)]
Merge pull request #10070 from omoerbeek/clang-tidy-followup
rename a few `d_*` locals
Robin Geuze [Wed, 12 Aug 2020 15:17:35 +0000 (17:17 +0200)]
Do an exact comapre, since set.count can only return 0 or 1
RobinGeuze [Wed, 12 Aug 2020 15:14:32 +0000 (17:14 +0200)]
Update pdns/pdnsutil.cc
Accept textual change
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Robin Geuze [Tue, 11 Feb 2020 17:05:09 +0000 (18:05 +0100)]
Make check-zone also check whether there are duplicate key value pair domaindatas for the zone
Peter van Dijk [Sat, 6 Feb 2021 21:49:02 +0000 (22:49 +0100)]
add last two PRs and update date
Peter van Dijk [Tue, 2 Feb 2021 14:24:26 +0000 (15:24 +0100)]
auth-4.4.1 changelog: add #10039
Peter van Dijk [Mon, 25 Jan 2021 10:30:06 +0000 (11:30 +0100)]
spelling
Peter van Dijk [Mon, 25 Jan 2021 10:26:16 +0000 (11:26 +0100)]
fix pullreq links in auth-4.4.0 docs
Peter van Dijk [Mon, 25 Jan 2021 10:25:43 +0000 (11:25 +0100)]
changelog&secpoll for auth-4.4.1
Peter van Dijk [Mon, 8 Feb 2021 08:55:11 +0000 (09:55 +0100)]
Merge pull request #10068 from Habbie/no-more-yum
docker builds: stop using yum on EL8 derivatives
Peter van Dijk [Mon, 8 Feb 2021 08:34:31 +0000 (09:34 +0100)]
Merge pull request #10016 from Habbie/builder-archs
builder: add arch-specific targets
Otto Moerbeek [Mon, 8 Feb 2021 08:33:25 +0000 (09:33 +0100)]
Merge pull request #10064 from omoerbeek/rec-fix-empty-cname-followup
rec: Return current rcode instead of 0 if there are no CNAME records to follow
Otto [Mon, 8 Feb 2021 08:31:20 +0000 (09:31 +0100)]
some d_* locals
Otto Moerbeek [Mon, 8 Feb 2021 08:16:22 +0000 (09:16 +0100)]
Merge pull request #9672 from neheb/clng
clang-tidy fixes
Peter van Dijk [Sun, 7 Feb 2021 19:46:53 +0000 (20:46 +0100)]
dnf install yum so Dockerfile.rpmbuild can stay simple
Remi Gacogne [Sun, 7 Feb 2021 17:38:40 +0000 (18:38 +0100)]
Merge pull request #10069 from mnordhoff/dns-over-https-colon-colon
dnsdist docs: Fix formatting of response map example
Matt Nordhoff [Sun, 7 Feb 2021 17:18:27 +0000 (17:18 +0000)]
dnsdist docs: Fix formatting of response map example
Peter van Dijk [Sun, 7 Feb 2021 13:53:45 +0000 (14:53 +0100)]
docker builds: stop using yum on EL8 derivatives
Peter van Dijk [Fri, 5 Feb 2021 21:13:08 +0000 (22:13 +0100)]
Merge pull request #10007 from mind04/auth-tcp-counters
auth: fix tcp answer counters
Pieter Lexis [Fri, 5 Feb 2021 16:05:51 +0000 (17:05 +0100)]
Merge pull request #10029 from Habbie/actions-docker
gh actions: build Docker images
Otto [Fri, 5 Feb 2021 15:44:43 +0000 (16:44 +0100)]
Another missed one
Otto Moerbeek [Fri, 5 Feb 2021 15:43:32 +0000 (16:43 +0100)]
Merge pull request #10060 from omoerbeek/sdig-add-dot
sdig: add DoT
Otto [Fri, 5 Feb 2021 15:18:55 +0000 (16:18 +0100)]
Return current rcode instead of 0 if there are no CNAME records to follow.
Note that this is a change in behaviour. While it is for the good, it might
be existing code depends on the old 0 value...
Otto [Fri, 5 Feb 2021 15:03:58 +0000 (16:03 +0100)]
Missed a few locals starting with d_
Otto [Fri, 5 Feb 2021 15:00:33 +0000 (16:00 +0100)]
Catch exception on stats entries init and exit on that
Otto Moerbeek [Fri, 5 Feb 2021 14:41:05 +0000 (15:41 +0100)]
Merge pull request #10036 from rgacogne/rec-asan-null-stack
rec: Set the start of the stack right away to avoid an ASAN issue
Peter van Dijk [Fri, 29 Jan 2021 21:28:16 +0000 (22:28 +0100)]
gh actions: build Docker images
Sander Hoentjen [Fri, 5 Feb 2021 11:07:22 +0000 (12:07 +0100)]
dnsdist: Add option to spoofRawAction to spoof multiple answers
Otto [Fri, 5 Feb 2021 13:26:19 +0000 (14:26 +0100)]
Stray comma and document some older provider libs do no do validation at all.
Otto [Fri, 5 Feb 2021 13:16:31 +0000 (14:16 +0100)]
Do not use local vars that start with d_, our naming convention is that
those are fields of a class.
Otto Moerbeek [Fri, 5 Feb 2021 12:56:36 +0000 (13:56 +0100)]
Merge pull request #10061 from omoerbeek/format-option-fix
fix a clang-format issue difference in opinion
Otto [Fri, 5 Feb 2021 12:40:12 +0000 (13:40 +0100)]
Add dolog.hh to sdig sources
Otto [Fri, 5 Feb 2021 12:20:30 +0000 (13:20 +0100)]
Fix compilation on CentOS-7, which lacks gnutls_session_set_verify_cert().
Make explicit gnutls only validates the certificate if a server hostname is given.
Otto Moerbeek [Fri, 5 Feb 2021 11:22:39 +0000 (12:22 +0100)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <rgacogne+github@valombre.net>
Otto [Fri, 5 Feb 2021 11:23:59 +0000 (12:23 +0100)]
Setting this flag appears to fix one difference between clang-format-8 and 10
Otto [Fri, 5 Feb 2021 10:01:37 +0000 (11:01 +0100)]
Tweaks and man page updates
Rosen Penev [Fri, 5 Feb 2021 01:16:52 +0000 (17:16 -0800)]
clang-tidy: pass by value and use std::move
Found with modernize-pass-by-value
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Fri, 5 Feb 2021 01:08:53 +0000 (17:08 -0800)]
clang-tidy: remove pointless std::move
Found with performance-move-const-arg
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Thu, 5 Nov 2020 09:10:12 +0000 (01:10 -0800)]
clang-tidy: several reference conversions
Found with performance-unnecessary-value-param
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Thu, 5 Nov 2020 08:47:27 +0000 (00:47 -0800)]
clang-tidy: replace bind with lambdas
Found with modernize-avoid-bind
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Thu, 5 Nov 2020 09:05:25 +0000 (01:05 -0800)]
clang-tidy: add reserve
Found with performance-inefficient-vector-operation
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Thu, 5 Nov 2020 08:58:21 +0000 (00:58 -0800)]
clang-tidy: use const reference
Found with performance-for-range-copy
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Thu, 5 Nov 2020 08:55:14 +0000 (00:55 -0800)]
clang-tidy: use references
Found with performance-unnecessary-copy-initialization
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Thu, 5 Nov 2020 08:51:24 +0000 (00:51 -0800)]
clang-tidy: use '' with single character find
Found with performance-faster-string-find
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Thu, 5 Nov 2020 08:13:19 +0000 (00:13 -0800)]
clang-tidy: use raw string literals
Found with modernize-raw-string-literal
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Thu, 5 Nov 2020 08:08:42 +0000 (00:08 -0800)]
clang-tidy: use nullptr
Found with modernize-use-nullptr
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Thu, 5 Nov 2020 08:02:52 +0000 (00:02 -0800)]
clang-tidy: remove pointless void
Found with modernize-redundant-void-arg
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Thu, 5 Nov 2020 07:53:05 +0000 (23:53 -0800)]
clang-tidy: use bool literals
Found with modernize-use-bool-literals
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Thu, 5 Nov 2020 07:41:26 +0000 (23:41 -0800)]
clang-tidy: convert loops to range based
Found with modernize-loop-convert
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Pieter Lexis [Thu, 4 Feb 2021 13:28:25 +0000 (14:28 +0100)]
Merge pull request #10048 from Habbie/oss-dns-vulns
docs: link to OARC oss-vulns list; add security policy to dnsdist; include GPL license; some minor refactoring
Pieter Lexis [Thu, 4 Feb 2021 13:27:08 +0000 (14:27 +0100)]
Merge pull request #10043 from Habbie/build-oraclelinux-8
builder: support oraclelinux-8; verify build in GH Actions on push&PR
Pieter Lexis [Thu, 4 Feb 2021 13:25:35 +0000 (14:25 +0100)]
Merge pull request #10042 from pieterlexis/dockerfiles-version
dockerfiles: Ensure version number is correct for releases
Pieter Lexis [Thu, 4 Feb 2021 13:19:26 +0000 (14:19 +0100)]
Merge pull request #10028 from Habbie/docker-odbc
auth docker: find unixodbc on non-x86_64 platforms
Pieter Lexis [Thu, 4 Feb 2021 12:55:42 +0000 (13:55 +0100)]
Merge pull request #9636 from wojas/proto-file-license
dnsmessage.proto: make CC0 Public Domain
Pieter Lexis [Thu, 4 Feb 2021 12:37:27 +0000 (13:37 +0100)]
Merge pull request #8999 from kpfleming/add-error-responses-to-api-docs
Add error response objects to all API operations in spec file
Remi Gacogne [Thu, 4 Feb 2021 09:53:21 +0000 (10:53 +0100)]
Merge pull request #10046 from rgacogne/doc-nmt-fork
Make NetmaskTree::fork() a bit easier to understand
Remi Gacogne [Wed, 3 Feb 2021 17:48:34 +0000 (18:48 +0100)]
Merge pull request #10050 from rgacogne/ddist-web-log
dnsdist: Remove forgotten debug line in the web server
Otto [Wed, 3 Feb 2021 15:51:29 +0000 (16:51 +0100)]
Choose provider add a CAStore on command line
Otto [Wed, 3 Feb 2021 14:10:33 +0000 (15:10 +0100)]
Cert validation
Otto [Wed, 3 Feb 2021 13:29:15 +0000 (14:29 +0100)]
There is life in TLS...
Peter van Dijk [Wed, 3 Feb 2021 10:18:22 +0000 (11:18 +0100)]
docs: add GPL license to all 3 product docs
Peter van Dijk [Wed, 3 Feb 2021 09:55:46 +0000 (10:55 +0100)]
dnsdist docs: add Security Policy to TOC
Remi Gacogne [Wed, 3 Feb 2021 09:22:38 +0000 (10:22 +0100)]
dnsdist: Remove forgotten debug line in the web server
Peter van Dijk [Wed, 3 Feb 2021 09:11:26 +0000 (10:11 +0100)]
dnsdist docs: avoid warnings about rst files in .venv
Peter van Dijk [Wed, 3 Feb 2021 09:08:21 +0000 (10:08 +0100)]
dnsdist docs: add security reporting policy
Otto [Wed, 3 Feb 2021 09:04:32 +0000 (10:04 +0100)]
Baseline for DoT integration into sdig, taken from Habbie/sdig-dot-pin
Peter van Dijk [Wed, 3 Feb 2021 08:49:03 +0000 (09:49 +0100)]
allow "vulns" in spelling
Peter van Dijk [Wed, 3 Feb 2021 07:46:24 +0000 (08:46 +0100)]
docs security policy: steal OARC link&text from https://www.isc.org/security-report/
Peter van Dijk [Tue, 2 Feb 2021 14:19:54 +0000 (15:19 +0100)]
Merge pull request #10037 from mind04/pdns-delete-domain
auth: run deleteDomain() inside a transaction
Peter van Dijk [Tue, 2 Feb 2021 13:46:09 +0000 (14:46 +0100)]
shorten title - improves readability in GitHub Checks interfaces
Remi Gacogne [Tue, 2 Feb 2021 13:44:07 +0000 (14:44 +0100)]
Make NetmaskTree::fork() a bit easier to understand
Peter van Dijk [Tue, 2 Feb 2021 13:36:46 +0000 (14:36 +0100)]
Merge pull request #10044 from aerique/feature/dnsdist-16-repo-script
Add dnsdist 1.6.x to repo script.
Erik Winkels [Tue, 2 Feb 2021 13:31:08 +0000 (14:31 +0100)]
Add dnsdist 1.6.x to repo script.
Pieter Lexis [Tue, 2 Feb 2021 12:31:15 +0000 (13:31 +0100)]
docker: use unbuffered output in init
Peter van Dijk [Tue, 2 Feb 2021 12:57:03 +0000 (13:57 +0100)]
builder: support oraclelinux-8; verify build in GH Actions on push&PR
Otto Moerbeek [Tue, 2 Feb 2021 12:40:13 +0000 (13:40 +0100)]
Merge pull request #9990 from omoerbeek/rec-tcp-packetcache
Rec: packetcache for tcp queries
Remi Gacogne [Tue, 2 Feb 2021 12:39:35 +0000 (13:39 +0100)]
Merge pull request #10040 from Habbie/dnsdist-registerwebhandler-docs
dnsdist docs: formatting + spelling in registerWebHandler explanation
Kees Monshouwer [Mon, 1 Feb 2021 19:18:52 +0000 (20:18 +0100)]
auth: run deleteDomain() inside a transaction
Pieter Lexis [Tue, 2 Feb 2021 12:28:04 +0000 (13:28 +0100)]
dockerfiles: Ensure version number is correct for releases
Remi Gacogne [Tue, 2 Feb 2021 12:06:15 +0000 (13:06 +0100)]
Merge pull request #10025 from rgacogne/ddist-160-a1-changelog-secpoll
dnsdist: ChangeLog and secpoll update for 1.6.0-alpha1
Remi Gacogne [Tue, 2 Feb 2021 10:31:00 +0000 (11:31 +0100)]
dnsdist: Set 1.6.0-alpha1 to "1 OK" in the secpoll zone
Peter van Dijk [Tue, 2 Feb 2021 10:30:20 +0000 (11:30 +0100)]
dnsdist docs: formatting + spelling in registerWebHandler explanation
Remi Gacogne [Tue, 2 Feb 2021 10:25:23 +0000 (11:25 +0100)]
dnsdist: Move 10035 in the right section of the ChangeLog
Peter van Dijk [Tue, 2 Feb 2021 10:01:43 +0000 (11:01 +0100)]
update pdns-builder
Remi Gacogne [Tue, 2 Feb 2021 09:38:06 +0000 (10:38 +0100)]
dnsdist: Set the release date to today
Peter van Dijk [Tue, 2 Feb 2021 09:36:23 +0000 (10:36 +0100)]
Merge pull request #10038 from Habbie/test-luawrapper
luawrapper test: improve comment
Peter van Dijk [Mon, 1 Feb 2021 21:26:19 +0000 (22:26 +0100)]
luawrapper test: improve comment
Remi Gacogne [Mon, 1 Feb 2021 13:25:54 +0000 (14:25 +0100)]
dnsdist: Add 10035 to the ChangeLog
Remi Gacogne [Mon, 1 Feb 2021 13:19:00 +0000 (14:19 +0100)]
Merge pull request #9859 from rgacogne/hashqnamewithsalt-optim
Don't copy the same salt for all iterations in hashQNameWithSalt()
Remi Gacogne [Mon, 1 Feb 2021 11:51:44 +0000 (12:51 +0100)]
rec: Set the start of the stack right away to avoid an ASAN issue
We used to wait until the first invocation of a MTask to set the
start of the stack, but that sometimes resulted in passing the nullptr
address to ASAN when calling a task for the first time.
It resulted in ASAN skipping the stack switch, logging something like:
```
WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x000000020000; bottom 0x7f18f174a000; size: 0xffff80e70e8d6000 (-
139745106763776 )
False positive error reports may follow
```
Then almost right away complaining about a stack-use-after-scope,
or a stack-based overflow.
This changes sets the end of the memory allocation before the first
invocation, so that we always notify a valid value. A closer
approximation is still set during the first invocation, as before.
Remi Gacogne [Mon, 1 Feb 2021 09:36:48 +0000 (10:36 +0100)]
Merge pull request #10035 from rgacogne/ddist-static-fixes
dnsdist: Fix a few warnings reported by clang's static analyzer and cppcheck
Peter van Dijk [Mon, 1 Feb 2021 08:38:02 +0000 (09:38 +0100)]
Merge pull request #10030 from Habbie/protozero-includes
protozero: make internal includes work