]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 years agocomfun.cc: Fix issues 9662/head
Aki Tuomi [Fri, 5 Mar 2021 09:55:31 +0000 (11:55 +0200)] 
comfun.cc: Fix issues

3 years agodistributor.hh: Document threadname truncation
Aki Tuomi [Mon, 2 Nov 2020 07:58:10 +0000 (09:58 +0200)] 
distributor.hh: Document threadname truncation

3 years agopdns: stubresolver - Ignore waitForPipe error, handled later
Aki Tuomi [Fri, 30 Oct 2020 20:41:47 +0000 (22:41 +0200)] 
pdns: stubresolver - Ignore waitForPipe error, handled later

3 years agopdns: signingpipe - Ignore waitForPipe error, handled later
Aki Tuomi [Fri, 30 Oct 2020 20:41:18 +0000 (22:41 +0200)] 
pdns: signingpipe - Ignore waitForPipe error, handled later

3 years agopdns: distributor - Initialize question id and callback
Aki Tuomi [Fri, 30 Oct 2020 20:30:22 +0000 (22:30 +0200)] 
pdns: distributor - Initialize question id and callback

3 years agoglobal: Check setsockopt return value
Aki Tuomi [Fri, 5 Mar 2021 09:57:04 +0000 (11:57 +0200)] 
global: Check setsockopt return value

3 years agopdns: dnsseckeeper - Clarify cache clearing never fails
Aki Tuomi [Fri, 30 Oct 2020 19:47:22 +0000 (21:47 +0200)] 
pdns: dnsseckeeper - Clarify cache clearing never fails

3 years agopdns: svc-records - Delete default constructor
Aki Tuomi [Fri, 30 Oct 2020 19:46:11 +0000 (21:46 +0200)] 
pdns: svc-records - Delete default constructor

It is not usable

3 years agoMerge pull request #10660 from Habbie/auth-proxy-protocol
Peter van Dijk [Thu, 16 Sep 2021 14:24:38 +0000 (16:24 +0200)] 
Merge pull request #10660 from Habbie/auth-proxy-protocol

auth: incoming PROXY support

3 years agoMerge pull request #10725 from Habbie/remote-check-debug
Peter van Dijk [Thu, 16 Sep 2021 11:17:42 +0000 (13:17 +0200)] 
Merge pull request #10725 from Habbie/remote-check-debug

gh actions: auth make check: cat remotebackend test log

3 years agonote PROXY/trusted-notification-proxy interaction 10660/head
Peter van Dijk [Thu, 16 Sep 2021 10:50:30 +0000 (12:50 +0200)] 
note PROXY/trusted-notification-proxy interaction

3 years agoalso test proxy+ecs
Peter van Dijk [Thu, 16 Sep 2021 10:04:45 +0000 (12:04 +0200)] 
also test proxy+ecs

3 years agoremove useless .toString()
Peter van Dijk [Thu, 16 Sep 2021 08:50:29 +0000 (10:50 +0200)] 
remove useless .toString()

3 years agoclarify meaning of inner_remote
Peter van Dijk [Thu, 16 Sep 2021 08:46:00 +0000 (10:46 +0200)] 
clarify meaning of inner_remote

3 years agogh actions: auth make check: cat remotebackend test log 10725/head
Peter van Dijk [Wed, 15 Sep 2021 11:46:08 +0000 (13:46 +0200)] 
gh actions: auth make check: cat remotebackend test log

3 years agowhitespace
Peter van Dijk [Mon, 13 Sep 2021 11:48:43 +0000 (13:48 +0200)] 
whitespace

3 years agofix bug
Peter van Dijk [Mon, 30 Aug 2021 11:18:37 +0000 (13:18 +0200)] 
fix bug

3 years agouse right remote for 2136 ACL
Peter van Dijk [Mon, 30 Aug 2021 10:12:56 +0000 (12:12 +0200)] 
use right remote for 2136 ACL

3 years agouse right remote in accounting
Peter van Dijk [Mon, 30 Aug 2021 10:06:46 +0000 (12:06 +0200)] 
use right remote in accounting

3 years agouse the right address in a bunch more places
Peter van Dijk [Mon, 30 Aug 2021 09:57:12 +0000 (11:57 +0200)] 
use the right address in a bunch more places

