]>
git.ipfire.org Git - thirdparty/pdns.git/log
Peter van Dijk [Mon, 7 Oct 2024 14:00:36 +0000 (16:00 +0200)]
auth settings: document that lua-global-include-dir is in 5.0.0
Alexis Romero [Tue, 12 Nov 2024 11:44:37 +0000 (12:44 +0100)]
Merge pull request #14843 from romeroalx/fix-pinning-packaging
docs/requirements.txt: upgrade version of packages to the latest available
romeroalx [Tue, 12 Nov 2024 09:35:06 +0000 (10:35 +0100)]
docs/requirements.txt: remove fixed dependency for packaging and upgrade list
Otto Moerbeek [Tue, 12 Nov 2024 09:34:45 +0000 (10:34 +0100)]
Merge pull request #14788 from omoerbeek/more-clang-tidy-config-fixes
Finally fix the clang-tidy issues.
Otto Moerbeek [Tue, 12 Nov 2024 09:28:34 +0000 (10:28 +0100)]
Merge pull request #14838 from omoerbeek/rec-fd-count
rec: better fd count estimates and move default incoming.max_tcp_client to 1024
Remi Gacogne [Tue, 12 Nov 2024 08:39:40 +0000 (09:39 +0100)]
Merge pull request #14833 from rgacogne/ddist-unbreak-randomized-outgoing-sockets
dnsdist: Fix two broken Lua directives
Peter van Dijk [Mon, 11 Nov 2024 14:52:17 +0000 (15:52 +0100)]
Merge pull request #14837 from Habbie/binary-check-list-name
CI: have binary check emit offenders
Peter van Dijk [Thu, 7 Nov 2024 15:37:25 +0000 (15:37 +0000)]
CI: have binary check emit offenders
Otto Moerbeek [Mon, 11 Nov 2024 11:23:21 +0000 (12:23 +0100)]
Merge pull request #14835 from omoerbeek/rec-prep-5.2.0-alpha1
rec: Prep for rec-5.2.0-alpha1
Peter van Dijk [Mon, 11 Nov 2024 10:48:40 +0000 (11:48 +0100)]
Merge pull request #14828 from Habbie/uncleanup-start-test-stop
unbreak local running of auth regression tests
Otto Moerbeek [Fri, 8 Nov 2024 11:04:13 +0000 (12:04 +0100)]
rec: Prep for rec-5.2.0-alpha1
Otto Moerbeek [Mon, 11 Nov 2024 09:27:23 +0000 (10:27 +0100)]
Merge pull request #14834 from omoerbeek/rec-coverity-
20241111
rec: fix coverity
1564914 (afaiks harmless)
Otto Moerbeek [Mon, 11 Nov 2024 08:22:28 +0000 (09:22 +0100)]
rec: fix coverity
1564914 (afaiks harmless)
Remi Gacogne [Fri, 8 Nov 2024 15:48:21 +0000 (16:48 +0100)]
dnsdist: Fix two broken Lua directives
These two directives were no longer recognized on master:
- `setRandomizedIdsOverUDP`
- `setRandomizedOutgoingSockets`
Otto Moerbeek [Fri, 8 Nov 2024 06:49:20 +0000 (07:49 +0100)]
Merge pull request #14830 from omoerbeek/rec-test-timeout
rec: use a more generous timeout for a test using external servers
Otto Moerbeek [Fri, 8 Nov 2024 06:49:02 +0000 (07:49 +0100)]
Merge pull request #14825 from omoerbeek/rec-top-cleanup
rec: rec_control top* cleanup
Otto Moerbeek [Fri, 8 Nov 2024 06:45:04 +0000 (07:45 +0100)]
Merge pull request #14824 from omoerbeek/rec-coverity-
20241105
rec: Coverity-
20241105 and one log level change
Otto Moerbeek [Fri, 8 Nov 2024 06:44:07 +0000 (07:44 +0100)]
Merge pull request #14822 from omoerbeek/rec-chain-14310
rec: fix a difference between record-cache hit and miss in some ServFail results
Otto Moerbeek [Wed, 6 Nov 2024 14:32:25 +0000 (15:32 +0100)]
Move default incoming.max_tcp_client to 1024
Compared to the default 3 (2 udp + 1 tcp worker) * 2048 (max mthreads)
= 6144 fd's needed if all mthreads are busy, 1024 does not sound
too great of a burden with respect to fd usage.
Otto Moerbeek [Wed, 6 Nov 2024 13:48:00 +0000 (14:48 +0100)]
rec: use a more generous timeout for a test using external servers
Other tests using external servers already use 5s
Should fix #14829 in many cases.
Otto Moerbeek [Wed, 6 Nov 2024 13:29:42 +0000 (14:29 +0100)]
rec: better estimate of number of file descriptors required
Peter van Dijk [Wed, 6 Nov 2024 13:06:07 +0000 (13:06 +0000)]
Otto Moerbeek [Wed, 6 Nov 2024 12:44:27 +0000 (13:44 +0100)]
Merge pull request #14525 from Habbie/root-ta-38696
recursor: add 38696 root anchor
Peter van Dijk [Wed, 6 Nov 2024 12:31:04 +0000 (12:31 +0000)]
Merge pull request #14790 from jsoref/spelling-updates-before-0.0.23
Spelling updates before 0.0.23
Peter van Dijk [Thu, 25 Jul 2024 09:35:31 +0000 (11:35 +0200)]
recursor: add 38696 root anchor
fetched from https://www.iana.org/dnssec/files after their 2024-07-24 update
Otto Moerbeek [Wed, 6 Nov 2024 08:32:25 +0000 (09:32 +0100)]
Merge pull request #14759 from omoerbeek/rec-cat-zone-forward
rec: implement catalog zones to populate forwarding zones
Otto Moerbeek [Tue, 5 Nov 2024 14:31:07 +0000 (15:31 +0100)]
Add test
Otto Moerbeek [Tue, 5 Nov 2024 14:02:33 +0000 (15:02 +0100)]
Better name for FWCatz: FWCatalogZone
Otto Moerbeek [Tue, 5 Nov 2024 13:57:33 +0000 (14:57 +0100)]
Apply suggestions from code review
Co-authored-by: Kevin P. Fleming <kpfleming@users.noreply.github.com>
Otto Moerbeek [Tue, 5 Nov 2024 13:52:45 +0000 (14:52 +0100)]
Implement ForwardingCatalogZone.to_yaml_map()
Otto Moerbeek [Tue, 5 Nov 2024 12:38:06 +0000 (13:38 +0100)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Tue, 5 Nov 2024 12:07:07 +0000 (13:07 +0100)]
rec: don't drop partial result on exception in cache lookup
Fixes #14310
Should be checked for unwanted side-effects, which is pretty tricky.
Otto Moerbeek [Tue, 5 Nov 2024 10:00:30 +0000 (11:00 +0100)]
Merge pull request #14819 from omoerbeek/rec-prep-5.1.3
rec: prep for rec-5.1.3
Otto Moerbeek [Tue, 5 Nov 2024 09:48:54 +0000 (10:48 +0100)]
rec: Coverity-
20241105 and one log level change
Otto Moerbeek [Tue, 5 Nov 2024 08:50:23 +0000 (09:50 +0100)]
Review comments by @chbruyand, remove some redundant code for the catz case
Otto Moerbeek [Mon, 4 Nov 2024 10:59:22 +0000 (11:59 +0100)]
Prep for rec-5.1.3
Otto Moerbeek [Tue, 5 Nov 2024 06:25:33 +0000 (07:25 +0100)]
Merge pull request #14807 from omoerbeek/rec-packetid-ref
rec: drop ref in mtasker when it is no longer needed
Remi Gacogne [Mon, 4 Nov 2024 15:51:43 +0000 (16:51 +0100)]
Merge pull request #14817 from oregonpillow/master
Add dnsdist documentation example for using DoH behind nginx
Remi Gacogne [Mon, 4 Nov 2024 15:10:06 +0000 (16:10 +0100)]
Merge pull request #14768 from chbruyand/dnsdist-load-tickets-key
dnsdist setTicketsKeyAddedHook(): adjust type of the key to fix potential truncate
Timothy Pillow [Mon, 4 Nov 2024 14:58:12 +0000 (15:58 +0100)]
fix spell-check. allow grpcs
Otto Moerbeek [Mon, 4 Nov 2024 14:24:47 +0000 (15:24 +0100)]
Typo noted by @phonedph1
Timothy Pillow [Mon, 4 Nov 2024 14:23:43 +0000 (15:23 +0100)]
typo fix
Otto Moerbeek [Tue, 8 Oct 2024 14:25:24 +0000 (16:25 +0200)]
oldZone can be nullptr, don't deref just like that
Otto Moerbeek [Tue, 8 Oct 2024 14:03:35 +0000 (16:03 +0200)]
Move new FWCatz test to non-clashing port
Otto Moerbeek [Tue, 8 Oct 2024 13:21:24 +0000 (15:21 +0200)]
Reformat
Otto Moerbeek [Tue, 8 Oct 2024 13:05:45 +0000 (15:05 +0200)]
Detect faulty config (catz used but api-dir not set)
Otto Moerbeek [Tue, 8 Oct 2024 13:02:01 +0000 (15:02 +0200)]
Allow meson build
Otto Moerbeek [Tue, 8 Oct 2024 12:41:01 +0000 (14:41 +0200)]
Basic docs
Otto Moerbeek [Tue, 8 Oct 2024 11:58:46 +0000 (13:58 +0200)]
Add regression test for FWCatz
Otto Moerbeek [Tue, 8 Oct 2024 09:22:20 +0000 (11:22 +0200)]
Do all-is-default processing for fwcatz
Otto Moerbeek [Tue, 8 Oct 2024 07:49:48 +0000 (09:49 +0200)]
Small refactor: split out forwarding cat zone code from xfr code
In an ideal world we should share the xfr code between RPZ and catz, but
that is for a later day.
Otto Moerbeek [Tue, 8 Oct 2024 07:39:00 +0000 (09:39 +0200)]
Allow notify of catz; rename name field to zone for consistency
Otto Moerbeek [Wed, 2 Oct 2024 15:19:21 +0000 (17:19 +0200)]
Add group processing
Otto Moerbeek [Tue, 1 Oct 2024 13:58:44 +0000 (15:58 +0200)]
Basic functionality works
Missing: group handling, cleanup of catz no longer in config, tests
Otto Moerbeek [Mon, 30 Sep 2024 13:31:01 +0000 (15:31 +0200)]
Threads started and doing xfr
Otto Moerbeek [Mon, 30 Sep 2024 07:50:59 +0000 (09:50 +0200)]
Skeleton code of catalog zone transfer, untested
Otto Moerbeek [Fri, 27 Sep 2024 12:11:44 +0000 (14:11 +0200)]
Refactor XFR parameters of RPZParams out
Otto Moerbeek [Mon, 4 Nov 2024 14:10:37 +0000 (15:10 +0100)]
Merge pull request #14796 from omoerbeek/rec-cache-dump-undump
rec: provide a few more Lua functions, most importantly record cache dump and load
Timothy Pillow [Mon, 4 Nov 2024 14:02:29 +0000 (15:02 +0100)]
Update dns-over-https.rst
remove 'include' directives from nginx conf example
Otto Moerbeek [Mon, 4 Nov 2024 13:44:37 +0000 (14:44 +0100)]
Add a unit test checking the ref counts (fails in master)
Otto Moerbeek [Mon, 4 Nov 2024 13:46:15 +0000 (14:46 +0100)]
Merge pull request #14809 from omoerbeek/rec-deprecate-old-style
rec: actively deprecate old style settings
Timothy Pillow [Mon, 4 Nov 2024 12:26:54 +0000 (13:26 +0100)]
Update dns-over-https.rst
Otto Moerbeek [Mon, 4 Nov 2024 12:10:47 +0000 (13:10 +0100)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Mon, 4 Nov 2024 12:07:52 +0000 (13:07 +0100)]
Replace a few asserts with throws and make sure we've seen the version and type fields in putRecordSet.
An exception will be handled by the catch at the end of putRecordSets()
Prompted by @rgacogne
Otto Moerbeek [Mon, 4 Nov 2024 11:54:21 +0000 (12:54 +0100)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Mon, 4 Nov 2024 11:51:56 +0000 (12:51 +0100)]
Remove the move call in two instances where it really does not add anything
Otto Moerbeek [Tue, 29 Oct 2024 10:09:53 +0000 (11:09 +0100)]
Docs tweaks (not neccesarily related)
Otto Moerbeek [Tue, 29 Oct 2024 09:54:40 +0000 (10:54 +0100)]
Docs of new behaviour: do not do old-style by default
Otto Moerbeek [Tue, 29 Oct 2024 09:52:37 +0000 (10:52 +0100)]
Give a more sensible message for rec_control show-yaml if recursor.conf already contains YAML
Otto Moerbeek [Mon, 28 Oct 2024 16:02:07 +0000 (17:02 +0100)]
rec: disable parsing of old-style settings by default
Otto Moerbeek [Mon, 4 Nov 2024 11:41:01 +0000 (12:41 +0100)]
Merge pull request #14816 from omoerbeek/rec-periodic-stats
rec: periodic stats cleanup and rename outqueries-per-query to outqueries-per-query-perc
Otto Moerbeek [Mon, 4 Nov 2024 11:01:09 +0000 (12:01 +0100)]
Merge pull request #14801 from omoerbeek/rec-valgrind
rec: make valgrind build and testrunner run work again
Otto Moerbeek [Mon, 4 Nov 2024 11:00:48 +0000 (12:00 +0100)]
Missing quotes as noted by @chbruyand
Co-authored-by: Charles-Henri Bruyand <charleshenri.bruyand+github@gmail.com>
Otto Moerbeek [Mon, 4 Nov 2024 09:45:24 +0000 (10:45 +0100)]
Rework the top-queries and top-remotes functions
Modernize and proper unsigned types for counting
Fixes #13066
Otto Moerbeek [Mon, 4 Nov 2024 08:56:33 +0000 (09:56 +0100)]
More Tidy
Otto Moerbeek [Mon, 4 Nov 2024 08:47:36 +0000 (09:47 +0100)]
Refactor doGenericTopRemotes()
Otto Moerbeek [Mon, 4 Nov 2024 08:41:15 +0000 (09:41 +0100)]
Tidy
Otto Moerbeek [Fri, 1 Nov 2024 10:38:03 +0000 (11:38 +0100)]
rec: periodic stats cleanup and rename outqueries-per-query to outqueries-per-query-perc
Also
- cleans up two TCounters that where unused and/or redundant.
- group the log lines more naturally
- print doubles with two decimal places
Remi Gacogne [Mon, 4 Nov 2024 08:25:57 +0000 (09:25 +0100)]
Merge pull request #14792 from rgacogne/ddist-coverity-202410
dnsdist: Fix Coverity warning 445614: " Argument cannot be negative"
Remi Gacogne [Mon, 4 Nov 2024 08:25:06 +0000 (09:25 +0100)]
Merge pull request #14794 from phonedph1/no-makerule
dnsdist: stop using makeRule, update Qname to QName so links should work
Otto Moerbeek [Tue, 29 Oct 2024 11:50:16 +0000 (12:50 +0100)]
Reformat
Otto Moerbeek [Tue, 29 Oct 2024 11:20:09 +0000 (12:20 +0100)]
Correct initial value of d_used
Otto Moerbeek [Tue, 29 Oct 2024 11:06:30 +0000 (12:06 +0100)]
Tidy
Otto Moerbeek [Tue, 29 Oct 2024 10:48:54 +0000 (11:48 +0100)]
Two more case, assert on inconsistency
Otto Moerbeek [Mon, 28 Oct 2024 14:08:41 +0000 (15:08 +0100)]
Same move treatment for value
Here no refs being lowered (for the rec case) but it might save a few cycles
Otto Moerbeek [Mon, 28 Oct 2024 13:45:07 +0000 (14:45 +0100)]
rec: release ref to key in MTasker::waitEvent
If we do not do that, only the next call of sendEvent will release
the shared pointer to the TCPConnectionHanlder in PacketID. This
might delay cleaning TCP objects up on not-so-busy threads.
Fixes #13422, thought it can still take a while on idle recursors,
as the housekeeping function is not called often in those cases.
Otto Moerbeek [Mon, 28 Oct 2024 09:52:56 +0000 (10:52 +0100)]
Allow zero for no limit in getRecordCacheRecords()
Also better distinction between the term record and record set in code and docs
Otto Moerbeek [Fri, 25 Oct 2024 12:49:04 +0000 (14:49 +0200)]
rec: make valgrind build and testrunner run work again
The testrunner run becomes very slow, a non-zero inception skew is needed.
Peter van Dijk [Thu, 24 Oct 2024 14:29:57 +0000 (16:29 +0200)]
Merge pull request #14787 from fredmorcos/lmdb-typed-cleanups
Cleanup lints & macros in lmdb-typed.hh
Otto Moerbeek [Thu, 24 Oct 2024 13:49:29 +0000 (15:49 +0200)]
clang-tidy tweaks
Otto Moerbeek [Thu, 24 Oct 2024 12:17:48 +0000 (14:17 +0200)]
Refactor prompted by CodeQL
Otto Moerbeek [Thu, 24 Oct 2024 08:30:48 +0000 (10:30 +0200)]
Reorganize a few things, add a Lua hook that's called on startup and (nice) shutdown
Otto Moerbeek [Mon, 21 Oct 2024 13:55:11 +0000 (15:55 +0200)]
Add a test and a fix a few things in getRecordCacheRecords/putIntoRecordCache
Otto Moerbeek [Mon, 21 Oct 2024 13:54:53 +0000 (15:54 +0200)]
Document putIntoRecordCache and getRecordCacheRecords
Otto Moerbeek [Tue, 15 Oct 2024 08:49:38 +0000 (10:49 +0200)]
Refactor some code, fix RU scanning (it produced LRU instead of MRU entries before)
Otto Moerbeek [Mon, 14 Oct 2024 13:22:25 +0000 (15:22 +0200)]
Make Lua startup script customizable
Otto Moerbeek [Mon, 14 Oct 2024 11:56:39 +0000 (13:56 +0200)]
Extend pdnslog to allow for structured key-value pairs
Otto Moerbeek [Mon, 14 Oct 2024 09:29:17 +0000 (11:29 +0200)]
Cleanup of PB encoding, including logging and some meta info
Otto Moerbeek [Fri, 11 Oct 2024 11:03:03 +0000 (13:03 +0200)]
Better (faster) encoding/decoding
Otto Moerbeek [Fri, 11 Oct 2024 09:42:44 +0000 (11:42 +0200)]
Basic functions to dump and undump record cache content