]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Thu, 21 Feb 2019 13:53:58 +0000 (14:53 +0100)]
dnsdist: Add regression tests for setAllowEmptyResponse()
Remi Gacogne [Thu, 21 Feb 2019 13:43:09 +0000 (14:43 +0100)]
dnsdist: Document setAllowEmptyResponse()
Remi Gacogne [Thu, 21 Feb 2019 13:42:34 +0000 (14:42 +0100)]
dnsdist: Add setAllowEmptyResponse to console completion
Remi Gacogne [Thu, 21 Feb 2019 12:40:46 +0000 (13:40 +0100)]
Merge pull request #7494 from rgacogne/ixfr-empty-axfr
Correctly interpret an empty AXFR response to an IXFR query
Pieter Lexis [Thu, 21 Feb 2019 12:02:04 +0000 (13:02 +0100)]
Don't do O(n) operation needlessly
Remi Gacogne [Thu, 21 Feb 2019 12:00:44 +0000 (13:00 +0100)]
Merge branch 'master' into master
Remi Gacogne [Thu, 21 Feb 2019 11:26:50 +0000 (12:26 +0100)]
dnsdist: Add regression tests for EDNSVersionRule and ERCodeAction
Pieter Lexis [Thu, 21 Feb 2019 11:17:22 +0000 (12:17 +0100)]
Revert "REVERT ME: remove test that fails compilation"
This reverts commit
6eb4daca9c71804e4acdf31ac31ea6ad2541a01e .
Pieter Lexis [Thu, 21 Feb 2019 11:17:17 +0000 (12:17 +0100)]
Merge remote-tracking branch 'origin/master' into auth-ringbugs
Pieter Lexis [Thu, 21 Feb 2019 11:16:47 +0000 (12:16 +0100)]
Merge pull request #7505 from rgacogne/fix-speedtest-gcc8
auth: Fix compilation of speedtest with GCC 8.0+
Pieter Lexis [Thu, 21 Feb 2019 11:06:56 +0000 (12:06 +0100)]
Fix fuzz target linking
Remi Gacogne [Thu, 21 Feb 2019 10:52:51 +0000 (11:52 +0100)]
dnsdist: Document EDNSVersionRule and ERCodeAction
Remi Gacogne [Thu, 21 Feb 2019 10:52:05 +0000 (11:52 +0100)]
dnsdist: Add ERCodeAction and RCodeAction to console completion
Remi Gacogne [Thu, 21 Feb 2019 09:14:43 +0000 (10:14 +0100)]
Merge pull request #7478 from rgacogne/rec-max-cache-bogus-ttl
rec: Add a new 'max-cache-bogus-ttl' option
Pieter Lexis [Wed, 20 Feb 2019 16:37:53 +0000 (17:37 +0100)]
speedtest: rename the second statring
Remi Gacogne [Wed, 20 Feb 2019 16:02:13 +0000 (17:02 +0100)]
auth: Fix compilation of speedtest with GCC 8.0+
Pieter Lexis [Wed, 20 Feb 2019 15:59:28 +0000 (16:59 +0100)]
Hook up DNSName, QType ringbuffers to the auth
Pieter Lexis [Wed, 20 Feb 2019 12:29:19 +0000 (13:29 +0100)]
Add speedtest for DNSName, QType rings
'StatRing test with DNSName and QType to string' 0.11 seconds:
3437241 .4 runs/s, 0.29 usec/run
'StatRing test with DNSName and QType' 0.11 seconds:
12516308 .0 runs/s, 0.08 usec/run
Pieter Lexis [Wed, 20 Feb 2019 12:25:51 +0000 (13:25 +0100)]
Add StatRings for DNSName, QType tuples
Remi Gacogne [Wed, 20 Feb 2019 15:48:40 +0000 (16:48 +0100)]
rec: Fix a typo in the comment of one of the SyncRes unit tests
Peter van Dijk [Wed, 20 Feb 2019 13:28:17 +0000 (14:28 +0100)]
Merge pull request #7492 from pieterlexis/lua-expose-pdnsrandom
Lua: expose `dns_random` as `pdnsrandom`
Pieter Lexis [Wed, 20 Feb 2019 09:55:31 +0000 (10:55 +0100)]
Add speedtest for statring
Pieter Lexis [Wed, 20 Feb 2019 09:55:15 +0000 (10:55 +0100)]
REVERT ME: remove test that fails compilation
Otto Moerbeek [Wed, 20 Feb 2019 09:40:11 +0000 (10:40 +0100)]
Add new objects to OBJECT-GROUP; use "self" instead of getpid()
Remi Gacogne [Mon, 18 Feb 2019 12:07:14 +0000 (13:07 +0100)]
Correctly interpret an empty AXFR response to an IXFR query
Otto Moerbeek [Wed, 20 Feb 2019 08:44:04 +0000 (09:44 +0100)]
Init required args before calling dns_random()
No clue why this only happens only on Ubuntu trusty...
Remi Gacogne [Wed, 20 Feb 2019 09:20:46 +0000 (10:20 +0100)]
Merge pull request #7476 from rgacogne/rpz-default-pol-custom-option
rec: Add an option to not override custom RPZ types with the default policy
Remi Gacogne [Wed, 20 Feb 2019 08:44:16 +0000 (09:44 +0100)]
Merge pull request #7479 from phonedph1/addrecords
rec: Document addRecord
Otto Moerbeek [Tue, 19 Feb 2019 14:34:52 +0000 (15:34 +0100)]
Change the way getRealMemUsage() works on Linux (using statm)
If you want the old (expensive) way, use getSpecialMemUsage()
getSpecialMemUsage() is not included in getAllStatsMap()
Also, implement a getrusage() based getRealMemUsage() for non-Linux systems.
bert hubert [Tue, 19 Feb 2019 22:37:30 +0000 (23:37 +0100)]
our ringbuffers got fed packetcached delegation responses as 'queries for domains we were not auth for'. Fixed.
bert hubert [Tue, 19 Feb 2019 22:36:50 +0000 (23:36 +0100)]
Our ringbuffers in auth were case sensitive, leading to pages FuLl of 0x20 ModUlaTed domains
phonedph1 [Tue, 19 Feb 2019 17:24:25 +0000 (17:24 +0000)]
Add default ttl values
Pieter Lexis [Tue, 19 Feb 2019 11:18:01 +0000 (12:18 +0100)]
Don't expose version number in User-Agent header
Pieter Lexis [Tue, 19 Feb 2019 11:06:22 +0000 (12:06 +0100)]
Merge pull request #7483 from rgacogne/dnsdist-logs
dnsdist: Preserve configuration and log files in regression tests
Pieter Lexis [Tue, 19 Feb 2019 10:37:24 +0000 (11:37 +0100)]
rec: pre-calculate string for SuffixMatchNode on change
Charles-Henri Bruyand [Tue, 19 Feb 2019 10:07:55 +0000 (11:07 +0100)]
Fix missing word in pdns/recursordist/docs/lua-config/rpz.rst
Co-Authored-By: rgacogne <rgacogne@users.noreply.github.com>
Remi Gacogne [Tue, 19 Feb 2019 09:38:17 +0000 (10:38 +0100)]
Merge pull request #7485 from rgacogne/clang-static-analyzer-fixes
Fix some warning reported by Clang's static analyzer
Remi Gacogne [Tue, 19 Feb 2019 09:20:04 +0000 (10:20 +0100)]
Add more unit tests for removal from a SuffixMatchTree
Peter van Dijk [Tue, 19 Feb 2019 09:16:11 +0000 (10:16 +0100)]
Update docs/lua-records/reference/misc.rst
Co-Authored-By: pieterlexis <pieterlexis@users.noreply.github.com>
Remi Gacogne [Tue, 19 Feb 2019 08:44:24 +0000 (09:44 +0100)]
Merge pull request #7491 from klaus3000/restapi-comma-separated-masters
store masters with comma separated and without trailing space
Pieter Lexis [Wed, 13 Feb 2019 16:23:07 +0000 (17:23 +0100)]
rec_control.1: document dont-throttle commands
Pieter Lexis [Wed, 13 Feb 2019 16:06:04 +0000 (17:06 +0100)]
SuffixMatchTree: add comment on value replacement
Pieter Lexis [Wed, 13 Feb 2019 15:54:12 +0000 (16:54 +0100)]
SuffixMatchNode: implement a proper toString()
Pieter Lexis [Wed, 13 Feb 2019 15:11:28 +0000 (16:11 +0100)]
rec_control: add clear-dont-throttle-* functions
Pieter Lexis [Wed, 13 Feb 2019 15:10:56 +0000 (16:10 +0100)]
SuffixMatchTree: add remove() functions
Pieter Lexis [Wed, 13 Feb 2019 11:15:44 +0000 (12:15 +0100)]
Add rec_control setters for dont-throttle-*
Pieter Lexis [Wed, 13 Feb 2019 10:07:43 +0000 (11:07 +0100)]
rec: Add rec_control getters for dont-throttle-*
Pieter Lexis [Tue, 12 Feb 2019 14:44:44 +0000 (15:44 +0100)]
rec: Implement options to not throttle servers
Pieter Lexis [Tue, 12 Feb 2019 14:28:41 +0000 (15:28 +0100)]
sholder.hh: pragma once
Remi Gacogne [Mon, 18 Feb 2019 15:16:04 +0000 (16:16 +0100)]
auth: Catch exception when parsing a zone's SOA in getUnfreshSlaveInfos()
Pieter Lexis [Mon, 18 Feb 2019 12:29:52 +0000 (13:29 +0100)]
Lua: expose `dns_random` as `pdnsrandom`
Fixes the usecase in #6853
Klaus Darilion [Mon, 18 Feb 2019 10:42:16 +0000 (10:42 +0000)]
store masters with comma separated and without trailing space
Pieter Lexis [Mon, 18 Feb 2019 10:20:02 +0000 (11:20 +0100)]
LUA records: set User-Agent string
Closes #7393
Otto Moerbeek [Mon, 18 Feb 2019 10:11:34 +0000 (11:11 +0100)]
Replace almost all occurences of random() by dns_random().
Exceptions are the ones in misc.cc, because they introduce a
dependency to libsodium and/or librypto, which is not wanted in
dnsdist.
The calls in misc,.cc are not security-sensitive so it is not a big
deal to use a deterministic PRNG there. Also, improve Utility::srandom()
a bit and call it in the recursor.
Pieter Lexis [Mon, 18 Feb 2019 09:54:30 +0000 (10:54 +0100)]
minicurl: add parameter to set useragent
Remi Gacogne [Mon, 18 Feb 2019 08:51:16 +0000 (09:51 +0100)]
Merge pull request #7488 from zeha/6114-stoi
API: improve handling of out of range modified_at value
Chris Hofstaedtler [Fri, 15 Feb 2019 20:46:59 +0000 (21:46 +0100)]
API: improve handling of out of range modified_at value
Fixes #6114.
Peter van Dijk [Fri, 15 Feb 2019 16:30:32 +0000 (17:30 +0100)]
Merge pull request #7487 from pieterlexis/dnsdist-DoT-autoconf
dnsdist: don't test or show unneeded TLS libs
Pieter Lexis [Fri, 15 Feb 2019 14:18:45 +0000 (15:18 +0100)]
dnsdist: don't test or show unneeded TLS libs
Remi Gacogne [Fri, 15 Feb 2019 12:18:59 +0000 (13:18 +0100)]
rec: Wrap FILE* in smart pointers
Remi Gacogne [Fri, 15 Feb 2019 12:17:55 +0000 (13:17 +0100)]
rec: Set haveEDNS only once
Remi Gacogne [Fri, 15 Feb 2019 12:16:51 +0000 (13:16 +0100)]
dnsdist: Fix use-after-free on DoT initialization failure
Remi Gacogne [Fri, 15 Feb 2019 11:05:22 +0000 (14:05 +0300)]
Update pdns/dnsdist.cc
match on any rcode with option set
Co-Authored-By: alenichev <mitya@rockers.su>
Otto Moerbeek [Thu, 14 Feb 2019 15:50:29 +0000 (16:50 +0100)]
Add back call to srandom() in common startup. srandom() is still used
and needs seeding (even if the seeding itself is predicable)
Otto Moerbeek [Thu, 14 Feb 2019 15:15:03 +0000 (16:15 +0100)]
Move from random() to dns_random()
An alternative would be to make sure srandom() is always called.
But since dns_random() has the nice uniform upperbound API, I have
chosen to use that one.
Otto Moerbeek [Thu, 14 Feb 2019 15:10:00 +0000 (16:10 +0100)]
Use dns_random() for generating the id of the notify message.
This does introduce a (conditional) dependency on libsodium.
Dmitry Alenichev [Thu, 14 Feb 2019 15:02:49 +0000 (18:02 +0300)]
make passing empty response optional
Remi Gacogne [Thu, 14 Feb 2019 13:28:37 +0000 (14:28 +0100)]
Merge pull request #7482 from hnsk/fix-pdnsutil-add-record-output-order
pdnsutil: Fix output order of pdnsutil add-record
Remi Gacogne [Thu, 14 Feb 2019 13:28:01 +0000 (14:28 +0100)]
Merge pull request #7352 from Habbie/packet-too-big
respect packet size limits, even with ECS and TSIG
Pieter Lexis [Thu, 14 Feb 2019 11:33:37 +0000 (12:33 +0100)]
Hook up the loglevel to the ixfrdist webserver
Remi Gacogne [Thu, 14 Feb 2019 10:55:47 +0000 (11:55 +0100)]
dnsdist: Preserve configuration and log files in regression tests
Pieter Lexis [Thu, 14 Feb 2019 10:46:38 +0000 (11:46 +0100)]
Update webserver-loglevel docs
Pieter Lexis [Thu, 14 Feb 2019 10:43:14 +0000 (11:43 +0100)]
Webserver: remove hooked brackets from log line
Pieter Lexis [Thu, 14 Feb 2019 10:42:50 +0000 (11:42 +0100)]
Webserver: add log{Request,Response} functions and use them
Pieter Lexis [Thu, 14 Feb 2019 08:54:30 +0000 (09:54 +0100)]
Merge remote-tracking branch 'origin/master' into webserver-logging
Remi Gacogne [Wed, 13 Feb 2019 15:04:57 +0000 (16:04 +0100)]
rec: Add a small regression test for 'max-cache-bogus-ttl'
Hannu Ylitalo [Wed, 13 Feb 2019 11:47:55 +0000 (13:47 +0200)]
pdnsutil: Fix output order of pdnsutil add-record
There was also unnecessary whitespace at the end of the line which was
removed. Since it only affected the same line it's included in this single
commit.
Remi Gacogne [Tue, 12 Feb 2019 16:15:30 +0000 (17:15 +0100)]
Merge pull request #7451 from rgacogne/systemd-deps
Make sure that the systemd binaries are available during the build
Remi Gacogne [Tue, 12 Feb 2019 15:35:24 +0000 (16:35 +0100)]
Merge pull request #7459 from mind04/dotstrip
auth: fix dot stripping in setContent()
Remi Gacogne [Tue, 12 Feb 2019 15:32:55 +0000 (16:32 +0100)]
Merge pull request #7477 from Habbie/resolver-lmdb
also use dnsmasq during lmdb testing
bert hubert [Tue, 12 Feb 2019 14:25:00 +0000 (15:25 +0100)]
Merge pull request #7463 from zeha/auth-api-validate
Auth. API: improve RRset validation
Otto Moerbeek [Tue, 12 Feb 2019 13:06:52 +0000 (14:06 +0100)]
Utility::random() and srandom() is not used anymore.
phonedph1 [Mon, 11 Feb 2019 15:57:29 +0000 (15:57 +0000)]
Document addRecord
Peter van Dijk [Mon, 11 Feb 2019 15:54:38 +0000 (16:54 +0100)]
also use dnsmasq during lmdb testing
Remi Gacogne [Tue, 5 Feb 2019 15:53:12 +0000 (16:53 +0100)]
rec: Add a new 'max-cache-bogus-ttl' option
Remi Gacogne [Mon, 11 Feb 2019 15:16:29 +0000 (16:16 +0100)]
rec: Add an option to not override custom RPZ types with the default policy
Otto Moerbeek [Mon, 11 Feb 2019 14:30:05 +0000 (15:30 +0100)]
Merge pull request #7475 from omoerbeek/mydns-no-infinite-loop
Avoid infinite loop in mydnsbackend.
Otto Moerbeek [Mon, 11 Feb 2019 13:15:30 +0000 (14:15 +0100)]
Avoid infinite loop in mydnsbackend.
bert hubert [Mon, 11 Feb 2019 11:47:25 +0000 (12:47 +0100)]
Merge pull request #7472 from mind04/compress
Do not compress the root
bert hubert [Mon, 11 Feb 2019 11:46:38 +0000 (12:46 +0100)]
Merge pull request #7470 from mind04/lmdb-missing
auth: lmdb-backend avoid duplicate NSEC3 records in presigned zones
Remi Gacogne [Mon, 11 Feb 2019 09:16:35 +0000 (10:16 +0100)]
Merge pull request #7142 from 1848/checkinterval
dnsdist: Add option to set interval between health checks
Remi Gacogne [Mon, 11 Feb 2019 09:11:07 +0000 (10:11 +0100)]
Merge pull request #7467 from Habbie/pdnsutil-compare
pdnsutil: fix signed/unsigned comparison, closes #7465
Kees Monshouwer [Sun, 10 Feb 2019 22:25:49 +0000 (23:25 +0100)]
Do not compress the root
Peter van Dijk [Sat, 9 Feb 2019 16:19:33 +0000 (17:19 +0100)]
Merge pull request #7432 from mikedamm/master
Clarify documentation to reflect actual behavior of includeDirectory
Kees Monshouwer [Sun, 27 Jan 2019 21:36:00 +0000 (22:36 +0100)]
auth: lmdb-backend avoid duplicate NSEC3 records in presigned zones
Peter van Dijk [Fri, 8 Feb 2019 17:33:03 +0000 (18:33 +0100)]
pdnsutil: fix signed/unsigned comparison, closes #7465
aerique [Fri, 8 Feb 2019 14:29:40 +0000 (15:29 +0100)]
Merge pull request #7421 from aerique/feature/support-for-github-access-tokens
Hack in support for GitHub access tokens.
Peter van Dijk [Fri, 8 Feb 2019 12:57:31 +0000 (13:57 +0100)]
Merge pull request #7464 from robinmulder/default-webserver-port
Fix default webserver port in documentation
Robin Mulder [Fri, 8 Feb 2019 12:52:23 +0000 (13:52 +0100)]
Fix default webserver port in documentation
Chris Hofstaedtler [Fri, 8 Feb 2019 11:24:59 +0000 (12:24 +0100)]
Rename type to object_type