]>
git.ipfire.org Git - thirdparty/pdns.git/log
Chris Hofstaedtler [Fri, 1 May 2020 21:48:37 +0000 (23:48 +0200)]
builder: avoid config change prompts on each pdns-recursor update
Chris Hofstaedtler [Fri, 1 May 2020 21:45:32 +0000 (23:45 +0200)]
builder: use new --config=default for building config templates
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 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)
aerique [Thu, 9 Apr 2020 10:19:52 +0000 (12:19 +0200)]
Merge pull request #9005 from Habbie/auth-4.2.2-docs
changelog&secpoll for auth 4.2.2
Peter van Dijk [Wed, 8 Apr 2020 14:00:17 +0000 (16:00 +0200)]
fix typo
Peter van Dijk [Wed, 8 Apr 2020 12:36:50 +0000 (14:36 +0200)]
Merge pull request #8853 from jsoref/spelling
Spelling
Josh Soref [Sun, 23 Feb 2020 11:13:15 +0000 (06:13 -0500)]
spelling: [API] deserialize
spelling: across
spelling: acted
spelling: added
spelling: address
spelling: advantageous
spelling: against
spelling: algorithms
spelling: answers
spelling: authoritative
spelling: availability
spelling: boundaries
spelling: boundary
spelling: cannot
spelling: canonical
spelling: capability
spelling: choices
spelling: combination
spelling: comboring
spelling: comparison
spelling: constraints
spelling: constructor
spelling: contain
spelling: convenience
spelling: current
spelling: delegation
spelling: dependency
spelling: distribution
spelling: doesnotexist
spelling: dropping
spelling: everything
spelling: example
spelling: existence
spelling: explicitly
spelling: extremely
spelling: from
spelling: housekeeping
spelling: idonotexist
spelling: ipfilter
spelling: issuing
spelling: logging
spelling: message
spelling: method
spelling: modified
spelling: must
spelling: name
spelling: negative
spelling: obtaining
spelling: occurred
spelling: omitted
spelling: overridden
spelling: password
spelling: policy
spelling: positives
spelling: possibility
spelling: preresolve
spelling: probabilistic
spelling: prohibitively
spelling: protocol
spelling: provider
spelling: public
spelling: repeatedly
spelling: repositories
spelling: responding
spelling: response
spelling: several
spelling: should
spelling: sizing
spelling: supplied
spelling: support
spelling: synthesized
spelling: the
spelling: transaction
spelling: usually
spelling: visitor
Peter van Dijk [Mon, 6 Apr 2020 11:48:36 +0000 (13:48 +0200)]
changelog&secpoll for auth 4.2.2
Peter van Dijk [Wed, 8 Apr 2020 10:16:00 +0000 (12:16 +0200)]
Merge pull request #9014 from Habbie/ixfr-upgrade-notes
auth: document IXFR corruption and correction
Remi Gacogne [Wed, 8 Apr 2020 07:38:03 +0000 (09:38 +0200)]
Merge pull request #8994 from rgacogne/ddist-listen-queue-size
dnsdist: Add an option to control the size of the TCP listen queue
Peter van Dijk [Tue, 7 Apr 2020 21:34:01 +0000 (23:34 +0200)]
auth: document IXFR corruption and correction
Peter van Dijk [Tue, 7 Apr 2020 19:14:10 +0000 (21:14 +0200)]
Merge pull request #9011 from Habbie/auth-4.0-eol
auth docs: shift EOL generations
Peter van Dijk [Tue, 7 Apr 2020 19:10:16 +0000 (21:10 +0200)]
Merge pull request #9012 from zeha/install-bind-schema
Install bind SQL schema files as part of bindbackend
Chris Hofstaedtler [Tue, 7 Apr 2020 15:55:59 +0000 (17:55 +0200)]
Install bind SQL schema files as part of bindbackend
Peter van Dijk [Tue, 7 Apr 2020 14:42:11 +0000 (16:42 +0200)]
auth docs: shift EOL generations
aerique [Tue, 7 Apr 2020 13:23:28 +0000 (15:23 +0200)]
Merge pull request #8982 from Habbie/auth-4.3.0-docs
auth 4.3.0 docs, upgrade notes, secpoll
Remi Gacogne [Tue, 7 Apr 2020 09:37:58 +0000 (11:37 +0200)]
Merge pull request #8967 from rgacogne/rec-dns64-prefix
rec: Implement native DNS64 support, without Lua
Peter van Dijk [Tue, 7 Apr 2020 08:46:21 +0000 (10:46 +0200)]
Merge pull request #9009 from Habbie/circleci-local-resolver
circleci auth: use recursor on localhost for resolving ALIAS
Peter van Dijk [Mon, 30 Mar 2020 15:59:51 +0000 (17:59 +0200)]
auth 4.3.0 docs, upgrade notes, secpoll
Remi Gacogne [Tue, 7 Apr 2020 07:39:50 +0000 (09:39 +0200)]
Merge pull request #9008 from omoerbeek/rec-test-cache-simple
rec: test what's I believe was intended for test_RecursorCacheSimple
Peter van Dijk [Mon, 6 Apr 2020 15:04:39 +0000 (17:04 +0200)]
circleci auth: use recursor on localhost for resolving ALIAS
Otto Moerbeek [Mon, 6 Apr 2020 13:40:59 +0000 (15:40 +0200)]
Test what's I believe was intended.
Also, zap unneeded clear() calls, get() already does that.
Otto Moerbeek [Mon, 6 Apr 2020 10:29:00 +0000 (12:29 +0200)]
Merge pull request #9000 from krionbsd/warns
Fix warnings with llvm10 and -Wrange-loop-construct
Kirill Ponomarev [Mon, 6 Apr 2020 09:26:45 +0000 (11:26 +0200)]
Update pdns/dnssecinfra.cc
Co-Authored-By: Otto Moerbeek <otto.moerbeek@open-xchange.com>