]>
git.ipfire.org Git - thirdparty/pdns.git/log
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 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.
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
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>
Kirill Ponomarev [Mon, 6 Apr 2020 09:26:37 +0000 (11:26 +0200)]
Update pdns/dnssecinfra.cc
Co-Authored-By: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Peter van Dijk [Mon, 6 Apr 2020 08:20:39 +0000 (10:20 +0200)]
move github issue template config.yml to right path
Peter van Dijk [Mon, 6 Apr 2020 08:03:54 +0000 (10:03 +0200)]
Merge pull request #9002 from Habbie/issues-new-choose
docs: link to GitHub issue template chooser
Peter van Dijk [Mon, 6 Apr 2020 07:53:28 +0000 (09:53 +0200)]
github: disable blank issues
Peter van Dijk [Mon, 6 Apr 2020 07:51:27 +0000 (09:51 +0200)]
docs: link to GitHub issue template chooser
Peter van Dijk [Mon, 6 Apr 2020 07:55:42 +0000 (09:55 +0200)]
security: update email addresses
Remi Gacogne [Mon, 6 Apr 2020 07:35:32 +0000 (09:35 +0200)]
Merge pull request #8996 from rgacogne/ddist-drop-qr-unset-responses
dnsdist: Drop responses with the QR bit set to 0
krionbsd [Sun, 5 Apr 2020 21:04:53 +0000 (23:04 +0200)]
Fix warnings with llvm10 and -Wrange-loop-construct
Peter van Dijk [Sun, 5 Apr 2020 19:42:18 +0000 (21:42 +0200)]
Merge pull request #8977 from Habbie/ixfr-multiple-deltas
auth: avoid IXFR-in record duplication
Peter van Dijk [Fri, 27 Mar 2020 13:00:43 +0000 (14:00 +0100)]
fix IXFR-in record duplication issue by avoiding the query cache
Remi Gacogne [Fri, 3 Apr 2020 15:08:20 +0000 (17:08 +0200)]
rec: Fix comments from the review of the dns64-prefix feature
- remove a temporary copy ;
- only enter the nodata block if needed ;
- catch NetmaskException exceptions during configuration parsing.
Remi Gacogne [Fri, 3 Apr 2020 14:52:57 +0000 (16:52 +0200)]
dnsdist: Drop responses with the QR bit set to 0
Otto Moerbeek [Fri, 3 Apr 2020 12:21:36 +0000 (14:21 +0200)]
Merge pull request #8987 from omoerbeek/rec-fix-maxdepth-test
rec: fix referral unit test
Peter van Dijk [Fri, 3 Apr 2020 10:47:18 +0000 (12:47 +0200)]
Merge pull request #8991 from kpfleming/improve-metadata-api-docs
Improve specification for metadata API endpoint
Otto Moerbeek [Fri, 3 Apr 2020 09:26:18 +0000 (11:26 +0200)]
Better test setup and also log if we hit the limit
Kevin P. Fleming [Fri, 3 Apr 2020 00:38:32 +0000 (20:38 -0400)]
deleteMetadata returns 200 OK, not 204 No Content
Signed-off-by: Kevin P. Fleming <kevin@km6g.us>
Remi Gacogne [Thu, 2 Apr 2020 16:12:56 +0000 (18:12 +0200)]
dnsdist: Add an option to control the size of the TCP listen queue
Remi Gacogne [Thu, 2 Apr 2020 08:37:33 +0000 (10:37 +0200)]
Merge pull request #8985 from neheb/nbm
fix compilation without deprecated OpenSSL APIs
Kevin P. Fleming [Wed, 1 Apr 2020 12:06:18 +0000 (08:06 -0400)]
modifyMetadata returns the created object
Signed-off-by: Kevin P. Fleming <kevin@km6g.us>
Kevin P. Fleming [Wed, 1 Apr 2020 10:45:54 +0000 (06:45 -0400)]
Improve specification for metadata API endpoint
* createMetadata only accepts a single Metadata object, not an array
* getMetadata returns a single Metadata object, not an array
* add descriptions for metadata_kind parameters that were '???'
* note that modifyMetadata removes existing entries of the specified kind
Signed-off-by: Kevin P. Fleming <kevin@km6g.us>
Otto Moerbeek [Tue, 31 Mar 2020 09:16:13 +0000 (11:16 +0200)]
test_referral_depth is actually hitting the limit in doCNAMECacheCheck()
and not the generic depth limit. Use one less of referal to fix
that. Additionally, test and fix the non-limited case.
Peter van Dijk [Tue, 31 Mar 2020 08:11:43 +0000 (10:11 +0200)]
Merge pull request #8957 from Habbie/lua-test-resolve
auth LUA: add test for resolve() function
Rosen Penev [Mon, 30 Mar 2020 20:40:44 +0000 (13:40 -0700)]
fix compilation without deprecated OpenSSL APIs
This header is normally included with ssl.h.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Peter van Dijk [Mon, 30 Mar 2020 15:32:37 +0000 (17:32 +0200)]
Merge pull request #8975 from mind04/pdns-4.3.0-schema
auth: improve sql schema updates
Remi Gacogne [Fri, 27 Mar 2020 14:59:57 +0000 (15:59 +0100)]
Merge pull request #8976 from rgacogne/ddist-larger-incoming-buffer-dnscrypt
dnsdist: Accept UDP datagrams larger than 1500 bytes for DNSCrypt
Kees Monshouwer [Thu, 26 Mar 2020 21:16:30 +0000 (22:16 +0100)]
auth: remove beta2 schema files
Kees Monshouwer [Sat, 21 Mar 2020 20:41:17 +0000 (21:41 +0100)]
auth: improve sql schema updates