]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
5 years agorec: Refuse QType 0 right away, based on rfc6895 section 3.1 9290/head
Remi Gacogne [Wed, 1 Jul 2020 14:05:56 +0000 (16:05 +0200)] 
rec: Refuse QType 0 right away, based on rfc6895 section 3.1

5 years agoMerge pull request #9282 from omoerbeek/rec-acl
Otto Moerbeek [Tue, 30 Jun 2020 13:34:59 +0000 (15:34 +0200)] 
Merge pull request #9282 from omoerbeek/rec-acl

rec: fix acl handling

5 years agorec: Add a regression test for the 'webserver-allow-from' ACL 9282/head
Otto Moerbeek [Tue, 30 Jun 2020 11:50:52 +0000 (13:50 +0200)] 
rec: Add a regression test for the 'webserver-allow-from' ACL

5 years agoMerge pull request #9277 from omoerbeek/rec-rec_control_timeout
Otto Moerbeek [Mon, 29 Jun 2020 13:45:48 +0000 (15:45 +0200)] 
Merge pull request #9277 from omoerbeek/rec-rec_control_timeout

rec: zero means no timeout.

5 years agoZero means no timeout. 9277/head
Otto Moerbeek [Mon, 29 Jun 2020 13:32:54 +0000 (15:32 +0200)] 
Zero means no timeout.

5 years agoMerge pull request #9276 from Habbie/rec-authzones-doc-nit
Peter van Dijk [Mon, 29 Jun 2020 08:18:22 +0000 (10:18 +0200)] 
Merge pull request #9276 from Habbie/rec-authzones-doc-nit

recursor: clarify that auth-zones are not served with an AA bit

5 years agoMerge pull request #9169 from mind04/pdns-metadata-any
Peter van Dijk [Fri, 26 Jun 2020 12:50:43 +0000 (14:50 +0200)] 
Merge pull request #9169 from mind04/pdns-metadata-any

auth: fetch all metadata at once

5 years agorecursor: clarify that auth-zones are not served with an AA bit 9276/head
Peter van Dijk [Fri, 26 Jun 2020 12:37:36 +0000 (14:37 +0200)] 
recursor: clarify that auth-zones are not served with an AA bit

5 years agoMerge pull request #9272 from omoerbeek/rec-ds-cname-cache
Otto Moerbeek [Tue, 23 Jun 2020 13:08:17 +0000 (15:08 +0200)] 
Merge pull request #9272 from omoerbeek/rec-ds-cname-cache

rec: alternative way to do "skip cname check" for DS and DNSKEY records.

5 years agoTest the DS/DNSKEY condition at the proper spot. 9272/head
Otto Moerbeek [Tue, 23 Jun 2020 09:44:56 +0000 (11:44 +0200)] 
Test the DS/DNSKEY condition at the proper spot.

5 years agoDraft to study alternative way to do "skip cname check" for DS and
Otto Moerbeek [Tue, 23 Jun 2020 09:11:03 +0000 (11:11 +0200)] 
Draft to study alternative way to do "skip cname check" for DS and
DNSKEY records.

The current code effectively disables lookup of cached CNAME results
for zone cut computations, which results in more queries than needed.

Should fix #9266 or at least give more insight.

Needs critical eyes badly!

5 years agoMerge pull request #9269 from rgacogne/ddist-debug-tcp-limits-failures
Peter van Dijk [Mon, 22 Jun 2020 17:01:01 +0000 (19:01 +0200)] 
Merge pull request #9269 from rgacogne/ddist-debug-tcp-limits-failures

dnsdist: Debug failures in the TCP Limits regression test on Circle

5 years agoMerge pull request #9268 from rgacogne/rec-exceptions
Remi Gacogne [Mon, 22 Jun 2020 15:34:26 +0000 (17:34 +0200)] 
Merge pull request #9268 from rgacogne/rec-exceptions

rec: Better exception handling in houseKeeping / handlePolicyHit

5 years agodnsdist: Debug failures in the TCP Limits regression test on Circle 9269/head
Remi Gacogne [Mon, 22 Jun 2020 15:16:27 +0000 (17:16 +0200)] 
dnsdist: Debug failures in the TCP Limits regression test on Circle

