]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
7 years agoA way to fix https://github.com/PowerDNS/pdns/issues/7646. It might
Otto Moerbeek [Wed, 3 Apr 2019 12:10:22 +0000 (14:10 +0200)] 
A way to fix https://github.com/PowerDNS/pdns/issues/7646. It might
not be the right place, though, but it prevents fatal exception on
unparseable A (or AAAA) addresss for nameserver addresses needed
to send notifies.

7 years agoMerge pull request #7598 from jsoref/spelling
Peter van Dijk [Wed, 3 Apr 2019 07:10:09 +0000 (09:10 +0200)] 
Merge pull request #7598 from jsoref/spelling

Spelling

7 years agoMerge pull request #7656 from Habbie/dnsdist-macos-build-nit
Peter van Dijk [Wed, 3 Apr 2019 07:03:11 +0000 (09:03 +0200)] 
Merge pull request #7656 from Habbie/dnsdist-macos-build-nit

dnsdist README: update macOS instructions

7 years agoalways link in uuid-utils because webserver logging needs it now 7658/head
Peter van Dijk [Tue, 2 Apr 2019 21:54:37 +0000 (23:54 +0200)] 
always link in uuid-utils because webserver logging needs it now

7 years ago1-index recursor EDNSOptionView 7652/head
Peter van Dijk [Tue, 2 Apr 2019 16:29:04 +0000 (18:29 +0200)] 
1-index recursor EDNSOptionView

7 years agodnsdist README: update macOS instructions 7656/head
Peter van Dijk [Tue, 2 Apr 2019 15:33:53 +0000 (17:33 +0200)] 
dnsdist README: update macOS instructions

7 years agoMerge pull request #7654 from aerique/feature/changelog-and-secpoll-for-rec-4.1.12
aerique [Tue, 2 Apr 2019 12:26:43 +0000 (14:26 +0200)] 
Merge pull request #7654 from aerique/feature/changelog-and-secpoll-for-rec-4.1.12

Update changelog and secpoll for rec-4.1.12.

7 years agosimplify vector indexing
Peter van Dijk [Tue, 2 Apr 2019 12:11:52 +0000 (14:11 +0200)] 
simplify vector indexing

7 years agoadjust indexes in tests
Peter van Dijk [Tue, 2 Apr 2019 12:10:59 +0000 (14:10 +0200)] 
adjust indexes in tests

7 years agoUpdate changelog and secpoll for rec-4.1.12. 7654/head
Erik Winkels [Tue, 2 Apr 2019 11:08:12 +0000 (13:08 +0200)] 
Update changelog and secpoll for rec-4.1.12.

7 years agoMerge pull request #7631 from omoerbeek/rec-ecs-cache-limit-with-ttl
Otto Moerbeek [Tue, 2 Apr 2019 08:38:05 +0000 (10:38 +0200)] 
Merge pull request #7631 from omoerbeek/rec-ecs-cache-limit-with-ttl

Rec ecs cache limit with ttl

7 years agoLua tables are indexed from 1
Peter van Dijk [Mon, 1 Apr 2019 19:29:55 +0000 (21:29 +0200)] 
Lua tables are indexed from 1

7 years agocount is a method, not an attribute
Peter van Dijk [Mon, 1 Apr 2019 19:29:09 +0000 (21:29 +0200)] 
count is a method, not an attribute

7 years agoThis provides CPU usage statistics per thread (worker & distributor). 7649/head
bert hubert [Mon, 1 Apr 2019 12:47:59 +0000 (14:47 +0200)] 
This provides CPU usage statistics per thread (worker & distributor).

(cherry picked from commit 4ae78615a5a0fb0721ebe1a58a1235e75c47d400)

7 years agoMerge pull request #7507 from rgacogne/rec-bounded-load-balancing
Remi Gacogne [Mon, 1 Apr 2019 13:57:42 +0000 (15:57 +0200)] 
Merge pull request #7507 from rgacogne/rec-bounded-load-balancing

rec: Use a bounded load-balancing algo to distribute queries

7 years agoMerge pull request #5932 from pieterlexis/webserver-logging
Pieter Lexis [Mon, 1 Apr 2019 12:43:49 +0000 (14:43 +0200)] 
Merge pull request #5932 from pieterlexis/webserver-logging

