]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Wed, 15 Sep 2021 07:44:18 +0000 (09:44 +0200)]
dnsdist: Update Outgoing regression tests for hashed credentials
Remi Gacogne [Wed, 30 Jun 2021 14:25:53 +0000 (16:25 +0200)]
dnsdist: Reduce the "non-hashed password" messages to the info level
Remi Gacogne [Wed, 30 Jun 2021 14:04:04 +0000 (16:04 +0200)]
Document that hashed credentials can be used without 'webserver-hash-plaintext-credentials'
Remi Gacogne [Wed, 30 Jun 2021 13:57:00 +0000 (15:57 +0200)]
rec: Add "hash-password" to the rec_control help
Remi Gacogne [Tue, 29 Jun 2021 10:30:22 +0000 (12:30 +0200)]
Update m4/pdns_check_libcrypto.m4
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Wed, 23 Jun 2021 16:00:25 +0000 (18:00 +0200)]
Credentials: Fix compilation without OpenSSL 1.1.1
Remi Gacogne [Wed, 23 Jun 2021 15:57:15 +0000 (17:57 +0200)]
Credentials: Fix formatting issues
Remi Gacogne [Wed, 23 Jun 2021 15:41:57 +0000 (17:41 +0200)]
Whitelist 'scrypt' for the spell checker
Remi Gacogne [Wed, 23 Jun 2021 15:40:41 +0000 (17:40 +0200)]
dnsdist: Convert the regression tests to the new password storage format
Remi Gacogne [Mon, 21 Jun 2021 16:30:14 +0000 (18:30 +0200)]
Credentials: Apply comments from code review
Remi Gacogne [Mon, 21 Jun 2021 16:14:55 +0000 (18:14 +0200)]
Credentials: Fix a missing semicolon
Remi Gacogne [Mon, 21 Jun 2021 16:14:15 +0000 (18:14 +0200)]
auth: Allow hashing with a custom work factor
Remi Gacogne [Mon, 21 Jun 2021 16:14:02 +0000 (18:14 +0200)]
rec: Allow hashing with a custom work factor
Remi Gacogne [Mon, 21 Jun 2021 15:53:17 +0000 (17:53 +0200)]
dnsdist: Allow hashing with a custom work factor
Remi Gacogne [Sat, 12 Jun 2021 15:40:09 +0000 (17:40 +0200)]
Use OpenSSL's scrypt for secure credential storage
Remi Gacogne [Fri, 9 Apr 2021 13:15:09 +0000 (15:15 +0200)]
rec_control, pdnsutil: Read the credentials from the terminal/stdin
Remi Gacogne [Fri, 9 Apr 2021 10:29:09 +0000 (12:29 +0200)]
Make the hashing of plaintext credentials optional
Remi Gacogne [Thu, 8 Apr 2021 16:35:51 +0000 (18:35 +0200)]
Actually check whether crypto_pwhash_str() is available
Instead of just checking if libsodium is there.
Remi Gacogne [Thu, 8 Apr 2021 16:33:59 +0000 (18:33 +0200)]
Use sodium_memcmp() if CRYPTO_memcmp() is not available
Remi Gacogne [Thu, 8 Apr 2021 16:25:14 +0000 (18:25 +0200)]
auth: Be more straightforward in pdnsutil for 'hash-password'
Remi Gacogne [Thu, 8 Apr 2021 16:24:21 +0000 (18:24 +0200)]
rec: Be more straightforward in rec_control for 'hash-password'
Remi Gacogne [Thu, 8 Apr 2021 16:20:46 +0000 (18:20 +0200)]
dnsdist: Clarify that setWebserverConfig() wants a hashed password
Remi Gacogne [Thu, 8 Apr 2021 16:19:43 +0000 (18:19 +0200)]
Run the credentials unit tests in the auth and rec as well
Remi Gacogne [Wed, 31 Mar 2021 11:42:51 +0000 (13:42 +0200)]
Fix formatting
Remi Gacogne [Wed, 31 Mar 2021 09:43:09 +0000 (11:43 +0200)]
dnsdist: Fix formatting in test-credentials_cc.cc
Remi Gacogne [Wed, 31 Mar 2021 09:35:27 +0000 (11:35 +0200)]
CircleCI: ixfrdist needs the sodium library now
Remi Gacogne [Wed, 31 Mar 2021 09:07:25 +0000 (11:07 +0200)]
dnsdist: API keys should now be hashed as well
Remi Gacogne [Wed, 31 Mar 2021 07:52:57 +0000 (09:52 +0200)]
auth: Add speed tests for the credentials class
Remi Gacogne [Wed, 31 Mar 2021 07:52:44 +0000 (09:52 +0200)]
dnsdist: Add unit tests for the credentials class
Remi Gacogne [Wed, 31 Mar 2021 07:52:03 +0000 (09:52 +0200)]
dnsdist: We want to know if the password was hashed, not if it is now
Remi Gacogne [Wed, 31 Mar 2021 07:07:16 +0000 (09:07 +0200)]
rec: Document that the webserver password and API key can be hashed
Remi Gacogne [Wed, 31 Mar 2021 07:06:45 +0000 (09:06 +0200)]
auth: Document that the webserver password and API key can be hashed
Remi Gacogne [Wed, 31 Mar 2021 07:06:18 +0000 (09:06 +0200)]
dnsdist: Document that the API key can now be hashed as well
Remi Gacogne [Tue, 30 Mar 2021 17:25:11 +0000 (19:25 +0200)]
Attempt at constant-time credentials verification without sodium
Remi Gacogne [Tue, 30 Mar 2021 15:57:33 +0000 (17:57 +0200)]
rec: Implement rec_control hash-password
Remi Gacogne [Tue, 30 Mar 2021 15:57:11 +0000 (17:57 +0200)]
auth: Implement pdnsutil hash-password
Remi Gacogne [Tue, 30 Mar 2021 15:56:45 +0000 (17:56 +0200)]
Support hashed credentials (password, API key) in the auth and rec
Remi Gacogne [Tue, 30 Mar 2021 15:55:23 +0000 (17:55 +0200)]
dnsdist: Make hashed passwords more transparent to use
Remi Gacogne [Wed, 10 Mar 2021 08:58:24 +0000 (09:58 +0100)]
dnsdist: Fix a missing space in the documentation
Remi Gacogne [Wed, 10 Mar 2021 08:48:47 +0000 (09:48 +0100)]
dnsdist: Fix a weird sentence in the documentation
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Remi Gacogne [Tue, 9 Mar 2021 17:27:56 +0000 (18:27 +0100)]
dnsdist: Move to hashed passwords for the web interface
It is not very good practice to keep the password in plaintext in
the configuration file as well as in memory at runtime.
Peter van Dijk [Thu, 16 Sep 2021 11:17:42 +0000 (13:17 +0200)]
Merge pull request #10725 from Habbie/remote-check-debug
gh actions: auth make check: cat remotebackend test log
Peter van Dijk [Wed, 15 Sep 2021 11:46:08 +0000 (13:46 +0200)]
gh actions: auth make check: cat remotebackend test log
Remi Gacogne [Wed, 15 Sep 2021 19:31:30 +0000 (21:31 +0200)]
Merge pull request #10728 from rgacogne/ddist-document-dq-getprotocol
dnsdist: Document DNSQuestion:getProtocol()
Remi Gacogne [Wed, 15 Sep 2021 13:40:07 +0000 (15:40 +0200)]
Merge pull request #10724 from rgacogne/ddist-iostateguard-dtor
dnsdist: Handle exception raised in IOStateGuard's destructor
Remi Gacogne [Wed, 15 Sep 2021 13:33:29 +0000 (15:33 +0200)]
dnsdist: Document DNSQuestion:getProtocol()
Remi Gacogne [Wed, 15 Sep 2021 13:14:16 +0000 (15:14 +0200)]
Merge pull request #10704 from rgacogne/ddist-tcp-workers-default
dnsdist: Stop raising the number of TCP workers to the number of TCP binds
Remi Gacogne [Wed, 15 Sep 2021 11:45:16 +0000 (13:45 +0200)]
Merge pull request #10599 from rgacogne/rec-stricter-checks-ds
rec: Be more strict when validating DS wrt parent/child NSEC(3)s
Peter van Dijk [Wed, 15 Sep 2021 11:36:51 +0000 (13:36 +0200)]
Merge pull request #10721 from Habbie/new-nose
require nose >= 1.3.7 everywhere
Remi Gacogne [Wed, 15 Sep 2021 09:01:12 +0000 (11:01 +0200)]
Merge pull request #10698 from rgacogne/ddist161-changelog
dnsdist: Prepare ChangeLog and secpoll for 1.6.1
Remi Gacogne [Wed, 15 Sep 2021 08:15:52 +0000 (10:15 +0200)]
dnsdist: Handle exception raised in IOStateGuard's destructor
Reported by Coverity (CID 372512).
Remi Gacogne [Wed, 15 Sep 2021 07:47:19 +0000 (09:47 +0200)]
dnsdist: Update the release date for 1.6.1 in the ChangeLog
Otto Moerbeek [Wed, 15 Sep 2021 07:33:37 +0000 (09:33 +0200)]
Merge pull request #10663 from omoerbeek/rec-cumul-answer-stats-followup
rec: followup to Prometheus-friendly histograms (#10122)
Peter van Dijk [Tue, 14 Sep 2021 14:06:55 +0000 (16:06 +0200)]
require nose >= 1.3.7 everywhere
Otto [Tue, 14 Sep 2021 12:58:53 +0000 (14:58 +0200)]
Fix name of _sum
Remi Gacogne [Tue, 14 Sep 2021 10:39:11 +0000 (12:39 +0200)]
Merge pull request #10635 from rgacogne/ddist-doh-backend-rebased
dnsdist: Implementation of DoH between dnsdist and the backend
Remi Gacogne [Tue, 14 Sep 2021 07:51:49 +0000 (09:51 +0200)]
dnsdist: Convert the TLS session cache to LockGuarded
Otto [Tue, 14 Sep 2021 07:43:42 +0000 (09:43 +0200)]
_count and _sum should be per label as noted by @wojas
Remi Gacogne [Mon, 13 Sep 2021 14:11:58 +0000 (16:11 +0200)]
dnsdist: The 'number of TCP workers' revert did not make it to 1.6.1
Remi Gacogne [Wed, 8 Sep 2021 14:02:34 +0000 (16:02 +0200)]
dnsdist: Document the revert to 10 TCP workers by default
Remi Gacogne [Wed, 8 Sep 2021 14:00:53 +0000 (16:00 +0200)]
dnsdist: Stop raising the number of TCP workers to the number of TCP binds
Remi Gacogne [Wed, 8 Sep 2021 14:01:50 +0000 (16:01 +0200)]
dnsdist: Document the change in the number of TCP workers in 1.6.0
Remi Gacogne [Mon, 13 Sep 2021 12:15:02 +0000 (14:15 +0200)]
dnsdist: Update ChangeLog and secpoll for releasing 1.6.1 on the 15th
Remi Gacogne [Tue, 7 Sep 2021 15:09:39 +0000 (17:09 +0200)]
dnsdist: Prepare ChangeLog and secpoll for 1.6.1
Otto [Tue, 24 Aug 2021 14:15:41 +0000 (16:15 +0200)]
Add a sum test for histogram
Otto [Tue, 24 Aug 2021 08:13:30 +0000 (10:13 +0200)]
Fix natural sorting of bucket names
Otto [Tue, 24 Aug 2021 07:40:03 +0000 (09:40 +0200)]
Process feedback from jtodd: better names and HELP and use a tag to distinguish
ipv4 and ipv6 for the new Prometheus-friendly histograms.
Remi Gacogne [Mon, 13 Sep 2021 13:49:01 +0000 (15:49 +0200)]
dnsdist: Add missing metrics to the API regression tests
Remi Gacogne [Thu, 9 Sep 2021 14:43:28 +0000 (16:43 +0200)]
dnsdist: Add metrics for outgoing DoH and cross-protocol flows
Remi Gacogne [Wed, 8 Sep 2021 14:52:12 +0000 (16:52 +0200)]
dnsdist: Remove duplicated member
Reported by cppcheck.
Remi Gacogne [Wed, 8 Sep 2021 14:51:01 +0000 (16:51 +0200)]
Apply performance advices from cppcheck
I'm pretty sure the compiler is smart enough to do that by itself,
but it does not hurt and makes the warnings go away.
Remi Gacogne [Tue, 7 Sep 2021 10:19:40 +0000 (12:19 +0200)]
dnsdist: Prevent TSAN from complaining about carbon metrics
Remi Gacogne [Tue, 7 Sep 2021 10:19:03 +0000 (12:19 +0200)]
dnsdist: Fix a warning about array init for HTTP/2 headers
Remi Gacogne [Tue, 7 Sep 2021 10:18:04 +0000 (12:18 +0200)]
dnsdist: Fix wrong reference counting in DoH cross-protocol handling
Remi Gacogne [Tue, 7 Sep 2021 10:16:57 +0000 (12:16 +0200)]
dnsdist: Cleaning the connections cache is done per thread
Remi Gacogne [Tue, 7 Sep 2021 07:50:44 +0000 (09:50 +0200)]
Add 'nghttp' to the spell-checker list of expected words
Remi Gacogne [Mon, 6 Sep 2021 16:12:45 +0000 (18:12 +0200)]
dnsdist: Don't warn about outgoing DoH worker then there isn't any
Remi Gacogne [Mon, 6 Sep 2021 16:12:28 +0000 (18:12 +0200)]
dnsdist: Add more outgoing DoH documentation
Remi Gacogne [Mon, 6 Sep 2021 15:44:34 +0000 (17:44 +0200)]
dnsdist: The number of concurrent streams is hardcoded in libh2o
Remi Gacogne [Mon, 6 Sep 2021 14:50:07 +0000 (16:50 +0200)]
dnsdist: Fix formatting
Remi Gacogne [Mon, 6 Sep 2021 14:46:38 +0000 (16:46 +0200)]
dnsdist: Implement Proxy Protocol support for outgoing DoH
Remi Gacogne [Mon, 6 Sep 2021 07:48:22 +0000 (09:48 +0200)]
dnsdist: Fix formatting
It actually makes it harder to read the lists of events in the HTTP/2
unit tests, but I can't find a proper way to fix that.
Remi Gacogne [Sat, 4 Sep 2021 09:54:24 +0000 (11:54 +0200)]
dnsdist: Replace useless switch() with an if statement
Remi Gacogne [Fri, 3 Sep 2021 15:39:06 +0000 (17:39 +0200)]
Add DoH to the spell-check patterns
Remi Gacogne [Fri, 3 Sep 2021 15:35:18 +0000 (17:35 +0200)]
dnsdist: Add an outgoing DoH workers setting, minimal documentation
Remi Gacogne [Tue, 31 Aug 2021 15:16:09 +0000 (17:16 +0200)]
dnsdist: Add unit tests for outgoing DoH
Remi Gacogne [Mon, 30 Aug 2021 15:39:19 +0000 (17:39 +0200)]
dnsdist: Unify the conflicting FDWrapper from rec and dnsdist
Remi Gacogne [Mon, 30 Aug 2021 15:04:01 +0000 (17:04 +0200)]
dnsdist: Process responses in the right thread for incoming TCP/DoT queries
Remi Gacogne [Fri, 27 Aug 2021 14:54:03 +0000 (16:54 +0200)]
dnsdist: Add regression tests for DoH between dnsdist and the backend
Remi Gacogne [Fri, 27 Aug 2021 09:39:23 +0000 (11:39 +0200)]
dnsdist: Use the 'checkTimeout' value for health-check queries
Remi Gacogne [Thu, 26 Aug 2021 13:34:49 +0000 (15:34 +0200)]
dnsdist: Add support for outgoing X-Forwarded-* headers
Remi Gacogne [Wed, 25 Aug 2021 14:47:42 +0000 (16:47 +0200)]
dnsdist: Fix build on ancient GnuTLS versions (< 3.5.0)
Remi Gacogne [Wed, 25 Aug 2021 14:28:04 +0000 (16:28 +0200)]
dnsdist: Build with nghttp2 support in GitHub actions
Remi Gacogne [Wed, 25 Aug 2021 14:14:46 +0000 (16:14 +0200)]
dnsdist: Add initial support for TCP/DoT -> DoH
Remi Gacogne [Wed, 25 Aug 2021 12:06:49 +0000 (14:06 +0200)]
dnsdist: Accept more than one TLS ticket from the same connection
Remi Gacogne [Wed, 25 Aug 2021 10:24:43 +0000 (12:24 +0200)]
dnsdist: Fix formatting in dnsdist-nghttp2.cc
Remi Gacogne [Wed, 25 Aug 2021 09:00:27 +0000 (11:00 +0200)]
dnsdist: Build with nghttp2 support when available
Remi Gacogne [Wed, 25 Aug 2021 08:49:13 +0000 (10:49 +0200)]
dnsdist: Proper detection of nghttp2 support
Remi Gacogne [Tue, 24 Aug 2021 15:39:49 +0000 (17:39 +0200)]
dnsdist: Implement health-checks for DoH backends
Remi Gacogne [Fri, 6 Aug 2021 15:01:03 +0000 (17:01 +0200)]
dnsdist: Better downstream DoH support, better DoT/DoH ALPN handling