]>
granicus.if.org Git - pdns/log
bert hubert [Tue, 8 Jan 2019 20:31:55 +0000 (21:31 +0100)]
Fix attempt to restrict/speed-up additional processing to auth zone
When doing additional processing, an attempt is made to restrict the lookup
to the zone we are answering from. Sadly, we use the domain_id of an
optional getSOA lookup, a lookup that frequently does not happen.
Fixing this shaves 20-40 microseconds from a referral when serving the root.
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 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
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.
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
Otto Moerbeek [Thu, 3 Jan 2019 16:00:05 +0000 (17:00 +0100)]
Merge remote-tracking branch 'origin/master' into setbufsize
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).
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 [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
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
bert hubert [Wed, 19 Dec 2018 09:08:39 +0000 (10:08 +0100)]
prevent leak of file descriptor if running out of ports for incoming AXFR
Remi Gacogne [Tue, 18 Dec 2018 09:44:52 +0000 (10:44 +0100)]
Merge pull request #7247 from mnordhoff/pdnsutil-2018-11-30
pdnsutil documentation ECC algorithm updates
Remi Gacogne [Tue, 18 Dec 2018 09:41:31 +0000 (10:41 +0100)]
Merge pull request #7283 from rgacogne/fix-version-strings
Add missing insertion operators for libcrypto's features
Remi Gacogne [Tue, 18 Dec 2018 09:27:24 +0000 (10:27 +0100)]
Merge pull request #7284 from rgacogne/auth-md5-sha1-signatures-cache
auth: Fallback to sha1 for the signatures cache if md5 is not available
Remi Gacogne [Tue, 18 Dec 2018 09:07:51 +0000 (10:07 +0100)]
dnsscope: Fix boost's version detection, build with histograms
Remi Gacogne [Tue, 18 Dec 2018 08:47:44 +0000 (09:47 +0100)]
Merge pull request #7290 from chbruyand/rec-log-levels
rec: reduce log message urgency of non pertinent errors
Charles-Henri Bruyand [Mon, 17 Dec 2018 17:44:03 +0000 (18:44 +0100)]
rec: reduce log message urgency of non pertinent errors
Remi Gacogne [Thu, 13 Dec 2018 14:49:58 +0000 (15:49 +0100)]
auth: Fallback to sha1 for the signatures cache if md5 is not available
Remi Gacogne [Mon, 17 Dec 2018 13:12:39 +0000 (14:12 +0100)]
Merge pull request #7287 from rubenk/fix-typo-in-help-text
recursor: Fix typo in help text of signature-inception-skew option
Ruben Kerkhof [Mon, 17 Dec 2018 11:55:57 +0000 (12:55 +0100)]
Fix a few off-by-one errors
Ruben Kerkhof [Mon, 17 Dec 2018 11:47:46 +0000 (12:47 +0100)]
recursor: Fix typo in help text of signature-inception-skew option
Chris Boot [Sun, 16 Dec 2018 14:18:19 +0000 (14:18 +0000)]
Swagger: fix Error object definition
This corrects:
- a typo of the `description` key
- misuse of the `required` key for the `error` parameter
Chris Boot [Sun, 16 Dec 2018 14:12:54 +0000 (14:12 +0000)]
Swagger: fix definition for putTSIGKey operation
`properties` is not valid within the `parameters` specification; it
looks like it should be `schema` instead.
Remi Gacogne [Fri, 14 Dec 2018 14:15:28 +0000 (15:15 +0100)]
Merge pull request #7281 from rgacogne/auth-fix-max-signature-cache-entries-doc
auth: Fix the default value of max-signature-cache-entries in the doc
aerique [Fri, 14 Dec 2018 11:49:46 +0000 (12:49 +0100)]
Merge pull request #7259 from aerique/feature/4.2.x-changelog
* Add 4.2.0 changelog,
* Update secpoll for auth-4.2.0-alpha1.
Remi Gacogne [Thu, 13 Dec 2018 15:42:01 +0000 (16:42 +0100)]
Add missing insertion operators for libcrypto's features
Remi Gacogne [Thu, 13 Dec 2018 11:32:31 +0000 (12:32 +0100)]
auth: Fix the default value of max-signature-cache-entries in the doc
Remi Gacogne [Thu, 13 Dec 2018 09:12:45 +0000 (10:12 +0100)]
Merge pull request #7278 from rgacogne/auth-multiple-cnames-rrset
auth: Prevent more than one CNAME/SOA record in the same RRset
Remi Gacogne [Wed, 12 Dec 2018 15:33:21 +0000 (16:33 +0100)]
auth: Add a whitespace before the last type and '}'
Remi Gacogne [Wed, 12 Dec 2018 13:38:07 +0000 (14:38 +0100)]
auth: Prevent more than one CNAME/SOA record in the same RRset
Remi Gacogne [Wed, 12 Dec 2018 13:35:32 +0000 (14:35 +0100)]
auth: Add an API test for multiple CNAME records in the same RRset
Remi Gacogne [Tue, 11 Dec 2018 10:19:27 +0000 (11:19 +0100)]
Merge pull request #7271 from rgacogne/dnsdist-dynblock-timing
dnsdist: Remove a possible timing issue in the DynBlock unit tests
Remi Gacogne [Tue, 11 Dec 2018 08:56:05 +0000 (09:56 +0100)]
Merge pull request #7272 from rgacogne/xfrblob-assign-range
Ensure a valid range to string::assign() in PacketReader::xfrBlob()
Remi Gacogne [Mon, 10 Dec 2018 17:37:24 +0000 (18:37 +0100)]
dnsdist: Add 'future' to the regression tests requirements
Remi Gacogne [Mon, 10 Dec 2018 11:02:38 +0000 (12:02 +0100)]
dnsdist: Remove a possible timing issue in the DynBlock unit tests
Remi Gacogne [Fri, 7 Dec 2018 10:13:17 +0000 (11:13 +0100)]
Ensure a valid range to string::assign() in PacketReader::xfrBlob()
In some cases we could have called:
std::string::assign(InputIterator first, InputIterator last)
with last < first, which is UB:
if the range specified by [first,last) is not valid, it causes undefined behavior
libstdc++ handles that gracefully by throwing an out-of-range exception
but libc++ tries to allocate a negative value of bytes, which in turns
triggers a request for a very large memory allocation, which fails.
Remi Gacogne [Mon, 10 Dec 2018 17:29:34 +0000 (18:29 +0100)]
Merge pull request #7274 from rgacogne/dnscrypt-dnspython-1.16
dnsdist: Require dnspython < 1.16.0 since it broke binary in TXT
Remi Gacogne [Mon, 10 Dec 2018 16:16:55 +0000 (17:16 +0100)]
dnsdist: Update DNSCrypt's regression tests for Python 3
Remi Gacogne [Mon, 10 Dec 2018 16:18:20 +0000 (17:18 +0100)]
dnsdist: Require dnspython < 1.16.0 since it broke binary in TXT
Looks like https://github.com/rthalley/dnspython/issues/321
Peter van Dijk [Fri, 7 Dec 2018 23:13:38 +0000 (00:13 +0100)]
Merge pull request #7268 from Habbie/gsql-4.1-4.2
docs: link to 4.1 gsql schemas
Peter van Dijk [Fri, 7 Dec 2018 11:12:15 +0000 (12:12 +0100)]
Merge pull request #7261 from zeha/debian-no-ucf
builder-support: finish up ucf removal for sql backends
Remi Gacogne [Fri, 7 Dec 2018 08:53:36 +0000 (09:53 +0100)]
Merge pull request #7267 from rgacogne/dnsdist-ebpf-centos76
dnsdist: Check that SO_ATTACH_BPF is defined before enabling eBPF
Peter van Dijk [Thu, 6 Dec 2018 16:34:53 +0000 (17:34 +0100)]
docs: link to 4.1 gsql schemas
Remi Gacogne [Thu, 6 Dec 2018 14:54:44 +0000 (15:54 +0100)]
dnsdist: Check that SO_ATTACH_BPF is defined before enabling eBPF
It turns out that RH decided to backport only the tracing subsystem
part of eBPF as a "Technology Preview" in the RHEL / Centos 7.6
kernel, so most of the eBPF stuff is present but not what is needed
to use the networking parts.
Peter van Dijk [Thu, 6 Dec 2018 14:17:21 +0000 (15:17 +0100)]
Merge pull request #7266 from Habbie/trusty-luarec
auth ubuntu trusty: enable LUA records
Peter van Dijk [Thu, 6 Dec 2018 12:20:06 +0000 (13:20 +0100)]
auth ubuntu trusty: enable LUA records
Peter van Dijk [Thu, 6 Dec 2018 12:15:15 +0000 (13:15 +0100)]
Merge pull request #7265 from chbruyand/auth-enable-lua-records
auth: make --enable-lua-records switch plural
Charles-Henri Bruyand [Thu, 6 Dec 2018 11:53:31 +0000 (12:53 +0100)]
auth: make --enable-lua-records switch plural
Chris Hofstaedtler [Wed, 5 Dec 2018 21:13:41 +0000 (22:13 +0100)]
builder-support: finish up ucf removal for sql backends
Remi Gacogne [Thu, 6 Dec 2018 08:18:10 +0000 (09:18 +0100)]
Merge pull request #7263 from zeha/readme-mac-gpgsql
README.md: fix typo in macOS instructions