]>
git.ipfire.org Git - thirdparty/pdns.git/log
Peter van Dijk [Tue, 18 Aug 2020 09:07:34 +0000 (11:07 +0200)]
Merge pull request #8928 from rgacogne/auth-lua-axfrfilter-last-char
auth: Ensure qtype is set before calling setContent() in axfrfilter()
Peter van Dijk [Tue, 18 Aug 2020 08:57:08 +0000 (10:57 +0200)]
Merge pull request #7932 from James-TR/patch-2
auth: remove redundant --no-config in makefile
James Taylor [Fri, 14 Jun 2019 11:17:38 +0000 (21:17 +1000)]
auth: remove redundant --no-config from commands
Both the flags --no-config and --config=default prevent the loading of
configuration files from disk when used independently as per
https://github.com/PowerDNS/pdns/blob/master/pdns/receiver.cc#L418-L419
This commit removes the anomaly from documentation and build files to avoid
confusion and make it consistent among all packages.
Peter van Dijk [Mon, 17 Aug 2020 11:40:30 +0000 (13:40 +0200)]
Merge pull request #7963 from Godwottery/master
Add a new command to add a super-master to SQL backends
Peter van Dijk [Mon, 17 Aug 2020 11:11:25 +0000 (13:11 +0200)]
Merge pull request #8564 from criteo-forks/weighted_gap
geoipbackend: propagate weighted rounding gap fix
Peter van Dijk [Mon, 17 Aug 2020 11:09:10 +0000 (13:09 +0200)]
Merge pull request #8565 from criteo-forks/stop_weighted
geoipbackend: stop looking after first weighted match
Peter van Dijk [Mon, 17 Aug 2020 09:58:47 +0000 (11:58 +0200)]
Merge pull request #8623 from jonathaneen/accept_combination_delete_replace_for_rrset
Make a combination of delete and replace for rrset possible
Peter van Dijk [Wed, 12 Aug 2020 13:59:58 +0000 (15:59 +0200)]
Merge pull request #9092 from jsoref/current-config-help
receiver: fix help output for pdns current-config
Peter van Dijk [Wed, 12 Aug 2020 13:57:35 +0000 (15:57 +0200)]
Merge pull request #9340 from pieterlexis/auth-api-rm-nsec3param
Auth API: Allow removal of NSEC3PARAM metadata
Peter van Dijk [Wed, 12 Aug 2020 13:55:21 +0000 (15:55 +0200)]
Merge pull request #9380 from rgacogne/qclass-in-cleanup
Replace the use of '1' by QClass::IN to improve readability
Remi Gacogne [Wed, 12 Aug 2020 07:23:23 +0000 (09:23 +0200)]
Merge pull request #9378 from rgacogne/ddist-stop-backend-thread-on-removal
dnsdist: Stop the related responder thread when a backend is removed
Peter van Dijk [Tue, 11 Aug 2020 12:26:04 +0000 (14:26 +0200)]
Merge pull request #9218 from zeha/auth-log-actions
auth: log more pdns_control actions
Remi Gacogne [Tue, 11 Aug 2020 12:10:58 +0000 (14:10 +0200)]
Replace the use of '1' by QClass::IN to improve readability
Peter van Dijk [Tue, 11 Aug 2020 11:59:42 +0000 (13:59 +0200)]
Merge pull request #9318 from zeha/gsql-specific
gsqlbackend: allow backend-specific queries
Peter van Dijk [Tue, 11 Aug 2020 11:56:19 +0000 (13:56 +0200)]
Merge pull request #9265 from zeha/notify-axfr
auth: add used master address to slave check logs
Remi Gacogne [Tue, 11 Aug 2020 11:47:05 +0000 (13:47 +0200)]
Merge pull request #9049 from rgacogne/ddist-edns-buffer-size-self-generated
dnsdist: Set the default EDNS buffer size on generated answers to 1232
Remi Gacogne [Tue, 11 Aug 2020 11:46:42 +0000 (13:46 +0200)]
Merge pull request #9159 from rgacogne/ueberbackend-tests
auth: Add some UeberBackend unit tests, document multi-backend interactions
Otto Moerbeek [Tue, 11 Aug 2020 09:03:07 +0000 (11:03 +0200)]
Merge pull request #9351 from omoerbeek/rec-forwarder-vs-ns-in-cache
rec: if we have an NS in cache, use it in the forwarder case
Remi Gacogne [Mon, 10 Aug 2020 13:51:18 +0000 (15:51 +0200)]
dnsdist: Stop the related responder thread when a backend is removed
Remi Gacogne [Tue, 7 Jul 2020 12:36:23 +0000 (14:36 +0200)]
auth: Document that two backends might have the same name/types
As long as they are somehow kept in sync..
Remi Gacogne [Wed, 27 May 2020 10:25:54 +0000 (12:25 +0200)]
auth: Document a few more backend methods (TSIG, metadata, DNSSEC..)
Remi Gacogne [Wed, 27 May 2020 10:14:23 +0000 (12:14 +0200)]
auth: Document a few more points of multi-backend interactions
Remi Gacogne [Wed, 27 May 2020 08:25:06 +0000 (10:25 +0200)]
auth: Add unit tests for the UeberBackend
Remi Gacogne [Mon, 10 Aug 2020 08:07:12 +0000 (10:07 +0200)]
Merge pull request #9374 from omoerbeek/rec-docs-webserver-allow-from
Be explicit about IPs vs netmasks.
Remi Gacogne [Mon, 10 Aug 2020 07:44:10 +0000 (09:44 +0200)]
Merge pull request #9275 from Nuitari/AlwaysReconnectOnComingBackUp
dnsdist: Force a reconnection when a downstream transitions to the UP state
Otto Moerbeek [Fri, 7 Aug 2020 10:20:04 +0000 (12:20 +0200)]
A range is not a generally known thing, use "IP addreses or netmasks" more
consistently.
Otto Moerbeek [Fri, 7 Aug 2020 09:35:00 +0000 (11:35 +0200)]
Be explicit about IPs vs netmasks.
Otto Moerbeek [Mon, 3 Aug 2020 11:45:42 +0000 (13:45 +0200)]
Merge pull request #9371 from phonedph1/patch-23
Update netmaskgroup.rst
Peter van Dijk [Mon, 3 Aug 2020 11:09:04 +0000 (13:09 +0200)]
Merge pull request #9337 from pieterlexis/report-IPSECKEY
Report IPSECKEY
Otto Moerbeek [Mon, 3 Aug 2020 11:05:47 +0000 (13:05 +0200)]
Lets do (non-recursive) cases with qname minimization.
Have to shortcut forwarding in doResolveNoQNameMinimization() in that
case, otherwise all are queries are just forwarded.
Otto Moerbeek [Mon, 3 Aug 2020 08:52:49 +0000 (10:52 +0200)]
Range based loop and some comments
Otto Moerbeek [Mon, 3 Aug 2020 08:43:14 +0000 (10:43 +0200)]
Note that name.isPartOf(name)
phonedph1 [Sun, 2 Aug 2020 01:55:58 +0000 (19:55 -0600)]
Update netmaskgroup.rst
Remi Gacogne [Fri, 31 Jul 2020 14:16:49 +0000 (16:16 +0200)]
dnsdist: Check the responder's payload < the incoming buffer size
Nuitari [Fri, 31 Jul 2020 13:45:59 +0000 (09:45 -0400)]
Update pdns/dnsdistdist/dnsdist-healthchecks.cc
Co-authored-by: Remi Gacogne <rgacogne+github@valombre.net>
Remi Gacogne [Fri, 31 Jul 2020 13:03:41 +0000 (15:03 +0200)]
Merge pull request #9222 from supervacuus/fix_dnsdist_ipv6_frontend_metric
dnsdist: Use toStringWithPort instead of manual addr/port concat
Remi Gacogne [Fri, 31 Jul 2020 12:57:38 +0000 (14:57 +0200)]
Merge pull request #9225 from rgacogne/wrap-files-smart-ptrs
Wrap more FILE objects in smart pointers
Remi Gacogne [Fri, 31 Jul 2020 12:57:00 +0000 (14:57 +0200)]
Merge pull request #9273 from rgacogne/ddist-server-latency-bindings
dnsdist: Add Lua bindings to get a server's latency
Otto Moerbeek [Fri, 31 Jul 2020 10:12:49 +0000 (12:12 +0200)]
Merge pull request #9196 from pieterlexis/qla-only-v6
rec: Disable outgoing v4 when QLA has no v4 addresses
Otto Moerbeek [Fri, 31 Jul 2020 09:13:05 +0000 (11:13 +0200)]
Tidy declaration of new exitCode field
Remi Gacogne [Fri, 31 Jul 2020 08:43:20 +0000 (10:43 +0200)]
Merge pull request #9366 from rgacogne/dnsdist-doh-response-map
dnsdist: Better documentation for HTTP responses map
Otto Moerbeek [Fri, 31 Jul 2020 07:28:47 +0000 (09:28 +0200)]
Merge pull request #9362 from omoerbeek/rec-bulk-more-threads
Rec: run test with more threads and skip the last (repeated) test
Remi Gacogne [Thu, 30 Jul 2020 15:23:59 +0000 (17:23 +0200)]
dnsdist: Better documentation for HTTP responses map
Including the fact that in 1.5.0 the paths should be listed in the
list of path passed to `addDOHLocal` to be able to match a response
rule.
Remi Gacogne [Thu, 30 Jul 2020 12:30:06 +0000 (14:30 +0200)]
Merge pull request #9365 from rgacogne/ddist-fix-invalid-char-changelog
dnsdist: Fix weird UTF-8 character in the ChangeLog
Remi Gacogne [Thu, 30 Jul 2020 12:29:06 +0000 (14:29 +0200)]
dnsdist: Fix weird UTF-8 character in the ChangeLog
Remi Gacogne [Thu, 30 Jul 2020 12:15:59 +0000 (14:15 +0200)]
Merge pull request #9358 from rgacogne/ddist150-secpoll-changelog
dnsdist: Update ChangeLog and secpoll for the 1.5.0 release
Remi Gacogne [Thu, 30 Jul 2020 08:34:43 +0000 (10:34 +0200)]
dnsdist: Fix the release date of dnsdist 1.5.0
Remi Gacogne [Wed, 29 Jul 2020 12:16:39 +0000 (14:16 +0200)]
Merge pull request #9360 from rgacogne/ddist-prevent-backends-copy
dnsdist: Prevent a copy of a pool's backends when selecting a server
Otto Moerbeek [Wed, 29 Jul 2020 12:03:34 +0000 (14:03 +0200)]
Half a million as biggest test for now to prevent buildbot timeouts
Otto Moerbeek [Wed, 29 Jul 2020 09:22:06 +0000 (11:22 +0200)]
Default to more (m)threads for bulk and fix a typo in test-recursor-bulk
Remi Gacogne [Wed, 29 Jul 2020 07:38:38 +0000 (09:38 +0200)]
dnsdist: Prevent a copy of a pool's backends when selecting a server
Remi Gacogne [Wed, 29 Jul 2020 07:00:16 +0000 (09:00 +0200)]
Whitelist part of the name of a contributor..
Remi Gacogne [Wed, 29 Jul 2020 06:58:36 +0000 (08:58 +0200)]
Merge pull request #9356 from rgacogne/ddist-check-cache-ptr
dnsdist: Handle calling PacketCache methods on a nil object
Remi Gacogne [Wed, 29 Jul 2020 06:57:20 +0000 (08:57 +0200)]
Merge pull request #9359 from Habbie/mysql-both-typo
auth tests gmysql2: fix env var name typo
Peter van Dijk [Tue, 28 Jul 2020 21:37:11 +0000 (23:37 +0200)]
auth tests gmysql2: fix env var name typo
Remi Gacogne [Tue, 28 Jul 2020 13:15:11 +0000 (15:15 +0200)]
dnsdist: Update ChangeLog and secpoll for the 1.5.0 release
Remi Gacogne [Tue, 28 Jul 2020 12:45:11 +0000 (14:45 +0200)]
Merge pull request #9355 from rgacogne/ddist-proxy-protocol-large
dnsdist: Improve reporting of possible overflow via large Proxy Protocol values
Remi Gacogne [Tue, 28 Jul 2020 12:41:38 +0000 (14:41 +0200)]
dnsdist: Handle calling PacketCache methods on a nil object
Pieter Lexis [Wed, 29 Apr 2020 08:06:16 +0000 (10:06 +0200)]
Report IPSECKEY
Remi Gacogne [Tue, 28 Jul 2020 09:12:27 +0000 (11:12 +0200)]
dnsdist: Improve reporting of possible overflow via large Proxy Protocol values
Remi Gacogne [Tue, 28 Jul 2020 09:05:27 +0000 (11:05 +0200)]
Merge pull request #9354 from PowerDNS/dependabot/bundler/modules/remotebackend/json-2.3.0
build(deps): bump json from 1.8.5 to 2.3.0 in /modules/remotebackend
Remi Gacogne [Tue, 28 Jul 2020 09:05:06 +0000 (11:05 +0200)]
Merge pull request #9353 from PowerDNS/dependabot/bundler/modules/remotebackend/regression-tests/json-2.3.0
build(deps): bump json from 1.8.2 to 2.3.0 in /modules/remotebackend/regression-tests
Remi Gacogne [Tue, 28 Jul 2020 07:40:24 +0000 (09:40 +0200)]
Merge pull request #9343 from cmouse/hostname-fix
misc.cc: Resize hostname to final size in getCarbonHostname()
Remi Gacogne [Tue, 28 Jul 2020 07:37:21 +0000 (09:37 +0200)]
Merge pull request #9344 from rgacogne/ddist-fix-doh-sni
dnsdist: Fix compilation with h2o_socket_get_ssl_server_name
Remi Gacogne [Tue, 28 Jul 2020 07:37:05 +0000 (09:37 +0200)]
Merge pull request #9346 from omoerbeek/dnsdist-openbsd-clang-std
dnsdist: Fix compilation on OpenBSD/amd64
dependabot[bot] [Tue, 28 Jul 2020 04:11:38 +0000 (04:11 +0000)]
build(deps): bump json from 1.8.5 to 2.3.0 in /modules/remotebackend
Bumps [json](https://github.com/flori/json) from 1.8.5 to 2.3.0.
- [Release notes](https://github.com/flori/json/releases)
- [Changelog](https://github.com/flori/json/blob/master/CHANGES.md)
- [Commits](https://github.com/flori/json/compare/v1.8.5...v2.3.0)
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Tue, 28 Jul 2020 04:02:10 +0000 (04:02 +0000)]
build(deps): bump json in /modules/remotebackend/regression-tests
Bumps [json](https://github.com/flori/json) from 1.8.2 to 2.3.0.
- [Release notes](https://github.com/flori/json/releases)
- [Changelog](https://github.com/flori/json/blob/master/CHANGES.md)
- [Commits](https://github.com/flori/json/compare/v1.8.2...v2.3.0)
Signed-off-by: dependabot[bot] <support@github.com>
Otto Moerbeek [Mon, 27 Jul 2020 10:51:19 +0000 (12:51 +0200)]
Fix a bugf related to getBestNSFromCache not returning the NS domain,
which the code assumed to.
Otto Moerbeek [Wed, 10 Jun 2020 12:55:18 +0000 (14:55 +0200)]
For the forwarder case, look in the cache first and only use forwarder
if a cache entry is found that is less specific.
Stephane Bakhos [Thu, 23 Jul 2020 02:51:28 +0000 (22:51 -0400)]
Add an option to toggle the reconnectOnUp option
Aki Tuomi [Tue, 21 Jul 2020 19:04:56 +0000 (22:04 +0300)]
test-misc_hh: Add test for getCarbonHostname
Aki Tuomi [Sun, 19 Jul 2020 15:06:14 +0000 (18:06 +0300)]
misc.cc: Resize hostname to final size in getCarbonHostname()
In
5c21b47fbc35ddcb8d939eb8541c6c3bad1080a8 we change how
hostname is allocated. We allocate getMaxHostNameSize for string,
then give the raw buffer for gethostname function, but forget to
resize the string into actual result length, causing the carbon
output to include trailing NUL bytes after hostname.
Otto Moerbeek [Mon, 20 Jul 2020 07:56:15 +0000 (09:56 +0200)]
Fix compilation on OpenBSD/amd64
The readline lib on OpenBSD redefines __attribute__ to empty if __STRICT_ANSI__...
Otto Moerbeek [Mon, 20 Jul 2020 18:08:02 +0000 (20:08 +0200)]
Merge pull request #9348 from omoerbeek/solaris-name-clashes
Avoid name clashes on Solaris derived systems.
Otto Moerbeek [Mon, 20 Jul 2020 14:13:29 +0000 (16:13 +0200)]
Avoid name clashes on Solaris derived systems.
Fixes #9279
Otto Moerbeek [Mon, 20 Jul 2020 09:25:27 +0000 (11:25 +0200)]
Merge pull request #9342 from omoerbeek/rec-prep-4.4.0-alpha2
rec: prep for rec-4.4.0-alpha2
Otto Moerbeek [Fri, 17 Jul 2020 10:34:30 +0000 (12:34 +0200)]
Prep for rec 4.4.0-alpha2
Remi Gacogne [Sun, 19 Jul 2020 21:28:02 +0000 (23:28 +0200)]
dnsdist: Fix compilation with h2o_socket_get_ssl_server_name
aerique [Fri, 17 Jul 2020 09:00:24 +0000 (11:00 +0200)]
Create Ubuntu Focal Dockerfile for rec-43+.
aerique [Fri, 17 Jul 2020 09:00:03 +0000 (11:00 +0200)]
Only add `--nobest` for CentOS 8.
Otto Moerbeek [Fri, 17 Jul 2020 08:24:49 +0000 (10:24 +0200)]
Merge pull request #9338 from omoerbeek/rec-prep-
20200717
rec: Prep for upcoming July 17th 2020 release.
Remi Gacogne [Thu, 16 Jul 2020 08:45:48 +0000 (10:45 +0200)]
Merge pull request #9320 from ihsinme/patch-2
Update proxy-protocol.cc
Pieter Lexis [Wed, 15 Jul 2020 15:50:45 +0000 (17:50 +0200)]
Auth API: Allow removal of NSEC3PARAM metadata
Before, it was possible to set nsec3params, but an API user was never
able to switch back to NSEC.
Remi Gacogne [Wed, 15 Jul 2020 07:37:33 +0000 (09:37 +0200)]
Merge pull request #9336 from Habbie/auth-metrics-new-in-4.4
auth docs: note that /metrics is new in 4.4; closes #9325
Otto Moerbeek [Wed, 15 Jul 2020 07:27:07 +0000 (09:27 +0200)]
Add tags and tidy.
Remi Gacogne [Wed, 15 Jul 2020 07:23:28 +0000 (09:23 +0200)]
Merge pull request #9308 from rgacogne/rec-check-zone-key-flag
rec: Check that DNSKEYs have the zone flag set
Otto Moerbeek [Wed, 15 Jul 2020 07:19:46 +0000 (09:19 +0200)]
Merge pull request #9314 from zeha/no-tologstring
Remove redundant toLogString() calls
Peter van Dijk [Tue, 14 Jul 2020 17:34:16 +0000 (19:34 +0200)]
Merge pull request #9339 from phonedph1/patch-22
dnsdist: Update config.rst
phonedph1 [Tue, 14 Jul 2020 17:25:56 +0000 (11:25 -0600)]
Update config.rst
Otto Moerbeek [Tue, 14 Jul 2020 11:45:50 +0000 (13:45 +0200)]
Prep for upcoming July 17th 2020 release.
Peter van Dijk [Tue, 14 Jul 2020 08:56:11 +0000 (10:56 +0200)]
auth docs: note that /metrics is new in 4.4; closes #9325
Peter van Dijk [Mon, 13 Jul 2020 19:10:40 +0000 (21:10 +0200)]
Merge pull request #9315 from zeha/bind-zoneid
bindbackend: fix zoneId in log statement
Peter van Dijk [Mon, 13 Jul 2020 15:41:59 +0000 (17:41 +0200)]
Merge pull request #9280 from zeha/domain-create
auth: immediately fill account, kind, masters on zone create
Remi Gacogne [Wed, 8 Jul 2020 10:24:43 +0000 (12:24 +0200)]
rec: Check that DNSKEYs have the 'zone' flag set, 'revoked' one cleared
Remi Gacogne [Wed, 8 Jul 2020 09:04:47 +0000 (11:04 +0200)]
rec: Check that DNSKEYs have the zone flag set
As required by rfc4034 Section 5.2.
Remi Gacogne [Mon, 13 Jul 2020 13:49:33 +0000 (15:49 +0200)]
Merge pull request #9312 from rgacogne/rec-class-enum-validation-states
rec: Stop cluttering the global namespace with validation states
Otto Moerbeek [Mon, 13 Jul 2020 09:48:36 +0000 (11:48 +0200)]
Merge pull request #9231 from omoerbeek/explicit-cxx-version
Use explicit flag for the specific version of c++ wer'e targeting.
ihsinme [Fri, 10 Jul 2020 13:12:14 +0000 (16:12 +0300)]
Update proxy-protocol.cc
get rid of integer overflow
Chris Hofstaedtler [Fri, 10 Jul 2020 09:36:53 +0000 (11:36 +0200)]
gpgsql: avoid reconnect on connect
Remi Gacogne [Fri, 10 Jul 2020 07:36:12 +0000 (09:36 +0200)]
Merge pull request #9316 from zeha/dbnullptr
auth: 0 as nullptr cleanup