]>
granicus.if.org Git - pdns/log
bert hubert [Wed, 10 Oct 2018 07:55:20 +0000 (09:55 +0200)]
remove goto, move UDP and encryption code to separate function with 12 arguments
bert hubert [Mon, 8 Oct 2018 15:24:08 +0000 (17:24 +0200)]
document variable-responses counter + SNMP it up
bert hubert [Mon, 8 Oct 2018 15:09:12 +0000 (17:09 +0200)]
comment zeroScope, plus make sure we don't pass subnet to packetcache for zeroScope
bert hubert [Mon, 8 Oct 2018 15:01:20 +0000 (17:01 +0200)]
robustify and comment detection of /0 answers
bert hubert [Mon, 8 Oct 2018 09:08:20 +0000 (11:08 +0200)]
make "zeroScope" ECS be sensitive to variableAnswer from Lua as well
bert hubert [Mon, 8 Oct 2018 09:05:19 +0000 (11:05 +0200)]
fix shadowed variable, move to d_ecsFound, fix indentation
bert hubert [Sun, 7 Oct 2018 14:49:10 +0000 (16:49 +0200)]
add variable-responses metric to pdns_recursor
bert hubert [Sun, 7 Oct 2018 14:46:30 +0000 (16:46 +0200)]
we shadowed the length variable on a successful cache hit that was
ECS-invariable
bert hubert [Sun, 7 Oct 2018 14:45:56 +0000 (16:45 +0200)]
time sometimes goes backwards (...), do not penalize our QPS trackers
when this happens
bert hubert [Fri, 5 Oct 2018 14:53:36 +0000 (16:53 +0200)]
also make dnsdist use this
bert hubert [Fri, 5 Oct 2018 13:25:59 +0000 (15:25 +0200)]
emit a /0 ECS response on non-variable answers when using use-incoming-ecs, for the eventual benefit of dnsdist
Remi Gacogne [Wed, 9 Jan 2019 16:46:43 +0000 (17:46 +0100)]
Merge pull request #7356 from rgacogne/rec-fix-ecs-reg
rec: Fix an invalid use if cls._PREFIX in the ECS regression tests
Otto Moerbeek [Wed, 9 Jan 2019 14:55:58 +0000 (15:55 +0100)]
Merge pull request #7293 from alebeta90/patch-1
pdns_control notify * also notify slaves zones
Otto Moerbeek [Wed, 9 Jan 2019 11:41:30 +0000 (12:41 +0100)]
Merge remote-tracking branch 'origin/master' into after-notify-commit
Pieter Lexis [Wed, 9 Jan 2019 12:31:22 +0000 (13:31 +0100)]
Merge pull request #7321 from cmouse/patch-1
dnsupdate: Update documentation to indicate that both source IP and T…
Otto Moerbeek [Wed, 9 Jan 2019 11:35:31 +0000 (12:35 +0100)]
Merge remote-tracking branch 'origin/master' into after-notify-commit
Otto Moerbeek [Wed, 9 Jan 2019 09:33:26 +0000 (10:33 +0100)]
Use symbolic names for enum values instead of hard-coded ones.
Pieter Lexis [Wed, 9 Jan 2019 11:01:41 +0000 (12:01 +0100)]
Merge pull request #7260 from spirillen/patch-1
Optimizing and more descriptive rpzMaster ip array
Pieter Lexis [Wed, 9 Jan 2019 11:00:56 +0000 (12:00 +0100)]
Merge pull request #7269 from spirillen/patch-3
Remove some misunderstanding of adding several masters in slave zones
Pieter Lexis [Wed, 9 Jan 2019 11:00:27 +0000 (12:00 +0100)]
Merge pull request #7282 from spirillen/patch-4
add +nocookie to the dig examples
Pieter Lexis [Wed, 9 Jan 2019 10:59:59 +0000 (11:59 +0100)]
Merge pull request #7289 from chbruyand/static-cppcheck
Fix minor warnings reported by the compiler or cppcheck
Pieter Lexis [Wed, 9 Jan 2019 10:59:27 +0000 (11:59 +0100)]
Merge pull request #7306 from pieterlexis/hello-2019
Hello 2019!
Pieter Lexis [Wed, 9 Jan 2019 10:55:11 +0000 (11:55 +0100)]
Merge pull request #7342 from jsoref/ghost-pdns-mysql
removing ghost
Pieter Lexis [Wed, 9 Jan 2019 10:54:51 +0000 (11:54 +0100)]
Merge pull request #7348 from ahupowerdns/zero-qtypestats
Zero out qtype response numbers in our statistics
Otto Moerbeek [Wed, 9 Jan 2019 09:12:14 +0000 (10:12 +0100)]
Merge pull request #7244 from cmouse/notify
pdns_notify: Support hostname for notification
Remi Gacogne [Wed, 9 Jan 2019 08:59:44 +0000 (09:59 +0100)]
Merge pull request #7345 from rgacogne/nsec-bitmaps
Use a bitset for NSEC(3) records with lots of types
Remi Gacogne [Tue, 8 Jan 2019 16:00:17 +0000 (17:00 +0100)]
rec: Fix an invalid use if cls._PREFIX in the ECS regression tests
bert hubert [Tue, 8 Jan 2019 14:03:24 +0000 (15:03 +0100)]
Merge pull request #7344 from Habbie/dlog-simplify
simplify log message to avoid compile error
Otto Moerbeek [Tue, 8 Jan 2019 13:56:35 +0000 (14:56 +0100)]
Merge pull request #7349 from omoerbeek/kskrolldocs
Tweaks to the rollover docs: make a few things explicit.
Otto Moerbeek [Tue, 8 Jan 2019 13:54:38 +0000 (14:54 +0100)]
Merge branch 'kskrolldocs' of github.com:omoerbeek/pdns into kskrolldocs
Otto Moerbeek [Tue, 8 Jan 2019 13:22:25 +0000 (14:22 +0100)]
Tweaks to the rollover docs: make a few things explicit.
Otto Moerbeek [Tue, 8 Jan 2019 13:22:25 +0000 (14:22 +0100)]
Tweaks to the rollover docs: make a few things explicit.
bert hubert [Tue, 8 Jan 2019 13:17:40 +0000 (14:17 +0100)]
Zero out qtype response numbers in our statistics
Although you might think otherwise, and I frequently do, atomic counters do not get zero-initialized.
With this PR, we do this by hand. This makes valgrind usable again on auth.
bert hubert [Tue, 8 Jan 2019 10:07:52 +0000 (11:07 +0100)]
Merge pull request #7341 from ahupowerdns/ipv4-any-check
Fix replying from ANY address for non-standard port
Remi Gacogne [Tue, 8 Jan 2019 09:08:53 +0000 (10:08 +0100)]
Merge pull request #7138 from rgacogne/dnsdist-libcap
dnsdist/rec: Drop remaining capabilities after startup
Remi Gacogne [Tue, 8 Jan 2019 09:07:35 +0000 (10:07 +0100)]
Merge pull request #7307 from pieterlexis/rec-lower-udp-trunc
rec: Lower default EDNS0 buffersizes to 1232 bytes
Remi Gacogne [Tue, 8 Jan 2019 08:50:23 +0000 (09:50 +0100)]
Merge pull request #7329 from rgacogne/ixfrdist-ubsan
ixfrdist: Enable UndefinedBehaviorSanitizer in Travis CI
Remi Gacogne [Tue, 8 Jan 2019 08:49:52 +0000 (09:49 +0100)]
Merge pull request #7330 from rgacogne/dnsdist-doc-pools
dnsdist: Remove rmPool() from the doc and add showPools() to it
Peter van Dijk [Mon, 7 Jan 2019 17:36:51 +0000 (18:36 +0100)]
simplify log message to avoid compile error
Josh Soref [Mon, 7 Jan 2019 16:11:50 +0000 (11:11 -0500)]
removing ghost
bert hubert [Mon, 7 Jan 2019 14:28:37 +0000 (15:28 +0100)]
Fix replying from ANY address for non-standard port
Previously, we would not recognize 0.0.0.0:5300 or even 0.0.0.0:53 as the 'any' address, leading us to answer from the wrong address.
Charles-Henri Bruyand [Mon, 7 Jan 2019 12:31:43 +0000 (13:31 +0100)]
Merge branch 'master' into static-cppcheck
Otto Moerbeek [Mon, 7 Jan 2019 10:25:40 +0000 (11:25 +0100)]
Merge pull request #7331 from omoerbeek/usemmapforstack
Use mmap for stack allocation, adding the MAP_STACK flag on OpenBSD.
Otto Moerbeek [Mon, 7 Jan 2019 10:24:56 +0000 (11:24 +0100)]
Merge pull request #7337 from omoerbeek/better-test-mtasker-maybe-unitialized
Fix maybe-unitialized warning while improving the test to use the ret…
Remi Gacogne [Mon, 7 Jan 2019 08:51:01 +0000 (09:51 +0100)]
Merge pull request #7327 from rgacogne/rec-race-sig-syncres-tests
rec: Fix a possible timing issue w/ RRSIGs in the SyncRes unit tests
Otto Moerbeek [Mon, 7 Jan 2019 08:42:55 +0000 (09:42 +0100)]
Fix maybe-unitialized warning while improving the test to use the return value
of waitEvent.
Beter fix than the one proposed in #6675
Otto Moerbeek [Mon, 7 Jan 2019 08:15:08 +0000 (09:15 +0100)]
Merge branch 'usemmapforstack' of github.com:omoerbeek/pdns into usemmapforstack
Otto Moerbeek [Fri, 4 Jan 2019 13:17:57 +0000 (14:17 +0100)]
Merge branch 'usemmapforstack' of github.com:omoerbeek/pdns into usemmapforstack
Remi Gacogne [Fri, 4 Jan 2019 13:21:12 +0000 (14:21 +0100)]
dnsdist: Remove rmPool() from the doc and add showPools() to it
Otto Moerbeek [Fri, 4 Jan 2019 13:17:57 +0000 (14:17 +0100)]
Merge branch 'usemmapforstack' of github.com:omoerbeek/pdns into usemmapforstack
Otto Moerbeek [Fri, 4 Jan 2019 12:09:08 +0000 (13:09 +0100)]
Use mmap for stack allocation, adding the MAP_STACK flag on OpenBSD.
On a userland to kernel transition OpenBSD checks if the stack
pointer points to a piece of mem marked MAP_STACK to prevent a large
class of exploits. Since we setup out own stack we must use mmap
on OpenBSD, and we might do that on other systems as well.
Remi Gacogne [Fri, 4 Jan 2019 13:09:22 +0000 (14:09 +0100)]
Merge pull request #7311 from omoerbeek/setbufsize
Rec: Set socket buf size for control socket.
Remi Gacogne [Fri, 4 Jan 2019 13:02:56 +0000 (14:02 +0100)]
ixfrdist: Enable UndefinedBehaviorSanitizer in CI
We need a suppression because of a bug fixed in Boost 1.57.0, see:
https://github.com/boostorg/any/commit/
c92ab03ab35775b6aab30f6cdc3d95b7dd8fc5c6
Otto Moerbeek [Fri, 4 Jan 2019 12:09:08 +0000 (13:09 +0100)]
Use mmap for stack allocation, adding the MAP_STACK flag on OpenBSD.
On a userland to kernel transition OpenBSD checks if the stack
pointer points to a piece of mem marked MAP_STACK to prevent a large
class of exploits. Since we setup out own stack we must use mmap
on OpenBSD, and we might do that on other sytems as well.
Otto Moerbeek [Fri, 4 Jan 2019 11:02:35 +0000 (12:02 +0100)]
Merge remote-tracking branch 'origin/master' into setbufsize
Otto Moerbeek [Fri, 4 Jan 2019 10:49:23 +0000 (11:49 +0100)]
Merge pull request #7316 from omoerbeek/loggertemplate
Use a template to log basic types
Otto Moerbeek [Fri, 4 Jan 2019 10:19:00 +0000 (11:19 +0100)]
Failure to raise socket buf size is not fatal
Otto Moerbeek [Fri, 4 Jan 2019 10:15:24 +0000 (11:15 +0100)]
Merge remote-tracking branch 'origin/master' into setbufsize
Remi Gacogne [Fri, 4 Jan 2019 08:47:49 +0000 (09:47 +0100)]
Merge pull request #7308 from pieterlexis/fix-weird-trying-error
Improve error on sending non-TC response that should be TC
Remi Gacogne [Fri, 4 Jan 2019 08:40:18 +0000 (09:40 +0100)]
rec: Fix a possible timing issue w/ RRSIGs in the SyncRes unit tests
Aki Tuomi [Thu, 3 Jan 2019 16:09:21 +0000 (18:09 +0200)]
pdns_notify: Update usage
Aki Tuomi [Thu, 3 Jan 2019 16:09:14 +0000 (18:09 +0200)]
pdns_notify: Update manpage
Otto Moerbeek [Thu, 3 Jan 2019 16:00:05 +0000 (17:00 +0100)]
Merge remote-tracking branch 'origin/master' into setbufsize
Aki Tuomi [Fri, 30 Nov 2018 11:34:37 +0000 (13:34 +0200)]
Update supermaster-signed test expected_result
Need to adjust for changed logging
Aki Tuomi [Fri, 30 Nov 2018 18:22:30 +0000 (20:22 +0200)]
pdns_notify: Fix logging
Aki Tuomi [Fri, 30 Nov 2018 11:55:32 +0000 (13:55 +0200)]
pdns_notify: Implement 60 second timeout
Aki Tuomi [Fri, 30 Nov 2018 09:49:14 +0000 (11:49 +0200)]
pdns_notify: Support hostname for notification
When hostname is provided, attempts to send NOTIFY to all
addresses associated with the given hostname.
Aki Tuomi [Thu, 3 Jan 2019 15:07:32 +0000 (17:07 +0200)]
dnsupdate: Update documentation to indicate that both source IP and TSIG key name checks are skipped
Otto Moerbeek [Thu, 3 Jan 2019 14:42:15 +0000 (15:42 +0100)]
Followup: Only set buffers size if increasing it.
Cannot call functions in pdns_recursor.cc because they use g_log
which is not available in rec_control.
Pieter Lexis [Thu, 3 Jan 2019 13:00:35 +0000 (14:00 +0100)]
Merge pull request #7275 from rgacogne/dnscrypt-python3
dnsdist: Update DNSCrypt's regression tests for Python 3
Pieter Lexis [Thu, 3 Jan 2019 12:59:33 +0000 (13:59 +0100)]
Merge pull request #7249 from Habbie/gtar
try really hard to use gnu tar
Pieter Lexis [Thu, 3 Jan 2019 12:57:57 +0000 (13:57 +0100)]
Merge pull request #7286 from bootc/fix_openapi
Fix a couple of Swagger / OpenAPI issues
Pieter Lexis [Thu, 3 Jan 2019 12:57:38 +0000 (13:57 +0100)]
Merge pull request #7288 from rubenk/snprintf-off-by-one
Fix a few off-by-one errors
Pieter Lexis [Thu, 3 Jan 2019 12:57:11 +0000 (13:57 +0100)]
Merge pull request #7291 from rgacogne/auth-dnsscope-histogram-detection
dnsscope: Fix boost's version detection, build with histograms
Pieter Lexis [Thu, 3 Jan 2019 12:45:03 +0000 (13:45 +0100)]
Merge pull request #7298 from rgacogne/rec-dnssec-stats
rec: Add counters for incoming AD and CD queries
Pieter Lexis [Thu, 3 Jan 2019 12:43:51 +0000 (13:43 +0100)]
Merge pull request #7299 from rgacogne/rec-load-suffix-list
rec: Add support for loading the Public Suffix List from a file
Pieter Lexis [Thu, 3 Jan 2019 12:39:14 +0000 (13:39 +0100)]
Merge pull request #7300 from rgacogne/rec-lua-hooks-tests
rec: Add basic regression tests for most of the Lua hooks
Pieter Lexis [Thu, 3 Jan 2019 12:30:53 +0000 (13:30 +0100)]
Merge pull request #7304 from rgacogne/rec-rootnxtrust-regtests
rec: Add some basic regression tests for the root-nx-trust feature
Pieter Lexis [Thu, 3 Jan 2019 12:28:59 +0000 (13:28 +0100)]
Merge remote-tracking branch 'origin/master' into rec-lower-udp-trunc
Pieter Lexis [Thu, 3 Jan 2019 12:27:21 +0000 (13:27 +0100)]
Merge remote-tracking branch 'origin/master' into fix-weird-trying-error
Otto Moerbeek [Thu, 3 Jan 2019 12:00:37 +0000 (13:00 +0100)]
Merge remote-tracking branch 'origin/master' into loggertemplate
Pieter Lexis [Thu, 3 Jan 2019 11:59:07 +0000 (12:59 +0100)]
Merge pull request #7312 from pieterlexis/travis-rubygems-issue
Update rubygems in travis
Otto Moerbeek [Thu, 3 Jan 2019 10:59:04 +0000 (11:59 +0100)]
Fix logger time_t issues on at least OpenBSD.
Use a template to log trivial types. This way the compiler figures
out what logger methods oo generate.
Pieter Lexis [Thu, 3 Jan 2019 10:08:32 +0000 (11:08 +0100)]
Update rubygems in travis (for bundler)
Otto Moerbeek [Thu, 3 Jan 2019 09:47:12 +0000 (10:47 +0100)]
Rec: Set socket buf size for control socket.
Fixes #5745 without changing settings for all processes.
Pieter Lexis [Thu, 3 Jan 2019 08:50:26 +0000 (09:50 +0100)]
Improve error on sending non-TC resp that should be TC
This should aid in debugging when this happens.
Pieter Lexis [Wed, 2 Jan 2019 13:31:20 +0000 (14:31 +0100)]
rec: Lower default EDNS0 buffersizes
This should prevent issues with networks that drop fragments, have
broken PMTU detection, etc.
This commit lowers both the udp-truncation-threshold (stub<->res) and
edns-outgoing-bufsize (rec<->auths).
Pieter Lexis [Wed, 2 Jan 2019 09:33:58 +0000 (10:33 +0100)]
Hello 2019!
Remi Gacogne [Wed, 2 Jan 2019 08:57:19 +0000 (09:57 +0100)]
Merge pull request #7227 from Annih/auth-geoip-non-zero-weight
auth: geoip - forbid 0 as weight value
Remi Gacogne [Wed, 2 Jan 2019 08:55:59 +0000 (09:55 +0100)]
Merge pull request #7295 from ton31337/feature/add_libmaxminddb-devel_dependency_for_centos
geoipbackend: Add libmaxminddb-devel dependency for CentOS
Remi Gacogne [Mon, 31 Dec 2018 16:34:10 +0000 (17:34 +0100)]
rec: Add some basic regression tests for the root-nx-trust feature
Remi Gacogne [Mon, 31 Dec 2018 10:11:02 +0000 (11:11 +0100)]
auth: Use a NSECBitmap in NSECXEntry as well
Remi Gacogne [Mon, 31 Dec 2018 09:29:12 +0000 (10:29 +0100)]
rec: Define NSECBitmap::nbTypes instead of using 65536 directly
Remi Gacogne [Wed, 26 Dec 2018 15:56:21 +0000 (16:56 +0100)]
rec: Add basic regression tests for most of the Lua hooks
Remi Gacogne [Mon, 24 Dec 2018 13:26:13 +0000 (14:26 +0100)]
rec: Add constraints while loading the Public Suffix List
Remi Gacogne [Mon, 24 Dec 2018 13:06:09 +0000 (14:06 +0100)]
rec: Add support for loading the Public Suffix List from a file
Remi Gacogne [Mon, 24 Dec 2018 09:54:17 +0000 (10:54 +0100)]
rec: Add counters for incoming AD and CD queries
Charles-Henri Bruyand [Tue, 18 Dec 2018 16:18:23 +0000 (17:18 +0100)]
Revert some changes as suggested by rgacogne
Donatas Abraitis [Thu, 20 Dec 2018 14:16:19 +0000 (16:16 +0200)]
geoipbackend: Add libmaxminddb-devel dependency for CentOS
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Remi Gacogne [Wed, 19 Dec 2018 14:09:20 +0000 (15:09 +0100)]
Merge pull request #7294 from PowerDNS/ahupowerdns-patch-tcp-close-fd
prevent leak of file descriptor if running out of ports for incoming AXFR