This test keeps failing on Circle CI but never locally, so let's try
to add some debug.

5 years agorec: Better exception handling in handlePolicyHit() 9268/head
Remi Gacogne [Mon, 22 Jun 2020 13:09:13 +0000 (15:09 +0200)] 
rec: Better exception handling in handlePolicyHit()

An ImmediateServFailException being raised during the call to
SyncRes::beginResolve() from handleRPZCustom() could lead to
the resolution process to stop without any response being sent:

Any other exception in a resolver context (www.example.net/A from 127.0.0.1:4242)

This commit turns into a ServFail answer instead.

5 years agorec: Better exception handling in houseKeeping
Remi Gacogne [Mon, 22 Jun 2020 13:07:08 +0000 (15:07 +0200)] 
rec: Better exception handling in houseKeeping

An uncaugth exception being raised in houseKeeping could prevent it
from being run again because 's_running' would stay true. That could
for example happen when an ImmediateServFailException was raised during
a call to primeRootNSZones().

5 years agoMerge pull request #9256 from jsoref/spell-check-pr
Peter van Dijk [Mon, 22 Jun 2020 11:33:40 +0000 (13:33 +0200)] 
Merge pull request #9256 from jsoref/spell-check-pr

spell-check: check pull requests

5 years agoupdate spelling after merge of #9240
Peter van Dijk [Mon, 22 Jun 2020 11:22:42 +0000 (13:22 +0200)] 
update spelling after merge of #9240

5 years agoMerge pull request #9240 from LordGaav/add-cockroachdb-docs
Peter van Dijk [Mon, 22 Jun 2020 11:07:20 +0000 (13:07 +0200)] 
Merge pull request #9240 from LordGaav/add-cockroachdb-docs

Add instructions for running PowerDNS on CockroachDB using generic pgsql

5 years agoMerge pull request #9267 from omoerbeek/rec-prime-depth
Otto Moerbeek [Mon, 22 Jun 2020 09:13:27 +0000 (11:13 +0200)] 
Merge pull request #9267 from omoerbeek/rec-prime-depth

rec: Control stack depth when priming.

5 years agoMerge pull request #9259 from Habbie/support-link
Remi Gacogne [Mon, 22 Jun 2020 08:43:36 +0000 (10:43 +0200)] 
Merge pull request #9259 from Habbie/support-link

github issue chooser: add link to support page

5 years agoControl stack depth when priming. 9267/head
Otto Moerbeek [Mon, 22 Jun 2020 08:11:39 +0000 (10:11 +0200)] 
Control stack depth when priming.

If you clear the cache for . in a tight loop, the priming code gets
called recursively in an unbounded fashion. This keeps track of the
stack depth and ServFails if needed.

5 years agoMerge pull request #9252 from pieterlexis/version-stat
Otto Moerbeek [Fri, 19 Jun 2020 09:55:49 +0000 (11:55 +0200)] 
Merge pull request #9252 from pieterlexis/version-stat

Add version 'statistic' to prometheus

5 years agoMerge pull request #9260 from rgacogne/remove-der-eater
Remi Gacogne [Fri, 19 Jun 2020 09:22:53 +0000 (11:22 +0200)] 
Merge pull request #9260 from rgacogne/remove-der-eater

Remove the thankfully not used anymore DEReater class

5 years agoMerge pull request #9236 from omoerbeek/cachecleaner-cleanup
Remi Gacogne [Thu, 18 Jun 2020 15:41:57 +0000 (17:41 +0200)] 
Merge pull request #9236 from omoerbeek/cachecleaner-cleanup

Cleanup cache cleaner pruneCollection function

5 years agoMerge pull request #9255 from rgacogne/ddist-1.5.0-rc3
Remi Gacogne [Thu, 18 Jun 2020 14:20:06 +0000 (16:20 +0200)] 
Merge pull request #9255 from rgacogne/ddist-1.5.0-rc3

dnsdist: Update the ChangeLog and the secpoll zone for 1.5.0-rc3

5 years agoClarify what index to skip 9240/head
Nick Douma [Thu, 18 Jun 2020 11:52:13 +0000 (13:52 +0200)] 
Clarify what index to skip

