]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
4 years agoMerge pull request #9011 from Habbie/auth-4.0-eol
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

4 years agoMerge pull request #9012 from zeha/install-bind-schema
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

4 years agoInstall bind SQL schema files as part of bindbackend 9012/head
Chris Hofstaedtler [Tue, 7 Apr 2020 15:55:59 +0000 (17:55 +0200)] 
Install bind SQL schema files as part of bindbackend

4 years agoauth docs: shift EOL generations 9011/head
Peter van Dijk [Tue, 7 Apr 2020 14:42:11 +0000 (16:42 +0200)] 
auth docs: shift EOL generations

4 years agoMerge pull request #8982 from Habbie/auth-4.3.0-docs
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

4 years agoMerge pull request #8967 from rgacogne/rec-dns64-prefix
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

4 years agoMerge pull request #9009 from Habbie/circleci-local-resolver
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

4 years agoauth 4.3.0 docs, upgrade notes, secpoll 8982/head
Peter van Dijk [Mon, 30 Mar 2020 15:59:51 +0000 (17:59 +0200)] 
auth 4.3.0 docs, upgrade notes, secpoll

4 years agoMerge pull request #9008 from omoerbeek/rec-test-cache-simple
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

4 years agocircleci auth: use recursor on localhost for resolving ALIAS 9009/head
Peter van Dijk [Mon, 6 Apr 2020 15:04:39 +0000 (17:04 +0200)] 
circleci auth: use recursor on localhost for resolving ALIAS

4 years agoTest what's I believe was intended. 9008/head
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.

4 years agoMerge pull request #9000 from krionbsd/warns
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

4 years agoUpdate pdns/dnssecinfra.cc 9000/head
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>
4 years agoUpdate pdns/dnssecinfra.cc
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>
4 years agomove github issue template config.yml to right path
Peter van Dijk [Mon, 6 Apr 2020 08:20:39 +0000 (10:20 +0200)] 
move github issue template config.yml to right path

4 years agoMerge pull request #9002 from Habbie/issues-new-choose
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

4 years agogithub: disable blank issues 9002/head
Peter van Dijk [Mon, 6 Apr 2020 07:53:28 +0000 (09:53 +0200)] 
github: disable blank issues

4 years agodocs: link to GitHub issue template chooser
Peter van Dijk [Mon, 6 Apr 2020 07:51:27 +0000 (09:51 +0200)] 
docs: link to GitHub issue template chooser

4 years agosecurity: update email addresses
Peter van Dijk [Mon, 6 Apr 2020 07:55:42 +0000 (09:55 +0200)] 
security: update email addresses

4 years agoMerge pull request #8996 from rgacogne/ddist-drop-qr-unset-responses
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

4 years agoFix warnings with llvm10 and -Wrange-loop-construct
krionbsd [Sun, 5 Apr 2020 21:04:53 +0000 (23:04 +0200)] 
Fix warnings with llvm10 and -Wrange-loop-construct

4 years agoMerge pull request #8977 from Habbie/ixfr-multiple-deltas
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

4 years agofix IXFR-in record duplication issue by avoiding the query cache 8977/head
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

4 years agorec: Fix comments from the review of the dns64-prefix feature 8967/head
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.

4 years agodnsdist: Drop responses with the QR bit set to 0 8996/head
Remi Gacogne [Fri, 3 Apr 2020 14:52:57 +0000 (16:52 +0200)] 
dnsdist: Drop responses with the QR bit set to 0

4 years agoMerge pull request #8987 from omoerbeek/rec-fix-maxdepth-test
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

4 years agoMerge pull request #8991 from kpfleming/improve-metadata-api-docs
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

4 years agoBetter test setup and also log if we hit the limit 8987/head
Otto Moerbeek [Fri, 3 Apr 2020 09:26:18 +0000 (11:26 +0200)] 
Better test setup and also log if we hit the limit

4 years agodeleteMetadata returns 200 OK, not 204 No Content 8991/head
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>
4 years agoMerge pull request #8985 from neheb/nbm
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

