]>
git.ipfire.org Git - thirdparty/pdns.git/log
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 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 10:01:37 +0000 (11:01 +0100)]
Tweaks and man page updates
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...
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 [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: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.
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
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
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 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
Peter van Dijk [Mon, 1 Feb 2021 08:28:10 +0000 (09:28 +0100)]
Merge pull request #10031 from Habbie/test-luawrapper
test luawrapper in make check
Peter van Dijk [Sun, 31 Jan 2021 00:31:26 +0000 (01:31 +0100)]
test luawrapper registerFunction in make check
Peter van Dijk [Fri, 29 Jan 2021 22:51:45 +0000 (23:51 +0100)]
protozero: make internal includes work
Remi Gacogne [Fri, 29 Jan 2021 16:02:03 +0000 (17:02 +0100)]
dnsdist: Silence a 'performance' warning from cppcheck
Remi Gacogne [Fri, 29 Jan 2021 16:01:18 +0000 (17:01 +0100)]
Work around false positives from cppcheck
Remi Gacogne [Fri, 29 Jan 2021 16:00:45 +0000 (17:00 +0100)]
dnsdist: Fix a bug when loading the rings from a file
Remi Gacogne [Fri, 29 Jan 2021 16:00:13 +0000 (17:00 +0100)]
dnsdist: Correctly handle numerical web passwords and keys
Remi Gacogne [Fri, 29 Jan 2021 15:59:35 +0000 (16:59 +0100)]
dnsdist: Remove a construct that cppcheck is choking on
Remi Gacogne [Fri, 29 Jan 2021 15:59:21 +0000 (16:59 +0100)]
Silence false positives about unintialized values
Remi Gacogne [Fri, 29 Jan 2021 15:57:24 +0000 (16:57 +0100)]
Silence warnings about values set but not used
Remi Gacogne [Fri, 29 Jan 2021 15:56:03 +0000 (16:56 +0100)]
Pass strings as const references in exceptions
Otto [Fri, 29 Jan 2021 12:53:42 +0000 (13:53 +0100)]
Fix rebase error (which was introduced by git doing a merge the wrong way)
Otto [Fri, 29 Jan 2021 09:05:08 +0000 (10:05 +0100)]
Make deep nesting more shallow by early returns
Otto [Fri, 29 Jan 2021 08:32:54 +0000 (09:32 +0100)]
Process review comments, most importantly refactoring the fd accounting code after sending a TCP reply
Otto [Tue, 19 Jan 2021 14:30:29 +0000 (15:30 +0100)]
Tidy
Otto [Tue, 19 Jan 2021 14:15:46 +0000 (15:15 +0100)]
Adapt regression test to TCP having a packetcache now
Otto [Tue, 19 Jan 2021 13:12:12 +0000 (14:12 +0100)]
Add unit tests and simplify code.
Otto [Mon, 18 Jan 2021 15:53:06 +0000 (16:53 +0100)]
Refactor cache hit path and do cache check for tcp
Remi Gacogne [Fri, 29 Jan 2021 11:47:51 +0000 (12:47 +0100)]
dnsdist: Add 9997 to the 1.6.0-alpha1 ChangeLog
Remi Gacogne [Fri, 29 Jan 2021 11:46:01 +0000 (12:46 +0100)]
Merge pull request #9997 from rgacogne/ddist-concurrent-conns
dnsdist: Limit the number of concurrent console and web connections
Remi Gacogne [Thu, 28 Jan 2021 09:36:28 +0000 (10:36 +0100)]
Add more unit tests directly testing hashQNameWithSalt()
Remi Gacogne [Wed, 27 Jan 2021 21:27:42 +0000 (22:27 +0100)]
Add a unit test directly testing hashQNameWithSalt()
Remi Gacogne [Wed, 6 Jan 2021 09:25:12 +0000 (10:25 +0100)]
Only call std::string::reserve() when needed in hashQNameWithSalt()
Remi Gacogne [Fri, 11 Dec 2020 15:47:51 +0000 (16:47 +0100)]
Don't copy the same salt for all iterations in hashQNameWithSalt()
The salt does not change between iterations, and the hash size is
constant, so we can just overwrite the hash instead.
Remi Gacogne [Fri, 29 Jan 2021 10:24:30 +0000 (11:24 +0100)]
dnsdist: Add unit tests for the connection management code
Remi Gacogne [Thu, 21 Jan 2021 13:43:37 +0000 (14:43 +0100)]
dnsdist: Limit the number of concurrent web connections
Remi Gacogne [Thu, 21 Jan 2021 12:58:29 +0000 (13:58 +0100)]
dnsdist: Limit the number of concurrent console connections
Remi Gacogne [Thu, 28 Jan 2021 17:07:45 +0000 (18:07 +0100)]
Fix typos
Remi Gacogne [Thu, 28 Jan 2021 17:00:29 +0000 (18:00 +0100)]
dnsdist: ChangeLog and secpoll update for 1.6.0-alpha1
Remi Gacogne [Thu, 28 Jan 2021 11:09:16 +0000 (12:09 +0100)]
Merge pull request #9950 from pieterlexis/maxtcpclient-error
dnsdist: Improve error with a hint on how to fix it
Pieter Lexis [Tue, 12 Jan 2021 08:58:50 +0000 (09:58 +0100)]
ddist: improve error with a hint on how to fix it
Remi Gacogne [Thu, 28 Jan 2021 09:26:12 +0000 (10:26 +0100)]
Merge pull request #10011 from pieterlexis/ddist-doc-deprecation
dnsdist: clean up docs for 1.6.0
Otto Moerbeek [Wed, 27 Jan 2021 16:28:17 +0000 (17:28 +0100)]
Merge pull request #10023 from omoerbeek/dnsdist-vdt-BasicQPSLimiter
dnsdist: Silence clang 12 warning
Otto Moerbeek [Wed, 27 Jan 2021 15:52:28 +0000 (16:52 +0100)]
Title underline too short
Otto Moerbeek [Wed, 27 Jan 2021 15:35:21 +0000 (16:35 +0100)]
Merge pull request #10004 from omoerbeek/rec-2038-unit-tests
rec: fix recursor caches to handle timestamps > 2038
Otto [Wed, 27 Jan 2021 15:22:14 +0000 (16:22 +0100)]
Silence clang 12 warning: destructor called on non-final 'QPSLimiter' that has virtual
functions but non-virtual destructor
Otto Moerbeek [Wed, 27 Jan 2021 14:25:09 +0000 (15:25 +0100)]
Merge pull request #10014 from omoerbeek/rec-validate-after-2038
Rec: validate signatures after 2038 and more
Otto Moerbeek [Wed, 27 Jan 2021 14:24:01 +0000 (15:24 +0100)]
Use named qtype
Co-authored-by: Remi Gacogne <rgacogne+github@valombre.net>
Pieter Lexis [Tue, 26 Jan 2021 11:14:11 +0000 (12:14 +0100)]
Remove functions deprecated before 1.4.0
Pieter Lexis [Tue, 26 Jan 2021 11:11:33 +0000 (12:11 +0100)]
remove all pre-1.4.0 versionchanged tags
Pieter Lexis [Tue, 26 Jan 2021 11:08:56 +0000 (12:08 +0100)]
remove all pre-1.4.0 versionadded tags
Otto Moerbeek [Wed, 27 Jan 2021 12:23:05 +0000 (13:23 +0100)]
Merge pull request #10020 from omoerbeek/rec-taskqueue-metrics
rec: Document taskqueue metrics and add them to SNMP MIB
Otto Moerbeek [Wed, 27 Jan 2021 10:42:44 +0000 (11:42 +0100)]
Merge pull request #10019 from omoerbeek/rec-dnssec-cd-docs
rec: Document CD bit better, reference detailed DNSSEC docs from settings
Otto [Wed, 27 Jan 2021 10:30:12 +0000 (11:30 +0100)]
Typos and spelling
Otto [Wed, 27 Jan 2021 10:19:41 +0000 (11:19 +0100)]
Document taskqueue metrics and add them to SNMP MIB
Otto [Wed, 27 Jan 2021 08:46:16 +0000 (09:46 +0100)]
Document CD bit better, reference detailed DNSSEC docs from settings
and reformat two item lists.
Remi Gacogne [Wed, 27 Jan 2021 08:41:24 +0000 (09:41 +0100)]
Merge pull request #10015 from rgacogne/ddist-nmg-exclude
dnsdist: Accept a NMG to fill DynBlockRulesGroup ranges
Remi Gacogne [Tue, 26 Jan 2021 16:39:00 +0000 (17:39 +0100)]
dnsdist: Accept a NMG to fill DynBlockRulesGroup ranges
Remi Gacogne [Tue, 26 Jan 2021 15:59:21 +0000 (16:59 +0100)]
Merge pull request #9974 from rgacogne/ddist-rename-non-terminal-actions
dnsdist: Unify non-terminal actions as SetXXXAction()
Otto [Tue, 26 Jan 2021 14:54:23 +0000 (15:54 +0100)]
Allow testing at a specific point in time for SyncRes and primeHints.
Use this to test various signature validation cases at interesting
moments in time. Beyond 2106 fails atm.
Otto [Tue, 26 Jan 2021 14:53:18 +0000 (15:53 +0100)]
Mention rfc4034.tx in comments, marking the spots something has to be done in the future.
Remi Gacogne [Tue, 26 Jan 2021 13:41:04 +0000 (14:41 +0100)]
Merge pull request #9998 from rgacogne/dnsdist-aligned-atomics
dnsdist: aligned atomics
Remi Gacogne [Tue, 26 Jan 2021 13:06:57 +0000 (14:06 +0100)]
Merge pull request #10012 from rgacogne/ddist-fix-edns-servfail-no-server
dnsdist: Fix EDNS in ServFail generated when no server is available
Remi Gacogne [Tue, 26 Jan 2021 11:53:59 +0000 (12:53 +0100)]
dnsdist: Fix EDNS in ServFail generated when no server is available
Remi Gacogne [Tue, 26 Jan 2021 11:43:12 +0000 (12:43 +0100)]
dnsdist: Fix issues and comments from the code review
Otto [Tue, 26 Jan 2021 10:02:34 +0000 (11:02 +0100)]
Formatting
Remi Gacogne [Thu, 14 Jan 2021 15:34:28 +0000 (16:34 +0100)]
dnsdist: Unify non-terminal actions as SetXXXAction()
Remi Gacogne [Tue, 26 Jan 2021 09:07:25 +0000 (10:07 +0100)]
Merge pull request #9999 from rgacogne/ddist-qps-cache-hits
dnsdist: Don't apply QPS to backend server on cache hits
Remi Gacogne [Tue, 26 Jan 2021 08:44:11 +0000 (09:44 +0100)]
dnsdist: Fix source files order in Makefile.am
Pieter Lexis [Mon, 25 Jan 2021 15:14:54 +0000 (16:14 +0100)]
Merge pull request #10003 from pieterlexis/rec-spec-fixes
Two spec-file fixes for the recursor
Otto [Mon, 25 Jan 2021 15:11:21 +0000 (16:11 +0100)]
Basic test for negcache.
This one seems to be safe from code inspection. All timestamps are time_t.
Pieter Lexis [Mon, 25 Jan 2021 09:43:25 +0000 (10:43 +0100)]
rec rpms: pull in fstrm unconditionally
Otto [Mon, 25 Jan 2021 12:44:42 +0000 (13:44 +0100)]
More elaborate unit tests for recursor cache and fix implemantation.
There remain cases where a time_t is assigned to a uint32_t. This is wrong
but cannot be avoided atm due to swicthing back and forth between ttl and ttd
in records. This will cause trouble when time causes uint32_t to wrap.
Otto [Mon, 25 Jan 2021 10:00:53 +0000 (11:00 +0100)]
Add/modify test so the timestamps involved pass the 2038 high cliff.
Recursor cache one is currently failing, a few functions return
int32_t instead of time_t.
Pieter Lexis [Mon, 25 Jan 2021 09:43:06 +0000 (10:43 +0100)]
rec rpms: stop pulling in protobuf build depends
Pieter Lexis [Fri, 22 Jan 2021 13:36:39 +0000 (14:36 +0100)]
Merge pull request #10001 from wopfel/carbon_instance_help_text
Fix help text for carbon-instance
Otto Moerbeek [Fri, 22 Jan 2021 13:15:18 +0000 (14:15 +0100)]
Merge pull request #9996 from pieterlexis/rec-rfc6761-localhost
rec: treat the .localhost domain as special
Bernd Arnold [Fri, 22 Jan 2021 12:11:08 +0000 (13:11 +0100)]
Fix help text for carbon-instance
"the the"
When running `pdns_recursor --help`, or `pdns_server --help`:
--carbon-instance=...
If set overwrites the the instance name default
Remi Gacogne [Thu, 21 Jan 2021 16:25:51 +0000 (17:25 +0100)]
dnsdist: Don't apply QPS to backend server on cache hits
Otto Moerbeek [Fri, 11 Sep 2020 09:53:15 +0000 (11:53 +0200)]
Separate out stat_h into a .hh file and make it a template in the pdns namespace.
Otto Moerbeek [Wed, 9 Sep 2020 12:34:51 +0000 (14:34 +0200)]
Use atomics aligned to CPU_LEVEL1_DCACHE_LINESIZE for stats
Pieter Lexis [Thu, 21 Jan 2021 10:10:19 +0000 (11:10 +0100)]
rec: treat the .localhost domain as special
This satisfies the SHOULD in RFC6761 section 6.3 point 4.
Remi Gacogne [Wed, 20 Jan 2021 10:54:09 +0000 (11:54 +0100)]
Merge pull request #9993 from rgacogne/ddist-offensive-terms
dnsdist: Replace offensive terms in our code and documentation
Remi Gacogne [Wed, 20 Jan 2021 09:50:39 +0000 (10:50 +0100)]
Merge pull request #9991 from rgacogne/ddist-notimp-empty-queries
dnsdist: Send a NotImp answer on empty (qdcount=0) queries