5 years agoRemove duplicate PRIMARY KEY statement
Nick Douma [Thu, 18 Jun 2020 11:51:50 +0000 (13:51 +0200)] 
Remove duplicate PRIMARY KEY statement

5 years agoMerge pull request #9253 from Habbie/pdnsutil-run-destructors
Peter van Dijk [Thu, 18 Jun 2020 09:22:07 +0000 (11:22 +0200)] 
Merge pull request #9253 from Habbie/pdnsutil-run-destructors

pdnsutil: make sure we let all destructors run. Fixes #4973

5 years agoMerge pull request #9251 from rgacogne/rec-copy-negcache-entry
Remi Gacogne [Thu, 18 Jun 2020 09:17:15 +0000 (11:17 +0200)] 
Merge pull request #9251 from rgacogne/rec-copy-negcache-entry

rec: Copy the negative cache entry before validating it

5 years agogithub issue chooser: add link to support page 9259/head
Peter van Dijk [Thu, 18 Jun 2020 09:10:33 +0000 (11:10 +0200)] 
github issue chooser: add link to support page

5 years agoRemove the thankfully not used anymore DEReater class 9260/head
Remi Gacogne [Thu, 18 Jun 2020 08:50:35 +0000 (10:50 +0200)] 
Remove the thankfully not used anymore DEReater class

5 years agoMerge pull request #9254 from rgacogne/ddist-clarify-webserver-acl
Remi Gacogne [Thu, 18 Jun 2020 08:24:12 +0000 (10:24 +0200)] 
Merge pull request #9254 from rgacogne/ddist-clarify-webserver-acl

dnsdist: Better examples for the webserver's ACL

5 years agospell-check: check pull requests 9256/head
Josh Soref [Wed, 17 Jun 2020 18:58:35 +0000 (14:58 -0400)] 
spell-check: check pull requests

5 years agoMerge pull request #9250 from tokred/docs-updatepolicy-wiki
Peter van Dijk [Wed, 17 Jun 2020 18:43:14 +0000 (20:43 +0200)] 
Merge pull request #9250 from tokred/docs-updatepolicy-wiki

auth: Link to pdns Wiki for updatescript examples

5 years agodnsdist: Add #9244 to the ChangeLog 9255/head
Remi Gacogne [Wed, 17 Jun 2020 15:42:38 +0000 (17:42 +0200)] 
dnsdist: Add #9244 to the ChangeLog

5 years agoMerge pull request #9244 from rgacogne/ddist-kvs-masked-lookups dnsdist-1.5.0-rc3
Remi Gacogne [Wed, 17 Jun 2020 14:26:24 +0000 (16:26 +0200)] 
Merge pull request #9244 from rgacogne/ddist-kvs-masked-lookups

dnsdist: Add optional masks to KeyValueLookupKeySourceIP

5 years agodnsdist: Update the ChangeLog and the secpoll zone for 1.5.0-rc3
Remi Gacogne [Wed, 17 Jun 2020 14:03:38 +0000 (16:03 +0200)] 
dnsdist: Update the ChangeLog and the secpoll zone for 1.5.0-rc3

5 years agodnsdist: Better examples for the webserver's ACL 9254/head
Remi Gacogne [Wed, 17 Jun 2020 13:54:04 +0000 (15:54 +0200)] 
dnsdist: Better examples for the webserver's ACL

5 years agopdnsutil: make sure we let all destructors run. Fixes #4973 9253/head
Peter van Dijk [Wed, 17 Jun 2020 13:11:05 +0000 (15:11 +0200)] 
pdnsutil: make sure we let all destructors run. Fixes #4973

5 years agorec: Copy entries retrieved from the negative cache right away 9251/head
Remi Gacogne [Wed, 17 Jun 2020 13:05:38 +0000 (15:05 +0200)] 
rec: Copy entries retrieved from the negative cache right away

The optimization of not copying the entry until we actually decide
to use it seemed nice, but the resulting interface is too brittle.
It requires not keeping the pointer around if there is any chance
that we could yield by going to the network, which is hard to keep
track of in the recursor.

5 years agorec: Copy the negative cache entry before validating it
Remi Gacogne [Wed, 17 Jun 2020 12:49:55 +0000 (14:49 +0200)] 
rec: Copy the negative cache entry before validating it