3 years agolua2backend: use inner IP
Peter van Dijk [Mon, 30 Aug 2021 09:25:01 +0000 (11:25 +0200)] 
lua2backend: use inner IP

3 years agoremotebackend: use inner IP
Peter van Dijk [Mon, 30 Aug 2021 09:21:54 +0000 (11:21 +0200)] 
remotebackend: use inner IP

3 years agodocument the two new auth settings
Peter van Dijk [Fri, 27 Aug 2021 19:45:00 +0000 (21:45 +0200)] 
document the two new auth settings

3 years agoauth: incoming PROXY support for:
Peter van Dijk [Tue, 24 Aug 2021 08:44:44 +0000 (10:44 +0200)] 
auth: incoming PROXY support for:
* AXFR ACLs
* NOTIFY sources
* getting the remote address in LUA records

3 years agoadd opcode support to sdig (so we can send NOTIFY)
Peter van Dijk [Fri, 27 Aug 2021 10:23:43 +0000 (12:23 +0200)] 
add opcode support to sdig (so we can send NOTIFY)

3 years agosdig: insert missing space and []
Peter van Dijk [Mon, 23 Aug 2021 14:16:39 +0000 (16:16 +0200)] 
sdig: insert missing space and []

3 years agoMerge pull request #10728 from rgacogne/ddist-document-dq-getprotocol
Remi Gacogne [Wed, 15 Sep 2021 19:31:30 +0000 (21:31 +0200)] 
Merge pull request #10728 from rgacogne/ddist-document-dq-getprotocol

dnsdist: Document DNSQuestion:getProtocol()

3 years agoMerge pull request #10724 from rgacogne/ddist-iostateguard-dtor
Remi Gacogne [Wed, 15 Sep 2021 13:40:07 +0000 (15:40 +0200)] 
Merge pull request #10724 from rgacogne/ddist-iostateguard-dtor

dnsdist: Handle exception raised in IOStateGuard's destructor

3 years agodnsdist: Document DNSQuestion:getProtocol() 10728/head
Remi Gacogne [Wed, 15 Sep 2021 13:33:29 +0000 (15:33 +0200)] 
dnsdist: Document DNSQuestion:getProtocol()

3 years agoMerge pull request #10704 from rgacogne/ddist-tcp-workers-default
Remi Gacogne [Wed, 15 Sep 2021 13:14:16 +0000 (15:14 +0200)] 
Merge pull request #10704 from rgacogne/ddist-tcp-workers-default

dnsdist: Stop raising the number of TCP workers to the number of TCP binds

3 years agoMerge pull request #10599 from rgacogne/rec-stricter-checks-ds
Remi Gacogne [Wed, 15 Sep 2021 11:45:16 +0000 (13:45 +0200)] 
Merge pull request #10599 from rgacogne/rec-stricter-checks-ds

rec: Be more strict when validating DS wrt parent/child NSEC(3)s

3 years agoMerge pull request #10721 from Habbie/new-nose
Peter van Dijk [Wed, 15 Sep 2021 11:36:51 +0000 (13:36 +0200)] 
Merge pull request #10721 from Habbie/new-nose

require nose >= 1.3.7 everywhere

3 years agoMerge pull request #10698 from rgacogne/ddist161-changelog
Remi Gacogne [Wed, 15 Sep 2021 09:01:12 +0000 (11:01 +0200)] 
Merge pull request #10698 from rgacogne/ddist161-changelog

dnsdist: Prepare ChangeLog and secpoll for 1.6.1

3 years agodnsdist: Handle exception raised in IOStateGuard's destructor 10724/head
Remi Gacogne [Wed, 15 Sep 2021 08:15:52 +0000 (10:15 +0200)] 
dnsdist: Handle exception raised in IOStateGuard's destructor

Reported by Coverity (CID 372512).

3 years agodnsdist: Update the release date for 1.6.1 in the ChangeLog 10698/head
Remi Gacogne [Wed, 15 Sep 2021 07:47:19 +0000 (09:47 +0200)] 
dnsdist: Update the release date for 1.6.1 in the ChangeLog

3 years agoMerge pull request #10663 from omoerbeek/rec-cumul-answer-stats-followup
Otto Moerbeek [Wed, 15 Sep 2021 07:33:37 +0000 (09:33 +0200)] 
Merge pull request #10663 from omoerbeek/rec-cumul-answer-stats-followup

