]>
git.ipfire.org Git - thirdparty/pdns.git/log
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, 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 [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
Peter van Dijk [Sun, 20 Oct 2024 14:15:46 +0000 (16:15 +0200)]
Merge pull request #14784 from fredmorcos/small-cleanups
Small cleanups
Peter van Dijk [Fri, 18 Oct 2024 15:21:16 +0000 (17:21 +0200)]
Merge pull request #14714 from Habbie/el8-gcc-toolset-13
el-8: use gcc-toolset-13
Fred Morcos [Fri, 18 Oct 2024 15:13:26 +0000 (17:13 +0200)]
Merge pull request #14785 from rgacogne/fix-lmdb-safe-except
dnsdist: Add missing `stdexcept` include in `lmdb-safe.hh`
Fred Morcos [Fri, 18 Oct 2024 15:12:48 +0000 (17:12 +0200)]
Merge pull request #14777 from fredmorcos/fix-clang-tidy-again
Fix clang-tidy (again)
Remi Gacogne [Fri, 18 Oct 2024 14:20:37 +0000 (16:20 +0200)]
dnsdist: Add missing `stdexcept` include in `lmdb-safe.hh`
It was only included for non-dnsdist contexts, but `std::runtime_error`
is used in all contexts and gcc version 14.2.1
20240910 (at least) is
not happy about it:
```
In file included from ext/lmdb-safe/lmdb-safe.cc:2:
ext/lmdb-safe/lmdb-safe.hh: In member function ‘int MDBROTransactionImpl::get(MDB_dbi, const MDBInVal&, MDBOutVal&)’:
ext/lmdb-safe/lmdb-safe.hh:379:18: error: ‘runtime_error’ is not a member of ‘std’
379 | throw std::runtime_error("Attempt to use a closed RO transaction for get");
|
```
Fred Morcos [Fri, 18 Oct 2024 11:52:07 +0000 (13:52 +0200)]
Some meson cleanup work before lmdb-safe tests
Fred Morcos [Fri, 18 Oct 2024 11:51:57 +0000 (13:51 +0200)]
Minor formatting and cleanup
Fred Morcos [Fri, 18 Oct 2024 11:34:52 +0000 (13:34 +0200)]
Merge pull request #14782 from fredmorcos/rework-mdb-inout-vals
Rework MDBIn/OutVal
Remi Gacogne [Fri, 18 Oct 2024 11:25:57 +0000 (13:25 +0200)]
Merge pull request #14658 from phonedph1/moredump
dnsdist: dump more packet cache
Fred Morcos [Fri, 18 Oct 2024 10:42:00 +0000 (12:42 +0200)]
Statically ensure MDBInVal can store requested values
Peter van Dijk [Fri, 18 Oct 2024 10:23:54 +0000 (12:23 +0200)]
Merge pull request #14781 from bjacquin/dev/beber/pdns-version-string
pdns: allow empty string in version-string
Fred Morcos [Thu, 17 Oct 2024 17:09:33 +0000 (19:09 +0200)]
Fixup includes
Fred Morcos [Thu, 17 Oct 2024 14:16:36 +0000 (16:16 +0200)]
Rework MDBInVal
Fred Morcos [Thu, 17 Oct 2024 14:02:17 +0000 (16:02 +0200)]
Rework MDBOutVal
Fred Morcos [Thu, 17 Oct 2024 13:45:18 +0000 (15:45 +0200)]
Fix std::string include in lmdb-typed header
Fred Morcos [Thu, 17 Oct 2024 13:42:16 +0000 (15:42 +0200)]
LMDBLS Cleanups
Fred Morcos [Thu, 17 Oct 2024 13:40:27 +0000 (15:40 +0200)]
lmdb-safe header lint & formatting cleanups
Fred Morcos [Thu, 17 Oct 2024 12:03:42 +0000 (14:03 +0200)]
Merge pull request #14778 from fredmorcos/lmdb-safe-cleanups
Some cleanups for lmdb-safe
Peter van Dijk [Thu, 17 Oct 2024 11:24:25 +0000 (13:24 +0200)]
Merge pull request #14718 from emmanuel-ferdman/master
regression-tests.auth-py: remove duplicate method
Fred Morcos [Thu, 17 Oct 2024 08:29:31 +0000 (10:29 +0200)]
Cleanup includes in lmdbbackend
Fred Morcos [Thu, 17 Oct 2024 08:27:35 +0000 (10:27 +0200)]
Refactor shards cmdline handling
Fred Morcos [Thu, 17 Oct 2024 08:16:49 +0000 (10:16 +0200)]
Cleanup LMDBBackend::upgradeToSchemav5
Bertrand Jacquin [Wed, 16 Oct 2024 20:43:07 +0000 (21:43 +0100)]
pdns: allow empty string in version-string
This change allow an empty string to be returned to CHAOS version.bind
request. version-string by default is set to "full" through
pdns/auth-main.cc declareArguments(), however does not allow an empty
string to be returned as PowerDNS Recursor does.
Fred Morcos [Wed, 16 Oct 2024 13:54:51 +0000 (15:54 +0200)]
Some cleanups in lmdbbackend
Fred Morcos [Wed, 16 Oct 2024 13:49:30 +0000 (15:49 +0200)]
Cleanup TypedDBI
Fred Morcos [Wed, 16 Oct 2024 13:47:19 +0000 (15:47 +0200)]
Cleanup struct nullindex_t
Fred Morcos [Wed, 16 Oct 2024 13:28:02 +0000 (15:28 +0200)]
Cleanup struct index_on and index_on_function
Fred Morcos [Wed, 16 Oct 2024 13:25:25 +0000 (15:25 +0200)]
Cleanup LMDBIndexOps
Fred Morcos [Wed, 16 Oct 2024 13:22:32 +0000 (15:22 +0200)]
Cleanup makeCombinedKey
Fred Morcos [Wed, 16 Oct 2024 13:17:53 +0000 (15:17 +0200)]
Use uint32_t in makeCombinedKey
Fred Morcos [Wed, 16 Oct 2024 13:15:11 +0000 (15:15 +0200)]
Specialize MDBOutVal::get/getNoStripHeader for uint32_t
Fred Morcos [Wed, 16 Oct 2024 11:31:09 +0000 (13:31 +0200)]
Use uint32_t in MDBGetMaxID and MDBGetRandomID
Fred Morcos [Wed, 16 Oct 2024 11:08:26 +0000 (13:08 +0200)]
Clang-tidy cleanups of lmdb-typed
Fred Morcos [Wed, 16 Oct 2024 10:57:10 +0000 (12:57 +0200)]
Fix clang-tidy (again)
Otto Moerbeek [Tue, 15 Oct 2024 14:06:49 +0000 (16:06 +0200)]
Merge pull request #14775 from omoerbeek/rec-zap-pdns_hw.cc
rec: Delete dangling symlink pdns_hw.cc
Otto Moerbeek [Tue, 15 Oct 2024 13:30:23 +0000 (15:30 +0200)]
rec: Delete dangling symlink pdns_hw.cc
Otto Moerbeek [Mon, 14 Oct 2024 15:26:58 +0000 (17:26 +0200)]
Merge pull request #14770 from omoerbeek/rec-docs-metrics
rec: generate metrics docs when publishing
Otto Moerbeek [Mon, 14 Oct 2024 14:12:42 +0000 (16:12 +0200)]
Fix a few refs
Otto Moerbeek [Mon, 14 Oct 2024 14:12:18 +0000 (16:12 +0200)]
Generate metrics doc file
Peter van Dijk [Mon, 14 Oct 2024 09:44:03 +0000 (11:44 +0200)]
Merge pull request #14621 from fredmorcos/meson-lmdb-regtests
Add lmdb regression tests to meson
Peter van Dijk [Fri, 11 Oct 2024 09:33:47 +0000 (11:33 +0200)]
Merge pull request #14766 from Habbie/rec-ignore-snmp-bookworm
bump SNMP ignore from buster to bookworm after buildbot VM upgrade
Peter van Dijk [Fri, 11 Oct 2024 08:47:47 +0000 (10:47 +0200)]
bump SNMP ignore from buster to bookworm after buildbot VM upgrade
Peter van Dijk [Fri, 11 Oct 2024 08:37:25 +0000 (10:37 +0200)]
fix name of notify binary
Remi Gacogne [Fri, 11 Oct 2024 07:48:08 +0000 (09:48 +0200)]
Merge pull request #14764 from chbruyand/dnsdist-load-tickets-key
dnsdist: add the ability to load a given TLS tickets key
Peter van Dijk [Thu, 10 Oct 2024 12:25:40 +0000 (14:25 +0200)]
Merge pull request #12752 from kpfleming/issue-12714
auth doc: Document 2-step process for consumer zone updates.
Peter van Dijk [Thu, 10 Oct 2024 11:58:02 +0000 (13:58 +0200)]
Merge pull request #14665 from Habbie/sdig-stdin-improvements
auth sdig: some improvements for stdin mode
Charles-Henri Bruyand [Thu, 10 Oct 2024 10:43:15 +0000 (12:43 +0200)]
fix Remi's comments and some formatting
Charles-Henri Bruyand [Wed, 9 Oct 2024 14:21:27 +0000 (16:21 +0200)]
dnsdist: add a global loadTicketsKey function
Charles-Henri Bruyand [Fri, 14 Jun 2024 11:53:27 +0000 (13:53 +0200)]
dnsdist: add the ability to load a given tickets key from lua
Otto Moerbeek [Wed, 9 Oct 2024 08:22:25 +0000 (10:22 +0200)]
Merge pull request #14721 from omoerbeek/followup-14705
Followup to #14705: clang-tidy does not pick up last option listed
Peter van Dijk [Tue, 8 Oct 2024 14:28:13 +0000 (16:28 +0200)]
Merge pull request #14684 from zeha/secinitsoatimes
ixfrSuck: init soatimes without separate memset
Peter van Dijk [Tue, 8 Oct 2024 14:24:41 +0000 (16:24 +0200)]
Merge pull request #14755 from radub2012/patch-1
Update catalog.rst
Otto Moerbeek [Tue, 8 Oct 2024 12:41:37 +0000 (14:41 +0200)]
Merge pull request #14754 from omoerbeek/rec-unittest-cache-init
rec: make sure the record cache has sane paramers for each unit test
Otto Moerbeek [Tue, 8 Oct 2024 12:27:25 +0000 (14:27 +0200)]
Merge pull request #14758 from omoerbeek/rust-to-1.80.1
Move back to rust 1.80.1, see https://github.com/PowerDNS/pdns/issues/14757
Otto Moerbeek [Tue, 8 Oct 2024 10:58:02 +0000 (12:58 +0200)]
Move back to rust 1.80.1, see https://github.com/PowerDNS/pdns/issues/14757
radub2012 [Mon, 7 Oct 2024 13:33:13 +0000 (16:33 +0300)]
Update catalog.rst
Example misleads user to think there are 3 arguments that need to be passed to "load-zone" when according to the manual "load-zone" expects only 2 arguments.
Peter van Dijk [Mon, 7 Oct 2024 13:29:31 +0000 (15:29 +0200)]
Merge pull request #14673 from wjgauthier/docs-catalog
auth docs: set catalog member to primary
Otto Moerbeek [Mon, 7 Oct 2024 13:22:39 +0000 (15:22 +0200)]
Merge pull request #14722 from omoerbeek/rec-gen-metrics
rec: generate metrics related files from a single source
Otto Moerbeek [Mon, 7 Oct 2024 12:20:01 +0000 (14:20 +0200)]
rec: make sure the record cache has sane parameters for each unit test
In particluar if a specific test was run that would set the maximum
RRSET very low, the reczones_helpers/test_UserHints test would fail.
Otto Moerbeek [Mon, 7 Oct 2024 12:46:25 +0000 (14:46 +0200)]
Merge pull request #14506 from omoerbeek/rec-allow_notify
rec: notify_allowed should be processed for forward_zones and forward_zones_recurse
Otto Moerbeek [Mon, 7 Oct 2024 12:44:38 +0000 (14:44 +0200)]
Instead of adding a trailing comma, zap leading spaces
Otto Moerbeek [Mon, 7 Oct 2024 12:32:00 +0000 (14:32 +0200)]
Merge pull request #14693 from omoerbeek/rec-rfc6303
rec: implement rfc6303 special zones (mostly v6 reverse mappings)
Otto Moerbeek [Mon, 7 Oct 2024 11:52:54 +0000 (13:52 +0200)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Mon, 7 Oct 2024 11:46:33 +0000 (13:46 +0200)]
Merge pull request #14753 from omoerbeek/rec-rust-download-dedup
rec: rust download dedup
Otto Moerbeek [Thu, 18 Jul 2024 07:48:12 +0000 (09:48 +0200)]
rec: allow_notify should be processed for forward_zones and forward_zones_recurse
For ForwardZones it was only processed if reading from a forward_zones_file.
Otto Moerbeek [Mon, 7 Oct 2024 10:26:11 +0000 (12:26 +0200)]
Ensure serve-rfc1918 is enabled when doing serve-rfc6303
Otto Moerbeek [Mon, 7 Oct 2024 10:00:59 +0000 (12:00 +0200)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Thu, 19 Sep 2024 09:46:06 +0000 (11:46 +0200)]
rec: implement rfc6303 special zones (mostly v6 reverse mappings)
Otto Moerbeek [Mon, 7 Oct 2024 10:03:23 +0000 (12:03 +0200)]
Merge pull request #14697 from omoerbeek/rec-python-not-found
rec: Give a more clear error message if the build fails because python was not found
Otto Moerbeek [Mon, 7 Oct 2024 10:02:56 +0000 (12:02 +0200)]
Merge pull request #14653 from omoerbeek/rec-rust-updates
rec: rust related updates
Otto Moerbeek [Mon, 7 Oct 2024 09:49:22 +0000 (11:49 +0200)]
Merge pull request #14611 from omoerbeek/rec-log-moadns-exception
rec: Only log MOADNSExceptions if logging.log_common_errors is true.
Otto Moerbeek [Mon, 7 Oct 2024 09:32:59 +0000 (11:32 +0200)]
Merge pull request #14694 from omoerbeek/rec-rpz-tweaks
rec: rpz tweaks
Otto Moerbeek [Mon, 7 Oct 2024 09:31:49 +0000 (11:31 +0200)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Mon, 7 Oct 2024 09:06:48 +0000 (11:06 +0200)]
Make rust tarball downloaed in sdist stage available in build stage
Otto Moerbeek [Mon, 7 Oct 2024 09:06:11 +0000 (11:06 +0200)]
do not redownload tarball if it's alreay in /tmp but do check sha always
Remi Gacogne [Fri, 4 Oct 2024 11:57:20 +0000 (13:57 +0200)]
Merge pull request #14731 from rgacogne/ddist-changelog-secpoll-1.9.7
dnsdist: Update ChangeLog and secpoll for 1.9.7
Remi Gacogne [Fri, 4 Oct 2024 07:49:34 +0000 (09:49 +0200)]
dnsdist: Fix wrong ticket number in the 1.9.7 ChangeLog
Alexis Romero [Fri, 4 Oct 2024 04:50:55 +0000 (06:50 +0200)]
Merge pull request #14732 from romeroalx/pip-pinning-r2
GH actions: move validation for pinned pip pkgs to misc-dailies. Additional folders with pinned pip packages
Remi Gacogne [Thu, 3 Oct 2024 15:05:15 +0000 (17:05 +0200)]
dnsdist: Add 14740 to the 1.9.7 ChangeLog
Remi Gacogne [Tue, 1 Oct 2024 07:42:18 +0000 (09:42 +0200)]
fine
Remi Gacogne [Mon, 30 Sep 2024 12:14:56 +0000 (14:14 +0200)]
dnsdist: Update ChangeLog and secpoll for 1.9.7
Remi Gacogne [Thu, 3 Oct 2024 13:50:35 +0000 (15:50 +0200)]
Merge pull request #14739 from rgacogne/ddist-disable-ebpf-for-quic
dnsdist: Disable eBPF filtering on QUIC (DoQ, DoH3) sockets
Otto Moerbeek [Thu, 3 Oct 2024 11:38:55 +0000 (13:38 +0200)]
Merge pull request #14746 from omoerbeek/rec-prep-2024-04
rec: prep 2024-04 releases
Otto Moerbeek [Thu, 3 Oct 2024 11:31:28 +0000 (13:31 +0200)]
Merge pull request #14742 from omoerbeek/rec-priv-cachebig
rec: CVE-2024-25590: limit maximum size of rr sets in record cache
Otto Moerbeek [Wed, 2 Oct 2024 08:27:53 +0000 (10:27 +0200)]
rec: prep 2024-04 releases
Remi Gacogne [Thu, 3 Oct 2024 08:18:47 +0000 (10:18 +0200)]
dnsdist: Add more regression tests for eBPF filtering