Otherwise, in the unlikely case that:
- we need to go to the network in order to validate, for example to
  get or a DNSKEY ;
- the negative cache cleaning is run at that exact moment ;
- and the entry we have a pointer to gets wiped during that cleanup

we might trigger a heap-based use-after-free (read), possibly leading
to a crash if the memory has been reused already.

5 years agoauth: Link to pdns Wiki for updatescript examples 9250/head
tokred [Wed, 17 Jun 2020 12:47:12 +0000 (14:47 +0200)] 
auth: Link to pdns Wiki for updatescript examples

5 years agoauth: Add version as prometheus metric 9252/head
Pieter Lexis [Wed, 17 Jun 2020 12:28:03 +0000 (14:28 +0200)] 
auth: Add version as prometheus metric

5 years agorec: Add version info to prometheus statistics
Pieter Lexis [Wed, 17 Jun 2020 12:26:25 +0000 (14:26 +0200)] 
rec: Add version info to prometheus statistics

5 years agodnsdist: Add prometheus metric for version number
Pieter Lexis [Wed, 17 Jun 2020 12:14:37 +0000 (14:14 +0200)] 
dnsdist: Add prometheus metric for version number

5 years agoMerge pull request #9229 from rgacogne/dnsdist-webserver-allow-from
Remi Gacogne [Wed, 17 Jun 2020 09:09:20 +0000 (11:09 +0200)] 
Merge pull request #9229 from rgacogne/dnsdist-webserver-allow-from

dnsdist: Implement an ACL in the internal web server

5 years agoMerge pull request #9238 from rgacogne/ddist-config-sample
Remi Gacogne [Wed, 17 Jun 2020 09:07:47 +0000 (11:07 +0200)] 
Merge pull request #9238 from rgacogne/ddist-config-sample

dnsdist: Clean up dnsdistconf.lua as a default configuration file

5 years agodnsdist: Add optional masks to KeyValueLookupKeySourceIP 9244/head
Remi Gacogne [Wed, 17 Jun 2020 09:02:36 +0000 (11:02 +0200)] 
dnsdist: Add optional masks to KeyValueLookupKeySourceIP

5 years agoUse example.org instead of powerdns.org in pdns/dnsdistconf.lua 9238/head
Remi Gacogne [Wed, 17 Jun 2020 07:51:31 +0000 (09:51 +0200)] 
Use example.org instead of powerdns.org in pdns/dnsdistconf.lua

Co-authored-by: Chris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
5 years agoUse example.org instead of powerdns.org in pdns/dnsdistconf.lua
Remi Gacogne [Wed, 17 Jun 2020 07:51:22 +0000 (09:51 +0200)] 
Use example.org instead of powerdns.org in pdns/dnsdistconf.lua

Co-authored-by: Chris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
5 years agoAdd instructions for running PowerDNS on CockroachDB using generic pgsql
Nick Douma [Tue, 16 Jun 2020 16:20:19 +0000 (18:20 +0200)] 
Add instructions for running PowerDNS on CockroachDB using generic pgsql

5 years agodnsdist: Clean up dnsdistconf.lua as a default configuration file
Remi Gacogne [Tue, 16 Jun 2020 14:31:39 +0000 (16:31 +0200)] 
dnsdist: Clean up dnsdistconf.lua as a default configuration file

5 years agoCleanup cache cleaner pruneCollection function 9236/head
Otto Moerbeek [Tue, 16 Jun 2020 11:56:57 +0000 (13:56 +0200)] 
Cleanup cache cleaner pruneCollection function
- use size_t instead of unsigned int for sizes
- const correctness
- layout
- simplify seond loop and use return value of erase(), it points to the next value

5 years agoMerge pull request #9217 from Habbie/doc-nits-1591715730
Peter van Dijk [Tue, 16 Jun 2020 08:10:28 +0000 (10:10 +0200)] 
Merge pull request #9217 from Habbie/doc-nits-1591715730

auth doc nits

5 years agoMerge pull request #9228 from mind04/pdns-sqlite-schema
Peter van Dijk [Mon, 15 Jun 2020 14:27:54 +0000 (16:27 +0200)] 
Merge pull request #9228 from mind04/pdns-sqlite-schema

