]> granicus.if.org Git - pdns/log
pdns
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 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 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

8 years agodnsdist: Add a 'source' option to select the source addr/interface
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.

8 years agoadded hooks to access port numbers of 'local' addresses, but turns out we don't alway...
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

8 years agoMerge pull request #3178 from rgacogne/dnsdist-aggr-testing
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

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

8 years agoMerge pull request #3164 from rgacogne/dnsdist-clean-doc
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

8 years agoMerge pull request #3174 from rgacogne/fix-delaypipe
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

8 years agoMake 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.

8 years agodnsdist: Update documentation and console completion
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

8 years agoMerge pull request #3125 from zeha/api-json11
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

8 years agoMerge pull request #3170 from rgacogne/dnsdist-spoof-cname
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

8 years agoMerge pull request #3160 from rgacogne/coverity-fixes
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

8 years agodnsdist: Add sending CNAME in spoofed responses
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

8 years agomake sure dnsdist updates 'downstream-timeouts' metric properly
bert hubert [Mon, 4 Jan 2016 23:17:18 +0000 (00:17 +0100)]
make sure dnsdist updates 'downstream-timeouts' metric properly

8 years agoMerge pull request #3167 from ahupowerdns/dnsdist-to
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

8 years agoPrint the socket path we actually used in case of error
Remi Gacogne [Mon, 4 Jan 2016 17:32:10 +0000 (18:32 +0100)]
Print the socket path we actually used in case of error

8 years agoMerge remote-tracking branch 'origin/master' into dnsdist-to
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

8 years agomake grepq support multiple criteria, document this, document topSlow(), fix topSlow...
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

8 years agoMerge pull request #3142 from rgacogne/dnscrypt-regression-tests
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

8 years agodnsdist: Add a test (and a fix) for DNSCrypt truncation case.
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.

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

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

8 years agodnsdist: Add a basic regression test for DNSCrypt
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.

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

8 years agoimplement dnsdist timeout searching in grepq and topSlow()
bert hubert [Mon, 4 Jan 2016 07:08:25 +0000 (08:08 +0100)]
implement dnsdist timeout searching in grepq and topSlow()

8 years agosilence warning on vinfolog else confusion
bert hubert [Mon, 4 Jan 2016 07:08:14 +0000 (08:08 +0100)]
silence warning on vinfolog else confusion

8 years agoAdd timezone to generated bind slave zone files
Christian Hofstaedtler [Sun, 3 Jan 2016 15:36:40 +0000 (16:36 +0100)]
Add timezone to generated bind slave zone files

8 years agodnsdist: rename policy_t to policyfunc_t to not clash with OS-provided type
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

8 years agodnsdist: fix brace positioning warning from clang
Christian Hofstaedtler [Sat, 2 Jan 2016 23:32:08 +0000 (00:32 +0100)]
dnsdist: fix brace positioning warning from clang

8 years agoFix dnsdist runtests to find dnsdist binary
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

8 years agoDeduplicate dnsdist test code
Christian Hofstaedtler [Sat, 2 Jan 2016 22:29:23 +0000 (23:29 +0100)]
Deduplicate dnsdist test code

8 years agoMerge pull request #3148 from ahupowerdns/dnsdist-nmg
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

8 years agoFix pdnsutil check-all-zones crash
Christian Hofstaedtler [Sat, 2 Jan 2016 18:20:18 +0000 (19:20 +0100)]
Fix pdnsutil check-all-zones crash

Fixes #3147

8 years agoadd NetmaskGroup to dnsdist Lua and document it, closes #3144
bert hubert [Sat, 2 Jan 2016 13:15:28 +0000 (14:15 +0100)]
add NetmaskGroup to dnsdist Lua and document it, closes #3144

8 years agodocument Advanced DNS Protection features for dnsdist
bert hubert [Sat, 2 Jan 2016 13:15:02 +0000 (14:15 +0100)]
document Advanced DNS Protection features for dnsdist

