]> granicus.if.org Git - pdns/log
pdns
8 years agodnsdist: Implement DNSAction.Spoof. Support IPv6-only SpoofAction
Remi Gacogne [Fri, 15 Jan 2016 11:00:01 +0000 (12:00 +0100)]
dnsdist: Implement DNSAction.Spoof. Support IPv6-only SpoofAction

DNSAction.Spoof can be used to return a spoofed response from
a Lua rule. It supports an IPv4 (A), IPv6 (AAAA) or a DNSName
(CNAME).
SpoofAction() can be used IPv6-only, by passing a IPv6 as the
first parameter. It now supports spoofing IPv4-only, IPv6-only,
IPv4 and IPv6, and CNAME.
Closes #3064.

8 years agoMerge pull request #3235 from rgacogne/dnsdist-nocharset-json
Remi Gacogne [Thu, 14 Jan 2016 16:44:20 +0000 (17:44 +0100)]
Merge pull request #3235 from rgacogne/dnsdist-nocharset-json

dnsdist: Remove charset from the Content-Type header for application/json contents

8 years agodnsdist: Remove charset from Content-Type for application/json
Remi Gacogne [Thu, 14 Jan 2016 13:28:07 +0000 (14:28 +0100)]
dnsdist: Remove charset from Content-Type for application/json

8 years agoMerge pull request #3229 from pieterlexis/no-dnsdist-for-auth
bert hubert [Thu, 14 Jan 2016 12:22:00 +0000 (13:22 +0100)]
Merge pull request #3229 from pieterlexis/no-dnsdist-for-auth

Remove dnsdist from auth tarball

8 years agoMerge pull request #3231 from ahupowerdns/dynimp
bert hubert [Thu, 14 Jan 2016 12:21:10 +0000 (13:21 +0100)]
Merge pull request #3231 from ahupowerdns/dynimp

Document and slightly improve dnsdist dynamic rules

8 years agodocument dynamic rule generation
bert hubert [Thu, 14 Jan 2016 11:36:03 +0000 (12:36 +0100)]
document dynamic rule generation

8 years agoimplement & document exceedQRate(), plus populate dnsdist.* with dns types.
bert hubert [Thu, 14 Jan 2016 10:45:49 +0000 (11:45 +0100)]
implement & document exceedQRate(), plus populate dnsdist.* with dns types.

8 years agoRemove dnsdist from auth tarball
Pieter Lexis [Thu, 14 Jan 2016 10:08:47 +0000 (11:08 +0100)]
Remove dnsdist from auth tarball

This ensures any files _only_ needed for dnsdist are not distributed,
that dnsdist (htmlfiles.h specifically) cannot be built from the tarball.

But still allow building dnsdist from the repository root.

8 years agoMerge pull request #3228 from pieterlexis/generate-manpage-dnsdist
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

8 years agoMerge pull request #3219 from rgacogne/dnsdist-xss
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

8 years agodnsdist: Set the charset to UTF-8 for html, JS, CSS and JSON contents
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

8 years agodnsdist: Remove remote images in the webserver index
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

8 years agodnsdist: Add basic CORS support in the webserver
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).

8 years agodnsdist: Support command= only on /jsonstat URL
Christian Hofstaedtler [Tue, 12 Jan 2016 09:46:04 +0000 (10:46 +0100)]
dnsdist: Support command= only on /jsonstat URL

8 years agodnsdist: Remove jsonp callback, add security HTTP headers
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

8 years agoMerge pull request #3226 from zeha/libedit2
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

8 years agodnsdist: Build manpages from make
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.

8 years agoMerge pull request #3224 from tjikkun/fix_html
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

8 years agoDrop unused <history.h> include
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.

8 years agoMerge pull request #3152 from zeha/shasummer
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

8 years agofix html a bit
Sander Hoentjen [Wed, 13 Jan 2016 15:20:05 +0000 (16:20 +0100)]
fix html a bit

8 years agoMerge pull request #3221 from zeha/tarball-cleanup
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

8 years agoMerge pull request #3220 from zeha/libedit
bert hubert [Wed, 13 Jan 2016 14:51:46 +0000 (15:51 +0100)]
Merge pull request #3220 from zeha/libedit

Replace readline with libedit

8 years agoMerge pull request #3222 from bearggg/master
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

8 years agodnsdist: 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

8 years agoauth: Remove dnsdistdist from tarball
Christian Hofstaedtler [Wed, 13 Jan 2016 00:04:26 +0000 (01:04 +0100)]
auth: Remove dnsdistdist from tarball

8 years agoauth: stop shipping semistaticg++
Christian Hofstaedtler [Wed, 13 Jan 2016 00:03:11 +0000 (01:03 +0100)]
auth: stop shipping semistaticg++

Which is referenced from nowhere, apparently.