Improve logging in the webserver

7 years agoReformulate condition and comment to make it more clear. 7631/head
Otto Moerbeek [Mon, 1 Apr 2019 12:27:27 +0000 (14:27 +0200)] 
Reformulate condition and comment to make it more clear.

7 years agoOnly apply "do not cache" if both limits are set and satisfied. Doc tweaks.
Otto Moerbeek [Mon, 1 Apr 2019 09:30:06 +0000 (11:30 +0200)] 
Only apply "do not cache" if both limits are set and satisfied.  Doc tweaks.

7 years agoremotebackend: fix SOA in unittests
Chris Hofstaedtler [Sun, 31 Mar 2019 17:00:23 +0000 (19:00 +0200)] 
remotebackend: fix SOA in unittests

Otherwise check-zone and NS-queries fail.

7 years agoauth: use the api in the lmdb regression tests 7643/head
Kees Monshouwer [Sun, 31 Mar 2019 11:37:36 +0000 (13:37 +0200)] 
auth: use the api in the lmdb regression tests

7 years agoauth: lmdbbackend, fix getAllDomains()
Kees Monshouwer [Sat, 30 Mar 2019 21:21:59 +0000 (22:21 +0100)] 
auth: lmdbbackend, fix getAllDomains()

7 years agorec: Clarify that the server load should be >= to the pondered avg 7507/head
Remi Gacogne [Fri, 29 Mar 2019 16:20:52 +0000 (17:20 +0100)] 
rec: Clarify that the server load should be >= to the pondered avg

(cherry picked from commit b476baebdc5a2ab4170476167aef94b7cdb677ab)

7 years agorec: Keep track of the number of MTasks in a dedicated variable
Remi Gacogne [Fri, 29 Mar 2019 12:32:46 +0000 (13:32 +0100)] 
rec: Keep track of the number of MTasks in a dedicated variable

(cherry picked from commit 03a5d29ea3456fd3798ca71ed4f0f7ec7980ee2c)

7 years agoNew approach. I spelled out the logic to make it more clear.
Otto Moerbeek [Fri, 29 Mar 2019 10:40:05 +0000 (11:40 +0100)] 
New approach. I spelled out the logic to make it more clear.
Points to keep in mind: > vs >=
What do we do if s_ecscachelimitttl is not set? I chose to let the scope determine
cacheability.

7 years agorec: Make sure that distribution-load-factor is >= 1.0 if set
Remi Gacogne [Thu, 28 Mar 2019 17:30:12 +0000 (18:30 +0100)] 
rec: Make sure that distribution-load-factor is >= 1.0 if set

7 years agoauth: fix referral response for DS queries
Kees Monshouwer [Tue, 26 Mar 2019 23:51:57 +0000 (00:51 +0100)] 
auth: fix referral response for DS queries

7 years agoauth: add referral response tests for DS queries
Kees Monshouwer [Tue, 26 Mar 2019 23:50:25 +0000 (00:50 +0100)] 
auth: add referral response tests for DS queries

7 years agoall: DNSName reserve memory before converting to string
Charles-Henri Bruyand [Wed, 27 Mar 2019 14:30:19 +0000 (15:30 +0100)] 
all: DNSName reserve memory before converting to string

7 years agoAdd tests for ecs-cache-limit-ttl 7572/head
Otto Moerbeek [Wed, 27 Mar 2019 12:17:06 +0000 (13:17 +0100)] 
Add tests for ecs-cache-limit-ttl

7 years agorec: Add a 'rebalanced-queries' metric
Remi Gacogne [Wed, 27 Mar 2019 11:10:37 +0000 (12:10 +0100)] 
rec: Add a 'rebalanced-queries' metric

7 years agorec: Use a bounded load-balancing algo to distribute queries
Remi Gacogne [Wed, 20 Feb 2019 16:47:30 +0000 (17:47 +0100)] 
rec: Use a bounded load-balancing algo to distribute queries

7 years agoInitial code for ecs-cache-limit-ttl.
Otto Moerbeek [Wed, 27 Mar 2019 11:37:19 +0000 (12:37 +0100)] 
Initial code for ecs-cache-limit-ttl.