rec: followup to Prometheus-friendly histograms (#10122)

3 years agorequire nose >= 1.3.7 everywhere 10721/head
Peter van Dijk [Tue, 14 Sep 2021 14:06:55 +0000 (16:06 +0200)] 
require nose >= 1.3.7 everywhere

3 years agoFix name of _sum 10663/head
Otto [Tue, 14 Sep 2021 12:58:53 +0000 (14:58 +0200)] 
Fix name of _sum

3 years agoMerge pull request #10635 from rgacogne/ddist-doh-backend-rebased
Remi Gacogne [Tue, 14 Sep 2021 10:39:11 +0000 (12:39 +0200)] 
Merge pull request #10635 from rgacogne/ddist-doh-backend-rebased

dnsdist: Implementation of DoH between dnsdist and the backend

3 years agodnsdist: Convert the TLS session cache to LockGuarded 10635/head
Remi Gacogne [Tue, 14 Sep 2021 07:51:49 +0000 (09:51 +0200)] 
dnsdist: Convert the TLS session cache to LockGuarded

3 years ago_count and _sum should be per label as noted by @wojas
Otto [Tue, 14 Sep 2021 07:43:42 +0000 (09:43 +0200)] 
_count and _sum should be per label as noted by @wojas

3 years agodnsdist: The 'number of TCP workers' revert did not make it to 1.6.1 10704/head
Remi Gacogne [Mon, 13 Sep 2021 14:11:58 +0000 (16:11 +0200)] 
dnsdist: The 'number of TCP workers' revert did not make it to 1.6.1

3 years agodnsdist: Document the revert to 10 TCP workers by default
Remi Gacogne [Wed, 8 Sep 2021 14:02:34 +0000 (16:02 +0200)] 
dnsdist: Document the revert to 10 TCP workers by default

3 years agodnsdist: Stop raising the number of TCP workers to the number of TCP binds
Remi Gacogne [Wed, 8 Sep 2021 14:00:53 +0000 (16:00 +0200)] 
dnsdist: Stop raising the number of TCP workers to the number of TCP binds

3 years agodnsdist: Document the change in the number of TCP workers in 1.6.0
Remi Gacogne [Wed, 8 Sep 2021 14:01:50 +0000 (16:01 +0200)] 
dnsdist: Document the change in the number of TCP workers in 1.6.0

3 years agodnsdist: Update ChangeLog and secpoll for releasing 1.6.1 on the 15th
Remi Gacogne [Mon, 13 Sep 2021 12:15:02 +0000 (14:15 +0200)] 
dnsdist: Update ChangeLog and secpoll for releasing 1.6.1 on the 15th

3 years agodnsdist: Prepare ChangeLog and secpoll for 1.6.1
Remi Gacogne [Tue, 7 Sep 2021 15:09:39 +0000 (17:09 +0200)] 
dnsdist: Prepare ChangeLog and secpoll for 1.6.1

3 years agoAdd a sum test for histogram
Otto [Tue, 24 Aug 2021 14:15:41 +0000 (16:15 +0200)] 
Add a sum test for histogram

3 years agoFix natural sorting of bucket names
Otto [Tue, 24 Aug 2021 08:13:30 +0000 (10:13 +0200)] 
Fix natural sorting of bucket names

3 years agoProcess feedback from jtodd: better names and HELP and use a tag to distinguish
Otto [Tue, 24 Aug 2021 07:40:03 +0000 (09:40 +0200)] 
Process feedback from jtodd: better names and HELP and use a tag to distinguish
ipv4 and ipv6 for the new Prometheus-friendly histograms.

3 years agodnsdist: Add missing metrics to the API regression tests
Remi Gacogne [Mon, 13 Sep 2021 13:49:01 +0000 (15:49 +0200)] 
dnsdist: Add missing metrics to the API regression tests

3 years agodnsdist: Add metrics for outgoing DoH and cross-protocol flows
Remi Gacogne [Thu, 9 Sep 2021 14:43:28 +0000 (16:43 +0200)] 
dnsdist: Add metrics for outgoing DoH and cross-protocol flows

3 years agodnsdist: Remove duplicated member
Remi Gacogne [Wed, 8 Sep 2021 14:52:12 +0000 (16:52 +0200)] 
dnsdist: Remove duplicated member

Reported by cppcheck.

3 years agoApply performance advices from cppcheck
Remi Gacogne [Wed, 8 Sep 2021 14:51:01 +0000 (16:51 +0200)] 
Apply performance advices from cppcheck

I'm pretty sure the compiler is smart enough to do that by itself,
but it does not hurt and makes the warnings go away.

3 years agodnsdist: Prevent TSAN from complaining about carbon metrics
Remi Gacogne [Tue, 7 Sep 2021 10:19:40 +0000 (12:19 +0200)] 
dnsdist: Prevent TSAN from complaining about carbon metrics

3 years agodnsdist: Fix a warning about array init for HTTP/2 headers
Remi Gacogne [Tue, 7 Sep 2021 10:19:03 +0000 (12:19 +0200)] 
dnsdist: Fix a warning about array init for HTTP/2 headers

3 years agodnsdist: Fix wrong reference counting in DoH cross-protocol handling
Remi Gacogne [Tue, 7 Sep 2021 10:18:04 +0000 (12:18 +0200)] 
dnsdist: Fix wrong reference counting in DoH cross-protocol handling

3 years agodnsdist: Cleaning the connections cache is done per thread
Remi Gacogne [Tue, 7 Sep 2021 10:16:57 +0000 (12:16 +0200)] 
dnsdist: Cleaning the connections cache is done per thread

3 years agoAdd 'nghttp' to the spell-checker list of expected words
Remi Gacogne [Tue, 7 Sep 2021 07:50:44 +0000 (09:50 +0200)] 
Add 'nghttp' to the spell-checker list of expected words

3 years agodnsdist: Don't warn about outgoing DoH worker then there isn't any
Remi Gacogne [Mon, 6 Sep 2021 16:12:45 +0000 (18:12 +0200)] 
dnsdist: Don't warn about outgoing DoH worker then there isn't any

3 years agodnsdist: Add more outgoing DoH documentation
Remi Gacogne [Mon, 6 Sep 2021 16:12:28 +0000 (18:12 +0200)] 
dnsdist: Add more outgoing DoH documentation

3 years agodnsdist: The number of concurrent streams is hardcoded in libh2o
Remi Gacogne [Mon, 6 Sep 2021 15:44:34 +0000 (17:44 +0200)] 
dnsdist: The number of concurrent streams is hardcoded in libh2o

3 years agodnsdist: Fix formatting
Remi Gacogne [Mon, 6 Sep 2021 14:50:07 +0000 (16:50 +0200)] 
dnsdist: Fix formatting

3 years agodnsdist: Implement Proxy Protocol support for outgoing DoH
Remi Gacogne [Mon, 6 Sep 2021 14:46:38 +0000 (16:46 +0200)] 
dnsdist: Implement Proxy Protocol support for outgoing DoH

3 years agodnsdist: Fix formatting
Remi Gacogne [Mon, 6 Sep 2021 07:48:22 +0000 (09:48 +0200)] 
dnsdist: Fix formatting

It actually makes it harder to read the lists of events in the HTTP/2
unit tests, but I can't find a proper way to fix that.

3 years agodnsdist: Replace useless switch() with an if statement
Remi Gacogne [Sat, 4 Sep 2021 09:54:24 +0000 (11:54 +0200)] 
dnsdist: Replace useless switch() with an if statement

3 years agoAdd DoH to the spell-check patterns
Remi Gacogne [Fri, 3 Sep 2021 15:39:06 +0000 (17:39 +0200)] 
Add DoH to the spell-check patterns

3 years agodnsdist: Add an outgoing DoH workers setting, minimal documentation
Remi Gacogne [Fri, 3 Sep 2021 15:35:18 +0000 (17:35 +0200)] 
dnsdist: Add an outgoing DoH workers setting, minimal documentation

3 years agodnsdist: Add unit tests for outgoing DoH
Remi Gacogne [Tue, 31 Aug 2021 15:16:09 +0000 (17:16 +0200)] 
dnsdist: Add unit tests for outgoing DoH

3 years agodnsdist: Unify the conflicting FDWrapper from rec and dnsdist
Remi Gacogne [Mon, 30 Aug 2021 15:39:19 +0000 (17:39 +0200)] 
dnsdist: Unify the conflicting FDWrapper from rec and dnsdist

3 years agodnsdist: Process responses in the right thread for incoming TCP/DoT queries
Remi Gacogne [Mon, 30 Aug 2021 15:04:01 +0000 (17:04 +0200)] 
dnsdist: Process responses in the right thread for incoming TCP/DoT queries

3 years agodnsdist: Add regression tests for DoH between dnsdist and the backend
Remi Gacogne [Fri, 27 Aug 2021 14:54:03 +0000 (16:54 +0200)] 
dnsdist: Add regression tests for DoH between dnsdist and the backend

3 years agodnsdist: Use the 'checkTimeout' value for health-check queries
Remi Gacogne [Fri, 27 Aug 2021 09:39:23 +0000 (11:39 +0200)] 
dnsdist: Use the 'checkTimeout' value for health-check queries

3 years agodnsdist: Add support for outgoing X-Forwarded-* headers
Remi Gacogne [Thu, 26 Aug 2021 13:34:49 +0000 (15:34 +0200)] 
dnsdist: Add support for outgoing X-Forwarded-* headers

3 years agodnsdist: Fix build on ancient GnuTLS versions (< 3.5.0)
Remi Gacogne [Wed, 25 Aug 2021 14:47:42 +0000 (16:47 +0200)] 
dnsdist: Fix build on ancient GnuTLS versions (< 3.5.0)

3 years agodnsdist: Build with nghttp2 support in GitHub actions
Remi Gacogne [Wed, 25 Aug 2021 14:28:04 +0000 (16:28 +0200)] 
dnsdist: Build with nghttp2 support in GitHub actions

3 years agodnsdist: Add initial support for TCP/DoT -> DoH
Remi Gacogne [Wed, 25 Aug 2021 14:14:46 +0000 (16:14 +0200)] 
dnsdist: Add initial support for TCP/DoT -> DoH

3 years agodnsdist: Accept more than one TLS ticket from the same connection
Remi Gacogne [Wed, 25 Aug 2021 12:06:49 +0000 (14:06 +0200)] 
dnsdist: Accept more than one TLS ticket from the same connection

3 years agodnsdist: Fix formatting in dnsdist-nghttp2.cc
Remi Gacogne [Wed, 25 Aug 2021 10:24:43 +0000 (12:24 +0200)] 
dnsdist: Fix formatting in dnsdist-nghttp2.cc

3 years agodnsdist: Build with nghttp2 support when available
Remi Gacogne [Wed, 25 Aug 2021 09:00:27 +0000 (11:00 +0200)] 
dnsdist: Build with nghttp2 support when available

3 years agodnsdist: Proper detection of nghttp2 support
Remi Gacogne [Wed, 25 Aug 2021 08:49:13 +0000 (10:49 +0200)] 
dnsdist: Proper detection of nghttp2 support

3 years agodnsdist: Implement health-checks for DoH backends
Remi Gacogne [Tue, 24 Aug 2021 15:39:49 +0000 (17:39 +0200)] 
dnsdist: Implement health-checks for DoH backends

3 years agodnsdist: Better downstream DoH support, better DoT/DoH ALPN handling
Remi Gacogne [Fri, 6 Aug 2021 15:01:03 +0000 (17:01 +0200)] 
dnsdist: Better downstream DoH support, better DoT/DoH ALPN handling

3 years agoWorking DoH between dnsdist and the backend!
Remi Gacogne [Mon, 19 Jul 2021 16:06:53 +0000 (18:06 +0200)] 
Working DoH between dnsdist and the backend!

3 years agodnsdist: Proof of concept of DNS over HTTP/2 client
Remi Gacogne [Fri, 9 Jul 2021 14:52:52 +0000 (16:52 +0200)] 
dnsdist: Proof of concept of DNS over HTTP/2 client

3 years agodnsdist: Properly close the cross-connections pipes in case of error
Remi Gacogne [Mon, 19 Jul 2021 16:06:05 +0000 (18:06 +0200)] 
dnsdist: Properly close the cross-connections pipes in case of error

3 years agodnsdist: Fix TLS session counters for incoming DoH
Remi Gacogne [Thu, 19 Aug 2021 09:06:05 +0000 (11:06 +0200)] 
dnsdist: Fix TLS session counters for incoming DoH

Increase the 'new' / 'resumed' counters once per connection, not
once per query.

3 years agotcpiohandler: Add support for partial reads
Remi Gacogne [Mon, 12 Jul 2021 13:49:41 +0000 (15:49 +0200)] 
tcpiohandler: Add support for partial reads

3 years agoMerge pull request #10697 from rgacogne/ddist-fix-doc-versions
Remi Gacogne [Mon, 13 Sep 2021 12:54:25 +0000 (14:54 +0200)] 
Merge pull request #10697 from rgacogne/ddist-fix-doc-versions

dnsdist: Use the correct version in the doc for backported features

3 years agoMerge pull request #10543 from RobinGeuze/actuallyUseQCinUeberbackend
Peter van Dijk [Mon, 13 Sep 2021 11:08:48 +0000 (13:08 +0200)] 
Merge pull request #10543 from RobinGeuze/actuallyUseQCinUeberbackend

auth: actually use the QueryCache for the UeberBackend unit tests

3 years agoMerge pull request #10709 from pieterlexis/svcb-types
Pieter Lexis [Mon, 13 Sep 2021 10:17:54 +0000 (12:17 +0200)] 
Merge pull request #10709 from pieterlexis/svcb-types

docs: add SVCB and HTTP to supported types

3 years agoMerge pull request #10710 from Habbie/gh-actions-ccache
Peter van Dijk [Mon, 13 Sep 2021 10:11:32 +0000 (12:11 +0200)] 
Merge pull request #10710 from Habbie/gh-actions-ccache

gh actions: use ccache

3 years agogh actions: enable ccache 10710/head
Peter van Dijk [Fri, 10 Sep 2021 11:32:40 +0000 (13:32 +0200)] 
gh actions: enable ccache

3 years agoMerge branch 'add-svcb-https-to-record-types' of https://github.com/kpfleming/pdns... 10709/head
Pieter Lexis [Mon, 13 Sep 2021 09:09:07 +0000 (11:09 +0200)] 
Merge branch 'add-svcb-https-to-record-types' of https://github.com/kpfleming/pdns into svcb-types

3 years agoMerge pull request #10701 from rgacogne/rec-aggressive-nsec3-duplicate
Remi Gacogne [Mon, 13 Sep 2021 08:15:19 +0000 (10:15 +0200)] 
Merge pull request #10701 from rgacogne/rec-aggressive-nsec3-duplicate

rec: Fix the aggressive cache returning duplicated NSEC3 records

3 years agoMerge pull request #10687 from rgacogne/cast-qualifier
Remi Gacogne [Mon, 13 Sep 2021 07:41:32 +0000 (09:41 +0200)] 
Merge pull request #10687 from rgacogne/cast-qualifier

Clean up a bit of "cast from type [...] casts away qualifiers" warnings

3 years agoMerge pull request #10705 from rgacogne/ddist-outstanding-tcp
Remi Gacogne [Mon, 13 Sep 2021 07:38:12 +0000 (09:38 +0200)] 
Merge pull request #10705 from rgacogne/ddist-outstanding-tcp

dnsdist: Fix outstanding counter issue when a TCP connection dies

3 years agoMerge pull request #10714 from gmelikov/gmelikov-patch-1
Otto Moerbeek [Mon, 13 Sep 2021 07:19:14 +0000 (09:19 +0200)] 
Merge pull request #10714 from gmelikov/gmelikov-patch-1

DNSQuestion docs: Remove duplicate `qname`

3 years agopdns: Document that SVCB and HTTPS RRs are supported 10716/head
Kevin P. Fleming [Fri, 10 Sep 2021 22:28:57 +0000 (18:28 -0400)] 
pdns: Document that SVCB and HTTPS RRs are supported

These two record types (not yet standardized) have been supported
since the 4.4.0 release, but were not listed in the 'Supported
Record Types' appendix in the documentation.

3 years agoDNSQuestion docs: Remove duplicate `qname` 10714/head
George Melikov [Fri, 10 Sep 2021 16:06:39 +0000 (19:06 +0300)] 
DNSQuestion docs: Remove duplicate `qname`