]>
granicus.if.org Git - pdns/log
bert hubert [Wed, 2 Mar 2016 14:00:15 +0000 (15:00 +0100)]
silence some common errors with log-common-errors=off
bert hubert [Wed, 2 Mar 2016 13:59:24 +0000 (14:59 +0100)]
make it explicit that servfail packets get stored for servfail-packetcache-ttl seconds
bert hubert [Wed, 2 Mar 2016 13:58:09 +0000 (14:58 +0100)]
please don't just replace atoi with pdns_stou - it does something different
bert hubert [Wed, 2 Mar 2016 13:49:06 +0000 (14:49 +0100)]
Merge pull request #3494 from ahupowerdns/various-fixes
Various fixes: ignore unrequested EDNS Subnet, count DNSSEC queries, add recursor packet cache dumping & make it sequential in order
bert hubert [Wed, 2 Mar 2016 12:03:53 +0000 (13:03 +0100)]
hook up recursor packet cache dumping to rec_control dump-cache
bert hubert [Wed, 2 Mar 2016 12:02:58 +0000 (13:02 +0100)]
add a 'wants DNSSEC' metric to recursor
bert hubert [Wed, 2 Mar 2016 12:01:30 +0000 (13:01 +0100)]
teach recursor packet cache to dump itself too for dump-cache
bert hubert [Wed, 2 Mar 2016 12:00:19 +0000 (13:00 +0100)]
if you send us EDNS subnet information we did not ask for, ignore it. Increases cache hitrate for a popular CDN.
bert hubert [Wed, 2 Mar 2016 11:59:37 +0000 (12:59 +0100)]
dump recursor cache in sequential ordering, which allows us to debug our deletion queue
bert hubert [Wed, 2 Mar 2016 10:26:48 +0000 (11:26 +0100)]
Merge pull request #3493 from celevra/patch-1
Update README.md
bert hubert [Wed, 2 Mar 2016 10:24:38 +0000 (11:24 +0100)]
Merge pull request #3491 from rgacogne/dnsdist-cache-response-crash
dnsdist: Don't parse DNS names when caching responses
celevra [Wed, 2 Mar 2016 09:26:01 +0000 (10:26 +0100)]
Update README.md
bert hubert [Tue, 1 Mar 2016 22:47:22 +0000 (23:47 +0100)]
we prevent an authoritative server to keep its nameservers alive even though they had changed the parent, but this code had a bug which set the TTL of nameserver entries to negative numbers, leading to overly frequent requerying. Closes #3489.
Remi Gacogne [Tue, 1 Mar 2016 15:47:04 +0000 (16:47 +0100)]
dnsdist: Don't parse DNS names when caching responses
Fix a crash reported by @rygl:
terminate called after throwing an instance of 'std::out_of_range'
what(): dnsname issue: Found a forward reference during label decompression
bert hubert [Mon, 29 Feb 2016 13:35:18 +0000 (14:35 +0100)]
Merge pull request #3485 from ahupowerdns/multimetrorec
expand 'carbon-server' to also support multiple , separated servers f…
bert hubert [Mon, 29 Feb 2016 13:35:12 +0000 (14:35 +0100)]
Merge pull request #3483 from ahupowerdns/ednssubnet-recursor-lua
implement exposing edns subnet in preresolve() - other hooks would re…
bert hubert [Mon, 29 Feb 2016 11:27:01 +0000 (12:27 +0100)]
improve error message on unparseable responses from backend, and also do not log about empty packets
Remi Gacogne [Mon, 29 Feb 2016 11:02:59 +0000 (12:02 +0100)]
Merge pull request #3481 from ahupowerdns/dnsdistexcept
Dnsdistexcept
bert hubert [Mon, 29 Feb 2016 10:32:00 +0000 (11:32 +0100)]
implement exposing edns subnet in preresolve() - other hooks would require some more work (they don't get EDNS anyhow)
bert hubert [Mon, 29 Feb 2016 09:50:15 +0000 (10:50 +0100)]
yes
bert hubert [Mon, 29 Feb 2016 09:45:33 +0000 (10:45 +0100)]
catch DNSName exceptions in responder thread, possibly preventing death of dnsdist
Remi Gacogne [Mon, 29 Feb 2016 08:26:16 +0000 (09:26 +0100)]
Merge pull request #3466 from janeczku/skipcache-lua-binding
dnsdist: add dq binding for skipping packet cache in LuaAction
bert hubert [Mon, 29 Feb 2016 07:25:03 +0000 (08:25 +0100)]
Merge pull request #3477 from pieterlexis/centos6-pgsql-fix
Fix pgsql backend compilation on centos 6
bert hubert [Sun, 28 Feb 2016 21:13:57 +0000 (22:13 +0100)]
Merge pull request #3478 from rubenk/fix-issue-with-older-autoconf-versions
m4_esyscmd_s only exists in Autoconf 2.64 or newer
bert hubert [Sun, 28 Feb 2016 21:13:02 +0000 (22:13 +0100)]
Merge pull request #3474 from mind04/missing
remove unnecessary include from selectmplexer.cc
bert hubert [Sun, 28 Feb 2016 21:12:28 +0000 (22:12 +0100)]
Merge pull request #3475 from mind04/el6
el6 fixes
bert hubert [Sun, 28 Feb 2016 19:07:50 +0000 (20:07 +0100)]
improve comments in recursor_cache.cc, plus improve the disabled debug logging
bert hubert [Sun, 28 Feb 2016 19:00:43 +0000 (20:00 +0100)]
Merge pull request #3476 from mind04/nit
add missing bracket in configure.ac
bert hubert [Sun, 28 Feb 2016 19:00:23 +0000 (20:00 +0100)]
Merge pull request #3479 from nlyan/mtdocs
Add some comments to our use of Boost context
bert hubert [Sun, 28 Feb 2016 19:00:14 +0000 (20:00 +0100)]
Merge pull request #3472 from nlyan/mtcleanup
Improve compatibility for old compilers & libs in MTasker
bert hubert [Sun, 28 Feb 2016 18:56:41 +0000 (19:56 +0100)]
don't store empty records in the cache if we did get RRSIGs for a record we did not accept from an authoritative server
Andrew Nelless [Sun, 28 Feb 2016 13:37:23 +0000 (13:37 +0000)]
Add some comments to our use of Boost context
Jan Broer [Sat, 27 Feb 2016 00:19:24 +0000 (01:19 +0100)]
Add Lua bindings for DNSQuestion skipcache
Ruben Kerkhof [Sun, 28 Feb 2016 12:29:58 +0000 (13:29 +0100)]
m4_esyscmd_s only exists in Autoconf 2.64 or newer
Since we like to be able to keep building on RHEL6, which
has autoconf 2.61, use the older m4_esyscmd macro and strip
the newline in the version ourself.
Resolves #3471
Fixes the following error:
$ autoreconf -vif
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
libtoolize: copying file `build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
configure.ac:3: error: possibly undefined macro: m4_esyscmd_s
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
Andrew Nelless [Sun, 28 Feb 2016 12:26:26 +0000 (12:26 +0000)]
Nit for rubenk
Pieter Lexis [Fri, 30 Oct 2015 08:28:30 +0000 (09:28 +0100)]
Fix pgsql backend compilation on centos 6
bert hubert [Sun, 28 Feb 2016 12:01:38 +0000 (13:01 +0100)]
Merge pull request #3465 from tfarina/fix-3425
add dns_toupper() helper function
Kees Monshouwer [Sun, 28 Feb 2016 11:34:52 +0000 (12:34 +0100)]
add missing bracket in configure.ac
Andrew Nelless [Sun, 28 Feb 2016 11:18:16 +0000 (11:18 +0000)]
Add context impls to EXTRA_DIST
Andrew Nelless [Sun, 28 Feb 2016 01:23:54 +0000 (01:23 +0000)]
Fix cast parsing bug with GCC 4.7.
GCC 4.7 doesn't seem to like some_cast<::type>
Andrew Nelless [Sat, 27 Feb 2016 23:20:42 +0000 (23:20 +0000)]
Disable boost.m4's BOOST_CONTEXT tests for Boost <= 1.51
Andrew Nelless [Fri, 26 Feb 2016 14:50:37 +0000 (14:50 +0000)]
Add fallback to ucontext for Boost <= 1.51
bert hubert [Sun, 28 Feb 2016 11:01:56 +0000 (12:01 +0100)]
actually test against the right shipped tld names list if curl can't be found
bert hubert [Sun, 28 Feb 2016 09:57:36 +0000 (10:57 +0100)]
Merge pull request #3473 from nlyan/gcc47
Small fix to get recursor building on GCC 4.7 again
Peter van Dijk [Sun, 28 Feb 2016 07:09:25 +0000 (08:09 +0100)]
nit, thanks @ekohl
Andrew Nelless [Sun, 28 Feb 2016 01:28:02 +0000 (01:28 +0000)]
Fix missing definition UINT16_MAX under GCC 4.7.
std::numeric_limits is used elsewhere, so I went with that.
bert hubert [Sat, 27 Feb 2016 19:44:29 +0000 (20:44 +0100)]
spruce up dnsdist built-in website with cache hitrate percentage (in text & graph)
bert hubert [Sat, 27 Feb 2016 19:38:43 +0000 (20:38 +0100)]
turns out, our delta() output added dates with # comments. Lua uses -- comments. Duh. Plus stop logging empty lines in delta()
bert hubert [Sat, 27 Feb 2016 18:35:26 +0000 (19:35 +0100)]
close #3467: dnsdist cache hits not accounted properly in latency stats. Now count as '0'.
bert hubert [Sat, 27 Feb 2016 13:01:31 +0000 (14:01 +0100)]
expand 'carbon-server' to also support multiple , separated servers for recursor. Open question: rename to carbon-servers?
Thiago Farina [Fri, 26 Feb 2016 22:47:21 +0000 (19:47 -0300)]
add dns_toupper() helper function
This patch adds a ASCII version of toupper() function, called
dns_toupper(), and use it in place of toupper().
This fixes issue #3425
bert hubert [Fri, 26 Feb 2016 20:03:39 +0000 (21:03 +0100)]
Merge pull request #3346 from rgacogne/dnsdist-reuseport
dnsdist: Add reuseport support, maxOutstanding -> 10240, document perf tuning
bert hubert [Fri, 26 Feb 2016 20:02:24 +0000 (21:02 +0100)]
Merge pull request #3461 from rgacogne/dnsdist-issue-3460
dnsdist: Fix crash when calling rmServer() with an invalid index
bert hubert [Fri, 26 Feb 2016 17:12:21 +0000 (18:12 +0100)]
in dnsdist maintenance thread we'd lock up trying to lock g_luamutex twice
Remi Gacogne [Fri, 26 Feb 2016 16:16:28 +0000 (17:16 +0100)]
dnsdist: maxOustanding defaults to 10240. Add 'tuning' to README
bert hubert [Fri, 26 Feb 2016 15:14:09 +0000 (16:14 +0100)]
fix up recuweb password popup weirdness, now give nice warning on wrong password. Still open: do we need the api-key password?
Remi Gacogne [Mon, 8 Feb 2016 11:38:59 +0000 (12:38 +0100)]
dnsdist: Add an optional reuseport param to {add,set}Local()
If set to true, this parameter sets SO_REUSEPORT on platforms
supporting for this option, allowing multiple servers to
bind to the same port.
The same parameter is also added to addDNSCryptBind().
bert hubert [Fri, 26 Feb 2016 10:36:29 +0000 (11:36 +0100)]
Merge pull request #3427 from nlyan/mtcleanup
Massage System V context switching out of MTasker
Pieter Lexis [Fri, 26 Feb 2016 10:33:45 +0000 (11:33 +0100)]
Change a <span> to a <div> for better rendering
Remi Gacogne [Fri, 26 Feb 2016 10:17:29 +0000 (11:17 +0100)]
dnsdist: Fix crash when calling rmServer() with an invalid index
Fix #3460.
bert hubert [Fri, 26 Feb 2016 09:32:34 +0000 (10:32 +0100)]
make calidns send out precisely measured cache miss rates
Remi Gacogne [Fri, 26 Feb 2016 08:06:40 +0000 (09:06 +0100)]
Merge pull request #3457 from rgacogne/dnsdist-string-only-server
dnsdist: Fix str-only server not being added to the default pool
bert hubert [Thu, 25 Feb 2016 21:23:44 +0000 (22:23 +0100)]
Merge pull request #3450 from rgacogne/dnsdist-lock-cache
dnsdist: Prevent the cache ptr from being altered under our feet
bert hubert [Thu, 25 Feb 2016 21:23:19 +0000 (22:23 +0100)]
Merge pull request #3458 from rgacogne/dnsdist-cache-tests
dnsdist: Fix cache tests. Clean tests backends.
Kees Monshouwer [Thu, 25 Feb 2016 19:29:20 +0000 (19:29 +0000)]
uninitialized variable if mysql version < 5.5
Kees Monshouwer [Thu, 25 Feb 2016 19:25:02 +0000 (19:25 +0000)]
the boost container lib was introduced in version 1.48
bert hubert [Thu, 25 Feb 2016 18:52:56 +0000 (19:52 +0100)]
Merge pull request #3451 from rgacogne/rec-replace-to-back
recursor: Move replaced cached entries to the back
Remi Gacogne [Thu, 25 Feb 2016 17:58:46 +0000 (18:58 +0100)]
dnsdist: Fix str-only server not being added to the default pool
As reported by @pieterlexis, server defined with the "string-only"
syntax were not correctly added to the default pool. This should
fix #3456.
In addition to that, this commit adds some Lua bindings for server
objects:
- member functions `getName()` and `getNameWithAddr()`
- member data `name`
bert hubert [Thu, 25 Feb 2016 17:34:39 +0000 (18:34 +0100)]
Merge pull request #3449 from rgacogne/dnsdist-pool-terminal
dnsdist: Make PoolAction() stop the rule processing again
bert hubert [Thu, 25 Feb 2016 17:34:24 +0000 (18:34 +0100)]
Merge pull request #3455 from ahupowerdns/comfun
DNSName escaped parsing speedups, comfun bulk zone/ns analysis tool, tiny dnsdist fixup
Remi Gacogne [Thu, 25 Feb 2016 16:51:24 +0000 (17:51 +0100)]
dnsdist: Fix cache tests. Clean tests backends.
Several issues:
- the cache tests used a vey small cache, not large enough for the
number of responses we expected to cache during the test suite
- this was hidden by the default response from the backends
matching what the test expected
- and by the backends not counting properly what looked like a
health check but wasn't.
Pieter Lexis [Thu, 25 Feb 2016 16:16:29 +0000 (17:16 +0100)]
Be a little more explicit on the addition of the SEP on CSKs
Pieter Lexis [Thu, 25 Feb 2016 14:50:02 +0000 (15:50 +0100)]
Merge pull request #3454 from pieterlexis/auth-4.0.0-alpha2-docs
Documentation updates for the upcoming alpha2 releases
Remi Gacogne [Thu, 25 Feb 2016 14:46:22 +0000 (15:46 +0100)]
dnsdist: Prevent the cache ptr from being altered under our feet
Make sure we hold the Lua mutex before getting the packet cache
shared_ptr, so that we don't have a thread reading it at the
exact same time it is altered by another.
We could have used atomic_load/atomic_store but libstdc++ uses
a pool of mutex for that anyway.
This might fix #3396.
Pieter Lexis [Thu, 25 Feb 2016 13:46:28 +0000 (14:46 +0100)]
Merge pull request #3453 from pieterlexis/silence-biowrite-warning
Silence a BIO_write warning
Pieter Lexis [Thu, 25 Feb 2016 12:26:04 +0000 (13:26 +0100)]
Recursor 4.0.0-alpha2 changelog
Pieter Lexis [Thu, 25 Feb 2016 11:30:57 +0000 (12:30 +0100)]
Documentation on Auth 4.0.0 alpha2
Pieter Lexis [Thu, 25 Feb 2016 11:48:48 +0000 (12:48 +0100)]
Silence a BIO_write warning
Pieter Lexis [Thu, 25 Feb 2016 12:27:52 +0000 (13:27 +0100)]
Merge pull request #3452 from pieterlexis/detect-network-libs
Detect several network libraries properly
bert hubert [Thu, 25 Feb 2016 12:03:29 +0000 (13:03 +0100)]
this commit uglifies DNSName escaped representation parsing for tremendous speedup (2x) during bulk zone loading from disk or database.
Part of the uglification is that we now special case unescaped names, which are the vast majority of cases.
Simultaneously, this moves us back to DNSName boost::container::string on non-Apple platforms, which delivered another 15% speedup on general operations
Finally, an additional unit test is added.
Pieter Lexis [Wed, 17 Feb 2016 19:25:57 +0000 (20:25 +0100)]
Detect several network libraries properly
Closes #3369
bert hubert [Wed, 24 Feb 2016 11:54:38 +0000 (12:54 +0100)]
set RD=1 in calidns for now, more right than what we do now..
bert hubert [Mon, 22 Feb 2016 14:27:42 +0000 (15:27 +0100)]
don't add NSEC/NSEC3 unless the packet asked for DNSSEC records
bert hubert [Mon, 15 Feb 2016 22:01:56 +0000 (23:01 +0100)]
gitignore comfun
bert hubert [Mon, 15 Feb 2016 20:20:13 +0000 (21:20 +0100)]
scanning zonefiles & polling nameservers
Pieter Lexis [Thu, 25 Feb 2016 10:09:35 +0000 (11:09 +0100)]
Merge pull request #3037 from pieterlexis/issue-3024-ENT-cleanups
Remove superfluous gsql queries and stop relying on schema defaults
bert hubert [Thu, 25 Feb 2016 09:51:20 +0000 (10:51 +0100)]
Merge pull request #3448 from zeha/recuconfig
Remove edns-subnet-whitelist whitelist pointing to powerdns.com
Pieter Lexis [Thu, 25 Feb 2016 09:08:21 +0000 (10:08 +0100)]
Merge pull request #3230 from zeha/websec
Auth/Recursor: drop JSONP, add web security headers
Pieter Lexis [Thu, 25 Feb 2016 09:08:15 +0000 (10:08 +0100)]
Merge pull request #3279 from zeha/bio-api-correctness
Handle return codes from OpenSSL BIO_*
Christian Hofstaedtler [Wed, 24 Feb 2016 22:02:25 +0000 (23:02 +0100)]
Remove edns-subnet-whitelist whitelist pointing to powerdns.com
Christian Hofstaedtler [Wed, 24 Feb 2016 21:06:29 +0000 (22:06 +0100)]
Handle return codes from OpenSSL BIO_*
bert hubert [Wed, 24 Feb 2016 20:41:34 +0000 (21:41 +0100)]
Merge pull request #3443 from ahupowerdns/speedups
Speedups! Closes some big impediments for performance & even correctness
bert hubert [Wed, 24 Feb 2016 20:40:41 +0000 (21:40 +0100)]
Merge pull request #3442 from pieterlexis/recursor-ixfr-catch-exception
recursor: catch exception during IXFR of RPZ
bert hubert [Wed, 24 Feb 2016 20:40:25 +0000 (21:40 +0100)]
Merge pull request #3444 from pieterlexis/recursor-ixfr-tsig-algo-names
recursor: set the TSIG algoname on IXFR correctly
bert hubert [Wed, 24 Feb 2016 20:39:50 +0000 (21:39 +0100)]
Merge pull request #3445 from pieterlexis/recursor-rpz-docs
Document recursor RPZ options
Pieter Lexis [Wed, 24 Feb 2016 17:48:43 +0000 (18:48 +0100)]
Document recursor RPZ options
Pieter Lexis [Wed, 24 Feb 2016 17:14:31 +0000 (18:14 +0100)]
recursor: set the TSIG algoname on IXFR correctly
Pieter Lexis [Wed, 24 Feb 2016 16:35:22 +0000 (17:35 +0100)]
recursor: catch exception during IXFR of RPZ
This would lead to a SIGABRT before when the IXFR failed.
Remi Gacogne [Wed, 24 Feb 2016 16:13:14 +0000 (17:13 +0100)]
recursor: Move replaced cached entries to the back
When we replace an existing entry, it keeps its existing place in
the expunge queue, while new entries are inserted to the back and
hits are moved to the back.
Moving replaced entries to the back of the queue is more fair and
so probably more efficient, as it would increase the likelihood of
expunging unused expired entries from the cache.
Remi Gacogne [Wed, 24 Feb 2016 15:46:14 +0000 (16:46 +0100)]
dnsdist: Make PoolAction() stop the rule processing again
It could clearly be confusing, and can easily be done by
ordering rules correctly anyway.
Thanks @rygl for the very valuable feedback.