]>
granicus.if.org Git - pdns/log
Ruben Kerkhof [Thu, 10 Mar 2016 19:38:41 +0000 (20:38 +0100)]
Remove unused pdns-recursor.spec
bert hubert [Wed, 9 Mar 2016 19:06:44 +0000 (20:06 +0100)]
Merge pull request #3509 from rgacogne/dnsdist-tcp-cache
dnsdist: Check response validity over TCP, more cache fixes
bert hubert [Wed, 9 Mar 2016 19:05:36 +0000 (20:05 +0100)]
Merge pull request #3524 from zeha/cleanup
Remove unused function simpleExpandTo - contuing the quest to have only one dns name parser in all of powerdns!
Pieter Lexis [Wed, 9 Mar 2016 15:21:07 +0000 (16:21 +0100)]
Merge pull request #3529 from pieterlexis/dnssec-off
Recursor: dnssec=off by default for now plus changelog update
Pieter Lexis [Tue, 8 Mar 2016 20:06:27 +0000 (21:06 +0100)]
Recursor: disable dnssec in the default config
This will be set to process after the dnssec implementation is more
bug-free.
Pieter Lexis [Tue, 8 Mar 2016 20:21:31 +0000 (21:21 +0100)]
Update recursor changelog
Pieter Lexis [Wed, 9 Mar 2016 13:53:41 +0000 (14:53 +0100)]
Properly print version in autoconf for releases
Pieter Lexis [Wed, 9 Mar 2016 10:54:55 +0000 (11:54 +0100)]
Merge pull request #3520 from janeczku/rec-stats-loglevel
pdns-rec: reduce log level of periodic statistics to notice
Pieter Lexis [Wed, 9 Mar 2016 10:54:34 +0000 (11:54 +0100)]
Merge pull request #3527 from ahupowerdns/atomic
make the recursor counters atomic, closes #1747
bert hubert [Wed, 9 Mar 2016 08:50:41 +0000 (09:50 +0100)]
Merge pull request #3519 from ahupowerdns/ednssubnetblind
make sure our recursor cache is blind for edns subnet - THIS CODE NEE…
Christian Hofstaedtler [Tue, 8 Mar 2016 10:53:00 +0000 (07:53 -0300)]
Remove unused function simpleExpandTo
bert hubert [Mon, 7 Mar 2016 22:48:32 +0000 (23:48 +0100)]
Merge pull request #20 from rgacogne/ednssubnetblind
rec: Handle more than EDNS option in our packet cache hashing
bert hubert [Mon, 7 Mar 2016 20:09:02 +0000 (21:09 +0100)]
make the recursor counters atomic, closes #1747
bert hubert [Mon, 7 Mar 2016 13:53:37 +0000 (14:53 +0100)]
fix up compilation for non-lua recursor
Remi Gacogne [Mon, 7 Mar 2016 10:41:26 +0000 (11:41 +0100)]
rec: Handle more than EDNS option in our packet cache hashing
We now skip an ECS option regardless of whether there are others
EDNS options before or after the ECS one, keeping the others
untouched.
Jan Broer [Mon, 7 Mar 2016 10:02:13 +0000 (11:02 +0100)]
Reduce log level of periodic statistics to Notice
bert hubert [Sun, 6 Mar 2016 20:02:44 +0000 (21:02 +0100)]
astoundingly enough, our function based statistics counters were... 32 bits?!
bert hubert [Sun, 6 Mar 2016 20:02:28 +0000 (21:02 +0100)]
improve error message on errors emanating from gettag
bert hubert [Sun, 6 Mar 2016 18:33:42 +0000 (19:33 +0100)]
improve sdig error reporting (was an ABORT), closes #3517
bert hubert [Sun, 6 Mar 2016 09:59:23 +0000 (10:59 +0100)]
make sure our recursor cache is blind for edns subnet - THIS CODE NEEDS TO BE IMPROVED @rgacogne
bert hubert [Sun, 6 Mar 2016 09:58:37 +0000 (10:58 +0100)]
clarify a deficiency in our packet hashing in the presence of EDNS subnet options
bert hubert [Sun, 6 Mar 2016 09:57:52 +0000 (10:57 +0100)]
only deal with (1) EDNS record
bert hubert [Sat, 5 Mar 2016 19:55:48 +0000 (20:55 +0100)]
Merge pull request #3514 from ahupowerdns/propotag
propagate calculated packet cache tag to preresolve (the other hooks …
bert hubert [Sat, 5 Mar 2016 18:49:07 +0000 (19:49 +0100)]
propogate calculated packet cache tag to preresolve (the other hooks could get it with a typing exercise)
bert hubert [Sat, 5 Mar 2016 12:17:03 +0000 (13:17 +0100)]
Merge pull request #3513 from ahupowerdns/ednssubnetgettag
give gettag the ednssubnetmask too. Fix up logger to actualy log our …
bert hubert [Sat, 5 Mar 2016 12:16:53 +0000 (13:16 +0100)]
Merge pull request #3512 from ahupowerdns/unlabel
wow yet another misnamed function attempting to encode DNS strings!
bert hubert [Sat, 5 Mar 2016 11:34:46 +0000 (12:34 +0100)]
give gettag the ednssubnetmask too. Fix up logger to actualy log our enum.
bert hubert [Sat, 5 Mar 2016 10:42:48 +0000 (11:42 +0100)]
wow yet another misnamed function attempting to encode DNS strings!
bert hubert [Fri, 4 Mar 2016 21:19:23 +0000 (22:19 +0100)]
Merge pull request #3502 from tfarina/fix-3487
make second argument to pdnslog optional
bert hubert [Fri, 4 Mar 2016 21:18:39 +0000 (22:18 +0100)]
Merge pull request #3510 from rgacogne/dnsdist-api-frontends
dnsdist: Add frontends to API
Thiago Farina [Thu, 3 Mar 2016 13:32:59 +0000 (10:32 -0300)]
make second argument to pdnslog optional
This patch makes the |loglevel| parameter for pdnslog in Lua, optional.
If not specified the default log level will be Warning.
Fixes #3487
Remi Gacogne [Fri, 4 Mar 2016 17:40:00 +0000 (18:40 +0100)]
dnsdist: Add frontends to API
Remi Gacogne [Fri, 4 Mar 2016 17:12:32 +0000 (18:12 +0100)]
dnsdist: Check response validity over TCP, more cache fixes
- Add `unsetCache()` to remove the cache from a pool
- Check the response size before caching it, and make no
assumption when getting it from the cache
- Check that the response is larger than sizeof(dnsheader) over
TCP too
- Check that the response matches the query over TCP too, because
we reuse downstream connections
bert hubert [Fri, 4 Mar 2016 15:57:10 +0000 (16:57 +0100)]
when pre-parsing qname for gettag in lua, catch exception and set tag to 0
bert hubert [Fri, 4 Mar 2016 15:36:17 +0000 (16:36 +0100)]
Merge pull request #3508 from rgacogne/dnsdist-api-config-stats
dnsdist: Add statistics and config to API to make pdnscontrol happy
bert hubert [Fri, 4 Mar 2016 15:05:57 +0000 (16:05 +0100)]
Merge pull request #3505 from PowerDNS/terrorobe-patch-1
minor nits in dnsdist webserver() documentation
Remi Gacogne [Fri, 4 Mar 2016 14:32:17 +0000 (15:32 +0100)]
dnsdist: Add statistics and config to API to make pdnscontrol happy
This is a very rough implementation to unify dnsdist with auth and
rec as far as pdnscontrol is concerned, by adding:
- /api/v1/servers/localhost/config
- /api/v1/servers/localhost/statistics
We'll need to refactor this at some point, maybe by merging with
ws-api.
Michael Renner [Fri, 4 Mar 2016 10:00:59 +0000 (11:00 +0100)]
minor nits in dnsdist webserver() documentation
bert hubert [Fri, 4 Mar 2016 07:43:34 +0000 (08:43 +0100)]
Merge pull request #3504 from rgacogne/dnsdist-api-key
dnsdist: Allow accessing the API with an optional API key
bert hubert [Fri, 4 Mar 2016 07:43:10 +0000 (08:43 +0100)]
Merge pull request #3500 from rgacogne/dnsdist-intro
dnsdist: Fix addServer() -> newServer() in introduction.md
bert hubert [Fri, 4 Mar 2016 07:42:59 +0000 (08:42 +0100)]
Merge pull request #3501 from rgacogne/dnsdist-enhance-cache
dnsdist: packet cache enhancements
Remi Gacogne [Thu, 3 Mar 2016 17:35:01 +0000 (18:35 +0100)]
dnsdist: Allow accessing the API with an optional API key
The API key can be specified as an additional, optional parameter
to `webserver()`. If present in a X-API-Key header, it allows
access to the API URLs:
- /api/v1/servers/localhost
- /jsonstat
Others URLs are still only allowed through basic authentication.
Remi Gacogne [Thu, 3 Mar 2016 13:01:25 +0000 (14:01 +0100)]
dnsdist: Fix addServer() -> newServer() in introduction.md
bert hubert [Thu, 3 Mar 2016 12:23:59 +0000 (13:23 +0100)]
Merge pull request #3498 from rgacogne/dnsdist-labellen
Fix parsing of invalid DNS names
bert hubert [Thu, 3 Mar 2016 12:21:37 +0000 (13:21 +0100)]
Merge pull request #3499 from rgacogne/dnsdist-multi-carbon
dnsdist: Add support for multiple carbon servers
Remi Gacogne [Thu, 3 Mar 2016 09:54:27 +0000 (10:54 +0100)]
dnsdist: Allow the use of stale cache entries if no backend are available
And add more documentation and regression tests.
bert hubert [Wed, 2 Mar 2016 19:03:14 +0000 (20:03 +0100)]
Merge pull request #3496 from ahupowerdns/do-3490
fix up #3478 - rhel6 compat
bert hubert [Wed, 2 Mar 2016 17:35:43 +0000 (18:35 +0100)]
Merge pull request #3497 from ahupowerdns/more-cleanups
More cleanups - silence some common warnings, make servfail cache ttl explicit, deal better with 'responses with no question'
Remi Gacogne [Wed, 2 Mar 2016 16:55:45 +0000 (17:55 +0100)]
dnsdist: Add support for multiple carbon servers
Remi Gacogne [Wed, 2 Mar 2016 15:57:02 +0000 (16:57 +0100)]
Fix end computation in DNSName::packetParser
end was computed by
end = qpos + offset + len
but the offset is already included in len, as seen in the way
label compression is handled, by calling packetParser with the
same original position and len but an updated offset.
Remi Gacogne [Wed, 2 Mar 2016 15:50:02 +0000 (16:50 +0100)]
dnsdist: Fix a crash when adding an invalid packet to the cache
Reported by @rygl.
bert hubert [Wed, 2 Mar 2016 14:47:57 +0000 (15:47 +0100)]
Merge pull request #3440 from pieterlexis/dnsdist-client-improvements
Client operation improvements for dnsdist
bert hubert [Wed, 2 Mar 2016 14:09:17 +0000 (15:09 +0100)]
fix up #3478 - rhel6 compat
bert hubert [Wed, 2 Mar 2016 14:02:12 +0000 (15:02 +0100)]
reinstate old behaviour that we do process authoritative responses that are header only to hasten the timeout
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
Remi Gacogne [Mon, 29 Feb 2016 15:22:04 +0000 (16:22 +0100)]
dnsdist: Add a specific TTL for ServFail responses
Before this commit we used the maxTTL for Server Failure responses
as well, and it might not be a good idea.
Fixes #3469.
Remi Gacogne [Mon, 29 Feb 2016 14:34:39 +0000 (15:34 +0100)]
dnsdist: Add a regression tests for skipCache from Lua
Remi Gacogne [Mon, 29 Feb 2016 14:32:35 +0000 (15:32 +0100)]
dnsdist: Add/fix cache cleaning options
The function to remove expired entries was broken, and we were
missing a way to nuke a lot of valid entries at once.
We can now:
- remove entries by qname and qtype
- remove n expired entries
- remove n entries
Fix #3468.
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