7 years agoMerge remote-tracking branch 'origin/pr/7572' into rec-ecs-cache-limit-with-ttl
Otto Moerbeek [Wed, 27 Mar 2019 10:34:24 +0000 (11:34 +0100)] 
Merge remote-tracking branch 'origin/pr/7572' into rec-ecs-cache-limit-with-ttl

7 years agogrammar: reword complicated sentence 7629/head
Josh Soref [Wed, 27 Mar 2019 08:53:28 +0000 (04:53 -0400)] 
grammar: reword complicated sentence

7 years agoMerge pull request #7628 from tcely/patch-3
Remi Gacogne [Wed, 27 Mar 2019 08:45:54 +0000 (09:45 +0100)] 
Merge pull request #7628 from tcely/patch-3

Lua QClass global does not exist

7 years agogrammar: remove unnecessary comma in compound predicate
Josh Soref [Wed, 27 Mar 2019 08:44:18 +0000 (04:44 -0400)] 
grammar: remove unnecessary comma in compound predicate

7 years agospelling: SQLite
Josh Soref [Wed, 27 Mar 2019 08:43:22 +0000 (04:43 -0400)] 
spelling: SQLite

7 years agogrammar: rewrite sentence
Josh Soref [Wed, 27 Mar 2019 08:42:23 +0000 (04:42 -0400)] 
grammar: rewrite sentence

7 years agogrammar: avoid using having
Josh Soref [Wed, 27 Mar 2019 08:26:30 +0000 (04:26 -0400)] 
grammar: avoid using having

7 years agogrammar: remove unnecessary comma in compound predicate
Josh Soref [Wed, 27 Mar 2019 08:25:20 +0000 (04:25 -0400)] 
grammar: remove unnecessary comma in compound predicate

7 years agoseparate overly complicated sentence
Josh Soref [Wed, 27 Mar 2019 08:24:33 +0000 (04:24 -0400)] 
separate overly complicated sentence

7 years agospelling: spell out day of week abbreviations
Josh Soref [Wed, 27 Mar 2019 08:19:40 +0000 (04:19 -0400)] 
spelling: spell out day of week abbreviations

7 years agogrammar: help parsers understand that denial-of-existence is a thing
Josh Soref [Wed, 27 Mar 2019 08:18:06 +0000 (04:18 -0400)] 
grammar: help parsers understand that denial-of-existence is a thing

7 years agogrammar: comma for introductory phrase
Josh Soref [Wed, 27 Mar 2019 08:11:05 +0000 (04:11 -0400)] 
grammar: comma for introductory phrase

7 years agogrammar: comma for introductory phrase
Josh Soref [Wed, 27 Mar 2019 08:08:10 +0000 (04:08 -0400)] 
grammar: comma for introductory phrase

7 years agogrammar: oxford comma
Josh Soref [Wed, 27 Mar 2019 08:01:46 +0000 (04:01 -0400)] 
grammar: oxford comma

7 years agogrammar: oxford comma
Josh Soref [Wed, 27 Mar 2019 08:01:29 +0000 (04:01 -0400)] 
grammar: oxford comma

7 years agogrammar: comma-however
Josh Soref [Wed, 27 Mar 2019 07:57:58 +0000 (03:57 -0400)] 
grammar: comma-however

7 years agogrammar ...
Josh Soref [Tue, 26 Mar 2019 21:24:52 +0000 (17:24 -0400)] 
grammar ...

* oxford comma is pretty easy to explain
* like ... and -- probably the easiest explanation is that
   https://www.quickanddirtytips.com/education/grammar/like-versus-such-as
  uses `and` not `or`...

7 years agoclarify sentence
Josh Soref [Tue, 26 Mar 2019 21:20:28 +0000 (17:20 -0400)] 
clarify sentence

7 years agodoc: described is a simple enough word...
Josh Soref [Tue, 26 Mar 2019 21:19:56 +0000 (17:19 -0400)] 
doc: described is a simple enough word...

7 years agospelling: deactivated
Josh Soref [Tue, 26 Mar 2019 21:03:56 +0000 (17:03 -0400)] 
spelling: deactivated