8 years agoadd missing documentation for topBandwidth() and delta() in dnsdist README
bert hubert [Sat, 2 Jan 2016 13:14:28 +0000 (14:14 +0100)]
add missing documentation for topBandwidth() and delta() in dnsdist README

8 years agoFix several issues reported by coverity
Remi Gacogne [Thu, 31 Dec 2015 13:24:20 +0000 (14:24 +0100)]
Fix several issues reported by coverity

8 years agoMerge pull request #3136 from tfarina/patch-2
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'

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

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

8 years agooops, some debug code slipped into master
Kees Monshouwer [Thu, 31 Dec 2015 14:32:00 +0000 (15:32 +0100)]
oops, some debug code slipped into master

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

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

8 years agorespect OPENSSL_LDFLAGS
Peter van Dijk [Tue, 29 Dec 2015 23:20:22 +0000 (00:20 +0100)]
respect OPENSSL_LDFLAGS

8 years agoMerge pull request #3134 from ahupowerdns/lua-fixups
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

8 years agoupdate the output of 'pdns monitor'
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.

8 years agoMerge pull request #3073 from janeczku/dnsdist-logging-refactor
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

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

8 years agoMerge pull request #3109 from mind04/dnsdist-mbed
Remi Gacogne [Wed, 30 Dec 2015 08:42:20 +0000 (09:42 +0100)]
Merge pull request #3109 from mind04/dnsdist-mbed

merry christmas

8 years agoMerge remote-tracking branch 'origin' into lua-fixups
bert hubert [Wed, 30 Dec 2015 07:11:48 +0000 (07:11 +0000)]
Merge remote-tracking branch 'origin' into lua-fixups

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

8 years agoNits to RPZ doc
Christian Hofstaedtler [Tue, 29 Dec 2015 23:23:28 +0000 (00:23 +0100)]
Nits to RPZ doc

8 years agoAPI: remove rapidjson infrastructure
Christian Hofstaedtler [Mon, 28 Dec 2015 01:01:43 +0000 (02:01 +0100)]
API: remove rapidjson infrastructure

8 years agoAPI: move returnJsonMessage, returnJsonError to HttpResponse
Christian Hofstaedtler [Mon, 28 Dec 2015 12:09:46 +0000 (13:09 +0100)]
API: move returnJsonMessage, returnJsonError to HttpResponse

8 years agoAPI: replace returnJsonObject with json11 code
Christian Hofstaedtler [Mon, 28 Dec 2015 11:56:17 +0000 (12:56 +0100)]
API: replace returnJsonObject with json11 code

8 years agoAPI: port recursor /jsonstat to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 11:44:20 +0000 (12:44 +0100)]
API: port recursor /jsonstat to json11

8 years agoAPI: port recursor /search-data to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 11:34:57 +0000 (12:34 +0100)]
API: port recursor /search-data to json11

8 years agoAPI: port recursor /zones to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 01:16:57 +0000 (02:16 +0100)]
API: port recursor /zones to json11

8 years agoAPI: port recursor /config/allow-from to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 01:09:34 +0000 (02:09 +0100)]
API: port recursor /config/allow-from to json11

8 years agoAPI: port auth /zones, /zone to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 00:51:27 +0000 (01:51 +0100)]
API: port auth /zones, /zone to json11

8 years agoAPI: port auth /search-data to json11
Christian Hofstaedtler [Sun, 27 Dec 2015 23:32:14 +0000 (00:32 +0100)]
API: port auth /search-data to json11

8 years agoAPI: port auth zones /export to json11
Christian Hofstaedtler [Sun, 27 Dec 2015 23:18:39 +0000 (00:18 +0100)]
API: port auth zones /export to json11

8 years agoAPI: port auth /zones to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 00:55:24 +0000 (01:55 +0100)]
API: port auth /zones to json11

8 years agoAPI: port cryptokeys to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 00:55:13 +0000 (01:55 +0100)]
API: port cryptokeys to json11

8 years agoAPI: port /server/:server/statistics to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 00:54:32 +0000 (01:54 +0100)]
API: port /server/:server/statistics to json11