8 years agodnsdist: ship build-aux/gen-version in tarball
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.

8 years agoAdd license file for incbin
Christian Hofstaedtler [Wed, 13 Jan 2016 00:00:53 +0000 (01:00 +0100)]
Add license file for incbin

8 years agodnsdist: ship manpage source
Christian Hofstaedtler [Tue, 12 Jan 2016 23:58:07 +0000 (00:58 +0100)]
dnsdist: ship manpage source

8 years agoReplace readline with libedit
Christian Hofstaedtler [Tue, 12 Jan 2016 20:21:05 +0000 (21:21 +0100)]
Replace readline with libedit

8 years agoMerge pull request #3086 from cmouse/recursor-fixes
bert hubert [Tue, 12 Jan 2016 20:11:08 +0000 (21:11 +0100)]
Merge pull request #3086 from cmouse/recursor-fixes

Recursor fixes

8 years agoMerge pull request #3209 from pieterlexis/SOA-EDIT-warning
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

8 years agoMerge pull request #3216 from Habbie/validatorfixes
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

8 years agoreduce breakage for insecure domains
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

8 years agoEnclose DLOG with braces
Aki Tuomi [Tue, 12 Jan 2016 14:35:24 +0000 (16:35 +0200)]
Enclose DLOG with braces

8 years agoMerge pull request #3218 from cmouse/ax-socket-nsl
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

8 years agoMark servfail.nl as bogus
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.

8 years agoMark dnssec-failed.org as 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

8 years agoMerge pull request #3169 from zeha/createzonesoa
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

8 years agoMerge pull request #3162 from zeha/meh
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

8 years agoAdd socket/nsl check to local m4
Aki Tuomi [Tue, 12 Jan 2016 08:45:06 +0000 (10:45 +0200)]
Add socket/nsl check to local m4

8 years agoMerge pull request #3119 from cmouse/presigned-show-zone
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

8 years agoMerge pull request #3205 from pieterlexis/issue-3184-disable-pdnsutil
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

8 years agoMerge pull request #3052 from zeha/pdnsutil-consistent-cerr
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

8 years agoMerge pull request #3143 from rubenk/fix-typo
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

8 years agoFix my check-all-zones fix
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.

8 years agoimplement ixfr-falls-back-to-axfr support
bert hubert [Mon, 11 Jan 2016 12:59:35 +0000 (13:59 +0100)]
implement ixfr-falls-back-to-axfr support

8 years agosome (c) updates - happy 2016
bert hubert [Mon, 11 Jan 2016 12:58:19 +0000 (13:58 +0100)]
some (c) updates - happy 2016

8 years agopdnsutil: don't check disabled records
Pieter Lexis [Mon, 11 Jan 2016 09:09:21 +0000 (10:09 +0100)]
pdnsutil: don't check disabled records

Closes #3184

8 years agoWarn if SOA-EDIT value is bogus
Pieter Lexis [Mon, 11 Jan 2016 11:31:57 +0000 (12:31 +0100)]
Warn if SOA-EDIT value is bogus

8 years agoMerge pull request #3207 from rgacogne/dnsdist-tests-fixes
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

8 years agodnsdist: 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

8 years agoMerge pull request #3151 from zeha/dnsnamepain
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

8 years agoMerge pull request #3201 from janeczku/expose_server_latency
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

8 years agoMerge pull request #3202 from pieterlexis/issue-3200-license-dnsdist
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

8 years agoAdd 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

8 years agoExpose server latency in dnsdist API/WebUI
Jan Broer [Sun, 10 Jan 2016 14:43:58 +0000 (15:43 +0100)]
Expose server latency in dnsdist API/WebUI

8 years agoMerge pull request #3146 from mind04/dot
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

8 years agoMerge pull request #3154 from zeha/ntlog
bert hubert [Sat, 9 Jan 2016 07:53:15 +0000 (08:53 +0100)]
Merge pull request #3154 from zeha/ntlog

Remove Logger::NTLog

8 years agoMerge pull request #3195 from a6502/master
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.

8 years agoMerge pull request #3179 from pieterlexis/build-name
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

8 years agoMerge pull request #3161 from rgacogne/openssl-rsa
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

8 years agoMerge pull request #3191 from rgacogne/dnsdist-minor-fixes
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

8 years agoMerge pull request #3187 from cmouse/illumos-fixes
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

8 years agoMerge pull request #3193 from rgacogne/openssl-bn-clear
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

8 years agoMerge pull request #3196 from rgacogne/mbed-ecdsa-reset-key
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

8 years agomake the powerdns-luabackend.lua example script somewhat more functional with 4.0
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

8 years agombed ECDSA: Completely reset the key on from* calls
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.