7 years agoLua QClass global does not exist 7628/head
tcely [Tue, 26 Mar 2019 18:04:53 +0000 (14:04 -0400)] 
Lua QClass global does not exist

The C code uses `QClass`, but the Lua variable was added as `DNSClass` for whatever reason.

7 years agorec: Set ecs-ipv4-cache-bits and ecs-ipv6-cache-bits in the tests
Remi Gacogne [Tue, 12 Mar 2019 12:22:30 +0000 (13:22 +0100)] 
rec: Set ecs-ipv4-cache-bits and ecs-ipv6-cache-bits in the tests

(cherry picked from commit 0cd27a313133139947e6e1b97fe7f1c0164ad40f)

7 years agorec: Document 'ecs-ipv4-cache-bits' and 'ecs-ipv6-cache-bits'
Remi Gacogne [Tue, 12 Mar 2019 11:27:06 +0000 (12:27 +0100)] 
rec: Document 'ecs-ipv4-cache-bits' and 'ecs-ipv6-cache-bits'

(cherry picked from commit 4d8c05df7a8fd6045061325693dcf8b17dbd364d)

7 years agorec: Add unit tests for the ECS cache limit feature
Remi Gacogne [Tue, 12 Mar 2019 11:19:13 +0000 (12:19 +0100)] 
rec: Add unit tests for the ECS cache limit feature

7 years agorec: Move the ECS cache limit check to the SyncRes
Remi Gacogne [Tue, 12 Mar 2019 11:05:56 +0000 (12:05 +0100)] 
rec: Move the ECS cache limit check to the SyncRes

7 years agoimplement a configurable ECS cache limit, defaulting to /24 and /56 of IPv6. So a...
bert hubert [Tue, 12 Mar 2019 10:27:53 +0000 (11:27 +0100)] 
implement a configurable ECS cache limit, defaulting to /24 and /56 of IPv6. So a /25 response will not get cached.

(cherry picked from commit 1dab554571edc88ae625c3997294dbcfb1c3507e)

7 years agorec: Add 'protobuf-use-kernel-timestamp' for sharper latencies 7508/head
Remi Gacogne [Thu, 21 Feb 2019 15:06:21 +0000 (16:06 +0100)] 
rec: Add 'protobuf-use-kernel-timestamp' for sharper latencies

7 years agodnsdist: Add regression tests for protobuf pseudonymization 7481/head
Remi Gacogne [Tue, 12 Feb 2019 16:06:33 +0000 (17:06 +0100)] 
dnsdist: Add regression tests for protobuf pseudonymization

7 years agoBuild ipcrypt as a separate (static) library since it's written in C
Remi Gacogne [Tue, 12 Feb 2019 15:14:29 +0000 (16:14 +0100)] 
Build ipcrypt as a separate (static) library since it's written in C

Otherwise we could compile it as C++ code, leading to this warning
from the compiler:

```
cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
```

7 years agoRemove trailing whitespaces
Remi Gacogne [Thu, 31 Jan 2019 13:59:29 +0000 (14:59 +0100)] 
Remove trailing whitespaces

7 years agodnsdist: Add IP 'encryption' options to RemoteLog{,Response}Action
Remi Gacogne [Wed, 30 Jan 2019 15:58:04 +0000 (16:58 +0100)] 
dnsdist: Add IP 'encryption' options to RemoteLog{,Response}Action

7 years agodnsdist: Don't link OpenSSL's libssl or GnuTLS unless DoT is enabled
Remi Gacogne [Wed, 30 Jan 2019 15:01:39 +0000 (16:01 +0100)] 
dnsdist: Don't link OpenSSL's libssl or GnuTLS unless DoT is enabled

7 years agomake pdnsutil support base64 encoded keys for ipcipher
bert hubert [Mon, 19 Feb 2018 09:21:19 +0000 (10:21 +0100)] 
make pdnsutil support base64 encoded keys for ipcipher

7 years agofix testrunner
bert hubert [Fri, 16 Feb 2018 21:34:51 +0000 (22:34 +0100)] 
fix testrunner

7 years agoupdate docs to key derivation & proper link
bert hubert [Fri, 16 Feb 2018 21:01:02 +0000 (22:01 +0100)] 
update docs to key derivation & proper link

