]>
git.ipfire.org Git - thirdparty/pdns.git/log
bert hubert [Fri, 2 Feb 2018 10:48:15 +0000 (11:48 +0100)]
add in symlinks for dnsdist
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.
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
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
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!
genofire [Sun, 24 Mar 2019 21:32:09 +0000 (22:32 +0100)]
typo in docs
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`.
Shane Kerr [Sat, 23 Mar 2019 10:28:45 +0000 (11:28 +0100)]
Note that Lua is now required for the recursor
Shane Kerr [Sat, 23 Mar 2019 09:49:11 +0000 (10:49 +0100)]
Correct dnsdist & recursor information in README
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.
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
Pieter Lexis [Thu, 21 Mar 2019 14:34:00 +0000 (15:34 +0100)]
Add dockerignore
Pieter Lexis [Fri, 15 Mar 2019 14:29:37 +0000 (15:29 +0100)]
GSQLBackend::getUnfreshSlaveInfos: log row assertion only once
Pieter Lexis [Fri, 15 Mar 2019 13:11:27 +0000 (14:11 +0100)]
GSQLBackend::getAllDomains: don't throw on a broken master address
Pieter Lexis [Fri, 15 Mar 2019 13:05:20 +0000 (14:05 +0100)]
GSQLBackend: fix logging nits
Pieter Lexis [Tue, 12 Mar 2019 15:26:13 +0000 (16:26 +0100)]
Webserver: Don't swallow errors from getAllDomains
Pieter Lexis [Tue, 12 Mar 2019 13:28:49 +0000 (14:28 +0100)]
GSQLBackend::getUnfreshSlaveInfos: log data errors properly
Pieter Lexis [Tue, 12 Mar 2019 11:47:26 +0000 (12:47 +0100)]
auth: report DomainInfo errors in the API
Pieter Lexis [Tue, 12 Mar 2019 11:09:53 +0000 (12:09 +0100)]
pdnsutil: error on broken IPs in masters field
Peter van Dijk [Wed, 20 Mar 2019 09:35:12 +0000 (10:35 +0100)]
fix versionadded for gmysql-thread-closer
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
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
Remi Gacogne [Wed, 20 Mar 2019 08:54:39 +0000 (09:54 +0100)]
Merge pull request #7529 from rgacogne/auth-clear-metadata-on-delete
auth: Clear caches (meta-data, keys) on domain deletion
Remi Gacogne [Wed, 20 Mar 2019 08:52:32 +0000 (09:52 +0100)]
Merge pull request #7587 from rgacogne/auth-qsizeq
auth: Ensure we increase the number of queued queries before decreasing it
Remi Gacogne [Wed, 20 Mar 2019 08:52:03 +0000 (09:52 +0100)]
Merge pull request #7595 from rgacogne/auth-packetcache-tests-contention
auth: Avoid contention issues in the packet cache's unit tests
Matt Nordhoff [Tue, 19 Mar 2019 17:43:21 +0000 (17:43 +0000)]
pdnsutil: Fix "is is" typo in help
Josh Soref [Tue, 19 Mar 2019 17:13:04 +0000 (13:13 -0400)]
spelling: version
Josh Soref [Tue, 19 Mar 2019 17:12:58 +0000 (13:12 -0400)]
spelling: syscall
Josh Soref [Tue, 19 Mar 2019 17:12:33 +0000 (13:12 -0400)]
spelling: successful
Josh Soref [Tue, 19 Mar 2019 20:15:42 +0000 (16:15 -0400)]
spelling: iterator
Remi Gacogne [Tue, 19 Mar 2019 15:42:25 +0000 (16:42 +0100)]
rec: Handle invalid numeric values from the control channel
Remi Gacogne [Tue, 19 Mar 2019 15:29:10 +0000 (16:29 +0100)]
rec: Prevent an exception in RCC handling from terminating the rec
Remi Gacogne [Wed, 13 Mar 2019 14:39:17 +0000 (15:39 +0100)]
rec: Add a new ecs-minimum-ttl-override setting
aerique [Tue, 19 Mar 2019 15:19:39 +0000 (16:19 +0100)]
Merge pull request #7597 from aerique/feature/changelog-and-secpoll-for-auth-4.2.0-rc1
Update changelog and secpoll for auth-4.2.0-rc1
Peter van Dijk [Tue, 19 Mar 2019 14:16:36 +0000 (15:16 +0100)]
Merge pull request #7588 from Habbie/circleci
set up circleCI testing for auth+godbc+mssql
Pieter Lexis [Tue, 19 Mar 2019 12:10:18 +0000 (13:10 +0100)]
Merge pull request #7584 from pieterlexis/gsql-improve-error-message
GSQL: Log more data in error messages
Pieter Lexis [Tue, 19 Mar 2019 12:09:43 +0000 (13:09 +0100)]
Merge pull request #7484 from omoerbeek/no-utility-random
Utility::random() and srandom() is not used anymore.
Pieter Lexis [Tue, 19 Mar 2019 12:08:17 +0000 (13:08 +0100)]
Merge pull request #7580 from mind04/narrow-rectify
auth: Rectify for ent records in narrow zones was slightly wrong.
Pieter Lexis [Tue, 19 Mar 2019 12:07:54 +0000 (13:07 +0100)]
Merge pull request #7566 from pieterlexis/no-clobber-flags
Don't clobber C{,XX}FLAGS when set in env
Peter van Dijk [Fri, 15 Mar 2019 13:24:58 +0000 (14:24 +0100)]
set up circleCI testing for auth+godbc+mssql
Erik Winkels [Tue, 19 Mar 2019 11:09:37 +0000 (12:09 +0100)]
Update changelog and secpoll for auth-4.2.0-rc1.
Remi Gacogne [Tue, 19 Mar 2019 10:38:38 +0000 (11:38 +0100)]
Merge pull request #7596 from Habbie/dnsdist-tuning-reuseport
properly capitalise reusePort
Peter van Dijk [Tue, 19 Mar 2019 09:15:18 +0000 (10:15 +0100)]
properly capitalise reusePort
Remi Gacogne [Tue, 19 Mar 2019 07:39:19 +0000 (08:39 +0100)]
Merge pull request #7504 from rgacogne/rec-channel-cleanup
Add rec statistics about ECS response sizes, API endpoint to get a specific stat
Remi Gacogne [Tue, 19 Mar 2019 07:35:04 +0000 (08:35 +0100)]
Merge pull request #7592 from rgacogne/dnsdist-slow-unit-tests-arm
dnsdist: Prevent entries from expiring if the unit tests are slow
Remi Gacogne [Tue, 19 Mar 2019 07:32:22 +0000 (08:32 +0100)]
Merge pull request #7560 from rgacogne/ddist-gnutls-eagain
dnsdist: Handle EAGAIN in the GnuTLS DNS over TLS provider
aerique [Mon, 18 Mar 2019 19:56:57 +0000 (20:56 +0100)]
Merge pull request #7593 from aerique/feature/update-for-changelog-and-secpoll-for-auth-4.0.7-and-4.1.7
Update changelog, secpoll and advisories for auth-4.0.7 and auth-4.1.7.
Peter van Dijk [Mon, 18 Mar 2019 16:43:40 +0000 (17:43 +0100)]
Merge pull request #7594 from rgacogne/dnsdist-set-rules
dnsdist: Fix setRules()
Remi Gacogne [Mon, 18 Mar 2019 16:24:18 +0000 (17:24 +0100)]
auth: Avoid contention issues in the packet cache's unit tests
We used to do a retrieval from the cache to compute the hash, but
that could have failed due to another thread already having the
relevant lock ("deferred-lookup"), resulting the hash value not
being updated.
Matti Hiljanen [Thu, 14 Mar 2019 15:20:05 +0000 (17:20 +0200)]
dnsdist: add frontend response statistics
Remi Gacogne [Mon, 18 Mar 2019 14:07:34 +0000 (15:07 +0100)]
dnsdist: Add regression tests for clearRules() and setRules()
Remi Gacogne [Mon, 18 Mar 2019 13:56:15 +0000 (14:56 +0100)]
dnsdist: Fix setRules()
The definition was broken since
4d5959e62e069ca3baf7d52e645211e179de14d1
Otto Moerbeek [Mon, 18 Mar 2019 13:49:22 +0000 (14:49 +0100)]
Use RecDnstapMessage for recursor queries.
Otto Moerbeek [Mon, 18 Mar 2019 13:03:15 +0000 (14:03 +0100)]
Merge remote-tracking branch 'origin/master' into rec-dnstap
Remi Gacogne [Mon, 18 Mar 2019 11:09:26 +0000 (12:09 +0100)]
dnsdist: Fix wrong type (bool vs size_t) and typos in the tests
Remi Gacogne [Mon, 18 Mar 2019 09:38:41 +0000 (10:38 +0100)]
dnsdist: Prevent entries from expiring if the unit tests are slow
Remi Gacogne [Mon, 18 Mar 2019 08:20:35 +0000 (09:20 +0100)]
Merge pull request #7589 from cmouse/getregisteredname
lua-recursor4: Add missing getregisteredname Lua function
Aki Tuomi [Fri, 15 Mar 2019 19:12:46 +0000 (21:12 +0200)]
lua-recursor4: Add missing getregisteredname Lua function
It was drooped in
4b9a4e966257eb08d4803633f5726b5a144a8e99 and
forgotten in
a3e7b73528a96a3642adb42dc1e729ea2e8765f4
Otto Moerbeek [Fri, 15 Mar 2019 15:14:09 +0000 (16:14 +0100)]
Merge remote-tracking branch 'origin/master' into rec-dnstap
Otto Moerbeek [Fri, 15 Mar 2019 15:06:37 +0000 (16:06 +0100)]
Merge pull request #7583 from omoerbeek/malloc-stack
Move back to malloc on !OpenBSD. Doing mmap/munmap all the time hurts…
Remi Gacogne [Fri, 15 Mar 2019 14:54:44 +0000 (15:54 +0100)]
auth: Ensure we increase the number of queued queries before decreasing it
Remi Gacogne [Fri, 15 Mar 2019 14:37:13 +0000 (15:37 +0100)]
dnsdist: Prevent a conflict with BADSIG being clobbered
Remi Gacogne [Fri, 15 Mar 2019 14:17:39 +0000 (15:17 +0100)]
dnsdist: Gracefully handle a null latency in the webserver's JS
Pieter Lexis [Fri, 15 Mar 2019 11:40:19 +0000 (12:40 +0100)]
GSQLBackend::updateDNSSECOrderNameAndAuth: log domain name and qtype in error
Pieter Lexis [Fri, 15 Mar 2019 11:39:44 +0000 (12:39 +0100)]
GSQLBackend::getDomainInfo: log domain name in error
Pieter Lexis [Fri, 15 Mar 2019 11:38:35 +0000 (12:38 +0100)]
GSQLBackend::setAccount: log account in error
Pieter Lexis [Fri, 15 Mar 2019 11:38:05 +0000 (12:38 +0100)]
GSQLBackend::setKind: log kind in error
Pieter Lexis [Fri, 15 Mar 2019 11:37:35 +0000 (12:37 +0100)]
GSQLBackend::setMaster: log IP address in error
Pieter Lexis [Fri, 15 Mar 2019 11:29:37 +0000 (12:29 +0100)]
GSQLBackend::searchComments: log search pattern in error
Pieter Lexis [Fri, 15 Mar 2019 11:28:23 +0000 (12:28 +0100)]
GSQLBackend::searchRecords: log search pattern in error
Pieter Lexis [Fri, 15 Mar 2019 11:26:08 +0000 (12:26 +0100)]
GSQLBackend::directBackendCmd: log attempted query in error
Pieter Lexis [Fri, 15 Mar 2019 11:25:21 +0000 (12:25 +0100)]
GSQLBackend::*Comments: log name and type in error
Pieter Lexis [Fri, 15 Mar 2019 11:20:21 +0000 (12:20 +0100)]
GSQLBackend::startTransaction: log domain in error
Pieter Lexis [Fri, 15 Mar 2019 11:17:21 +0000 (12:17 +0100)]
GSQLBackend::feedEnts*: log ENT name in error
Pieter Lexis [Fri, 15 Mar 2019 11:16:50 +0000 (12:16 +0100)]
GSQLBackend::feedRecord: log name and type in error
Pieter Lexis [Fri, 15 Mar 2019 11:08:32 +0000 (12:08 +0100)]
GSQLBackend::replaceRRSet: log domain name and type in error
Pieter Lexis [Fri, 15 Mar 2019 11:06:11 +0000 (12:06 +0100)]
GSQLBackend::superMasterBackend: log domain name, ip and nameserver name in error
Pieter Lexis [Fri, 15 Mar 2019 11:02:47 +0000 (12:02 +0100)]
GSQLBackend::listSubZone: log domain name in error
Pieter Lexis [Fri, 15 Mar 2019 10:58:33 +0000 (11:58 +0100)]
GSQLBackend::list: log domain name in error
Pieter Lexis [Fri, 15 Mar 2019 10:58:17 +0000 (11:58 +0100)]
GSQLBackend::lookup: log qname and qtype in error
Pieter Lexis [Fri, 15 Mar 2019 10:55:44 +0000 (11:55 +0100)]
GSQLBackend::*DomainMetadata: log domain and kind in errors
Pieter Lexis [Fri, 15 Mar 2019 10:53:04 +0000 (11:53 +0100)]
GSQLBackend::*TSIGKey: log keyname and algo in errors
Otto Moerbeek [Fri, 15 Mar 2019 11:23:00 +0000 (12:23 +0100)]
Move back to malloc on !OpenBSD. Doing mmap/munmap all the time hurts too much.
Kees Monshouwer [Fri, 15 Mar 2019 11:14:57 +0000 (12:14 +0100)]
auth: small optimization in the rectify code for optout narrow zones
Otto Moerbeek [Fri, 15 Mar 2019 11:13:41 +0000 (12:13 +0100)]
Merge pull request #7551 from omoerbeek/eliminate-a-few-test-because-travis
Eliminate a few test because travis
Pieter Lexis [Fri, 15 Mar 2019 10:49:24 +0000 (11:49 +0100)]
GSQLBackend::*DomainKey: log domain and key-id in errors
Pieter Lexis [Fri, 15 Mar 2019 10:34:40 +0000 (11:34 +0100)]
GSQLBackend::getBeforeAndAfterNamesAbsolute: log qname in errors
Remi Gacogne [Fri, 15 Mar 2019 09:40:50 +0000 (10:40 +0100)]
dnsdist: Increase the base TTL to 2 as 1 might expire too soon
Since we no longer use cached answers when the TTL drops to 0,
we need a bit more of margin.
Kees Monshouwer [Thu, 14 Mar 2019 22:51:23 +0000 (23:51 +0100)]
auth: Rectify for ent records in narrow zones was slightly wrong.
Otto Moerbeek [Fri, 15 Mar 2019 08:47:58 +0000 (09:47 +0100)]
Merge remote-tracking branch 'origin/master' into rec-dnstap
Remi Gacogne [Thu, 14 Mar 2019 15:32:50 +0000 (16:32 +0100)]
dnsdist: Prevent 0-TTL cache hits
Peter van Dijk [Thu, 14 Mar 2019 14:07:49 +0000 (15:07 +0100)]
Merge pull request #7533 from Habbie/dnsscope-darwin
cast usec, avoids a build failure on macOS/Darwin
Pieter Lexis [Thu, 14 Mar 2019 12:13:44 +0000 (13:13 +0100)]
note that this option is new in 4.1.7
Co-Authored-By: Habbie <peter.van.dijk@powerdns.com>
Remi Gacogne [Thu, 14 Mar 2019 10:48:10 +0000 (11:48 +0100)]
Merge pull request #7576 from cmouse/remotebackend
remotebackend: http connector - Properly escape parameters
Remi Gacogne [Thu, 14 Mar 2019 10:26:59 +0000 (11:26 +0100)]
rec: Rename the stats blacklist settings to 'stats-$TYPE-blacklist'
Remi Gacogne [Thu, 14 Mar 2019 10:26:36 +0000 (11:26 +0100)]
rec: Add a proper 'versionadded' tag on the new metrics
Remi Gacogne [Wed, 13 Mar 2019 16:46:27 +0000 (17:46 +0100)]
auth: Parse the HTTP URL when the remote backend is initialized
Remi Gacogne [Wed, 13 Mar 2019 16:23:43 +0000 (17:23 +0100)]
auth: Wrap existing pointers in smart pointers in the remotebackend
Aki Tuomi [Wed, 13 Mar 2019 18:06:09 +0000 (20:06 +0200)]
remotebackend: http connector - Properly escape parameters
Pieter Lexis [Wed, 13 Mar 2019 09:59:54 +0000 (10:59 +0100)]
DNAME: properly remove CNAME from auth answers