]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Thu, 7 Oct 2021 15:35:26 +0000 (17:35 +0200)]
dnsdist: Disable TLS renegotiation, release buffers for outgoing TLS
We already do that for incoming TLS connections, do it for outgoing
ones as well.
Peter van Dijk [Thu, 7 Oct 2021 08:24:06 +0000 (10:24 +0200)]
Merge pull request #10747 from Habbie/auth-4.6.0-alpha1-docs
auth 4.6.0 alpha1: changelog & secpoll
Peter van Dijk [Tue, 21 Sep 2021 14:04:35 +0000 (16:04 +0200)]
auth 4.6.0 alpha1: changelog & secpoll
Remi Gacogne [Thu, 7 Oct 2021 07:59:34 +0000 (09:59 +0200)]
Merge pull request #10791 from chbruyand/dnsdist-skip-options
dnsdist: allow skipping arbitrary EDNS options when computing packet hash
Remi Gacogne [Thu, 7 Oct 2021 07:55:40 +0000 (09:55 +0200)]
Merge pull request #10812 from chbruyand/dnsdist-advancedtests-cleanup
dnsdist tests: remove redundant tests
Charles-Henri Bruyand [Wed, 6 Oct 2021 12:30:35 +0000 (14:30 +0200)]
fuzz: update canHashPacket() calls accordingly
Peter van Dijk [Wed, 6 Oct 2021 11:06:17 +0000 (13:06 +0200)]
Merge pull request #10780 from Habbie/remove-attodot
auth: remove attodot feature; fixes #10254
Charles-Henri Bruyand [Wed, 6 Oct 2021 10:14:12 +0000 (12:14 +0200)]
remove DNSDistPacketCache::setCookieHashing and clarify documentation and code about skipped options
Peter van Dijk [Wed, 6 Oct 2021 10:00:27 +0000 (12:00 +0200)]
Merge pull request #10788 from mind04/pdns-getalldomains
auth: improve SOA parse exception handling
Charles-Henri Bruyand [Wed, 6 Oct 2021 09:28:12 +0000 (11:28 +0200)]
prevent unnecessary padding
Charles-Henri Bruyand [Wed, 6 Oct 2021 09:18:43 +0000 (11:18 +0200)]
dnsdist tests: remove redundant tests
Peter van Dijk [Fri, 1 Oct 2021 15:03:24 +0000 (17:03 +0200)]
pdnsutil check-zone: warn about @ in SOA RNAME
Co-authored-by: Kees Monshouwer <mind04@monshouwer.org>
Peter van Dijk [Thu, 23 Sep 2021 15:25:16 +0000 (17:25 +0200)]
auth: remove attodot feature; fixes #10254
Otto Moerbeek [Wed, 6 Oct 2021 05:42:00 +0000 (07:42 +0200)]
too short title line
Otto Moerbeek [Tue, 5 Oct 2021 19:20:58 +0000 (21:20 +0200)]
Merge pull request #10800 from omoerbeek/rec-fix-10799
rec: Fix compile error on Ubuntu 18
Otto [Tue, 5 Oct 2021 11:50:12 +0000 (13:50 +0200)]
Fixes 10799:
test-rec-zonetocache.cc: In member function 'void rec_zonetocache::test_zonetocache::test_method()':
test-rec-zonetocache.cc:77:27: sorry, unimplemented: non-trivial designated initializers not supported
.d_refreshPeriod = 0};
^
test-rec-zonetocache.cc:77:27: warning: missing initializer for member 'RecZoneToCache::Config::d_tt' [-Wmissing-field-initializers]
Otto Moerbeek [Tue, 5 Oct 2021 10:08:38 +0000 (12:08 +0200)]
Merge pull request #10794 from omoerbeek/rec-zonetocache-followup
rec: Followup on ZoneToCache and fix #10246: document local root config
Otto Moerbeek [Tue, 5 Oct 2021 08:47:42 +0000 (10:47 +0200)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <github@coredump.fr>
Kees Monshouwer [Fri, 1 Oct 2021 08:33:27 +0000 (10:33 +0200)]
auth: fix the SOA check in pdnsutil
Kees Monshouwer [Thu, 30 Sep 2021 20:46:28 +0000 (22:46 +0200)]
auth: ignore broken SOA content in getAllDomains(),
avoid unnecessary parsing of SOA content
Otto [Tue, 5 Oct 2021 07:42:19 +0000 (09:42 +0200)]
Followup on ZoneToCache and fix #10246: document local root config (rfc8806)
Otto Moerbeek [Mon, 4 Oct 2021 13:23:00 +0000 (15:23 +0200)]
Merge pull request #10505 from omoerbeek/rec-zonetocache
Add a periodic zones-to-cache function.
Otto [Mon, 4 Oct 2021 11:46:59 +0000 (13:46 +0200)]
Add two comments based on code review
Otto [Mon, 4 Oct 2021 11:36:50 +0000 (13:36 +0200)]
Small stuff from review comments
Otto [Mon, 4 Oct 2021 10:23:21 +0000 (12:23 +0200)]
Basic zone to cache unit test plus scaffolding to make structured
logging work (test backend logs to the regular logging)
Otto Moerbeek [Fri, 1 Oct 2021 13:40:47 +0000 (15:40 +0200)]
Don;t take refresh time from SOA, allow for single shot (refreshPeriod = 0) and
docs fixes.
Otto Moerbeek [Fri, 1 Oct 2021 12:18:23 +0000 (14:18 +0200)]
Docs
Otto Moerbeek [Fri, 1 Oct 2021 11:42:14 +0000 (13:42 +0200)]
Use structured logging, move loading to separate thread (a la RPZ)
Otto Moerbeek [Fri, 1 Oct 2021 11:31:57 +0000 (13:31 +0200)]
setting verbosity should not reset the logger name
Otto [Wed, 29 Sep 2021 14:36:42 +0000 (16:36 +0200)]
Current code doesn't care if dnssec is enabled or not; reorder struct Config
Otto [Wed, 29 Sep 2021 13:51:51 +0000 (15:51 +0200)]
Scaffolding for config via Lua
Otto [Wed, 12 May 2021 13:56:57 +0000 (15:56 +0200)]
Add a periodic zones-to-cache function.
No signatures are validated, that will happen on-demand if the
records are used.
Peter van Dijk [Mon, 4 Oct 2021 10:02:47 +0000 (12:02 +0200)]
Merge pull request #10562 from Habbie/auth-log-nsname
auth NOTIFY: log names of NSes we could not resolve
Peter van Dijk [Mon, 4 Oct 2021 08:22:04 +0000 (10:22 +0200)]
Merge pull request #10784 from Habbie/docs-remove-autoserial
auth docs: remove some leftover mentions of autoserial
Remi Gacogne [Mon, 4 Oct 2021 07:38:17 +0000 (09:38 +0200)]
Merge pull request #10787 from rgacogne/ddist-udp-cross-protocol-cache
dnsdist: Properly cache UDP queries passed to a TCP/DoT/DoH backend
Remi Gacogne [Mon, 4 Oct 2021 07:32:13 +0000 (09:32 +0200)]
Merge pull request #10789 from rgacogne/ddist-typo-healthchecks
dnsdist: Fix several typos in the health check code
Remi Gacogne [Mon, 4 Oct 2021 07:20:57 +0000 (09:20 +0200)]
Merge pull request #10783 from rgacogne/remove-BoundsCheckingPointer
Remove the unused BoundsCheckingPointer class
Peter van Dijk [Fri, 1 Oct 2021 15:52:39 +0000 (17:52 +0200)]
reduce back and forth type conversions; beter var naming
Charles-Henri Bruyand [Fri, 1 Oct 2021 15:46:39 +0000 (17:46 +0200)]
auth: update canHashPacket() calls accordingly
Charles-Henri Bruyand [Fri, 1 Oct 2021 15:06:13 +0000 (17:06 +0200)]
add a regression test
Charles-Henri Bruyand [Fri, 1 Oct 2021 13:35:31 +0000 (15:35 +0200)]
dnsdist: allow skipping arbitrary EDNS options when computing packets hash
Remi Gacogne [Fri, 1 Oct 2021 13:16:25 +0000 (15:16 +0200)]
dnsdist: Try to work around a TSAN false positive
tcpMaxConcurrentConnections is an indicative metric, we don't really
care if there is a small race here.
Remi Gacogne [Fri, 1 Oct 2021 11:25:59 +0000 (13:25 +0200)]
dnsdist: Fix several typos in the health check code
Remi Gacogne [Fri, 1 Oct 2021 08:44:17 +0000 (10:44 +0200)]
dnsdist: Properly cache UDP queries passed to a TCP/DoT/DoH backend
We use to tell the cache that the queries was received over TCP when
inserting the response into the packet cache, which is obviously not
true.
Peter van Dijk [Thu, 30 Sep 2021 15:58:56 +0000 (17:58 +0200)]
auth docs: remove some leftover mentions of autoserial
Remi Gacogne [Thu, 30 Sep 2021 15:35:14 +0000 (17:35 +0200)]
Remove the unused BoundsCheckingPointer class
Peter van Dijk [Mon, 5 Jul 2021 09:25:40 +0000 (11:25 +0200)]
auth NOTIFY: log names of NSes we could not resolve
Remi Gacogne [Thu, 30 Sep 2021 07:37:01 +0000 (09:37 +0200)]
Merge pull request #10772 from rgacogne/ddist-outgoing-doh-threads
dnsdist: Better handling of outgoing DoH workers
Peter van Dijk [Thu, 30 Sep 2021 06:56:10 +0000 (08:56 +0200)]
Merge pull request #10777 from aerique/feature/add-rec-46-to-repo-script
Add dnsdist-17 and rec-46 to repo test script.
Peter van Dijk [Thu, 30 Sep 2021 06:44:22 +0000 (08:44 +0200)]
Merge pull request #10779 from jsoref/decrypt
auth: fix copy+paste for decrypt
Josh Soref [Wed, 29 Sep 2021 18:19:10 +0000 (14:19 -0400)]
auth: fix copy+paste for decrypt
Erik Winkels [Wed, 29 Sep 2021 13:01:02 +0000 (15:01 +0200)]
Add rec-46 to repo test script.
Otto Moerbeek [Wed, 29 Sep 2021 08:48:57 +0000 (10:48 +0200)]
Merge pull request #10764 from omoerbeek/rec-prep-4.6.0-alpha1
rec: Upgrade guide and changelog for rec-4.6.0-alpha1
Otto Moerbeek [Wed, 29 Sep 2021 08:36:40 +0000 (10:36 +0200)]
Merge pull request #10774 from omoerbeek/dnsdist-centos7-undef-cert
undef CERT from libssl, as it conflicts with the one from qtype.hh
Otto [Wed, 29 Sep 2021 07:01:03 +0000 (09:01 +0200)]
undef cert from libssl, as it conflicts with the one from qtype.hh
Peter van Dijk [Tue, 28 Sep 2021 17:09:46 +0000 (19:09 +0200)]
Merge pull request #10748 from mind04/pdns-bind-reload
auth: try to reload rejected zones in bind-backend
Otto Moerbeek [Tue, 28 Sep 2021 15:23:15 +0000 (17:23 +0200)]
Merge pull request #10773 from omoerbeek/dnsdist-regress-log
dnsdist: Print summary after a failed dnsdist regress run and disable secpoll
Peter van Dijk [Tue, 28 Sep 2021 15:13:33 +0000 (17:13 +0200)]
Merge pull request #10231 from pieterlexis/DNAME-YXDOMAIN
auth: send YXDOMAIN for too long DNAME synth
Remi Gacogne [Tue, 28 Sep 2021 14:18:50 +0000 (16:18 +0200)]
Merge pull request #10770 from rgacogne/auth-udp-handle-uncaught-exceptions
auth: Gracefully handle uncaught exceptions in the UDP path
Otto [Tue, 28 Sep 2021 13:33:31 +0000 (15:33 +0200)]
Print summary after a failed dnsdist regress run and disable secpoll
Remi Gacogne [Tue, 28 Sep 2021 13:43:41 +0000 (15:43 +0200)]
Merge pull request #10768 from rgacogne/rec-rpz-stats-name
rec: Use the correct RPZ policy name when loading via XFR
Remi Gacogne [Tue, 28 Sep 2021 13:38:42 +0000 (15:38 +0200)]
dnsdist: Better handling of outgoing DoH workers
This commit raises the number of DoH workers to be at least 1, always, unless
told otherwise via setOutgoingDoHWorkerThreads(0).
In that last case it raises an exception if the console is used to declare
a new DoH backend later on.
Remi Gacogne [Fri, 16 Jul 2021 12:16:15 +0000 (14:16 +0200)]
auth: Gracefully handle uncaught exceptions in the UDP path
These exceptions should never bubble up to this point, but if it
does it makes no sense to terminate the whole process because of it.
This commit logs a message at error level and moves on to the next
query, like we do in the TCP path.
Otto [Tue, 28 Sep 2021 10:25:18 +0000 (12:25 +0200)]
missed 10157
Otto Moerbeek [Tue, 28 Sep 2021 10:18:43 +0000 (12:18 +0200)]
Merge pull request #10760 from omoerbeek/libssl-file-mode
Don't create file with wide permissions
Remi Gacogne [Tue, 28 Sep 2021 10:15:04 +0000 (12:15 +0200)]
Merge pull request #10767 from chbruyand/dnsdist-settag
dnsdist: Update existing tags when calling setTagAction and setTagResponseAction
Remi Gacogne [Tue, 28 Sep 2021 09:12:23 +0000 (11:12 +0200)]
rec: Use the correct RPZ policy name when loading via XFR
This commit fixes two issues:
- if the existing zone name is not empty we should use it, instead of
the zone domain
- if the zone domain has to be used, it should not include a final dot
Otto Moerbeek [Tue, 28 Sep 2021 08:25:09 +0000 (10:25 +0200)]
Merge pull request #10765 from omoerbeek/rec-lwres-without-dnstap
rec: Fix compile for !HAVE_FSTRM
Otto Moerbeek [Tue, 28 Sep 2021 08:24:06 +0000 (10:24 +0200)]
add O_APPEND
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Tue, 28 Sep 2021 08:22:58 +0000 (10:22 +0200)]
Merge pull request #10766 from omoerbeek/dnsdist-clarify-addMasks
dnsdist: Improve NetmaskGroup:addMasks docs
Otto [Tue, 28 Sep 2021 08:21:07 +0000 (10:21 +0200)]
Less strong words on deprecated setting names.
Otto Moerbeek [Tue, 28 Sep 2021 06:32:49 +0000 (08:32 +0200)]
Merge pull request #10757 from rgacogne/rec-rpz-file-stats
rec: Update the stats (serial, number of records, timestamp) for RPZ files
Charles-Henri Bruyand [Mon, 27 Sep 2021 16:32:43 +0000 (18:32 +0200)]
dnsdist: make sure setting tags will overwrite any existing value
Otto [Mon, 27 Sep 2021 15:08:55 +0000 (17:08 +0200)]
Improve NetmaskGroup:addMasks docs
Otto Moerbeek [Mon, 27 Sep 2021 14:51:59 +0000 (16:51 +0200)]
Merge pull request #10763 from omoerbeek/clang12-for-gh-actions
Move to clang12 for github actions, at least tsan seems to work better
Otto [Mon, 27 Sep 2021 12:58:22 +0000 (14:58 +0200)]
Fix compile for !HAVE_FSTRM, spotted by mind04
Otto [Fri, 24 Sep 2021 08:49:34 +0000 (10:49 +0200)]
Upgrade guide and changelog for rec-4.6.0
Otto [Mon, 27 Sep 2021 11:14:10 +0000 (13:14 +0200)]
Move to clang12 for github actions, at least tsan seems to work better
Otto Moerbeek [Fri, 24 Sep 2021 14:40:25 +0000 (16:40 +0200)]
Merge pull request #10755 from rgacogne/speedtest-user-and-system-time
speedtest: Count the system time as well as the user time
Otto Moerbeek [Fri, 24 Sep 2021 13:59:32 +0000 (15:59 +0200)]
Merge pull request #10761 from omoerbeek/rec-fix-suseconds
rec: work around clang on MacOS being pedantic
Otto [Fri, 24 Sep 2021 12:40:57 +0000 (14:40 +0200)]
Better error messages
Otto [Fri, 24 Sep 2021 12:24:20 +0000 (14:24 +0200)]
On MacOS:
pdns_recursor.cc:5069:67: error: non-constant-expression cannot be narrowed from type 'long long' to '__darwin_suseconds_t' (aka 'int') in initializer list [-Wc++11-narrowing]
TCPOutConnectionManager::s_maxIdleTime = timeval{millis / 1000, (millis % 1000) * 1000 };
Otto [Fri, 24 Sep 2021 12:11:19 +0000 (14:11 +0200)]
Don't create file with wide permissions as noted by CodeQL
Otto Moerbeek [Fri, 24 Sep 2021 10:13:48 +0000 (12:13 +0200)]
Merge pull request #10669 from omoerbeek/rec-tcp-connection-pooling2
Rec: tcp/dot connection pooling
Otto [Fri, 24 Sep 2021 08:56:20 +0000 (10:56 +0200)]
Fixes in docs and metrics help texts
Otto [Fri, 24 Sep 2021 07:10:11 +0000 (09:10 +0200)]
Review comments: Count queries before desciding to cleanup; a missing std::move
Otto [Wed, 15 Sep 2021 14:32:04 +0000 (16:32 +0200)]
Process review comments, most importantly a simplification of the retry logic
Otto [Mon, 13 Sep 2021 11:39:45 +0000 (13:39 +0200)]
Refactor the tcp case of lwres.
Not as far as rgacogne suggested, but it's more readable right now.
Otto [Mon, 13 Sep 2021 11:38:52 +0000 (13:38 +0200)]
Add comment: we do not do SNI (and the idle connections pooling does not work for that case atm)
Otto [Mon, 13 Sep 2021 08:51:29 +0000 (10:51 +0200)]
Refactor out the tcp connect code
Otto [Mon, 13 Sep 2021 08:16:55 +0000 (10:16 +0200)]
Process comments from review:
- Pass current time as arg where appropiate;
- Use rvalue ref for Connection in store().
Otto [Wed, 25 Aug 2021 13:56:44 +0000 (15:56 +0200)]
openssl/ssl2.h #defines CERT, #undef it. While there move an include not needed in the .hh
file to the .cc file and add an error message in dnsparser.hh
Otto [Wed, 25 Aug 2021 11:10:54 +0000 (13:10 +0200)]
Typo in filename
Otto [Wed, 25 Aug 2021 10:52:56 +0000 (12:52 +0200)]
Doc header fixes
Otto [Wed, 25 Aug 2021 10:24:22 +0000 (12:24 +0200)]
Formatting
Otto [Wed, 25 Aug 2021 10:13:40 +0000 (12:13 +0200)]
Spello's, better names for settings
Otto [Tue, 24 Aug 2021 09:25:07 +0000 (11:25 +0200)]
Only clean on store if over a limit
Otto [Tue, 24 Aug 2021 09:19:32 +0000 (11:19 +0200)]
Cleanup and docs
Otto [Mon, 26 Jul 2021 11:13:13 +0000 (13:13 +0200)]
TCP/DoT connection pooling
Otto Moerbeek [Fri, 24 Sep 2021 07:57:38 +0000 (09:57 +0200)]
Merge pull request #10753 from omoerbeek/speedtest-random
Add our various random implementations to speedtest