]>
granicus.if.org Git - pdns/log
Remi Gacogne [Thu, 3 May 2018 11:17:50 +0000 (12:17 +0100)]
rec: Use a separate, non-blocking pipe to distribute queries
This allows us to drop queries when a pipe goes full, thus still
distributing queries to other threads instead of blocking. It also
adds a new metric to keep track of queries dropped because the pipe
was full.
Pieter Lexis [Tue, 1 May 2018 22:01:39 +0000 (00:01 +0200)]
Merge pull request #6528 from cmouse/geoip
docs: geoip-database-files has not been dropped in v4.2.0
Pieter Lexis [Tue, 1 May 2018 22:00:55 +0000 (00:00 +0200)]
Merge pull request #6537 from zeha/lgtm-cleanup
Cleanup small issues found by lgtm.com
Pieter Lexis [Tue, 1 May 2018 22:00:31 +0000 (00:00 +0200)]
Merge pull request #6538 from zeha/lgtm-config
Add custom config for lgtm.com
Pieter Lexis [Tue, 1 May 2018 21:59:41 +0000 (23:59 +0200)]
Merge pull request #6545 from Habbie/6312-redux
auth: lower 'packet too short' loglevel in another place
Pieter Lexis [Tue, 1 May 2018 21:57:11 +0000 (23:57 +0200)]
Merge pull request #6557 from Habbie/rec_control-include-dir
make rec_control respect include-dir; closes #6536
Pieter Lexis [Tue, 1 May 2018 21:56:48 +0000 (23:56 +0200)]
Merge pull request #6558 from Habbie/bind-no-suffix
bindbackend: refuse launch suffixes
Pieter Lexis [Tue, 1 May 2018 21:56:26 +0000 (23:56 +0200)]
Merge pull request #6560 from Habbie/compile-and-test
split compile/test in pull request template
Peter van Dijk [Tue, 1 May 2018 18:52:39 +0000 (20:52 +0200)]
split compile/test in pull request template
Peter van Dijk [Tue, 1 May 2018 17:42:14 +0000 (19:42 +0200)]
document bindbackend launch limitation
Peter van Dijk [Tue, 1 May 2018 17:38:31 +0000 (19:38 +0200)]
bindbackend: refuse launch suffixes
Peter van Dijk [Tue, 1 May 2018 17:16:52 +0000 (19:16 +0200)]
make rec_control respect include-dir; closes #6536
Chris Hofstaedtler [Mon, 30 Apr 2018 18:23:57 +0000 (20:23 +0200)]
Remove redundant function declaration
Chris Hofstaedtler [Mon, 30 Apr 2018 12:10:07 +0000 (14:10 +0200)]
Add config for lgtm.com
Peter van Dijk [Mon, 30 Apr 2018 16:11:59 +0000 (18:11 +0200)]
auth: lower 'packet too short' loglevel in another place
Peter van Dijk [Mon, 30 Apr 2018 14:52:11 +0000 (16:52 +0200)]
Merge pull request #6539 from Habbie/config-help
document undocumented config vars
Peter van Dijk [Mon, 30 Apr 2018 14:00:39 +0000 (16:00 +0200)]
document undocumented config vars
configuration variables without a help string do not show up in --help and
pdns_control current-config
Chris Hofstaedtler [Mon, 30 Apr 2018 09:37:20 +0000 (11:37 +0200)]
Add some missing header include guards
Chris Hofstaedtler [Mon, 30 Apr 2018 09:36:44 +0000 (11:36 +0200)]
Catch exceptions by-ref
Remi Gacogne [Fri, 27 Apr 2018 16:37:04 +0000 (18:37 +0200)]
Merge pull request #6534 from rgacogne/rec-fix-tcp
Restore the existing behaviour of Socket::connect() with a 0 timeout
Remi Gacogne [Fri, 27 Apr 2018 09:03:04 +0000 (11:03 +0200)]
Merge pull request #6526 from rgacogne/calidns-ecs-from-file
calidns: Add an option to read ECS values from the query file, skip comments
Remi Gacogne [Thu, 26 Apr 2018 07:38:51 +0000 (09:38 +0200)]
Restore the existing behaviour of Socket::connect() with a 0 timeout
73ba5999186da82b444472170f7e0ce312ce536b rightly removed the code
duplication between `Socket::connect()` and `SConnectWithTimeout()`.
Unfortunately the two codes had different behaviours when connecting
in non-blocking mode with a timeout value of zero. The first one
just returned the socket descriptor on `EINPROGRESS`, rightly
assuming that a value of 0 for the timeout meant not to wait for the
connection to established, while `SConnectWithTimeout()` did not
handle that special case, because it was never called with a value
of 0 for the timeout duration.
Remi Gacogne [Wed, 25 Apr 2018 12:00:41 +0000 (14:00 +0200)]
Merge pull request #6503 from rgacogne/rec-udp-allocs
rec: Remove some unnecessary allocations and copies in the UDP path
Remi Gacogne [Wed, 25 Apr 2018 11:57:41 +0000 (13:57 +0200)]
Merge pull request #6524 from rgacogne/dnsdist-multi-certs
dnsdist: Add support for more than one TLS certificate
Pieter Lexis [Wed, 25 Apr 2018 07:49:51 +0000 (09:49 +0200)]
Merge pull request #6531 from Habbie/lua-meta-interleaved
avoid interleaved access to B (via d_dk)
Pieter Lexis [Wed, 25 Apr 2018 07:49:17 +0000 (09:49 +0200)]
Merge pull request #6530 from cmouse/ssqlite3
Add missing overrides
Peter van Dijk [Tue, 24 Apr 2018 21:48:13 +0000 (23:48 +0200)]
avoid interleaved access to B (via d_dk)
Aki Tuomi [Tue, 24 Apr 2018 16:25:52 +0000 (19:25 +0300)]
godbcbackend: Add missing overrides to SODBC
Found by Travis
Aki Tuomi [Tue, 24 Apr 2018 16:23:55 +0000 (19:23 +0300)]
ssqlite3: Add missing overrides
Found by Travis
Remi Gacogne [Mon, 23 Apr 2018 09:33:17 +0000 (11:33 +0200)]
calidns: Skip empty lines, or lines starting with a '#'
Remi Gacogne [Mon, 23 Apr 2018 09:31:47 +0000 (11:31 +0200)]
calidns: Add an option to read ECS values from the query file
Peter van Dijk [Tue, 24 Apr 2018 09:19:37 +0000 (11:19 +0200)]
Merge pull request #6529 from chbruyand/luarec-configure
configure: ensure lua is setup when lua records are enabled
Charles-Henri Bruyand [Tue, 24 Apr 2018 06:31:51 +0000 (08:31 +0200)]
configure: ensure lua is setup when lua records are enabled
Aki Tuomi [Mon, 23 Apr 2018 18:09:07 +0000 (21:09 +0300)]
docs: geoip-database-files has not been dropped in v4.2.0
Peter van Dijk [Mon, 23 Apr 2018 17:47:06 +0000 (19:47 +0200)]
Merge pull request #6527 from chbruyand/luarec-docs
docs: clarify ifportup and fix some typos
Charles-Henri Bruyand [Mon, 23 Apr 2018 12:59:07 +0000 (14:59 +0200)]
fix configure issues and disable lua records for el6 and sles
Charles-Henri Bruyand [Mon, 23 Apr 2018 10:39:29 +0000 (12:39 +0200)]
luarec tests: double instructions performed to test timeout
Charles-Henri Bruyand [Mon, 23 Apr 2018 09:38:24 +0000 (11:38 +0200)]
docs: clarify ifportup and fix some typos
Remi Gacogne [Mon, 23 Apr 2018 09:35:11 +0000 (11:35 +0200)]
Merge pull request #6525 from rgacogne/calidns-max-qps
calidns: Add a maximum-qps option to stay at a given stable load
bert hubert [Mon, 23 Apr 2018 09:13:17 +0000 (11:13 +0200)]
Merge pull request #6171 from ahupowerdns/luarec
LUA Records (yes we know it is Lua)
Charles-Henri Bruyand [Mon, 23 Apr 2018 09:08:15 +0000 (11:08 +0200)]
docs: bump auth version to 4.2 for luarec integration
Charles-Henri Bruyand [Thu, 19 Apr 2018 13:00:41 +0000 (15:00 +0200)]
adjust EXTRA_DIST source
Remi Gacogne [Mon, 23 Apr 2018 07:31:22 +0000 (09:31 +0200)]
Merge pull request #6523 from rgacogne/dnsdist-rings-sharding-test
dnsdist tests: avoid failure on not-so-optimal distribution
Remi Gacogne [Sat, 21 Apr 2018 20:18:43 +0000 (22:18 +0200)]
calidns: Add a maximum-qps option to stay at a given stable load
Remi Gacogne [Sat, 21 Apr 2018 15:11:05 +0000 (17:11 +0200)]
dnsdist: Add support for more than one TLS certificate
Remi Gacogne [Fri, 20 Apr 2018 17:15:32 +0000 (19:15 +0200)]
dnsdist: Restore a permissive check so we notice a really bad regression
Chris Hofstaedtler [Tue, 3 Apr 2018 07:55:35 +0000 (09:55 +0200)]
dnsdist tests: avoid failure on not-so-optimal distribution
(cherry picked from commit
d54864b1b0bd670722cf70a3e58d230aaab3a14a )
Pieter Lexis [Thu, 19 Apr 2018 16:13:41 +0000 (18:13 +0200)]
Merge pull request #6519 from Habbie/travis-luajit
switch travis to luajit; lower luajit required version to 2.0.2
Peter van Dijk [Thu, 19 Apr 2018 12:25:11 +0000 (14:25 +0200)]
allow luajit 2.0.2
Peter van Dijk [Thu, 19 Apr 2018 12:22:40 +0000 (14:22 +0200)]
switch travis to luajit
Charles-Henri Bruyand [Thu, 19 Apr 2018 12:02:48 +0000 (14:02 +0200)]
License minicurl files under the MIT license
Charles-Henri Bruyand [Thu, 19 Apr 2018 10:54:47 +0000 (12:54 +0200)]
add lua-reccord-exec-limit option to pdns_server
Charles-Henri Bruyand [Thu, 19 Apr 2018 09:49:28 +0000 (11:49 +0200)]
rethrow lua execution exception with reason
Pieter Lexis [Wed, 18 Apr 2018 09:43:49 +0000 (11:43 +0200)]
Merge pull request #6508 from rgacogne/rec-rpz-seed-file
rec: Add the possibility to preload RPZ from file, dump updates to a file
Remi Gacogne [Tue, 17 Apr 2018 08:45:05 +0000 (10:45 +0200)]
rec: Add documentation for the RPZ's `dumpFile` and `seedFile` options
Remi Gacogne [Mon, 16 Apr 2018 16:57:35 +0000 (18:57 +0200)]
rec: Add the possibility to dump RPZ updates to a file
Remi Gacogne [Mon, 16 Apr 2018 16:58:00 +0000 (18:58 +0200)]
rec: Add seedFile to load RPZ zones from a file, then update via IXFR
Pieter Lexis [Tue, 17 Apr 2018 16:30:48 +0000 (18:30 +0200)]
Merge pull request #6498 from cmouse/dnsbackend
dnsbackend: Make isMaster a const
Pieter Lexis [Tue, 17 Apr 2018 16:28:54 +0000 (18:28 +0200)]
Merge pull request #6506 from rgacogne/rec-stop-rpz-threads-reload
rec: Stop the obsolete RPZ threads after a Lua configuration reload
Pieter Lexis [Tue, 17 Apr 2018 16:28:45 +0000 (18:28 +0200)]
Merge pull request #6507 from Habbie/autoconf-quotes-lua2
autoconf: fix quoting; fix lua2 backend liblua check
Pieter Lexis [Tue, 17 Apr 2018 16:28:26 +0000 (18:28 +0200)]
Merge pull request #6509 from KamagoNet/ldap-remove-compiler-warnings
Remove compiler warnings pointed by Aki
Pieter Lexis [Tue, 17 Apr 2018 16:28:11 +0000 (18:28 +0200)]
Merge pull request #6511 from rgacogne/rec-luajit-rdynamic
rec: Add -rdynamic to C{,XX}FLAGS when we build with LuaJIT
Remi Gacogne [Tue, 17 Apr 2018 14:53:35 +0000 (16:53 +0200)]
rec: Add -rdynamic to C{,XX}FLAGS when we build with LuaJIT
We need that to get the FFI symbols exported.
Charles-Henri Bruyand [Tue, 17 Apr 2018 12:12:57 +0000 (14:12 +0200)]
clean todolist
Charles-Henri Bruyand [Tue, 17 Apr 2018 11:58:25 +0000 (13:58 +0200)]
remove unecessary requirements
Pieter Lexis [Tue, 17 Apr 2018 10:56:32 +0000 (12:56 +0200)]
Merge pull request #6493 from gryphius/spare-no-expanse
fix doc typo: expension->expansion
Pieter Lexis [Tue, 17 Apr 2018 10:56:15 +0000 (12:56 +0200)]
Merge pull request #6494 from cyclops1982/mydns-1
Remove very-long-txt from "to sql" for mydns test
Charles-Henri Bruyand [Tue, 17 Apr 2018 05:32:44 +0000 (07:32 +0200)]
auth: test GeoIP related features of LUA Records
Charles-Henri Bruyand [Mon, 16 Apr 2018 21:38:13 +0000 (23:38 +0200)]
missing requests package
Grégory Oestreicher [Mon, 16 Apr 2018 19:39:25 +0000 (21:39 +0200)]
Remove compiler warnings pointed by Aki
Peter van Dijk [Mon, 16 Apr 2018 15:42:46 +0000 (17:42 +0200)]
autoconf: centralise lua* backend liblua check
Charles-Henri Bruyand [Mon, 16 Apr 2018 15:39:10 +0000 (17:39 +0200)]
add lua rec tests to travis build
Charles-Henri Bruyand [Mon, 16 Apr 2018 15:36:29 +0000 (17:36 +0200)]
add --disable-lua-records option
Peter van Dijk [Mon, 16 Apr 2018 15:30:56 +0000 (17:30 +0200)]
autoconf: correctly quote AC_MSG_ERROR inside AS_IF
Remi Gacogne [Mon, 16 Apr 2018 15:14:16 +0000 (17:14 +0200)]
Merge pull request #6502 from rgacogne/dnsdist-wrandom-tests
dnsdist: Be more permissive in wrandom tests, log values on failure
Remi Gacogne [Mon, 16 Apr 2018 15:12:27 +0000 (17:12 +0200)]
rec: Stop the obsolete RPZ threads after a Lua configuration reload
Remi Gacogne [Fri, 13 Apr 2018 16:45:41 +0000 (18:45 +0200)]
rec: Don't copy the UDP query from a buffer to a string
Remi Gacogne [Fri, 13 Apr 2018 15:30:33 +0000 (17:30 +0200)]
rec: Remove unnecessary allocations and copies in DNSComboWriter
Charles-Henri Bruyand [Mon, 16 Apr 2018 10:55:35 +0000 (12:55 +0200)]
Auth: fix tools build
Charles-Henri Bruyand [Mon, 16 Apr 2018 09:26:23 +0000 (11:26 +0200)]
sync with g_log var
Charles-Henri Bruyand [Mon, 16 Apr 2018 09:12:06 +0000 (11:12 +0200)]
Merge remote-tracking branch 'origin/master' into luarec
* origin/master: (241 commits)
ixfrdist: fix review comments by @rgacogne
ixfrdist: don't use variable length array
ixfrdist: reverse no source and ACL checks
ixfrutil: ensure it does not print by itself
ixfrdist: use the logging module
logger: Allow logging with the severity prefix
auth: Link dnspcap2protobuf against librt when needed
Update metrics.rst
requeue serial check if NOTIFY comes in while incoming AXFR is ongoing
improve slave NOTIFY logging
Add return 0 for correct exit of set-kind and set-account
Test dependencies is too recent a feature, disable the uninit test
rec: Set the RNG parameter to "auto" in the SyncRes unit tests
Fix the dns_random unit tests, test all available backends
make lock test pass on macOS
ixfrdist: update manpage
ixfrdist: Use workers to handle TCP connections
Fix a warning on botan >= 2.5.0
Fix compilation and use of getrandom() when available
lualang.org -> lua.org
...
Remi Gacogne [Mon, 16 Apr 2018 08:47:34 +0000 (10:47 +0200)]
dnsdist: Be more permissive in wrandom tests, log values on failure
Aki Tuomi [Sun, 15 Apr 2018 17:52:11 +0000 (20:52 +0300)]
dnsbackend: Make isMaster a const
The const keyword fell to wrong side of the function,
so move it where it belongs to.
Broken in
a2dfc9ea78614a9eef514a612117e507d70d4664
Charles-Henri Bruyand [Thu, 5 Apr 2018 12:20:21 +0000 (14:20 +0200)]
luarec: add basic tests
Charles-Henri Bruyand [Thu, 12 Apr 2018 08:20:59 +0000 (10:20 +0200)]
Auth: replace Socket::connect() implementation with SConnectWithTimeout
Ruben d'Arco [Fri, 13 Apr 2018 15:45:48 +0000 (16:45 +0100)]
Remove very-long-txt from "to sql" for mydns test
This avoids the issue that the TXT column is too long (more than 128 chars)
Oli Schacher [Fri, 13 Apr 2018 13:21:49 +0000 (15:21 +0200)]
fix doc typo: expension->expansion
Pieter Lexis [Fri, 13 Apr 2018 13:16:22 +0000 (15:16 +0200)]
Merge pull request #6489 from pieterlexis/issue-6468-ixfrdist-thread-axfr
ixfrdist: use worker threads to handle TCP connections
Pieter Lexis [Fri, 13 Apr 2018 12:55:13 +0000 (14:55 +0200)]
Merge pull request #6472 from setharnold/patch-5
lualang.org -> lua.org
Pieter Lexis [Fri, 13 Apr 2018 12:55:07 +0000 (14:55 +0200)]
Merge pull request #6473 from setharnold/patch-6
lualang.org -> lua.org
Pieter Lexis [Fri, 13 Apr 2018 12:54:45 +0000 (14:54 +0200)]
Merge pull request #6480 from rgacogne/dnsrandom_unit_tests
Fix the dns_random unit tests, test all available backends
Pieter Lexis [Fri, 13 Apr 2018 12:54:22 +0000 (14:54 +0200)]
Merge pull request #6481 from cyclops1982/6471
Add return 0 for correct exit of set-kind and set-account
Pieter Lexis [Fri, 13 Apr 2018 12:54:08 +0000 (14:54 +0200)]
Merge pull request #6485 from phonedph1/patch-1
Update metrics.rst
Pieter Lexis [Fri, 13 Apr 2018 12:53:13 +0000 (14:53 +0200)]
Merge pull request #6487 from rgacogne/auth-dnspcap2protobuf-rt
auth: Link dnspcap2protobuf against librt when needed
Pieter Lexis [Fri, 13 Apr 2018 12:17:45 +0000 (14:17 +0200)]
ixfrdist: fix review comments by @rgacogne
Peter van Dijk [Fri, 13 Apr 2018 11:11:39 +0000 (13:11 +0200)]
Merge pull request #6484 from Habbie/recheck-serial
recheck serial when AXFR is done
Pieter Lexis [Fri, 13 Apr 2018 10:03:26 +0000 (12:03 +0200)]
ixfrdist: don't use variable length array
Pieter Lexis [Fri, 13 Apr 2018 09:19:55 +0000 (11:19 +0200)]
ixfrdist: reverse no source and ACL checks
Pieter Lexis [Thu, 12 Apr 2018 15:15:31 +0000 (17:15 +0200)]
ixfrutil: ensure it does not print by itself
Pieter Lexis [Thu, 12 Apr 2018 15:07:19 +0000 (17:07 +0200)]
ixfrdist: use the logging module