4 years agomodifyMetadata returns the created object
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>
4 years agoImprove specification for metadata API endpoint
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>
4 years agotest_referral_depth is actually hitting the limit in doCNAMECacheCheck()
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.

4 years agoMerge pull request #8957 from Habbie/lua-test-resolve
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

4 years agofix compilation without deprecated OpenSSL APIs 8985/head
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>
4 years agoMerge pull request #8975 from mind04/pdns-4.3.0-schema
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

4 years agoMerge pull request #8976 from rgacogne/ddist-larger-incoming-buffer-dnscrypt
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

4 years agoauth: remove beta2 schema files 8975/head
Kees Monshouwer [Thu, 26 Mar 2020 21:16:30 +0000 (22:16 +0100)] 
auth: remove beta2 schema files

4 years agoauth: improve sql schema updates
Kees Monshouwer [Sat, 21 Mar 2020 20:41:17 +0000 (21:41 +0100)] 
auth: improve sql schema updates

4 years agodnsdist: Accept UDP datagrams larger than 1500 bytes for DNSCrypt 8976/head
Remi Gacogne [Thu, 26 Mar 2020 17:50:43 +0000 (18:50 +0100)] 
dnsdist: Accept UDP datagrams larger than 1500 bytes for DNSCrypt

4 years agoMerge pull request #8974 from rgacogne/ddist-pmtu-dnscrypt
Remi Gacogne [Thu, 26 Mar 2020 13:44:05 +0000 (14:44 +0100)] 
Merge pull request #8974 from rgacogne/ddist-pmtu-dnscrypt

dnsdist: Keep accepting fragmented UDP datagrams on DNSCrypt binds

4 years agodnsdist: Keep accepting fragmented UDP datagrams on DNSCrypt binds 8974/head
Remi Gacogne [Thu, 26 Mar 2020 10:47:54 +0000 (11:47 +0100)] 
dnsdist: Keep accepting fragmented UDP datagrams on DNSCrypt binds

DNSCrypt pads its queries for privacy purposes, and thus requires
larger queries than plain DNS ones. Discarding fragmented datagrams
doesn't make sense in that case, and actually leads to a very
degraded service.

4 years agoMerge pull request #8972 from Habbie/ubuntu-focal
Pieter Lexis [Thu, 26 Mar 2020 10:35:08 +0000 (11:35 +0100)] 
Merge pull request #8972 from Habbie/ubuntu-focal

builder: add ubuntu focal target

4 years agoMerge pull request #8968 from rgacogne/ddist-doc-proxy-v2
Remi Gacogne [Thu, 26 Mar 2020 09:20:41 +0000 (10:20 +0100)] 
Merge pull request #8968 from rgacogne/ddist-doc-proxy-v2

rec/dnsdist: Document that we only support the version 2 of the Proxy Protocol

4 years agoMerge pull request #8939 from RobinGeuze/fixNSEC3ForUnpublishedDNSKEYsProperly
Peter van Dijk [Wed, 25 Mar 2020 11:06:08 +0000 (12:06 +0100)] 
Merge pull request #8939 from RobinGeuze/fixNSEC3ForUnpublishedDNSKEYsProperly

Fix NSECx for unpublished DNSKEYs properly

4 years agobuilder: add ubuntu focal target 8972/head
Peter van Dijk [Wed, 25 Mar 2020 10:41:15 +0000 (11:41 +0100)] 
builder: add ubuntu focal target

4 years agoMerge pull request #8917 from Habbie/bind-packages-docs
Pieter Lexis [Wed, 25 Mar 2020 08:26:29 +0000 (09:26 +0100)] 
Merge pull request #8917 from Habbie/bind-packages-docs

auth docs: clarify absence/presence of pdns-backend-bind

4 years agoMerge pull request #8971 from yantarou/layout_fix
Remi Gacogne [Wed, 25 Mar 2020 08:12:13 +0000 (09:12 +0100)] 
Merge pull request #8971 from yantarou/layout_fix

