]>
granicus.if.org Git - pdns/log
Aki Tuomi [Sat, 9 Jan 2016 13:59:49 +0000 (15:59 +0200)]
Return failure on error
Aki Tuomi [Sat, 9 Jan 2016 13:53:45 +0000 (15:53 +0200)]
Properly prepare POST for transaction
Aki Tuomi [Fri, 8 Jan 2016 12:38:39 +0000 (14:38 +0200)]
Use Json11 instead of RapidJSON
Aki Tuomi [Fri, 8 Jan 2016 12:38:01 +0000 (14:38 +0200)]
Allow 1 or 0 as boolean too
Aki Tuomi [Fri, 8 Jan 2016 12:37:47 +0000 (14:37 +0200)]
Add doubleFromJson
Aki Tuomi [Fri, 8 Jan 2016 12:36:29 +0000 (14:36 +0200)]
Remove TODO
Aki Tuomi [Fri, 8 Jan 2016 12:36:11 +0000 (14:36 +0200)]
Add JSON11
Aki Tuomi [Mon, 4 Jan 2016 17:31:40 +0000 (19:31 +0200)]
Replace rapidjson includes with json11
bert hubert [Mon, 11 Jan 2016 12:59:35 +0000 (13:59 +0100)]
implement ixfr-falls-back-to-axfr support
bert hubert [Mon, 11 Jan 2016 12:58:19 +0000 (13:58 +0100)]
some (c) updates - happy 2016
Remi Gacogne [Mon, 11 Jan 2016 11:31:08 +0000 (12:31 +0100)]
Merge pull request #3207 from rgacogne/dnsdist-tests-fixes
dnsdist: More regression tests cleanups
Remi Gacogne [Mon, 11 Jan 2016 09:45:23 +0000 (10:45 +0100)]
dnsdist: More regression tests cleanups
- Add a timeout on all queue operations
- Give dnsdist more time to start in the DNSCrypt tests, since
the key material has to be generated
- Clear the response counters and the queues before every test
- Add a one-line description for tests, displayed in verbose mode
bert hubert [Sun, 10 Jan 2016 18:13:25 +0000 (19:13 +0100)]
Merge pull request #3151 from zeha/dnsnamepain
Catch DNSName build errors in dynhandler
bert hubert [Sun, 10 Jan 2016 18:06:52 +0000 (19:06 +0100)]
Merge pull request #3201 from janeczku/expose_server_latency
Expose server latency in dnsdist API/UI
bert hubert [Sun, 10 Jan 2016 17:58:12 +0000 (18:58 +0100)]
Merge pull request #3202 from pieterlexis/issue-3200-license-dnsdist
Add GPLv2 licenxe to dnsdist tarball
Pieter Lexis [Sun, 10 Jan 2016 15:57:25 +0000 (16:57 +0100)]
Add GPLv2 licenxe to dnsdist tarball
Closes #3200
Jan Broer [Sun, 10 Jan 2016 14:43:58 +0000 (15:43 +0100)]
Expose server latency in dnsdist API/WebUI
bert hubert [Sat, 9 Jan 2016 07:54:02 +0000 (08:54 +0100)]
Merge pull request #3146 from mind04/dot
fix trailing dots in slave zones
bert hubert [Sat, 9 Jan 2016 07:53:15 +0000 (08:53 +0100)]
Merge pull request #3154 from zeha/ntlog
Remove Logger::NTLog
bert hubert [Sat, 9 Jan 2016 07:52:00 +0000 (08:52 +0100)]
Merge pull request #3195 from a6502/master
fixes for powerdns-luabackend.lua example script.
bert hubert [Fri, 8 Jan 2016 19:56:45 +0000 (20:56 +0100)]
Merge pull request #3179 from pieterlexis/build-name
Determine system name at configure time
bert hubert [Fri, 8 Jan 2016 19:54:55 +0000 (20:54 +0100)]
Merge pull request #3161 from rgacogne/openssl-rsa
Add RSA support to DNSSEC infra via OpenSSL
bert hubert [Fri, 8 Jan 2016 19:53:46 +0000 (20:53 +0100)]
Merge pull request #3191 from rgacogne/dnsdist-minor-fixes
dnsdist: minor fixes reported by coverity and some cleanups
bert hubert [Fri, 8 Jan 2016 19:53:23 +0000 (20:53 +0100)]
Merge pull request #3187 from cmouse/illumos-fixes
Fix compiling issues on illumos
bert hubert [Fri, 8 Jan 2016 19:52:30 +0000 (20:52 +0100)]
Merge pull request #3193 from rgacogne/openssl-bn-clear
Clear the OpenSSL BN holding the private key before releasing them
bert hubert [Fri, 8 Jan 2016 19:51:53 +0000 (20:51 +0100)]
Merge pull request #3196 from rgacogne/mbed-ecdsa-reset-key
mbed ECDSA: Completely reset the key on from* calls
Wieger Opmeer [Fri, 8 Jan 2016 16:21:55 +0000 (17:21 +0100)]
make the powerdns-luabackend.lua example script somewhat more functional with 4.0
Remi Gacogne [Fri, 8 Jan 2016 16:04:07 +0000 (17:04 +0100)]
mbed ECDSA: Completely reset the key on from* calls
As noted by @mind04 in #3161, nothing guarantees the signer will
be used for a single task with a single key. This way we make
sure that there is nothing left behind.
In addition, we now consistently use getName() in error messages.
Remi Gacogne [Fri, 8 Jan 2016 14:57:56 +0000 (15:57 +0100)]
RSA support via OpenSSL: completely reset the key on from* calls
bert hubert [Fri, 8 Jan 2016 11:44:49 +0000 (12:44 +0100)]
Merge pull request #3190 from ahupowerdns/tsig-ixfr
Tsig ixfr: hook up all the things, plus clean up IXFR in general
Remi Gacogne [Fri, 8 Jan 2016 11:30:18 +0000 (12:30 +0100)]
Clear the OpenSSL BN holding the private key before releasing them
Pieter Lexis [Fri, 8 Jan 2016 11:24:54 +0000 (12:24 +0100)]
Merge pull request #3192 from pieterlexis/alpha1-secpoll
Update secpoll for alpha1
Pieter Lexis [Fri, 8 Jan 2016 11:19:30 +0000 (12:19 +0100)]
Update secpoll for alpha1
Also, update the NS records in the zone to use the new infra
Closes #3114
Remi Gacogne [Fri, 8 Jan 2016 11:10:12 +0000 (12:10 +0100)]
RSA support via OpenSSL: more input checks
bert hubert [Fri, 8 Jan 2016 09:41:52 +0000 (10:41 +0100)]
Merge remote-tracking branch 'origin/master' into tsig-ixfr
Remi Gacogne [Fri, 8 Jan 2016 08:56:04 +0000 (09:56 +0100)]
dnsdist: add topSlow() to the completion rules
Closes #3188.
Remi Gacogne [Fri, 8 Jan 2016 08:54:12 +0000 (09:54 +0100)]
dnsdist: make topBandwidth() default to the top 10 clients
Closes #3189.
Remi Gacogne [Fri, 8 Jan 2016 08:51:38 +0000 (09:51 +0100)]
dnsdist: Minor fixes reported by coverity
- Handle connection error in client mode
- Prevent FPE in some top* functions when no queries were processed
- Close Downstream FD in the destructor (no that we really care)
bert hubert [Fri, 8 Jan 2016 08:45:28 +0000 (09:45 +0100)]
fix up tsig-tests
Remi Gacogne [Fri, 8 Jan 2016 08:27:25 +0000 (09:27 +0100)]
Merge pull request #3186 from ZaphodB/patch-1
README-dnsdist.md: Unrecognized option --daemon-no
bert hubert [Fri, 8 Jan 2016 08:22:36 +0000 (09:22 +0100)]
Merge pull request #3183 from rgacogne/dnsdist-src-addr
dnsdist: Add a LUXURIOUS 'source' option to select the source addr/interface
bert hubert [Fri, 8 Jan 2016 08:22:11 +0000 (09:22 +0100)]
Merge pull request #3182 from rgacogne/dnsdist-fix-tests
dnsdist: upgrade nose, add timeouts in responder, be verbose. Hopefully this will either fix tests or find out why they are broken.
bert hubert [Fri, 8 Jan 2016 07:09:13 +0000 (08:09 +0100)]
Merge pull request #3120 from cmouse/is-our-domain
Verify domain ownership
bert hubert [Thu, 7 Jan 2016 22:13:43 +0000 (23:13 +0100)]
Introduce TSIGTriple struct, hook up IXFR config in recursor to TSIG code for IXFR
merge the triplet 'tsigname, tsigalgo, tsigsecret' into a handy TSIGTriplet, and move most of the TSIG apis to this struct.
Aki Tuomi [Thu, 7 Jan 2016 18:20:11 +0000 (20:20 +0200)]
Add note about illumos
Aki Tuomi [Thu, 7 Jan 2016 18:16:02 +0000 (20:16 +0200)]
Print LIBS on summary
Aki Tuomi [Thu, 7 Jan 2016 18:01:49 +0000 (20:01 +0200)]
Fix typo causing LIBS to become mangled
Aki Tuomi [Thu, 7 Jan 2016 17:08:57 +0000 (19:08 +0200)]
Use autoconf archive version of libsocket/nsl check
Aki Tuomi [Thu, 7 Jan 2016 17:08:40 +0000 (19:08 +0200)]
Check if there are special macros for be/le
Stefan Schmidt [Thu, 7 Jan 2016 17:27:54 +0000 (18:27 +0100)]
README-dnsdist.md: Unrecognized option --daemon-no
It seems that there never was a "daemon-no" option:
dnsdist: unrecognized option '--daemon-no'
dnsdist: option '--daemon' doesn't allow an argument
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
Remi Gacogne [Thu, 7 Jan 2016 13:27:51 +0000 (14:27 +0100)]
dnsdist: upgrade nose, add timeouts in responder, be verbose
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
Remi Gacogne [Thu, 7 Jan 2016 11:55:14 +0000 (12:55 +0100)]
dnsdist: Add a 'source' option to select the source addr/interface
It only supports one source address/interface per downstream server.
The more I tried to support more than one, the more I realized I was
in fact having grouping several DS into one, without the benefits
of separate stats and status checking. In particular, having several
sources adresses mean that we would get "random" failures if some
addresses are allowed on the backend and some others are not.
Simply adding the same backend several times with different source
addresses means that only the ones with faulty addresses will be
disabled.
Closes #3138.
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
bert hubert [Wed, 6 Jan 2016 20:32:31 +0000 (21:32 +0100)]
implement TSIG for IXFR slaving, make ixplore use that infrastructure. Todo: hook it up in recursor
bert hubert [Wed, 6 Jan 2016 19:50:11 +0000 (20:50 +0100)]
some more error checking in ixplore instead of blinding charging on, plus fix IPv6 outgoing
Pieter Lexis [Wed, 6 Jan 2016 14:20:29 +0000 (15:20 +0100)]
Determine system name at configure time
Closes #3159
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
Remi Gacogne [Mon, 4 Jan 2016 17:21:09 +0000 (18:21 +0100)]
Add RSA support to DNSSEC infra via OpenSSL
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 [Sun, 3 Jan 2016 00:08:16 +0000 (01:08 +0100)]
Remove Logger::NTLog
An unused relict.
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
Christian Hofstaedtler [Sat, 2 Jan 2016 18:55:35 +0000 (19:55 +0100)]
Fix uncaught DNSName build error in DLNotifyHostHandler
Christian Hofstaedtler [Sat, 2 Jan 2016 18:55:28 +0000 (19:55 +0100)]
Fix uncaught DNSName build error in DLNotifyRetrieveHandler
Christian Hofstaedtler [Sat, 2 Jan 2016 18:55:15 +0000 (19:55 +0100)]
Fix uncaught DNSName build error in DLNotifyHandler
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
Kees Monshouwer [Sat, 2 Jan 2016 18:43:18 +0000 (19:43 +0100)]
trailing dots in bind slave zones
Christian Hofstaedtler [Sat, 2 Jan 2016 18:20:18 +0000 (19:20 +0100)]
Fix pdnsutil check-all-zones crash
Fixes #3147
Kees Monshouwer [Sat, 2 Jan 2016 17:33:53 +0000 (18:33 +0100)]
fix trailing dots in slave zones
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