]>
granicus.if.org Git - pdns/log
Remi Gacogne [Fri, 19 Feb 2016 11:58:05 +0000 (12:58 +0100)]
dnsdist: Do not share the packet cache entries between TCP and UDP
It would obviously cause issues, for example with truncated
responses. It is possible to disable the cache for all TCP queries
by using something like:
addAction(TCPRule(true), SkipCacheAction())
Pieter Lexis [Fri, 19 Feb 2016 08:37:39 +0000 (09:37 +0100)]
Merge pull request #3404 from pieterlexis/sles12
Add SLES 12 support to the build-auth-rpm script
bert hubert [Thu, 18 Feb 2016 20:19:35 +0000 (21:19 +0100)]
Merge pull request #3405 from rgacogne/dnsdist-health-check-failures
dnsdist: Add health check logging, `maxCheckFailures` to backend
bert hubert [Thu, 18 Feb 2016 20:19:22 +0000 (21:19 +0100)]
Merge pull request #3403 from rgacogne/dnsdist-more-tests
dnsdist: Add missing QPSPoolAction & DNSSECRule. Add missing tests.
bert hubert [Thu, 18 Feb 2016 20:18:21 +0000 (21:18 +0100)]
Merge pull request #3398 from rgacogne/dnsdist-oustanding
dnsdist: Better handling of outstanding counter
Remi Gacogne [Thu, 18 Feb 2016 16:36:25 +0000 (17:36 +0100)]
dnsdist: Add health check logging, `maxCheckFailures` to backend
`maxCheckFailures` allows waiting for several health check failures
before marking a downstream server down.
Health check errors are logged only in verbose mode and if
`setVerboseHealthChecks()` is set to true.
Remi Gacogne [Thu, 18 Feb 2016 14:01:23 +0000 (15:01 +0100)]
dnsdist: Add missing QPSPoolAction & DNSSECRule. Add missing tests.
QPSPoolAction() and DNSSECRule() are mentioned in the README but
the Lua bindings were missing.
Add missing tests for some actions and rules.
Clean existing tests a bit in the process.
Pieter Lexis [Thu, 18 Feb 2016 10:35:28 +0000 (11:35 +0100)]
Add SLES support to the build-auth-rpm script
bert hubert [Wed, 17 Feb 2016 16:16:27 +0000 (17:16 +0100)]
Merge pull request #3397 from mind04/missing
[WIP] add missing files for tools and testrunner to auth tar.bz2
Kees Monshouwer [Wed, 17 Feb 2016 14:56:48 +0000 (15:56 +0100)]
add missing files for tools and testrunner to auth tar.bz2
bert hubert [Wed, 17 Feb 2016 12:34:48 +0000 (13:34 +0100)]
Merge pull request #3395 from Habbie/dist-dnsrecords-hh
re-dist dnsrecords.hh
Peter van Dijk [Wed, 17 Feb 2016 11:49:56 +0000 (12:49 +0100)]
re-dist dnsrecords.hh
Pieter Lexis [Wed, 17 Feb 2016 12:02:49 +0000 (13:02 +0100)]
Merge pull request #3368 from rubenk/link-internal-libs-directly
Link our internal libs directly
Pieter Lexis [Wed, 17 Feb 2016 12:02:31 +0000 (13:02 +0100)]
Merge pull request #3225 from pieterlexis/docs-400
[Needs review] Many additions and changes to the docs
Remi Gacogne [Wed, 17 Feb 2016 11:34:39 +0000 (12:34 +0100)]
dnsdist: Better handling of outstanding counter
The outstanding value is now displayed in `showServers()` and we
set the IDS age to 0 as soon as we get a response to prevent
the maintainer thread from cleaning it up during our processing.
Remi Gacogne [Wed, 17 Feb 2016 10:35:27 +0000 (11:35 +0100)]
Merge pull request #3394 from rgacogne/dnsdist-drop
dnsdist: Fix the Drop action over UDP
Pieter Lexis [Wed, 17 Feb 2016 10:18:11 +0000 (11:18 +0100)]
Merge pull request #3373 from Habbie/single-place-builds
Give each binary a single place for building
Remi Gacogne [Wed, 17 Feb 2016 09:37:13 +0000 (10:37 +0100)]
dnsdist: Fix the Drop action over UDP
I broke the Drop action over UDP in commit
1a2a4e68b6368361981cf525e0c5cad3b63c3788 and somehow we did not
have any regression tests actually testing it.
Peter van Dijk [Tue, 16 Feb 2016 12:46:16 +0000 (13:46 +0100)]
Merge pull request #3372 from Habbie/ldap-testing
make ldap testable, add travis testing
Peter van Dijk [Tue, 16 Feb 2016 12:28:29 +0000 (13:28 +0100)]
nit
bert hubert [Tue, 16 Feb 2016 09:06:58 +0000 (10:06 +0100)]
Merge pull request #3388 from rgacogne/dnsdist-lua-lock
dnsdist: Lock the Lua context before executing a LuaAction
Remi Gacogne [Tue, 16 Feb 2016 08:44:51 +0000 (09:44 +0100)]
dnsdist: Lock the Lua context before executing a LuaAction
Otherwise the stack of the Lua context might get corrupted
whenever another Lua function (blockfilter, policy, maintenance or
another LuaAction) is simultaneously called from another thread.
We might be able to use a separate execution stack via
createThread()/lua_newthread(), but if I understand correctly how
it works, we would need to be sure that the Lua function called
does not access the global state at all, which is probably too
restrictive.
This should fix #3374, #3375, #3376, #3377, #3378, #3379, #3383,
and hopefully the random travis failures in our regression tests.
bert hubert [Tue, 16 Feb 2016 00:00:47 +0000 (01:00 +0100)]
Merge pull request #3365 from janeczku/udpQueryResponse-fix
recursor: apply rcode set in UDPQueryResponse callback
bert hubert [Tue, 16 Feb 2016 00:00:17 +0000 (01:00 +0100)]
Merge pull request #3385 from pieterlexis/pdnsutil-default-soa-settings
pdnsutil: respect default-soa-* settings
bert hubert [Mon, 15 Feb 2016 23:58:07 +0000 (00:58 +0100)]
Merge pull request #3381 from pieterlexis/dnsdist-cflags
dnsdist: remove unneeded compiler flag
bert hubert [Mon, 15 Feb 2016 23:50:54 +0000 (00:50 +0100)]
Merge pull request #3355 from rgacogne/dnsdist-cache-clean
dnsdist: Add a simple Packet Cache
Pieter Lexis [Mon, 15 Feb 2016 20:05:06 +0000 (21:05 +0100)]
pdnsutil: respect default-soa-* settings
Closes #3382
Peter van Dijk [Mon, 15 Feb 2016 17:24:22 +0000 (18:24 +0100)]
Merge pull request #3380 from pieterlexis/dnsdist-pandoc
dnsdist: Correctly test for the manpage
Pieter Lexis [Mon, 15 Feb 2016 16:14:31 +0000 (17:14 +0100)]
dnsdist: remove unneeded compiler flag
Pieter Lexis [Mon, 15 Feb 2016 16:01:05 +0000 (17:01 +0100)]
dnsdist: Correctly test for the manpage
Peter van Dijk [Fri, 12 Feb 2016 08:36:31 +0000 (09:36 +0100)]
setup ldap, run tests
Peter van Dijk [Tue, 19 Jan 2016 21:58:28 +0000 (22:58 +0100)]
add ldap testing (tree+simple) to regression tests; skip known-failing tests
Peter van Dijk [Tue, 26 Jan 2016 15:43:41 +0000 (16:43 +0100)]
add all missing types (as far as our tests are concerned) to schema and header
Peter van Dijk [Tue, 26 Jan 2016 14:21:53 +0000 (15:21 +0100)]
import schema files from the ldap fork
Peter van Dijk [Mon, 15 Feb 2016 15:40:57 +0000 (16:40 +0100)]
stop testing in-tree recursor build
Peter van Dijk [Mon, 15 Feb 2016 13:56:03 +0000 (14:56 +0100)]
add courtesy notes
Peter van Dijk [Mon, 15 Feb 2016 13:49:35 +0000 (14:49 +0100)]
move re2 m4, only dnsdist uses it
Peter van Dijk [Mon, 15 Feb 2016 13:48:47 +0000 (14:48 +0100)]
rip out the most obvious supporting pieces for building ddnsdist and pdns_recursor in the auth tree
Peter van Dijk [Mon, 15 Feb 2016 13:43:37 +0000 (14:43 +0100)]
Merge pull request #3370 from ahupowerdns/re2
This adds --enable-re2 so we can benefit from libre2 if we want
Remi Gacogne [Mon, 15 Feb 2016 08:53:38 +0000 (09:53 +0100)]
Merge pull request #3361 from rgacogne/dnsdist-regression-tests-cleanup
dnsdist: Copy the resp in regression tests instead of fixing it up
Remi Gacogne [Mon, 15 Feb 2016 08:49:36 +0000 (09:49 +0100)]
dnsdist: Add a simple Packet Cache
Per-pool Packet Cache, using the whole query packet minus the id
has hashing key, to prevent issue related to:
* EDNS Payload size
* ECS
* DNSSEC
The packet cache is not enabled by default, and can be skipped
for specific queries using SkipCacheAction.
It's a per-pool cache, in case you have different responses, but
you can use the same cache for several pools if you want to.
We cache the whole response and age the TTLs when fetching the
response from the cache.
This commit also refactors a bit the way server pools are handled
to be able to have a per-pool cache, and to avoid scanning all
servers when looking for the ones in a given pool.
It is using a fixed-size unordered_map to prevent rehashing. It
is not very efficient with regard to cache cleaning, but I really
would like to use only a ReadLock on the fastpath, and using a
multi index container and moving cache entries to the back / front
on hit / miss would prevent that.
Health checks are moved to a different thread, to prevent them from
being impacted by the cache cleaning operation being slow.
bert hubert [Sun, 14 Feb 2016 17:22:52 +0000 (18:22 +0100)]
document RE2Rule
bert hubert [Sun, 14 Feb 2016 15:41:57 +0000 (16:41 +0100)]
Merge pull request #3357 from rgacogne/dnsdist-non-terminal-rules
dnsdist: continue processing rules after some specific actions
bert hubert [Sun, 14 Feb 2016 15:41:31 +0000 (16:41 +0100)]
Merge pull request #3360 from rgacogne/dnsdist-extended-logs
dnsdist: Add an option to log as text. Display filename in showRules
bert hubert [Sun, 14 Feb 2016 15:40:25 +0000 (16:40 +0100)]
Merge pull request #3364 from nlyan/master
Shrink PacketID by 10% by eliminating padding.
bert hubert [Sun, 14 Feb 2016 14:18:26 +0000 (15:18 +0100)]
make re2 something you have to enable explicitly. I can't get it to link statically.
bert hubert [Sun, 14 Feb 2016 10:16:56 +0000 (11:16 +0100)]
add a RE2Rule based on Google RE2 regex library. Note that if we detect it, we compile it in unconditionally which sucks as it is a dynamic link. We should make this something you turn on.
Ruben Kerkhof [Sat, 13 Feb 2016 17:39:11 +0000 (18:39 +0100)]
Link our internal libs directly
If we don't do this and we have an external version of the same
lib installed, we risk picking that one up instead.
See #3127 for background
Peter van Dijk [Sat, 13 Feb 2016 16:47:57 +0000 (17:47 +0100)]
Merge pull request #3363 from Habbie/cryptopp
remove now broken cryptopp invocation
Jan Broer [Sat, 13 Feb 2016 00:40:25 +0000 (01:40 +0100)]
Use rcode returned from UDPQueryResponse callback
Andrew Nelless [Fri, 12 Feb 2016 22:42:30 +0000 (22:42 +0000)]
Shrink PacketID by 10% by eliminating padding.
PacketID is bloated. Some minor reordering, which shouldn't effect
locality, reduces sizeof(PacketID) from 232 to 208 bytes compiled
against GNU libstdc++ (shipped with GCC 5.3, C++11 ABI) and from 184 to
160 bytes against libc++ 3.7.0. In both cases only 3 bytes of padding
remain for aligning 'bool inIncompleteOkay'.
Peter van Dijk [Fri, 12 Feb 2016 15:25:59 +0000 (16:25 +0100)]
Merge pull request #3359 from Habbie/unbreak-ldap
unbreak the LDAP backend
Peter van Dijk [Fri, 12 Feb 2016 14:08:56 +0000 (15:08 +0100)]
remove now broken cryptopp invocation
Peter van Dijk [Thu, 11 Feb 2016 21:11:27 +0000 (22:11 +0100)]
nit
bert hubert [Thu, 11 Feb 2016 20:08:10 +0000 (21:08 +0100)]
add lua hook to get a 'raw' IP address (in binary) for rapid lookups
Remi Gacogne [Thu, 11 Feb 2016 14:43:43 +0000 (15:43 +0100)]
dnsdist: Add an option to log as text. Display filename in showRules
LogAction() could log to the console in text mode or to a file in
binary mode. This commit adds an option to log to a file in text
mode.
When logging to a file, we now display the file name in
showRules().
Remi Gacogne [Thu, 11 Feb 2016 14:06:09 +0000 (15:06 +0100)]
dnsdist: Copy the resp in regression tests instead of fixing it up
Simply copy the the reponse in the responder threads before altering
the ID, instead of having to fix it afterwards in every tests.
bert hubert [Thu, 11 Feb 2016 13:08:57 +0000 (14:08 +0100)]
make DNSName friends with unordered maps and sets, plus test this
bert hubert [Thu, 11 Feb 2016 11:33:43 +0000 (12:33 +0100)]
a function misnamed 'isCanonical' was being used to configure domain forwarding in recursor
bert hubert [Thu, 11 Feb 2016 10:37:24 +0000 (11:37 +0100)]
liberate getAddr() helper from sortlist.cc for wider use
bert hubert [Thu, 11 Feb 2016 10:13:11 +0000 (11:13 +0100)]
versionpdns != versionbind
bert hubert [Thu, 11 Feb 2016 10:12:32 +0000 (11:12 +0100)]
make calidns print syntax if invoked incorrectly
bert hubert [Thu, 11 Feb 2016 10:11:40 +0000 (11:11 +0100)]
15% speedup in zone loading
Peter van Dijk [Thu, 11 Feb 2016 09:24:25 +0000 (10:24 +0100)]
fix escaping
Peter van Dijk [Thu, 7 Jan 2016 16:28:07 +0000 (17:28 +0100)]
get root dots
Remi Gacogne [Wed, 10 Feb 2016 14:52:38 +0000 (15:52 +0100)]
dnsdist: continue processing rules after some specific actions
Continue processing rules after these actions:
* Pool
* Delay
* NoRecurse
* DisableValidation
It was already the case with:
* Log
* MacAddr
Pieter Lexis [Fri, 5 Feb 2016 14:40:48 +0000 (15:40 +0100)]
Add OpenSSL to export notes
Pieter Lexis [Tue, 12 Jan 2016 15:01:23 +0000 (16:01 +0100)]
Update the DNSSEC documentation.
Closes #3089
Pieter Lexis [Wed, 13 Jan 2016 15:58:15 +0000 (16:58 +0100)]
pdnsutil: add list-algorithms
Pieter Lexis [Fri, 8 Jan 2016 10:08:15 +0000 (11:08 +0100)]
s/PDNS/PowerDNS/g (with word boundry checks)
Pieter Lexis [Thu, 7 Jan 2016 19:10:35 +0000 (20:10 +0100)]
Move virtual hosting to running.md
Pieter Lexis [Thu, 7 Jan 2016 19:07:41 +0000 (20:07 +0100)]
Remove internals.md, move content to better places
Pieter Lexis [Thu, 7 Jan 2016 16:21:54 +0000 (17:21 +0100)]
Pimp the install page some more
Pieter Lexis [Thu, 7 Jan 2016 16:09:42 +0000 (17:09 +0100)]
Add zone2json manpage
Pieter Lexis [Thu, 7 Jan 2016 15:59:10 +0000 (16:59 +0100)]
Restructure and expand the migration docs
Pieter Lexis [Thu, 7 Jan 2016 15:53:52 +0000 (16:53 +0100)]
Remove useless/old BIND backend options
Pieter Lexis [Thu, 7 Jan 2016 14:38:00 +0000 (15:38 +0100)]
update zone2sql manpage with all current options
Pieter Lexis [Thu, 7 Jan 2016 12:13:47 +0000 (13:13 +0100)]
Several improvements to the modes of operation
Move TSIG related information to a separate TSIG page. Rename the modes
of operation page to something a little more understandible.
Pieter Lexis [Wed, 6 Jan 2016 16:57:38 +0000 (17:57 +0100)]
Move some information around
Pieter Lexis [Wed, 6 Jan 2016 15:49:51 +0000 (16:49 +0100)]
Replace PowerDNSSEC with PowerDNS
Pieter Lexis [Wed, 6 Jan 2016 15:24:58 +0000 (16:24 +0100)]
Add notes about ProtectSystem
Closes #3111
Pieter Lexis [Wed, 6 Jan 2016 14:53:34 +0000 (15:53 +0100)]
Note that we have repos
Peter van Dijk [Wed, 10 Feb 2016 11:54:09 +0000 (12:54 +0100)]
Merge pull request #3342 from rubenk/dnsdist-spec-add-license
Dnsdist rpm: add license
Peter van Dijk [Wed, 10 Feb 2016 11:26:53 +0000 (12:26 +0100)]
Merge pull request #3336 from pieterlexis/dnsdist-ragel
Actually test for ragel during dnsdist configure
Peter van Dijk [Wed, 10 Feb 2016 11:25:49 +0000 (12:25 +0100)]
Merge pull request #3345 from pieterlexis/issue-3305-pdnsutil-complain-unreadable-pdnsconf
pdnsutil: warn if we can't read the config file
Peter van Dijk [Wed, 10 Feb 2016 11:24:47 +0000 (12:24 +0100)]
Merge pull request #3347 from pieterlexis/issue-1965-pdnsutil-help
pdnsutil: provide helpful output with command help
Pieter Lexis [Wed, 10 Feb 2016 10:12:56 +0000 (11:12 +0100)]
Merge pull request #3351 from pieterlexis/stop-send-root-referral
Stop sending a root referral in regression testing
Pieter Lexis [Wed, 10 Feb 2016 10:12:52 +0000 (11:12 +0100)]
Merge pull request #3281 from pieterlexis/rip-out-mbedtls
Fully take out mbedTLS
Peter van Dijk [Tue, 9 Feb 2016 21:01:23 +0000 (22:01 +0100)]
Merge pull request #3348 from pieterlexis/document-pdnsutil-edit-zone
Document edit-zone in pdnsutil.1
Pieter Lexis [Tue, 9 Feb 2016 17:58:31 +0000 (18:58 +0100)]
Stop sending a root referral in regression testing
Closes #3062
bert hubert [Tue, 9 Feb 2016 10:21:47 +0000 (11:21 +0100)]
Merge pull request #3338 from cmouse/geoip-weights
Add weight feature to GeoIP backend
Aki Tuomi [Fri, 5 Feb 2016 10:44:10 +0000 (12:44 +0200)]
Update documentation on weight feature
Aki Tuomi [Fri, 5 Feb 2016 10:39:45 +0000 (12:39 +0200)]
Add weight support for record(s)
Pieter Lexis [Mon, 8 Feb 2016 17:08:40 +0000 (18:08 +0100)]
Document edit-zone in pdnsutil.1
Pieter Lexis [Mon, 8 Feb 2016 16:06:35 +0000 (17:06 +0100)]
pdnsutil: provide helpful output with command help
Closes #1965
Pieter Lexis [Mon, 8 Feb 2016 11:13:19 +0000 (12:13 +0100)]
pdnsutil: warn if we can't read the config file
Closes #3305
Remi Gacogne [Mon, 8 Feb 2016 14:17:16 +0000 (15:17 +0100)]
Merge pull request #3344 from rgacogne/dnsdist-client-bind-error
dnsdist: Log webserver binding errors even in client mode
bert hubert [Sat, 6 Feb 2016 13:20:10 +0000 (14:20 +0100)]
Merge pull request #3341 from pieterlexis/dnsdist-website
ensure permissions correct when publishing dnsdist.org
bert hubert [Sat, 6 Feb 2016 13:19:52 +0000 (14:19 +0100)]
Merge pull request #3343 from rubenk/add-some-poetry-to-dnsdist-frontpage
dnsdist.org: add a blurb about the license
Ruben Kerkhof [Fri, 5 Feb 2016 15:43:12 +0000 (16:43 +0100)]
dnsdist.org: add a blurb about the license