Fix layout in the dnsdist Caching Responses guide

4 years agoFix layout in the dnsdist Caching Responses guide 8971/head
Jan Hilberath [Wed, 25 Mar 2020 05:55:37 +0000 (14:55 +0900)] 
Fix layout in the dnsdist Caching Responses guide

4 years agoMerge pull request #8962 from rgacogne/lmdb-safe-move-rvo
Remi Gacogne [Tue, 24 Mar 2020 09:19:50 +0000 (10:19 +0100)] 
Merge pull request #8962 from rgacogne/lmdb-safe-move-rvo

Remove a std::move() preventing Return-Value Optimization in lmdb-safe.cc

4 years agorec: Document that we only support the version 2 of the Proxy Protocol 8968/head
Remi Gacogne [Mon, 23 Mar 2020 15:56:50 +0000 (16:56 +0100)] 
rec: Document that we only support the version 2 of the Proxy Protocol

4 years agodnsdist: Document that we only support the version 2 of the Proxy Protocol
Remi Gacogne [Mon, 23 Mar 2020 15:55:50 +0000 (16:55 +0100)] 
dnsdist: Document that we only support the version 2 of the Proxy Protocol

4 years agorec: Implement native DNS64 support, without Lua
Remi Gacogne [Mon, 23 Mar 2020 14:47:10 +0000 (15:47 +0100)] 
rec: Implement native DNS64 support, without Lua

Native support is much less flexible than Lua hooks but should satisfy
most of the DNS64 setups. It is also much faster since it does not
involve calling a Lua hook for all queries.

4 years agoRemove a std::move() preventing Return-Value Optimization in lmdb-safe.cc 8962/head
Remi Gacogne [Mon, 23 Mar 2020 09:20:48 +0000 (10:20 +0100)] 
Remove a std::move() preventing Return-Value Optimization in lmdb-safe.cc

4 years agoMerge pull request #8955 from omoerbeek/dnsdist-string-view-amb
Remi Gacogne [Mon, 23 Mar 2020 08:55:40 +0000 (09:55 +0100)] 
Merge pull request #8955 from omoerbeek/dnsdist-string-view-amb

On OpenBSD string_view is both in boost and std

4 years agoMerge pull request #8956 from pieterlexis/dnsdist-smt-remove
Remi Gacogne [Mon, 23 Mar 2020 08:33:22 +0000 (09:33 +0100)] 
Merge pull request #8956 from pieterlexis/dnsdist-smt-remove

dnsdist: expose SuffixMatchNode::remove in Lua

4 years agoProper include guard for OpenBSD and FreeBSD: std::string_ref is available there. 8955/head
Otto Moerbeek [Mon, 23 Mar 2020 07:12:33 +0000 (08:12 +0100)] 
Proper include guard for OpenBSD and FreeBSD: std::string_ref is available there.

4 years agoMerge pull request #8960 from kpfleming/fix-swagger-typo
Peter van Dijk [Sat, 21 Mar 2020 20:19:18 +0000 (21:19 +0100)] 
Merge pull request #8960 from kpfleming/fix-swagger-typo

Correct typo in Swagger specification

4 years agoCorrect typo in Swagger specification 8960/head
Kevin P. Fleming [Sat, 21 Mar 2020 20:10:23 +0000 (16:10 -0400)] 
Correct typo in Swagger specification

Found when loading the spec into a validating parser :-)

Signed-off-by: Kevin P. Fleming <kevin@km6g.us>
4 years agoMerge pull request #8916 from Habbie/lmdb-namespaces-fbsd
Peter van Dijk [Fri, 20 Mar 2020 23:25:41 +0000 (00:25 +0100)] 
Merge pull request #8916 from Habbie/lmdb-namespaces-fbsd

auth lmdb: avoid blanket std import; fixes #8872

