]>
granicus.if.org Git - pdns/log
bert hubert [Thu, 7 Jan 2016 14:51:09 +0000 (15:51 +0100)]
Merge pull request #3180 from ahupowerdns/local-fixes
Fix up our reporting of address queries are received on, expose port numbers to Lua for dndist and recursor
bert hubert [Thu, 7 Jan 2016 14:15:23 +0000 (15:15 +0100)]
document various toStringWithPort and getPort() functions, and add them to examples
bert hubert [Thu, 7 Jan 2016 13:01:47 +0000 (14:01 +0100)]
turns out we weren't gathering the local address for TCP at all, and for UDP we did not do the work for ipfilter except when bound to 0.0.0.0. Now we do it right in the other case too AND gather the port number.
bert hubert [Thu, 7 Jan 2016 12:37:17 +0000 (13:37 +0100)]
don't return nonsense when toString() is called on an unset or invalid ComboAddress
bert hubert [Thu, 7 Jan 2016 10:32:12 +0000 (11:32 +0100)]
added hooks to access port numbers of 'local' addresses, but turns out we don't always fill them out yet
Remi Gacogne [Wed, 6 Jan 2016 10:59:51 +0000 (11:59 +0100)]
Merge pull request #3178 from rgacogne/dnsdist-aggr-testing
dnsdist: Apply the TCP timeout _before_ trying to connect
Remi Gacogne [Wed, 6 Jan 2016 09:50:22 +0000 (10:50 +0100)]
dnsdist: Apply the TCP timeout _before_ trying to connect.
In addition to that, we are now more aggressive in stopping
dnsdist to avoid getting stuck. Hopefully we should get more useful
error messages when the tests fail.
Removing usage of the timeout parameter with the same value than
the default for clarity.
Remi Gacogne [Wed, 6 Jan 2016 07:54:17 +0000 (08:54 +0100)]
Merge pull request #3164 from rgacogne/dnsdist-clean-doc
dnsdist: Update documentation and console completion
bert hubert [Tue, 5 Jan 2016 20:59:28 +0000 (21:59 +0100)]
Merge pull request #3174 from rgacogne/fix-delaypipe
Make sure the DelayPipe thread is the last member initialized
Remi Gacogne [Tue, 5 Jan 2016 18:01:01 +0000 (19:01 +0100)]
Make sure the DelayPipe thread is the last member initialized
Otherwise the new thread might start running and access
uninitialized members like d_pipe or d_work.
On my host, running dnsdist in gdb without this modification
results in a SIGSEGV at delaypipe.cc:141.
Remi Gacogne [Mon, 4 Jan 2016 11:27:23 +0000 (12:27 +0100)]
dnsdist: Update documentation and console completion
- Update to recent changes
- Fix somewhat duplicated documentation
- Use parentheses in function calls in the documentation, as
it is probably easier to read for most people not accustomed to
Lua. Fixes #3137
Peter van Dijk [Tue, 5 Jan 2016 14:11:35 +0000 (15:11 +0100)]
Merge pull request #3125 from zeha/api-json11
API: use json11 in place of rapidjson
bert hubert [Tue, 5 Jan 2016 12:45:46 +0000 (13:45 +0100)]
Merge pull request #3170 from rgacogne/dnsdist-spoof-cname
dnsdist: Allow using CNAME in spoofed responses
bert hubert [Tue, 5 Jan 2016 11:42:40 +0000 (12:42 +0100)]
Merge pull request #3160 from rgacogne/coverity-fixes
Fix several minor issues reported by coverity
Remi Gacogne [Tue, 5 Jan 2016 09:27:54 +0000 (10:27 +0100)]
dnsdist: Add sending CNAME in spoofed responses
- Add addDomainCNAMESpoof() and SpoofCNAMEAction()
- Check that we have enough space in the buffer to write the response
- Implement the first part of #3064
bert hubert [Mon, 4 Jan 2016 23:17:18 +0000 (00:17 +0100)]
make sure dnsdist updates 'downstream-timeouts' metric properly
bert hubert [Mon, 4 Jan 2016 17:46:07 +0000 (18:46 +0100)]
Merge pull request #3167 from ahupowerdns/dnsdist-to
Dnsdist: improve visitbility of timeouts, various grepq fixes, plus documentation
Remi Gacogne [Mon, 4 Jan 2016 17:32:10 +0000 (18:32 +0100)]
Print the socket path we actually used in case of error
bert hubert [Mon, 4 Jan 2016 14:46:07 +0000 (15:46 +0100)]
Merge remote-tracking branch 'origin/master' into dnsdist-to
Conflicts:
pdns/dnsrulactions.hh
bert hubert [Mon, 4 Jan 2016 14:44:55 +0000 (15:44 +0100)]
make grepq support multiple criteria, document this, document topSlow(), fix topSlow() label grouping
Remi Gacogne [Mon, 4 Jan 2016 10:46:02 +0000 (11:46 +0100)]
Merge pull request #3142 from rgacogne/dnscrypt-regression-tests
dnsdist: Add tests and a truncation fix for DNSCrypt
Remi Gacogne [Thu, 31 Dec 2015 17:08:22 +0000 (18:08 +0100)]
dnsdist: Add a test (and a fix) for DNSCrypt truncation case.
Refactor DNSCrypt regression tests following zeha's lead.
Pieter Lexis [Mon, 4 Jan 2016 09:24:15 +0000 (10:24 +0100)]
Merge pull request #3156 from zeha/slavetime
Add timezone to generated bind slave zone files
Pieter Lexis [Mon, 4 Jan 2016 09:24:05 +0000 (10:24 +0100)]
Merge pull request #3149 from zeha/exitonerror
Fix pdnsutil check-all-zones crash
Remi Gacogne [Wed, 30 Dec 2015 08:20:30 +0000 (09:20 +0100)]
dnsdist: Add a basic regression test for DNSCrypt
I could not find any DNSCrypt client implementation in python without
zillions of dependencies, so I wrote a basic one depending only
on dnspython and libnacl bindings.
Remi Gacogne [Mon, 4 Jan 2016 09:14:17 +0000 (10:14 +0100)]
Merge pull request #3153 from zeha/dnsdisttestscleanup
Deduplicate dnsdist test code + small things
bert hubert [Mon, 4 Jan 2016 07:08:25 +0000 (08:08 +0100)]
implement dnsdist timeout searching in grepq and topSlow()
bert hubert [Mon, 4 Jan 2016 07:08:14 +0000 (08:08 +0100)]
silence warning on vinfolog else confusion
Christian Hofstaedtler [Sun, 3 Jan 2016 15:36:40 +0000 (16:36 +0100)]
Add timezone to generated bind slave zone files
Christian Hofstaedtler [Sat, 2 Jan 2016 23:32:33 +0000 (00:32 +0100)]
dnsdist: rename policy_t to policyfunc_t to not clash with OS-provided type
Christian Hofstaedtler [Sat, 2 Jan 2016 23:32:08 +0000 (00:32 +0100)]
dnsdist: fix brace positioning warning from clang
Christian Hofstaedtler [Sat, 2 Jan 2016 23:31:24 +0000 (00:31 +0100)]
Fix dnsdist runtests to find dnsdist binary
And support passing parameters to nosetests
Christian Hofstaedtler [Sat, 2 Jan 2016 22:29:23 +0000 (23:29 +0100)]
Deduplicate dnsdist test code
bert hubert [Sat, 2 Jan 2016 19:14:37 +0000 (20:14 +0100)]
Merge pull request #3148 from ahupowerdns/dnsdist-nmg
Dnsdist netmaskgroup plus docs
Christian Hofstaedtler [Sat, 2 Jan 2016 18:20:18 +0000 (19:20 +0100)]
Fix pdnsutil check-all-zones crash
Fixes #3147
bert hubert [Sat, 2 Jan 2016 13:15:28 +0000 (14:15 +0100)]
add NetmaskGroup to dnsdist Lua and document it, closes #3144
bert hubert [Sat, 2 Jan 2016 13:15:02 +0000 (14:15 +0100)]
document Advanced DNS Protection features for dnsdist
bert hubert [Sat, 2 Jan 2016 13:14:28 +0000 (14:14 +0100)]
add missing documentation for topBandwidth() and delta() in dnsdist README
Remi Gacogne [Thu, 31 Dec 2015 13:24:20 +0000 (14:24 +0100)]
Fix several issues reported by coverity
bert hubert [Fri, 1 Jan 2016 11:03:06 +0000 (12:03 +0100)]
Merge pull request #3136 from tfarina/patch-2
update the output of 'pdns monitor'
bert hubert [Fri, 1 Jan 2016 10:46:10 +0000 (11:46 +0100)]
Merge pull request #3141 from mind04/openssl
oops, some debug code slipped into master
bert hubert [Thu, 31 Dec 2015 14:55:09 +0000 (15:55 +0100)]
Merge pull request #3126 from rgacogne/dnsdist-more-tests
dnsdist: Fix truncateTC, add some lua fns and more regression tests
Kees Monshouwer [Thu, 31 Dec 2015 14:32:00 +0000 (15:32 +0100)]
oops, some debug code slipped into master
Peter van Dijk [Wed, 30 Dec 2015 21:07:21 +0000 (22:07 +0100)]
Merge pull request #3139 from mind04/openssl
improve openssl m4 file and some cleanup
Kees Monshouwer [Wed, 30 Dec 2015 19:41:39 +0000 (20:41 +0100)]
improve openssl m4 file and some cleanup
Peter van Dijk [Tue, 29 Dec 2015 23:20:22 +0000 (00:20 +0100)]
respect OPENSSL_LDFLAGS
bert hubert [Wed, 30 Dec 2015 14:43:54 +0000 (15:43 +0100)]
Merge pull request #3134 from ahupowerdns/lua-fixups
Lua fixups (documentation, bugs) plus dynamic metrics
Thiago Farina [Wed, 30 Dec 2015 13:49:34 +0000 (11:49 -0200)]
update the output of 'pdns monitor'
The current output is pretty out-of-date, it is back from 2002!
This patch updates the output to the version of 3.3.
Remi Gacogne [Wed, 30 Dec 2015 09:35:06 +0000 (10:35 +0100)]
Merge pull request #3073 from janeczku/dnsdist-logging-refactor
Dnsdist: Show INFO logs in default verbosity mode
Remi Gacogne [Wed, 30 Dec 2015 09:33:18 +0000 (10:33 +0100)]
Merge pull request #3129 from rgacogne/dnsdist-coverity
dnsdist: Fix coverity/clang static analyzer warnings
Remi Gacogne [Wed, 30 Dec 2015 08:42:20 +0000 (09:42 +0100)]
Merge pull request #3109 from mind04/dnsdist-mbed
merry christmas
bert hubert [Wed, 30 Dec 2015 07:11:48 +0000 (07:11 +0000)]
Merge remote-tracking branch 'origin' into lua-fixups
Peter van Dijk [Wed, 30 Dec 2015 00:55:57 +0000 (01:55 +0100)]
Merge pull request #3132 from zeha/rpzdoc
Nits to RPZ doc
Christian Hofstaedtler [Tue, 29 Dec 2015 23:23:28 +0000 (00:23 +0100)]
Nits to RPZ doc
Christian Hofstaedtler [Mon, 28 Dec 2015 01:01:43 +0000 (02:01 +0100)]
API: remove rapidjson infrastructure
Christian Hofstaedtler [Mon, 28 Dec 2015 12:09:46 +0000 (13:09 +0100)]
API: move returnJsonMessage, returnJsonError to HttpResponse
Christian Hofstaedtler [Mon, 28 Dec 2015 11:56:17 +0000 (12:56 +0100)]
API: replace returnJsonObject with json11 code
Christian Hofstaedtler [Mon, 28 Dec 2015 11:44:20 +0000 (12:44 +0100)]
API: port recursor /jsonstat to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 11:34:57 +0000 (12:34 +0100)]
API: port recursor /search-data to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 01:16:57 +0000 (02:16 +0100)]
API: port recursor /zones to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 01:09:34 +0000 (02:09 +0100)]
API: port recursor /config/allow-from to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 00:51:27 +0000 (01:51 +0100)]
API: port auth /zones, /zone to json11
Christian Hofstaedtler [Sun, 27 Dec 2015 23:32:14 +0000 (00:32 +0100)]
API: port auth /search-data to json11
Christian Hofstaedtler [Sun, 27 Dec 2015 23:18:39 +0000 (00:18 +0100)]
API: port auth zones /export to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 00:55:24 +0000 (01:55 +0100)]
API: port auth /zones to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 00:55:13 +0000 (01:55 +0100)]
API: port cryptokeys to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 00:54:32 +0000 (01:54 +0100)]
API: port /server/:server/statistics to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 00:54:27 +0000 (01:54 +0100)]
API: port /server/:server/config to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 00:54:23 +0000 (01:54 +0100)]
API: port log-search to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 00:54:19 +0000 (01:54 +0100)]
API: port /api/v1/servers{/localhost} to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 00:54:13 +0000 (01:54 +0100)]
API: Lay infra for using json11
Christian Hofstaedtler [Sun, 27 Dec 2015 22:49:23 +0000 (23:49 +0100)]
API: add cryptokeys test
Christian Hofstaedtler [Mon, 28 Dec 2015 12:18:00 +0000 (13:18 +0100)]
Port zone2sql to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 10:28:11 +0000 (11:28 +0100)]
remotebackend: inline makeStringFromDocument, drop json.hh include
Christian Hofstaedtler [Mon, 28 Dec 2015 21:07:19 +0000 (22:07 +0100)]
Fix test-dnsname_cc on clang/OS X
Peter van Dijk [Tue, 29 Dec 2015 22:27:46 +0000 (23:27 +0100)]
Merge pull request #3128 from mind04/openssl
add ECDSA support to DNSSEC infra via OpenSSL
Kees Monshouwer [Tue, 29 Dec 2015 10:36:26 +0000 (11:36 +0100)]
change ECDSA signer priority
bert hubert [Tue, 29 Dec 2015 21:54:57 +0000 (21:54 +0000)]
document RPZ
Kees Monshouwer [Mon, 28 Dec 2015 11:10:17 +0000 (12:10 +0100)]
add ECDSA support to DNSSEC infra via OpenSSL
Remi Gacogne [Tue, 29 Dec 2015 09:53:45 +0000 (10:53 +0100)]
dnsdist: Fix coverity/clang static analyzer warnings.
Fix building the unit tests with sanitizers enabled.
Coverity complained about d_fp in LogAction not being initialized
when constructed from a string, and about negative values from
socket() not being handled.
Clang static analyzer complained about the count var in
addDynBlocks not being initialized in some cases.
Remi Gacogne [Mon, 28 Dec 2015 17:20:07 +0000 (18:20 +0100)]
dnsdist: Add more regression tests
Tests for:
Actions:
* DelayAction
* RCodeAction
Rules:
* AllRule
* AndRule
* addAnyTCRule
* addDisableValidationRule
* addNoRecurseRule
* addPoolRule
* QTypeRule
* RegexRule
* SuffixMatchNodeRule
Misc:
* ACL
* truncateTC
* fixupCase
* addDomainSpoof
* Round Robin balancing
Remi Gacogne [Mon, 28 Dec 2015 17:18:03 +0000 (18:18 +0100)]
dnsdist: Add SuffixMatchNodeRule() and RCodeAction()
I needed them for the regression tests, and unless there is a
cleaner way to do the same thing that I missed, they will be
useful.
Remi Gacogne [Mon, 28 Dec 2015 17:13:46 +0000 (18:13 +0100)]
dnsdist: Fix truncateTC, it wasn't updating the response len anymore
It was broken (still setting TC and fixing ancount, nscount and arcount
but not the response length) since the addition of ECS in
ca404e94c054df56d3f32abf66c643a1dec3b1b2 , shame on me.
bert hubert [Mon, 28 Dec 2015 10:12:22 +0000 (10:12 +0000)]
make ipfilter get passed the dnsheader, make dnsheader useful for lua
bert hubert [Mon, 28 Dec 2015 10:11:54 +0000 (10:11 +0000)]
fix up ipfilter docs, document metrics, document dnsname, document comboaddress, add links to various parts of documentation
bert hubert [Mon, 28 Dec 2015 10:01:26 +0000 (10:01 +0000)]
we were passing the wrong dnsheader to the ipfilter lua hook
bert hubert [Sun, 27 Dec 2015 22:36:32 +0000 (22:36 +0000)]
fix up compilation of testrunner and tsig tests
bert hubert [Sun, 27 Dec 2015 21:21:55 +0000 (21:21 +0000)]
implement dynamic metric creation from Lua & code to rapidly update these metrics securely. Plus some changes to example code to use metrics & comboaddress equal metric.
bert hubert [Sun, 27 Dec 2015 21:19:24 +0000 (21:19 +0000)]
implement ComboAddress:equal for lua
Jan Broer [Mon, 21 Dec 2015 23:08:51 +0000 (00:08 +0100)]
* Log infolog() messages in default verbosity mode (without -v flag)
* Change some verbose logging calls from infolog to vinfolog
Peter van Dijk [Sat, 26 Dec 2015 16:57:53 +0000 (17:57 +0100)]
Merge pull request #3116 from rgacogne/polarssl-compat
Fix building against old PolarSSL versions
Remi Gacogne [Fri, 25 Dec 2015 15:29:26 +0000 (16:29 +0100)]
Fix build against old PolarSSL versions
ctr_drbg_free() did not exist before PolarSSL 1.3.8
Kees Monshouwer [Thu, 24 Dec 2015 21:20:13 +0000 (22:20 +0100)]
remove mbed leftovers from dnsdist
Peter van Dijk [Thu, 24 Dec 2015 15:14:57 +0000 (16:14 +0100)]
Merge pull request #2936 from pieterlexis/pipe-backend-no-crash
pipe: don't crash on exceptions
Peter van Dijk [Thu, 24 Dec 2015 14:50:10 +0000 (15:50 +0100)]
Merge pull request #3108 from Habbie/ecdsa-default
switch (single) ZSK default to ecdsa256
Peter van Dijk [Thu, 24 Dec 2015 14:37:51 +0000 (15:37 +0100)]
avoid random bindbackend slave related failure
Peter van Dijk [Thu, 24 Dec 2015 12:31:42 +0000 (13:31 +0100)]
skip pkcs11 test as it does not like ecdsa
Peter van Dijk [Wed, 23 Dec 2015 13:16:14 +0000 (14:16 +0100)]
disable testing tools that do not support ECDSA; revert this later
Peter van Dijk [Wed, 23 Dec 2015 14:53:34 +0000 (15:53 +0100)]
switch ZSK default to ecdsa256
Remi Gacogne [Thu, 24 Dec 2015 11:18:33 +0000 (12:18 +0100)]
Merge pull request #3092 from kempniu/testCrypto-without-libsodium
dnsdist: change message returned by testCrypto() if compiled without libsodium