]>
granicus.if.org Git - pdns/log
bert hubert [Thu, 14 Jan 2016 09:30:01 +0000 (10:30 +0100)]
Merge pull request #3228 from pieterlexis/generate-manpage-dnsdist
dnsdist: Build manpages from make
bert hubert [Thu, 14 Jan 2016 09:10:58 +0000 (10:10 +0100)]
Merge pull request #3219 from rgacogne/dnsdist-xss
dnsdist: Remove JSONP, limit command to /jsonstat, add security HTTP headers and CORS
Remi Gacogne [Thu, 14 Jan 2016 08:14:05 +0000 (09:14 +0100)]
dnsdist: Set the charset to UTF-8 for html, JS, CSS and JSON contents
Remi Gacogne [Wed, 13 Jan 2016 16:54:54 +0000 (17:54 +0100)]
dnsdist: Remove remote images in the webserver index
- Remove the github link/image
- Add the powerdns logo to the html directory
- Add handling for PNG files in the webserver
- Edit the CSP policy to only allows local images
- Explicitely asks jQuery not to use JSONP while fetching the stats
Remi Gacogne [Tue, 12 Jan 2016 15:00:36 +0000 (16:00 +0100)]
dnsdist: Add basic CORS support in the webserver
Now that we have removed JSONP support, we need to support
Cross-Origin Resource Sharing (CORS) to allow web pages not served
by our webserver to access our JSON REST API (well, stats).
Christian Hofstaedtler [Tue, 12 Jan 2016 09:46:04 +0000 (10:46 +0100)]
dnsdist: Support command= only on /jsonstat URL
Remi Gacogne [Tue, 12 Jan 2016 09:25:05 +0000 (10:25 +0100)]
dnsdist: Remove jsonp callback, add security HTTP headers
- Remove the jsonp callback, using simple json data instead (Fixes #3217)
We might need to add CORS if we want to be able to retrieve JSON
data from a webpage not stored on the embedded web server.
- Add several HTTP headers:
* X-Content-Type-Options: no-sniff to prevent browsers from guessing MIME type
* X-Frame-Options: deny to prevent clickjacking
* X-Permitted-Cross-Domain-Policies: none to keep flash from crossing boundaries
* X-XSS-Protection: 1; mode=block to mitigate XSS
* Content-Security-Policy: default-src 'self'; img-src *; style-src 'self' 'unsafe-inline',
a basic CSP policy to restrict which scripts and CSS can be loaded
bert hubert [Thu, 14 Jan 2016 08:01:03 +0000 (09:01 +0100)]
Merge pull request #3226 from zeha/libedit2
Drop unused <history.h> include
Pieter Lexis [Wed, 13 Jan 2016 19:21:38 +0000 (20:21 +0100)]
dnsdist: Build manpages from make
Build manpage when they are not there and ensure they are distributed in
the tarball.
bert hubert [Wed, 13 Jan 2016 19:42:46 +0000 (20:42 +0100)]
Merge pull request #3224 from tjikkun/fix_html
fix html a bit
Christian Hofstaedtler [Wed, 13 Jan 2016 19:31:39 +0000 (20:31 +0100)]
Drop unused <history.h> include
Not needed for libedit, and the compat symlink apparently is a
Debian-only thing, breaking the build on Fedora.
bert hubert [Wed, 13 Jan 2016 19:31:37 +0000 (20:31 +0100)]
Merge pull request #3152 from zeha/shasummer
Fix deleted copy/assignment constructors
Sander Hoentjen [Wed, 13 Jan 2016 15:20:05 +0000 (16:20 +0100)]
fix html a bit
bert hubert [Wed, 13 Jan 2016 14:52:12 +0000 (15:52 +0100)]
Merge pull request #3221 from zeha/tarball-cleanup
dist-tar cleanup / fixes
bert hubert [Wed, 13 Jan 2016 14:51:46 +0000 (15:51 +0100)]
Merge pull request #3220 from zeha/libedit
Replace readline with libedit
bert hubert [Wed, 13 Jan 2016 14:50:28 +0000 (15:50 +0100)]
Merge pull request #3222 from bearggg/master
dnsdist: README hints to AllowAction() yet doesnt exist, add it
Greg [Wed, 13 Jan 2016 01:55:17 +0000 (17:55 -0800)]
dnsdist: README hints to AllowAction() yet doesnt exist, add it
Christian Hofstaedtler [Wed, 13 Jan 2016 00:04:26 +0000 (01:04 +0100)]
auth: Remove dnsdistdist from tarball
Christian Hofstaedtler [Wed, 13 Jan 2016 00:03:11 +0000 (01:03 +0100)]
auth: stop shipping semistaticg++
Which is referenced from nowhere, apparently.
Christian Hofstaedtler [Wed, 13 Jan 2016 00:02:02 +0000 (01:02 +0100)]
dnsdist: ship build-aux/gen-version in tarball
So tarball users can run autoreconf.
Christian Hofstaedtler [Wed, 13 Jan 2016 00:00:53 +0000 (01:00 +0100)]
Add license file for incbin
Christian Hofstaedtler [Tue, 12 Jan 2016 23:58:07 +0000 (00:58 +0100)]
dnsdist: ship manpage source
Christian Hofstaedtler [Tue, 12 Jan 2016 20:21:05 +0000 (21:21 +0100)]
Replace readline with libedit
bert hubert [Tue, 12 Jan 2016 20:11:08 +0000 (21:11 +0100)]
Merge pull request #3086 from cmouse/recursor-fixes
Recursor fixes
bert hubert [Tue, 12 Jan 2016 20:09:39 +0000 (21:09 +0100)]
Merge pull request #3209 from pieterlexis/SOA-EDIT-warning
Warn if SOA-EDIT value is bogus
bert hubert [Tue, 12 Jan 2016 20:07:52 +0000 (21:07 +0100)]
Merge pull request #3216 from Habbie/validatorfixes
[WIP] validator fixes and polishing
Peter van Dijk [Tue, 12 Jan 2016 17:23:42 +0000 (18:23 +0100)]
reduce breakage for insecure domains
Send DS queries to parent side of zone cut instead of child
Aki Tuomi [Tue, 12 Jan 2016 14:35:24 +0000 (16:35 +0200)]
Enclose DLOG with braces
bert hubert [Tue, 12 Jan 2016 14:26:00 +0000 (15:26 +0100)]
Merge pull request #3218 from cmouse/ax-socket-nsl
Add socket/nsl check to local m4
Peter van Dijk [Mon, 11 Jan 2016 17:31:08 +0000 (18:31 +0100)]
Mark servfail.nl as bogus
if we have keys, but could validate nothing, consider the situation Bogus.
Peter van Dijk [Mon, 11 Jan 2016 16:51:08 +0000 (17:51 +0100)]
Mark dnssec-failed.org as bogus
Do not throw away bogus result from getKeysFor
Pieter Lexis [Tue, 12 Jan 2016 08:47:26 +0000 (09:47 +0100)]
Merge pull request #3169 from zeha/createzonesoa
pdnsutil create-zone: Create SOA, too
Pieter Lexis [Tue, 12 Jan 2016 08:47:16 +0000 (09:47 +0100)]
Merge pull request #3162 from zeha/meh
Fix my pdnsutil check-all-zones fix
Aki Tuomi [Tue, 12 Jan 2016 08:45:06 +0000 (10:45 +0200)]
Add socket/nsl check to local m4
Pieter Lexis [Tue, 12 Jan 2016 08:35:40 +0000 (09:35 +0100)]
Merge pull request #3119 from cmouse/presigned-show-zone
Show DNSSEC keys for slaved zone
Pieter Lexis [Tue, 12 Jan 2016 08:35:19 +0000 (09:35 +0100)]
Merge pull request #3205 from pieterlexis/issue-3184-disable-pdnsutil
pdnsutil: don't check disabled records
Pieter Lexis [Tue, 12 Jan 2016 08:35:12 +0000 (09:35 +0100)]
Merge pull request #3052 from zeha/pdnsutil-consistent-cerr
pdnsutil: Make cout/cerr usage more consistent
Pieter Lexis [Tue, 12 Jan 2016 08:35:06 +0000 (09:35 +0100)]
Merge pull request #3143 from rubenk/fix-typo
Correct name of libcrypto in ax_check_openssl.m4
Christian Hofstaedtler [Mon, 4 Jan 2016 10:42:40 +0000 (11:42 +0100)]
Fix my check-all-zones fix
Which entirely disabled exit-on-error.
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
Pieter Lexis [Mon, 11 Jan 2016 09:09:21 +0000 (10:09 +0100)]
pdnsutil: don't check disabled records
Closes #3184
Pieter Lexis [Mon, 11 Jan 2016 11:31:57 +0000 (12:31 +0100)]
Warn if SOA-EDIT value is bogus
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
Aki Tuomi [Tue, 22 Dec 2015 16:13:45 +0000 (18:13 +0200)]
Squash compiler warnings
Aki Tuomi [Tue, 22 Dec 2015 16:13:35 +0000 (18:13 +0200)]
Fully initialize Policy
Aki Tuomi [Tue, 22 Dec 2015 16:13:17 +0000 (18:13 +0200)]
Fully initialize Policy
Aki Tuomi [Tue, 22 Dec 2015 16:13:05 +0000 (18:13 +0200)]
Use C++11 conversion
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