4 years agoInclude FreeBSD in conditional
Otto Moerbeek [Fri, 20 Mar 2020 16:18:22 +0000 (17:18 +0100)] 
Include FreeBSD in conditional

4 years agoauth docs: clarify absence/presence of pdns-backend-bind 8917/head
Peter van Dijk [Mon, 9 Mar 2020 19:13:58 +0000 (20:13 +0100)] 
auth docs: clarify absence/presence of pdns-backend-bind

4 years agoauth LUA: add test for resolve() function 8957/head
Peter van Dijk [Fri, 20 Mar 2020 14:25:27 +0000 (15:25 +0100)] 
auth LUA: add test for resolve() function

4 years agoOn OpenBSD string_view is both in boost and std
Otto Moerbeek [Fri, 20 Mar 2020 11:58:05 +0000 (12:58 +0100)] 
On OpenBSD string_view is both in boost and std

4 years agoMerge pull request #8953 from rgacogne/ddist-150a1
Remi Gacogne [Fri, 20 Mar 2020 12:52:29 +0000 (13:52 +0100)] 
Merge pull request #8953 from rgacogne/ddist-150a1

dnsdist: Update ChangeLog and secpoll for 1.5.0-alpha1

4 years agodnsdist: expose SuffixMatchNode::remove in Lua 8956/head
Pieter Lexis [Fri, 20 Mar 2020 12:44:40 +0000 (13:44 +0100)] 
dnsdist: expose SuffixMatchNode::remove in Lua

4 years agoMerge pull request #8952 from rgacogne/ddist-document-xpf-proxy dnsdist-1.5.0-alpha1
Remi Gacogne [Fri, 20 Mar 2020 08:09:52 +0000 (09:09 +0100)] 
Merge pull request #8952 from rgacogne/ddist-document-xpf-proxy

dnsdist: Add more documentation about XPF and the Proxy Protocol

4 years agoMerge pull request #8954 from rgacogne/ddist-string-ref
Remi Gacogne [Fri, 20 Mar 2020 08:08:49 +0000 (09:08 +0100)] 
Merge pull request #8954 from rgacogne/ddist-string-ref

dnsdist: Fix compilation issues with older boost::string_ref and string_view

4 years agodnsdist: Fix compilation issues with older boost::string_ref and string_view 8954/head
Remi Gacogne [Thu, 19 Mar 2020 16:35:06 +0000 (17:35 +0100)] 
dnsdist: Fix compilation issues with older boost::string_ref and string_view

4 years agodnsdist: Add missing changelog tags to the documentation 8953/head
Remi Gacogne [Thu, 19 Mar 2020 16:34:29 +0000 (17:34 +0100)] 
dnsdist: Add missing changelog tags to the documentation

4 years agoUpdate secpoll for dnsdist 1.5.0-alpha1
Remi Gacogne [Thu, 19 Mar 2020 16:12:02 +0000 (17:12 +0100)] 
Update secpoll for dnsdist 1.5.0-alpha1

4 years agodnsdist: Update ChangeLog for 1.5.0-alpha1
Remi Gacogne [Thu, 19 Mar 2020 16:11:33 +0000 (17:11 +0100)] 
dnsdist: Update ChangeLog for 1.5.0-alpha1

4 years agodnsdist: Fix a broken reference in the documentation 8952/head
Remi Gacogne [Thu, 19 Mar 2020 14:42:45 +0000 (15:42 +0100)] 
dnsdist: Fix a broken reference in the documentation

4 years agodnsdist: Add more documentation about XPF and the Proxy Protocol
Remi Gacogne [Thu, 19 Mar 2020 14:42:09 +0000 (15:42 +0100)] 
dnsdist: Add more documentation about XPF and the Proxy Protocol

4 years agoMerge pull request #8950 from rgacogne/ddist-warn-low-weight
Remi Gacogne [Thu, 19 Mar 2020 12:46:31 +0000 (13:46 +0100)] 
Merge pull request #8950 from rgacogne/ddist-warn-low-weight

dnsdist: Warn on startup about low weight values with chashed