8 years agoRSA support via OpenSSL: completely reset the key on from* calls
Remi Gacogne [Fri, 8 Jan 2016 14:57:56 +0000 (15:57 +0100)]
RSA support via OpenSSL: completely reset the key on from* calls

8 years agoMerge pull request #3190 from ahupowerdns/tsig-ixfr
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

8 years agoClear the OpenSSL BN holding the private key before releasing them
Remi Gacogne [Fri, 8 Jan 2016 11:30:18 +0000 (12:30 +0100)]
Clear the OpenSSL BN holding the private key before releasing them

8 years agoMerge pull request #3192 from pieterlexis/alpha1-secpoll
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

8 years agoUpdate 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

8 years agoRSA support via OpenSSL: more input checks
Remi Gacogne [Fri, 8 Jan 2016 11:10:12 +0000 (12:10 +0100)]
RSA support via OpenSSL: more input checks

8 years agoMerge remote-tracking branch 'origin/master' into tsig-ixfr
bert hubert [Fri, 8 Jan 2016 09:41:52 +0000 (10:41 +0100)]
Merge remote-tracking branch 'origin/master' into tsig-ixfr

8 years agodnsdist: add topSlow() to the completion rules
Remi Gacogne [Fri, 8 Jan 2016 08:56:04 +0000 (09:56 +0100)]
dnsdist: add topSlow() to the completion rules

Closes #3188.

8 years agodnsdist: make topBandwidth() default to the top 10 clients
Remi Gacogne [Fri, 8 Jan 2016 08:54:12 +0000 (09:54 +0100)]
dnsdist: make topBandwidth() default to the top 10 clients

Closes #3189.

8 years agodnsdist: Minor fixes reported by coverity
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)

8 years agofix up tsig-tests
bert hubert [Fri, 8 Jan 2016 08:45:28 +0000 (09:45 +0100)]
fix up tsig-tests

8 years agoMerge pull request #3186 from ZaphodB/patch-1
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

8 years agoMerge pull request #3183 from rgacogne/dnsdist-src-addr
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

8 years agoMerge pull request #3182 from rgacogne/dnsdist-fix-tests
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.

8 years agoMerge pull request #3120 from cmouse/is-our-domain
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

8 years agoSquash compiler warnings
Aki Tuomi [Tue, 22 Dec 2015 16:13:45 +0000 (18:13 +0200)]
Squash compiler warnings

8 years agoFully initialize Policy
Aki Tuomi [Tue, 22 Dec 2015 16:13:35 +0000 (18:13 +0200)]
Fully initialize Policy

8 years agoFully initialize Policy
Aki Tuomi [Tue, 22 Dec 2015 16:13:17 +0000 (18:13 +0200)]
Fully initialize Policy

8 years agoUse C++11 conversion
Aki Tuomi [Tue, 22 Dec 2015 16:13:05 +0000 (18:13 +0200)]
Use C++11 conversion

8 years agoIntroduce TSIGTriple struct, hook up IXFR config in recursor to TSIG code for IXFR
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.

8 years agoAdd note about illumos
Aki Tuomi [Thu, 7 Jan 2016 18:20:11 +0000 (20:20 +0200)]
Add note about illumos

8 years agoPrint LIBS on summary
Aki Tuomi [Thu, 7 Jan 2016 18:16:02 +0000 (20:16 +0200)]
Print LIBS on summary

8 years agoFix typo causing LIBS to become mangled
Aki Tuomi [Thu, 7 Jan 2016 18:01:49 +0000 (20:01 +0200)]
Fix typo causing LIBS to become mangled

8 years agoUse autoconf archive version of libsocket/nsl check
Aki Tuomi [Thu, 7 Jan 2016 17:08:57 +0000 (19:08 +0200)]
Use autoconf archive version of libsocket/nsl check

8 years agoCheck if there are special macros for be/le
Aki Tuomi [Thu, 7 Jan 2016 17:08:40 +0000 (19:08 +0200)]
Check if there are special macros for be/le

8 years agoREADME-dnsdist.md: Unrecognized option --daemon-no
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

8 years agoMerge pull request #3180 from ahupowerdns/local-fixes
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

8 years agodocument various toStringWithPort and getPort() functions, and add them to examples
bert hubert [Thu, 7 Jan 2016 14:15:23 +0000 (15:15 +0100)]
document various toStringWithPort and getPort() functions, and add them to examples

8 years agodnsdist: upgrade nose, add timeouts in responder, be verbose
Remi Gacogne [Thu, 7 Jan 2016 13:27:51 +0000 (14:27 +0100)]
dnsdist: upgrade nose, add timeouts in responder, be verbose

8 years agoturns out we weren't gathering the local address for TCP at all, and for UDP we did...
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.

8 years agodon't return nonsense when toString() is called on an unset or invalid ComboAddress
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