8 years agoAPI: port /server/:server/config to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 00:54:27 +0000 (01:54 +0100)]
API: port /server/:server/config to json11

8 years agoAPI: port log-search to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 00:54:23 +0000 (01:54 +0100)]
API: port log-search to json11

8 years agoAPI: port /api/v1/servers{/localhost} to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 00:54:19 +0000 (01:54 +0100)]
API: port /api/v1/servers{/localhost} to json11

8 years agoAPI: Lay infra for using json11
Christian Hofstaedtler [Mon, 28 Dec 2015 00:54:13 +0000 (01:54 +0100)]
API: Lay infra for using json11

8 years agoAPI: add cryptokeys test
Christian Hofstaedtler [Sun, 27 Dec 2015 22:49:23 +0000 (23:49 +0100)]
API: add cryptokeys test

8 years agoPort zone2sql to json11
Christian Hofstaedtler [Mon, 28 Dec 2015 12:18:00 +0000 (13:18 +0100)]
Port zone2sql to json11

8 years agoremotebackend: inline makeStringFromDocument, drop json.hh include
Christian Hofstaedtler [Mon, 28 Dec 2015 10:28:11 +0000 (11:28 +0100)]
remotebackend: inline makeStringFromDocument, drop json.hh include

8 years agoFix test-dnsname_cc on clang/OS X
Christian Hofstaedtler [Mon, 28 Dec 2015 21:07:19 +0000 (22:07 +0100)]
Fix test-dnsname_cc on clang/OS X

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

8 years agochange ECDSA signer priority
Kees Monshouwer [Tue, 29 Dec 2015 10:36:26 +0000 (11:36 +0100)]
change ECDSA signer priority

8 years agodocument RPZ
bert hubert [Tue, 29 Dec 2015 21:54:57 +0000 (21:54 +0000)]
document RPZ

8 years agoadd ECDSA support to DNSSEC infra via OpenSSL
Kees Monshouwer [Mon, 28 Dec 2015 11:10:17 +0000 (12:10 +0100)]
add ECDSA support to DNSSEC infra via OpenSSL

8 years agodnsdist: Fix coverity/clang static analyzer warnings.
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.

8 years agodnsdist: Add more regression tests
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

8 years agodnsdist: Add SuffixMatchNodeRule() and RCodeAction()
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.

8 years agodnsdist: Fix truncateTC, it wasn't updating the response len anymore
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.

8 years agoUse nullptr instead of empty DNSName
Aki Tuomi [Mon, 28 Dec 2015 11:52:01 +0000 (13:52 +0200)]
Use nullptr instead of empty DNSName

8 years agomake ipfilter get passed the dnsheader, make dnsheader useful for lua
bert hubert [Mon, 28 Dec 2015 10:12:22 +0000 (10:12 +0000)]
make ipfilter get passed the dnsheader, make dnsheader useful for lua

8 years agofix up ipfilter docs, document metrics, document dnsname, document comboaddress,...
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

8 years agowe were passing the wrong dnsheader to the ipfilter lua hook
bert hubert [Mon, 28 Dec 2015 10:01:26 +0000 (10:01 +0000)]
we were passing the wrong dnsheader to the ipfilter lua hook

8 years agofix up compilation of testrunner and tsig tests
bert hubert [Sun, 27 Dec 2015 22:36:32 +0000 (22:36 +0000)]
fix up compilation of testrunner and tsig tests

8 years agoimplement dynamic metric creation from Lua & code to rapidly update these metrics...
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.

8 years agoimplement ComboAddress:equal for lua
bert hubert [Sun, 27 Dec 2015 21:19:24 +0000 (21:19 +0000)]
implement ComboAddress:equal for lua

8 years ago* Log infolog() messages in default verbosity mode (without -v flag)
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

8 years agoVerify domain ownership
Aki Tuomi [Sat, 26 Dec 2015 18:30:11 +0000 (20:30 +0200)]
Verify domain ownership

GSQLBackend must ensure it checks that it won't return
true for domains that it does not actually have any
ownership for, if it does, it will block other backends
from working.