4 years agoMerge pull request #8945 from rgacogne/ddist-x-forwarded-for
Remi Gacogne [Thu, 19 Mar 2020 10:45:10 +0000 (11:45 +0100)] 
Merge pull request #8945 from rgacogne/ddist-x-forwarded-for

dnsdist: Add support for the processing of X-Forwarded-For headers

4 years agodnsdist: Warn on startup about low weight values with chashed 8950/head
Remi Gacogne [Thu, 19 Mar 2020 10:37:07 +0000 (11:37 +0100)] 
dnsdist: Warn on startup about low weight values with chashed

4 years agoMerge pull request #8923 from atoomic/daemon-reload
Remi Gacogne [Thu, 19 Mar 2020 09:41:41 +0000 (10:41 +0100)] 
Merge pull request #8923 from atoomic/daemon-reload

Reload systemctl service on updates

4 years agoMerge pull request #8947 from rgacogne/ddist-doc-delay
Remi Gacogne [Thu, 19 Mar 2020 08:58:36 +0000 (09:58 +0100)] 
Merge pull request #8947 from rgacogne/ddist-doc-delay

dnsdist: Clarify how DelayResponseAction differs from DelayAction

4 years agoMerge pull request #8948 from rgacogne/ddist-doc-set-smt-rule
Remi Gacogne [Thu, 19 Mar 2020 08:58:10 +0000 (09:58 +0100)] 
Merge pull request #8948 from rgacogne/ddist-doc-set-smt-rule

dnsdist: Document DynBlockRulesGroup:setSuffixMatchRule

4 years agoMerge pull request #8949 from rgacogne/ddist-doh-rotation-delay
Remi Gacogne [Thu, 19 Mar 2020 08:56:32 +0000 (09:56 +0100)] 
Merge pull request #8949 from rgacogne/ddist-doh-rotation-delay

dnsdist: Set the DoH ticket rotation delay before loading tickets

4 years agodnsdist: Set the DoH ticket rotation delay before loading tickets 8949/head
Remi Gacogne [Wed, 18 Mar 2020 16:47:49 +0000 (17:47 +0100)] 
dnsdist: Set the DoH ticket rotation delay before loading tickets

Before that change, we could have loaded DoH STEK from a file without
properly setting the next rotation, causing a ticket rotation to
happen during the first TLS session establishment.
This can be prevented by setting `ticketsKeysRotationDelay=0`.

4 years agodnsdist: Document DynBlockRulesGroup:setSuffixMatchRule 8948/head
Remi Gacogne [Wed, 18 Mar 2020 15:35:52 +0000 (16:35 +0100)] 
dnsdist: Document DynBlockRulesGroup:setSuffixMatchRule

4 years agodnsdist: Clarify how DelayResponseAction differs from DelayAction 8947/head
Remi Gacogne [Wed, 18 Mar 2020 14:42:27 +0000 (15:42 +0100)] 
dnsdist: Clarify how DelayResponseAction differs from DelayAction

4 years agoMerge pull request #8927 from rgacogne/rec-rpz-tags
Remi Gacogne [Wed, 18 Mar 2020 14:34:12 +0000 (15:34 +0100)] 
Merge pull request #8927 from rgacogne/rec-rpz-tags

rec: Add custom tags to RPZ hits

4 years agoMerge pull request #8946 from omoerbeek/rec-buildbot-test
Otto Moerbeek [Wed, 18 Mar 2020 14:33:33 +0000 (15:33 +0100)] 
Merge pull request #8946 from omoerbeek/rec-buildbot-test

rec: test now uses rec_control, so supply location of the executable

4 years agoTest now uses rec_control, so supply location of the executable 8946/head
Otto Moerbeek [Wed, 18 Mar 2020 14:22:49 +0000 (15:22 +0100)] 
Test now uses rec_control, so supply location of the executable