7 years agodocument dnswasher flags
bert hubert [Fri, 16 Feb 2018 09:12:43 +0000 (10:12 +0100)] 
document dnswasher flags

7 years agomade dnswasher support ipcipher
bert hubert [Fri, 16 Feb 2018 09:03:39 +0000 (10:03 +0100)] 
made dnswasher support ipcipher

7 years agodnswasher comment
bert hubert [Thu, 15 Feb 2018 12:58:27 +0000 (13:58 +0100)] 
dnswasher comment

7 years agohook up makeIPCipherKey in dnsdist
bert hubert [Thu, 15 Feb 2018 13:03:58 +0000 (14:03 +0100)] 
hook up makeIPCipherKey in dnsdist

7 years agosalt was confusing, should be ipcipheripcipher
bert hubert [Wed, 7 Feb 2018 12:18:09 +0000 (13:18 +0100)] 
salt was confusing, should be ipcipheripcipher

7 years agofix up salt for pbkdf2
bert hubert [Wed, 7 Feb 2018 09:05:33 +0000 (10:05 +0100)] 
fix up salt for pbkdf2

7 years agorename ipcrypt/ipcipher
bert hubert [Thu, 15 Feb 2018 12:51:24 +0000 (13:51 +0100)] 
rename ipcrypt/ipcipher

7 years agoadd key derivatin from password, add ipencrypt/ipdecrypt to pdnsutil & document it
bert hubert [Tue, 6 Feb 2018 12:11:32 +0000 (13:11 +0100)] 
add key derivatin from password, add ipencrypt/ipdecrypt to pdnsutil & document it

7 years agoadd documentation to dnsdist
bert hubert [Fri, 2 Feb 2018 12:39:28 +0000 (13:39 +0100)] 
add documentation to dnsdist

7 years agofix ipcrypt.h in testrunner Makefile
bert hubert [Fri, 2 Feb 2018 11:39:57 +0000 (12:39 +0100)] 
fix ipcrypt.h in testrunner Makefile

7 years agoreplace links
bert hubert [Fri, 2 Feb 2018 10:51:28 +0000 (11:51 +0100)] 
replace links

7 years agoadd in symlinks for dnsdist
bert hubert [Fri, 2 Feb 2018 10:48:15 +0000 (11:48 +0100)] 
add in symlinks for dnsdist

7 years agoAdd support for encrypting IP addresses #gdpr
bert hubert [Fri, 2 Feb 2018 10:43:20 +0000 (11:43 +0100)] 
Add support for encrypting IP addresses #gdpr
With this change, PowerDNS core gains ability to encrypt & decrypt IP addresses as described in https://medium.com/@bert.hubert/on-ip-address-encryption-security-analysis-with-respect-for-privacy-dabe1201b476
For IPv4 this uses ipcrypt, for IPv6 it uses a 128-bit AES ECB operation.
This CR also hooks up ipencrypt() and ipdecrypt() methods for dnsdist use, specifically to pseudonomyse logging.

7 years agoMerge pull request #7574 from rgacogne/rec-min-ecs-ttl
Remi Gacogne [Mon, 25 Mar 2019 09:19:58 +0000 (10:19 +0100)] 
Merge pull request #7574 from rgacogne/rec-min-ecs-ttl

rec: Add a new ecs-minimum-ttl-override setting

7 years agoMerge pull request #7621 from shane-kerr/lua-required-for-recursor
Remi Gacogne [Mon, 25 Mar 2019 08:51:44 +0000 (09:51 +0100)] 
Merge pull request #7621 from shane-kerr/lua-required-for-recursor

Note that Lua is now required for the recursor

7 years agoMerge pull request #7623 from genofire/patch-1
bert hubert [Sun, 24 Mar 2019 21:35:51 +0000 (22:35 +0100)] 
Merge pull request #7623 from genofire/patch-1

typo in docs - thanks!

7 years agotypo in docs 7623/head
genofire [Sun, 24 Mar 2019 21:32:09 +0000 (22:32 +0100)] 
typo in docs

7 years agoChange all occurrences of string to std::string 7622/head
Shane Kerr [Sat, 23 Mar 2019 14:46:44 +0000 (15:46 +0100)] 
Change all occurrences of string to std::string