auth: gsqlite3backend: add missing indexes

5 years agoMerge pull request #9215 from Habbie/pkcs11-fixes
Peter van Dijk [Mon, 15 Jun 2020 13:55:40 +0000 (15:55 +0200)] 
Merge pull request #9215 from Habbie/pkcs11-fixes

auth: PKCS11 improvements

5 years agodnsdist: Parse the new web ACL before clearing the existing one 9229/head
Remi Gacogne [Mon, 15 Jun 2020 13:25:40 +0000 (15:25 +0200)] 
dnsdist: Parse the new web ACL before clearing the existing one

Otherwise we end up with an empty ACL (everything will be refused)
if the new one is not valid.

5 years agoMerge pull request #9226 from omoerbeek/rec-fix-shared-cache-pruning
Otto Moerbeek [Mon, 15 Jun 2020 12:20:52 +0000 (14:20 +0200)] 
Merge pull request #9226 from omoerbeek/rec-fix-shared-cache-pruning

rec: Fix three shared cache issues

5 years agoFix three shared cache issues: 9226/head
Otto Moerbeek [Fri, 12 Jun 2020 10:24:26 +0000 (12:24 +0200)] 
Fix three shared cache issues:

- Only prime share cache once on startup

- Cache pruning could go into an infinite loop if not enough expired
entries could be pruned.

- Handler thread isn't run very often, but now the record cache
pruning is done by it, so increase frequency of the housekeeping
call for the handler thread.

5 years agoauth: gsqlite3backend: add missing indexes 9228/head
Kees Monshouwer [Mon, 15 Jun 2020 09:54:05 +0000 (11:54 +0200)] 
auth: gsqlite3backend: add missing indexes
Sqlite3 backend was performing terrible in environments with many updates.
On a slaved root zone the performance increase was huge, 71ms -> 1ms.
Since the lack of proper indexes is causing a lot of trouble in larger environments, I target this update at 4.3.1

5 years agoMerge pull request #9223 from mind04/pdns-supersomething
Peter van Dijk [Mon, 15 Jun 2020 09:15:22 +0000 (11:15 +0200)] 
Merge pull request #9223 from mind04/pdns-supersomething

auth: use real remote for supermaster createSlaveDomain()

5 years agoclarify key missing message a bit 9215/head
Peter van Dijk [Mon, 15 Jun 2020 09:02:56 +0000 (11:02 +0200)] 
clarify key missing message a bit

5 years agoauth: use real remote for supermaster createSlaveDomain() 9223/head
Kees Monshouwer [Fri, 12 Jun 2020 09:52:36 +0000 (11:52 +0200)] 
auth: use real remote for supermaster createSlaveDomain()

5 years agorestore flag symmetry
Peter van Dijk [Thu, 11 Jun 2020 19:35:28 +0000 (21:35 +0200)] 
restore flag symmetry

5 years agoupdate pkcs11 docs for softhsm2 on Debian Buster
Peter van Dijk [Thu, 11 Jun 2020 18:33:09 +0000 (20:33 +0200)] 
update pkcs11 docs for softhsm2 on Debian Buster

5 years agopkcs11 create key: error for unknown algos
Peter van Dijk [Thu, 11 Jun 2020 17:01:19 +0000 (19:01 +0200)] 
pkcs11 create key: error for unknown algos

5 years agorectify zones after securing them
Peter van Dijk [Thu, 11 Jun 2020 16:39:28 +0000 (18:39 +0200)] 
rectify zones after securing them

5 years agocentralise constants
Peter van Dijk [Thu, 11 Jun 2020 16:39:07 +0000 (18:39 +0200)] 
centralise constants

5 years agoMerge pull request #9211 from rgacogne/ddist-doh-non-blocking
Remi Gacogne [Wed, 10 Jun 2020 15:18:58 +0000 (17:18 +0200)] 
Merge pull request #9211 from rgacogne/ddist-doh-non-blocking

dnsdist: Use non-blocking pipes to pass DoH queries/responses around

5 years agodnsdist: Log at verbose level when we couldn't write to the pipe 9211/head
Remi Gacogne [Wed, 10 Jun 2020 08:48:10 +0000 (10:48 +0200)] 
dnsdist: Log at verbose level when we couldn't write to the pipe