4 years agodnsdist: Add support for the processing of X-Forwarded-For headers 8945/head
Remi Gacogne [Wed, 18 Mar 2020 13:07:57 +0000 (14:07 +0100)] 
dnsdist: Add support for the processing of X-Forwarded-For headers

4 years agoMerge pull request #8938 from Habbie/auth-4.3.0-rc2-docs
aerique [Wed, 18 Mar 2020 11:54:02 +0000 (12:54 +0100)] 
Merge pull request #8938 from Habbie/auth-4.3.0-rc2-docs

auth: secpoll&changelog for 4.3.0-rc2

4 years agorec: Only account RPZ truncation actions over UDP 8927/head
Remi Gacogne [Tue, 17 Mar 2020 13:08:30 +0000 (14:08 +0100)] 
rec: Only account RPZ truncation actions over UDP

Since they will be ignored over TCP anyway.

4 years agorec: Fix const-ness in DNSFilterEngine
Remi Gacogne [Tue, 17 Mar 2020 10:12:52 +0000 (11:12 +0100)] 
rec: Fix const-ness in DNSFilterEngine

Co-Authored-By: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 years agorec: Fix const-ness in DNSFilterEngine
Remi Gacogne [Tue, 17 Mar 2020 10:12:35 +0000 (11:12 +0100)] 
rec: Fix const-ness in DNSFilterEngine

Co-Authored-By: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 years agorec: Add custom tags to RPZ hits
Remi Gacogne [Fri, 13 Mar 2020 14:33:47 +0000 (15:33 +0100)] 
rec: Add custom tags to RPZ hits

This commit adds the possibility to set custom tags to a RPZ zone,
adding these tags to the policy ones (that can be set with Lua)
when a policy matches.
It does so by creating a new PolicyZoneData object that is shared
between the zone and all the policies that it holds, in order to
- avoid duplicating the name, priority and tags for each policy ;
- prevent a circular dependency between shared pointers for the zone
and its policies.

It also refactors the handling of RPZ policy hits in `startDoResolve()`
to remove some code duplication.

4 years agoMerge pull request #8944 from Leo-Neat/master
Remi Gacogne [Wed, 18 Mar 2020 08:43:14 +0000 (09:43 +0100)] 
Merge pull request #8944 from Leo-Neat/master

Turning dry_run off for CIFuzz

4 years agoTurning dry_run off for CIFuzz 8944/head
Leo Neat [Tue, 17 Mar 2020 23:14:00 +0000 (16:14 -0700)] 
Turning dry_run off for CIFuzz

4 years agoMerge pull request #8874 from rgacogne/ddist-proxy-protocol
Remi Gacogne [Tue, 17 Mar 2020 15:55:22 +0000 (16:55 +0100)] 
Merge pull request #8874 from rgacogne/ddist-proxy-protocol

Add support for Proxy Protocol between dnsdist and the recursor

4 years agoReload systemctl service on install and updates 8923/head
Nicolas R [Thu, 12 Mar 2020 16:48:39 +0000 (10:48 -0600)] 
Reload systemctl service on install and updates

Fix GH #8922

Make sure systemd is reloading the updated definition
of a service on updates and first installation.

4 years agoRetab backends/bind-master and backends/gsql-common to prevent annoying indenting... 8939/head
Robin Geuze [Tue, 17 Mar 2020 15:33:43 +0000 (16:33 +0100)] 
Retab backends/bind-master and backends/gsql-common to prevent annoying indenting issues

4 years agoProper fix for NSECx typemaps in the case of only unpublished DNSKEY's
Robin Geuze [Tue, 17 Mar 2020 08:59:26 +0000 (09:59 +0100)] 
Proper fix for NSECx typemaps in the case of only unpublished DNSKEY's

4 years agorec: Clarify the behavior of the Proxy Protocol feature 8874/head
Remi Gacogne [Mon, 16 Mar 2020 10:31:59 +0000 (11:31 +0100)] 
rec: Clarify the behavior of the Proxy Protocol feature

Co-Authored-By: Otto Moerbeek <otto.moerbeek@open-xchange.com>