]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Tue, 24 Mar 2020 11:42:05 +0000 (12:42 +0100)]
Mention versionadded for the three branches
Otto Moerbeek [Tue, 4 Feb 2020 12:52:51 +0000 (13:52 +0100)]
Limit the number of queries sent out to get NS addresses per query.
Remi Gacogne [Wed, 13 May 2020 08:54:28 +0000 (10:54 +0200)]
Merge pull request #9095 from rgacogne/dnsdist-1.5.0-rc2-changelog
dnsdist: Update the ChangeLog and secpoll for 1.5.0-rc2
Remi Gacogne [Mon, 11 May 2020 08:50:29 +0000 (10:50 +0200)]
dnsdist: Update the ChangeLog and secpoll for 1.5.0-rc2
Remi Gacogne [Wed, 6 May 2020 08:46:57 +0000 (10:46 +0200)]
Merge pull request #9070 from rgacogne/boost-173
Boost 1.73 moved boost::bind placeholders to the placeholders namespace
Otto Moerbeek [Mon, 4 May 2020 10:53:13 +0000 (12:53 +0200)]
Merge pull request #9079 from omoerbeek/coverity-
1428667
Avoid throwing an exception in Logger::log().
Otto Moerbeek [Mon, 4 May 2020 10:52:51 +0000 (12:52 +0200)]
Merge pull request #9080 from omoerbeek/coverity-
1401969 -sqllite
auth: better (actual) fix for mem leak in SSQLite3::execute()
Remi Gacogne [Mon, 4 May 2020 09:48:35 +0000 (11:48 +0200)]
Merge pull request #9076 from rgacogne/clang-10-warnings
Fix useless copies in loop reported by clang++ 10
Remi Gacogne [Mon, 4 May 2020 09:19:37 +0000 (11:19 +0200)]
Merge pull request #9084 from pieterlexis/dnsdist_latency_prometheus_help
dnsdist: add the unit to the help for latency buckets
Otto Moerbeek [Mon, 4 May 2020 09:08:26 +0000 (11:08 +0200)]
sqlite3_exec does not return SQLITE_DONE or SQLITE_ROW plus one forgottten throw
conversion
Otto Moerbeek [Mon, 4 May 2020 09:00:23 +0000 (11:00 +0200)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <rgacogne+github@valombre.net>
Otto Moerbeek [Mon, 4 May 2020 08:50:31 +0000 (10:50 +0200)]
Merge pull request #9078 from omoerbeek/coverity-
1419400
NetmaskTree: do not test node for null, the loop guarantees node is not null.
Otto Moerbeek [Sat, 2 May 2020 13:34:34 +0000 (15:34 +0200)]
Merge pull request #9087 from kpfleming/patch-1
Correct doc for ecs-add-for default
Kevin P. Fleming [Sat, 2 May 2020 13:16:54 +0000 (09:16 -0400)]
Correct doc for ecs-add-for default
The default setting for `ecs-add-for` includes "::/0", not "::".
Pieter Lexis [Fri, 1 May 2020 16:16:46 +0000 (18:16 +0200)]
dnsdist: add the unit to the help for latency buckets
Otto Moerbeek [Fri, 1 May 2020 10:26:51 +0000 (12:26 +0200)]
Better version that also plug the leaks for errors != the ones tested for.
Otto Moerbeek [Fri, 1 May 2020 09:55:51 +0000 (11:55 +0200)]
Better (actual) fix for leak reported by Coverity.
Always free errmsg; use two diffferent string vars to avoid shadowing.
Coverity
1401969 .
Otto Moerbeek [Fri, 1 May 2020 08:56:09 +0000 (10:56 +0200)]
Avoid throwing an exception in Logger::log().
Throwing an exception in the logger, almost cetainly will cause
trouble. Coverity
1428667 shows this can happen in
LdapBackend::~LdapBackend().
Otto Moerbeek [Fri, 1 May 2020 08:52:50 +0000 (10:52 +0200)]
Do not test node for null, the loop guarantees node is not null.
Found by Coverity (
1419400 ), which concludes that if node could be
null, the following node->node.first.getBits() would deref a nullptr.
Remi Gacogne [Thu, 30 Apr 2020 08:30:34 +0000 (10:30 +0200)]
auth: Remove unused variable in the LDAP backend
Remi Gacogne [Thu, 30 Apr 2020 08:30:22 +0000 (10:30 +0200)]
auth: Fix 'loop variable [...] creates a copy' warnings
Reported by clang++ 10.
Remi Gacogne [Thu, 30 Apr 2020 08:29:06 +0000 (10:29 +0200)]
rec: Fix 'loop variable [...] creates a copy' warnings
Reported by clang++ 10.
Remi Gacogne [Thu, 30 Apr 2020 07:22:21 +0000 (09:22 +0200)]
Merge pull request #9067 from rgacogne/wrap-pthread-objects
Wrap pthread objects
Otto Moerbeek [Wed, 29 Apr 2020 10:36:27 +0000 (12:36 +0200)]
Make the constructors taking a pthread_rwlock_t * private.
This is to avoid re-introducing code using the unwrapped pthread_rwlock_t's.
While there, reorganize the classes to make the order more natural.
Remi Gacogne [Tue, 28 Apr 2020 15:51:47 +0000 (17:51 +0200)]
Replace boost's placeholders with the ones from the std namespace
Boost 1.73 moved boost::bind placeholders to the placeholders
namespace which did not exist before 1.60, let's switch to
std::bind and std::placeholders instead of doing per-version handling.
Remi Gacogne [Tue, 28 Apr 2020 13:59:46 +0000 (15:59 +0200)]
Lock: Remove the unused g_singleThreaded variable
Remi Gacogne [Tue, 28 Apr 2020 13:34:25 +0000 (15:34 +0200)]
Remove the now unused Lock class wrapping pthread_mutex_t objects
Remi Gacogne [Tue, 28 Apr 2020 13:33:47 +0000 (15:33 +0200)]
auth: Wrap a few more missed pthread_ objects
Remi Gacogne [Fri, 24 Apr 2020 19:02:41 +0000 (21:02 +0200)]
auth: Wrap pthread_ objects
Remi Gacogne [Fri, 24 Apr 2020 15:44:09 +0000 (17:44 +0200)]
rec: Wrap pthread_ objects
Remi Gacogne [Fri, 24 Apr 2020 15:27:50 +0000 (17:27 +0200)]
dnsdist: Wrap pthread_ objects
Otto Moerbeek [Tue, 28 Apr 2020 12:14:03 +0000 (14:14 +0200)]
Merge pull request #9069 from omoerbeek/test-destroy-with-waiters
Avoid "pthread_rwlock_destroy on rwlock with waiters!" on OpenBSD
Remi Gacogne [Tue, 28 Apr 2020 12:00:10 +0000 (14:00 +0200)]
Merge pull request #9068 from rgacogne/ddist-http2-counters
dnsdist: Fix duplicated HTTP/1 counter in 'showDOHFrontends()'
Otto Moerbeek [Tue, 28 Apr 2020 11:32:51 +0000 (13:32 +0200)]
Avoid "pthread_rwlock_destroy on rwlock with waiters!" on OpenBSD
Remi Gacogne [Tue, 28 Apr 2020 10:12:12 +0000 (12:12 +0200)]
dnsdist: Fix duplicated HTTP/1 counter in 'showDOHFrontends()'
Remi Gacogne [Tue, 28 Apr 2020 07:58:44 +0000 (09:58 +0200)]
Merge pull request #9057 from rgacogne/ddist-socket-removal
dnsdist: Gracefully handle a failure to remove FD on (re)-connection
Otto Moerbeek [Tue, 28 Apr 2020 06:41:30 +0000 (08:41 +0200)]
Merge pull request #9056 from omoerbeek/decl-warnings
Add -Wmissing-declarations -Wredundant-decls
Remi Gacogne [Mon, 27 Apr 2020 08:08:23 +0000 (10:08 +0200)]
Merge pull request #9060 from Habbie/bind-extstatus-offbyone
BIND-DOMAIN-EXTENDED-STATUS: don't look for a domain called BIND-DOMAIN-EXTENDED-STATUS
Peter van Dijk [Fri, 24 Apr 2020 18:58:42 +0000 (20:58 +0200)]
BIND-DOMAIN-EXTENDED-STATUS: don't look for a domain called BIND-DOMAIN-EXTENDED-STATUS
Otto Moerbeek [Fri, 24 Apr 2020 14:01:53 +0000 (16:01 +0200)]
Merge pull request #9059 from omoerbeek/dnsdist-warnings
dnsdist: a few warnings fixed, reported by clang on OpenBSD
Remi Gacogne [Fri, 24 Apr 2020 13:36:08 +0000 (15:36 +0200)]
Fix warnings about dup/missing prototypes
Otto Moerbeek [Fri, 24 Apr 2020 12:49:32 +0000 (14:49 +0200)]
A few warnings, reported by clang on OpenBSD
Remi Gacogne [Fri, 24 Apr 2020 10:45:45 +0000 (12:45 +0200)]
dnsdist: Gracefully handle a failure to remove FD on (re)-connection
When more than one socket per backend is used, we might not have
added all the socket descriptors to the multiplexer and that's fine.
Remi Gacogne [Fri, 24 Apr 2020 08:25:24 +0000 (10:25 +0200)]
Merge pull request #9044 from rgacogne/auth-never-read-clang
auth: Fix warnings reported by clang++ 10
Remi Gacogne [Fri, 24 Apr 2020 08:23:51 +0000 (10:23 +0200)]
Merge pull request #9053 from rgacogne/devpoll-no-naked-pointer
Get rid of a naked pointer in the /dev/poll event multiplexer
Remi Gacogne [Fri, 24 Apr 2020 08:23:15 +0000 (10:23 +0200)]
Merge pull request #9054 from rgacogne/ddist-more-flags
dnsdist: Build with -Wmissing-declarations -Wredundant-decls
Otto Moerbeek [Fri, 24 Apr 2020 08:11:20 +0000 (10:11 +0200)]
Add -Wmissing-declarations -Wredundant-decls
Otto Moerbeek [Fri, 24 Apr 2020 07:31:45 +0000 (09:31 +0200)]
Merge pull request #9016 from omoerbeek/random-engine
random engine to allow for future ++17 compatibility
aerique [Thu, 23 Apr 2020 20:03:59 +0000 (22:03 +0200)]
Merge pull request #9050 from aerique/feature/add-rec-44-to-repo-script
Add `rec-44` to repo test script.
Remi Gacogne [Thu, 23 Apr 2020 15:37:23 +0000 (17:37 +0200)]
Get rid of a naked pointer in the /dev/poll event multiplexer
Remi Gacogne [Thu, 23 Apr 2020 13:42:45 +0000 (15:42 +0200)]
dnsdist: Build with -Wmissing-declarations -Wredundant-decls
Remi Gacogne [Thu, 23 Apr 2020 13:41:41 +0000 (15:41 +0200)]
dnsdist: Fix warnings about dup/missing prototypes
Including a wrong FFI prototype.
Remi Gacogne [Thu, 23 Apr 2020 08:00:12 +0000 (10:00 +0200)]
Merge pull request #9052 from cyclops1982/docs
Small doc changes
Ruben d'Arco [Wed, 22 Apr 2020 20:09:52 +0000 (21:09 +0100)]
Add notes on logging ability in dnsdist
aerique [Wed, 22 Apr 2020 13:10:23 +0000 (15:10 +0200)]
Merge pull request #9046 from omoerbeek/rec-prep-4.4.0-alpha1
Prep rec-4.4.0-alpha1
aerique [Wed, 22 Apr 2020 13:08:52 +0000 (15:08 +0200)]
Add `rec-44` to repo test script.
Otto Moerbeek [Tue, 21 Apr 2020 12:36:12 +0000 (14:36 +0200)]
In dnsdist, (which is not a dns_random consumer), use sdt::default_random_engine
for shuffle.
Otto Moerbeek [Wed, 8 Apr 2020 13:26:08 +0000 (15:26 +0200)]
Avoid self-assignment of DNSName, some version of boost::container::string
do not like that and throw an assertion.
krionbsd [Mon, 6 Apr 2020 10:28:34 +0000 (12:28 +0200)]
Utilize std::shuffle and introduce pdns::dns_random_engine
std::random_shuffle is deprecated and removed starting from C++17, so we
might better use std::shuffle which uses URBG:
https://en.cppreference.com/w/cpp/named_req/UniformRandomBitGenerator
under the hood for a better random generation.
Otto Moerbeek [Mon, 20 Apr 2020 14:45:50 +0000 (16:45 +0200)]
Prep rec-4.4.0-alpha1
Otto Moerbeek [Mon, 20 Apr 2020 14:26:56 +0000 (16:26 +0200)]
Merge pull request #8910 from omoerbeek/rec-routing-tag
Rec: routing tag
Otto Moerbeek [Fri, 17 Apr 2020 09:14:27 +0000 (09:14 +0000)]
Test tweaks
Otto Moerbeek [Fri, 17 Apr 2020 08:17:09 +0000 (10:17 +0200)]
Simpify 'variable' condition: it boils down to having a reply from
the auth including an ednsmask, routingTag does not play a role.
Otto Moerbeek [Fri, 17 Apr 2020 08:08:56 +0000 (10:08 +0200)]
Process rgacogne's comments wrt entryMatches().
This simplifies the code, but has the silent assumption that
entryMatches() only gets fed matching routingTags (if present).
The getEntries() code does guarrantee this so we should be safe.
Otto Moerbeek [Tue, 14 Apr 2020 12:50:55 +0000 (12:50 +0000)]
Basic routing tag test
Otto Moerbeek [Tue, 7 Apr 2020 11:19:30 +0000 (13:19 +0200)]
Routingtag is now handled by gettag() and not part of dq anymore.
ffi interface to be done. Includes attempt at documenting the return
value of gettag() a bit better.
Otto Moerbeek [Mon, 9 Mar 2020 09:09:11 +0000 (10:09 +0100)]
Process comments from rcagogne; mostly better unit tests.
entryMatches() logic not yet adapted.
Otto Moerbeek [Wed, 12 Feb 2020 10:55:56 +0000 (11:55 +0100)]
Introduce routingTag, settable from lua and passed to SyncRes if set.
SyncRes passes it on to the record cache methods that do not use
it yet.
Remi Gacogne [Mon, 20 Apr 2020 13:10:56 +0000 (15:10 +0200)]
auth: Make sure we don't divide by zero in Lua's pickwhashed()
Remi Gacogne [Mon, 20 Apr 2020 12:57:52 +0000 (14:57 +0200)]
auth: Prevent reading uninitialized memory in Lua's getLatLon()
Otto Moerbeek [Mon, 20 Apr 2020 12:38:21 +0000 (14:38 +0200)]
Merge pull request #9043 from omoerbeek/github-do-not-use-depracted-api
Do not use github deprecated API for changelog script
Remi Gacogne [Mon, 20 Apr 2020 12:32:33 +0000 (14:32 +0200)]
auth: Fix 'value is never actually read' warnings from clang++ 10
Otto Moerbeek [Mon, 20 Apr 2020 11:07:29 +0000 (13:07 +0200)]
Do not use github deprecated API for changelog script
See https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param/
Remi Gacogne [Mon, 20 Apr 2020 10:46:12 +0000 (12:46 +0200)]
Merge pull request #9042 from rgacogne/ddist-clang-10
dnsdist: Avoid copies in for loops
aerique [Mon, 20 Apr 2020 10:19:29 +0000 (12:19 +0200)]
Merge pull request #9034 from aerique/feature/dnsdist-support-for-repo-script
Add support for dnsdist-15 to repo script.
Remi Gacogne [Mon, 20 Apr 2020 09:58:58 +0000 (11:58 +0200)]
Merge pull request #9041 from rgacogne/ddist-changelog-year
dnsdist: Fix the year (2010 -> 2020) of the latest changelog entries
aerique [Mon, 20 Apr 2020 08:31:28 +0000 (10:31 +0200)]
Add Remi's usage example.
Remi Gacogne [Mon, 20 Apr 2020 08:17:07 +0000 (10:17 +0200)]
dnsdist: Avoid copies in for loops
Reported by clang's '-Wrange-loop-construct' since version 10.
Remi Gacogne [Mon, 20 Apr 2020 07:46:18 +0000 (09:46 +0200)]
Merge pull request #9024 from Habbie/mysql-errors
auth smysql: mimic error message format from mysql tooling
Remi Gacogne [Mon, 20 Apr 2020 07:36:23 +0000 (09:36 +0200)]
dnsdist: Fix the year (2010 -> 2020) of the latest changelog entries
Ruben d'Arco [Sun, 19 Apr 2020 15:29:25 +0000 (16:29 +0100)]
Small note around Spoof and TTL
Ruben d'Arco [Sun, 19 Apr 2020 15:08:07 +0000 (16:08 +0100)]
Small note on ACL editing
Remi Gacogne [Fri, 17 Apr 2020 10:31:04 +0000 (12:31 +0200)]
Merge pull request #9031 from rgacogne/ports-event-fix
Fix compilation of the ports event multiplexer
Peter van Dijk [Fri, 17 Apr 2020 08:24:55 +0000 (10:24 +0200)]
Merge pull request #9033 from pieterlexis/el8-mariadb-dep
EL8 pkgs: Build mysql backend against mariadb-connector-c-devel
aerique [Thu, 16 Apr 2020 15:28:32 +0000 (17:28 +0200)]
Fix `dnsdist-15` on CentOS 8.
Generate proper Docker files for `dnsdist-15` on CentOS 8.
Remi Gacogne [Thu, 16 Apr 2020 13:37:22 +0000 (15:37 +0200)]
Merge pull request #9028 from rgacogne/ddist-150-rc1
dnsdist: Update ChangeLog and secpoll for 1.5.0-rc1
aerique [Thu, 16 Apr 2020 12:05:05 +0000 (14:05 +0200)]
Add support for dnsdist-15 to repo script.
Pieter Lexis [Thu, 16 Apr 2020 10:40:39 +0000 (12:40 +0200)]
EL8 pkgs: Build mysql backend against mariadb-connector-c-devel
This matches EPEL downstream.
Closes: #9026
Remi Gacogne [Thu, 16 Apr 2020 08:09:26 +0000 (10:09 +0200)]
dnsdist: Document the cert/key permissions in DoT and DoH guides
Remi Gacogne [Thu, 16 Apr 2020 08:02:15 +0000 (10:02 +0200)]
dnsdist: Document that permissions on external files need to be fixed
Remi Gacogne [Wed, 15 Apr 2020 15:47:12 +0000 (17:47 +0200)]
Fix compilation of test-dns_random_hh.cc w/ getrandom AND arc4random
Remi Gacogne [Wed, 15 Apr 2020 15:42:11 +0000 (17:42 +0200)]
Fix compilation of the ports event multiplexer
Peter van Dijk [Wed, 15 Apr 2020 14:45:11 +0000 (16:45 +0200)]
regression-tests: update docker run postgres line
Remi Gacogne [Wed, 15 Apr 2020 13:45:50 +0000 (15:45 +0200)]
dnsdist: Remove 8985 from the changelog, it did not impact dnsdist
Remi Gacogne [Wed, 15 Apr 2020 12:43:05 +0000 (14:43 +0200)]
dnsdist: Update ChangeLog and secpoll for 1.5.0-rc1
Otto Moerbeek [Wed, 15 Apr 2020 11:51:14 +0000 (13:51 +0200)]
Merge pull request #9027 from omoerbeek/rec-internals-qname-min
rec: Tell a bit about qname minimization
Otto Moerbeek [Wed, 15 Apr 2020 11:50:50 +0000 (13:50 +0200)]
Apply suggestions from code review
Typos
Co-Authored-By: Remi Gacogne <rgacogne+github@valombre.net>
Otto Moerbeek [Wed, 15 Apr 2020 11:31:58 +0000 (13:31 +0200)]
Tell a bit about qname minimization
Peter van Dijk [Sat, 11 Apr 2020 19:47:43 +0000 (21:47 +0200)]
auth smysql: mimic error message format from mysql tooling
Peter van Dijk [Thu, 9 Apr 2020 10:47:33 +0000 (12:47 +0200)]
Merge pull request #9017 from Habbie/prefixe-s
rec: fix typo (prefixe -> prefixes)