5 years agodnsdist: Implement an ACL in the internal web server
Remi Gacogne [Wed, 10 Jun 2020 06:58:35 +0000 (08:58 +0200)] 
dnsdist: Implement an ACL in the internal web server

5 years agoMerge pull request #9214 from omoerbeek/rec-docs-warnins
Otto Moerbeek [Wed, 10 Jun 2020 05:45:04 +0000 (07:45 +0200)] 
Merge pull request #9214 from omoerbeek/rec-docs-warnins

rec: fix doc generation warnings in recursor.

5 years agoMerge pull request #9203 from omoerbeek/rec-gettag-answer-rpz
Otto Moerbeek [Wed, 10 Jun 2020 05:44:52 +0000 (07:44 +0200)] 
Merge pull request #9203 from omoerbeek/rec-gettag-answer-rpz

Rec: rpz policy should override gettag_ffi answer by default

5 years agoMerge pull request #9216 from rgacogne/rec-scan-cname-loop-ref
Otto Moerbeek [Wed, 10 Jun 2020 05:41:39 +0000 (07:41 +0200)] 
Merge pull request #9216 from rgacogne/rec-scan-cname-loop-ref

rec: Don't copy the records when scanning for CNAME loops

5 years agoMerge pull request #9190 from zeha/psql-prep
Peter van Dijk [Tue, 9 Jun 2020 18:15:39 +0000 (20:15 +0200)] 
Merge pull request #9190 from zeha/psql-prep

gpgsql: Reintroduce prepared statements

5 years agoMerge pull request #9189 from zeha/query-logging
Peter van Dijk [Tue, 9 Jun 2020 18:02:51 +0000 (20:02 +0200)] 
Merge pull request #9189 from zeha/query-logging

gpgsqlbackend: add parameters to query logging

5 years agoMerge pull request #9187 from zeha/systemd-syslog-instances
Peter van Dijk [Tue, 9 Jun 2020 17:49:24 +0000 (19:49 +0200)] 
Merge pull request #9187 from zeha/systemd-syslog-instances

Set SyslogIdentifier for multiple instances

5 years agoMerge pull request #9183 from zeha/api-rectify-slave
Peter van Dijk [Tue, 9 Jun 2020 17:44:25 +0000 (19:44 +0200)] 
Merge pull request #9183 from zeha/api-rectify-slave

API: Allow rectifying Slave zones

5 years agopoint to pdnsutil create-bind-db in bind-dnssec-db docs 9217/head
Peter van Dijk [Tue, 9 Jun 2020 15:22:29 +0000 (17:22 +0200)] 
point to pdnsutil create-bind-db in bind-dnssec-db docs

5 years agoformat metrics example correctly
Peter van Dijk [Tue, 9 Jun 2020 15:20:44 +0000 (17:20 +0200)] 
format metrics example correctly

5 years agorec: Don't copy the records when scanning for CNAME loops 9216/head
Remi Gacogne [Tue, 9 Jun 2020 15:19:09 +0000 (17:19 +0200)] 
rec: Don't copy the records when scanning for CNAME loops

5 years agocircleci: test softhsm
Peter van Dijk [Tue, 9 Jun 2020 08:59:26 +0000 (10:59 +0200)] 
circleci: test softhsm

5 years agoFix doc generation warnings in recursor. 9214/head
Otto Moerbeek [Tue, 9 Jun 2020 12:11:25 +0000 (14:11 +0200)] 
Fix doc generation warnings in recursor.

Fixes #9167.

5 years agoMerge pull request #9213 from omoerbeek/dnsdist-stringview-ambiguous
Otto Moerbeek [Tue, 9 Jun 2020 11:31:48 +0000 (13:31 +0200)] 
Merge pull request #9213 from omoerbeek/dnsdist-stringview-ambiguous

Do not use `using namespace std;`

5 years agodnsdist: Chck that we don't write more than PIPE_BUF at once on pipes
Remi Gacogne [Tue, 9 Jun 2020 11:19:12 +0000 (13:19 +0200)] 
dnsdist: Chck that we don't write more than PIPE_BUF at once on pipes