I noticed that there were both `string` and `std::string` in the file
that I am working on. This converts them all to `std::string`.

7 years agoNote that Lua is now required for the recursor 7621/head
Shane Kerr [Sat, 23 Mar 2019 10:28:45 +0000 (11:28 +0100)] 
Note that Lua is now required for the recursor

7 years agoCorrect dnsdist & recursor information in README 7620/head
Shane Kerr [Sat, 23 Mar 2019 09:49:11 +0000 (10:49 +0100)] 
Correct dnsdist & recursor information in README

7 years agoMerge pull request #7616 from aerique/feature/changelog-and-secpoll-for-auth-4.1.8
aerique [Fri, 22 Mar 2019 14:38:29 +0000 (15:38 +0100)] 
Merge pull request #7616 from aerique/feature/changelog-and-secpoll-for-auth-4.1.8

Update changelog and secpoll for auth-4.1.8.

7 years agoRKEY is missing algorithm field 7615/head
Leo Vdw [Thu, 21 Mar 2019 22:01:12 +0000 (23:01 +0100)] 
RKEY is missing algorithm field

This RR type is missing a data field.
draft-reid-dnsext-rkey-00 defines the data as flags (0) / protocol (1) / algorithm / key, and for these last two is refering to RFC4034

https://tools.ietf.org/html/draft-reid-dnsext-rkey-00
https://tools.ietf.org/html/rfc4034#section-2.1

7 years agoAdd dockerignore 7653/head
Pieter Lexis [Thu, 21 Mar 2019 14:34:00 +0000 (15:34 +0100)] 
Add dockerignore

7 years agoGSQLBackend::getUnfreshSlaveInfos: log row assertion only once 7569/head
Pieter Lexis [Fri, 15 Mar 2019 14:29:37 +0000 (15:29 +0100)] 
GSQLBackend::getUnfreshSlaveInfos: log row assertion only once

7 years agoGSQLBackend::getAllDomains: don't throw on a broken master address
Pieter Lexis [Fri, 15 Mar 2019 13:11:27 +0000 (14:11 +0100)] 
GSQLBackend::getAllDomains: don't throw on a broken master address

7 years agoGSQLBackend: fix logging nits
Pieter Lexis [Fri, 15 Mar 2019 13:05:20 +0000 (14:05 +0100)] 
GSQLBackend: fix logging nits

7 years agoWebserver: Don't swallow errors from getAllDomains
Pieter Lexis [Tue, 12 Mar 2019 15:26:13 +0000 (16:26 +0100)] 
Webserver: Don't swallow errors from getAllDomains

7 years agoGSQLBackend::getUnfreshSlaveInfos: log data errors properly
Pieter Lexis [Tue, 12 Mar 2019 13:28:49 +0000 (14:28 +0100)] 
GSQLBackend::getUnfreshSlaveInfos: log data errors properly

7 years agoauth: report DomainInfo errors in the API
Pieter Lexis [Tue, 12 Mar 2019 11:47:26 +0000 (12:47 +0100)] 
auth: report DomainInfo errors in the API

7 years agopdnsutil: error on broken IPs in masters field
Pieter Lexis [Tue, 12 Mar 2019 11:09:53 +0000 (12:09 +0100)] 
pdnsutil: error on broken IPs in masters field

7 years agofix versionadded for gmysql-thread-closer
Peter van Dijk [Wed, 20 Mar 2019 09:35:12 +0000 (10:35 +0100)] 
fix versionadded for gmysql-thread-closer

7 years agoMerge pull request #7503 from ahupowerdns/auth-ringbugs
Remi Gacogne [Wed, 20 Mar 2019 08:55:34 +0000 (09:55 +0100)] 
Merge pull request #7503 from ahupowerdns/auth-ringbugs

Auth ringbuffer simmaries were case sensitive & accounted delegations incorrectly

7 years agoMerge pull request #7517 from Habbie/mysqlthreadcloser
Remi Gacogne [Wed, 20 Mar 2019 08:55:09 +0000 (09:55 +0100)] 
Merge pull request #7517 from Habbie/mysqlthreadcloser

plug mysql_thread_init memory leak