5 years agoDo not use using namespace std; it causes ambiguity if 9213/head
Otto Moerbeek [Tue, 9 Jun 2020 11:18:58 +0000 (13:18 +0200)] 
Do not use using namespace std; it causes ambiguity if
both std::string_view and boost::string_view are in scope

5 years agoMerge pull request #9202 from omoerbeek/rec-cname-loop
Otto Moerbeek [Tue, 9 Jun 2020 10:07:45 +0000 (12:07 +0200)] 
Merge pull request #9202 from omoerbeek/rec-cname-loop

rec: more sophisticated cname loop detection.

5 years agoMerge pull request #9212 from Habbie/generate-repo-files-master
Peter van Dijk [Tue, 9 Jun 2020 09:18:11 +0000 (11:18 +0200)] 
Merge pull request #9212 from Habbie/generate-repo-files-master

add master support to generate-repo-files.sh

5 years agoadd master support to generate-repo-files.sh 9212/head
Peter van Dijk [Fri, 5 Jun 2020 15:33:56 +0000 (17:33 +0200)] 
add master support to generate-repo-files.sh

5 years agoDo not process passthru in a special way. RPZ hit always takes 9203/head
Otto Moerbeek [Tue, 9 Jun 2020 08:22:58 +0000 (10:22 +0200)] 
Do not process passthru in a special way. RPZ hit always takes
precedence unless overridesGettag is set to false.

5 years agoMerge pull request #9205 from rgacogne/rec-rrsig-ttl
Otto Moerbeek [Tue, 9 Jun 2020 06:29:13 +0000 (08:29 +0200)] 
Merge pull request #9205 from rgacogne/rec-rrsig-ttl

rec: Limit the TTL of RRSIG records as well

5 years agoMerge pull request #9207 from neheb/string
Otto Moerbeek [Tue, 9 Jun 2020 06:27:36 +0000 (08:27 +0200)] 
Merge pull request #9207 from neheb/string

use std::string_view when available

5 years agocircle auth: build with pkcs11
Peter van Dijk [Mon, 8 Jun 2020 20:38:25 +0000 (22:38 +0200)] 
circle auth: build with pkcs11

5 years agoauth pkcs11: add ECDSA support, use softhsm2-util, other fixes
Peter van Dijk [Fri, 5 Jun 2020 23:05:22 +0000 (01:05 +0200)] 
auth pkcs11: add ECDSA support, use softhsm2-util, other fixes

5 years agodnsdist: Update the tests for the new 'doh-*-pipe-full' metrics
Remi Gacogne [Mon, 8 Jun 2020 14:45:03 +0000 (16:45 +0200)] 
dnsdist: Update the tests for the new 'doh-*-pipe-full' metrics

5 years agodnsdist: Use non-blocking pipes to pass DoH queries/responses around
Remi Gacogne [Mon, 8 Jun 2020 14:28:42 +0000 (16:28 +0200)] 
dnsdist: Use non-blocking pipes to pass DoH queries/responses around

This commit makes the internal sockets non-blocking so we don't freeze if
they ever fill up, and log errors/increment metrics instead.

It also replaces the socket pairs by pipes, since the default buffer
size for sockets seems to allow only ~278 pending queries which might
be reached given how libh2o batches events. On Linux, a pipe gives us
8192 pending queries by default due to the lower overhead, and it
can easily be incremented to 131072 pending queries by setting the
pipe size to 1048576. This commits adds a new setting to do just
that.

5 years agoDocs added
Otto Moerbeek [Mon, 8 Jun 2020 11:11:12 +0000 (13:11 +0200)] 
Docs added

5 years agoMerge pull request #9204 from rgacogne/rec-doc-gettag-ffi
Remi Gacogne [Mon, 8 Jun 2020 07:57:55 +0000 (09:57 +0200)] 
Merge pull request #9204 from rgacogne/rec-doc-gettag-ffi

rec: Better document the gettag hook and its FFI counterpart

5 years agoMerge pull request #9182 from supervacuus/auth-metrics-endpoint
Peter van Dijk [Sun, 7 Jun 2020 18:30:30 +0000 (20:30 +0200)] 
Merge pull request #9182 from supervacuus/auth-metrics-endpoint

Implemented prometheus metrics-endpoint for auth