]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
8 years agodnsdist: Log when we add an EBPF dynamic block, like regular ones
Remi Gacogne [Mon, 26 Mar 2018 10:27:46 +0000 (12:27 +0200)] 
dnsdist: Log when we add an EBPF dynamic block, like regular ones

8 years agoauth: add support for MB and MG RR types
Charles-Henri Bruyand [Thu, 22 Mar 2018 01:29:34 +0000 (02:29 +0100)] 
auth: add support for MB and MG RR types

8 years agoremove useless lines 6331/head
Peter van Dijk [Mon, 26 Mar 2018 08:47:26 +0000 (10:47 +0200)] 
remove useless lines

8 years agodnsdist: Reduce the amount of times we copy our shared objects 6378/head
Remi Gacogne [Thu, 22 Mar 2018 17:44:41 +0000 (18:44 +0100)] 
dnsdist: Reduce the amount of times we copy our shared objects

8 years agoMerge pull request #6355 from chbruyand/recursor-issue-6321
Pieter Lexis [Mon, 26 Mar 2018 07:59:10 +0000 (09:59 +0200)] 
Merge pull request #6355 from chbruyand/recursor-issue-6321

recursor: Add options to tune udp source ports

8 years agoMerge pull request #6381 from rgacogne/dnsdist-serverpool-mutex
Pieter Lexis [Mon, 26 Mar 2018 07:58:49 +0000 (09:58 +0200)] 
Merge pull request #6381 from rgacogne/dnsdist-serverpool-mutex

dnsdist: Use a separate lock for accessing the pool's servers

8 years agoMerge pull request #6379 from pieterlexis/rec-rpz-stats
Pieter Lexis [Mon, 26 Mar 2018 07:58:25 +0000 (09:58 +0200)] 
Merge pull request #6379 from pieterlexis/rec-rpz-stats

Recursor: Add RPZ statistics endpoint

8 years agoMerge pull request #6380 from rgacogne/no-vlas
Pieter Lexis [Mon, 26 Mar 2018 07:58:07 +0000 (09:58 +0200)] 
Merge pull request #6380 from rgacogne/no-vlas

Remove VLAs

8 years agoMerge pull request #6375 from krionbsd/dnsdist
Remi Gacogne [Sat, 24 Mar 2018 12:14:05 +0000 (13:14 +0100)] 
Merge pull request #6375 from krionbsd/dnsdist

Add '?' for providing help() output on dnsdist -c

8 years agoMerge pull request #6382 from rgacogne/dnsdist-nodnscrypt
Remi Gacogne [Sat, 24 Mar 2018 12:13:20 +0000 (13:13 +0100)] 
Merge pull request #6382 from rgacogne/dnsdist-nodnscrypt

dnsdist: Fix building when DNSCrypt support is not enabled

8 years agodnsdist: Use a separate lock for accessing the pool's servers 6381/head
Remi Gacogne [Fri, 23 Mar 2018 22:13:52 +0000 (23:13 +0100)] 
dnsdist: Use a separate lock for accessing the pool's servers

We used to hold the Lua lock while applying the load-balancing policy
to select a backend, which is only needed by Lua policies, not core
ones. We do need a lock to make sure that the vector of servers is
not altered under our feet, but a per-pool read-write lock is enough
and reduces contention a lot, especially when the maintenance thread
is doing some heavy-lifting.

8 years agodnsdist: Build without DNSCrypt support 6382/head
Remi Gacogne [Fri, 23 Mar 2018 17:58:57 +0000 (18:58 +0100)] 
dnsdist: Build without DNSCrypt support

8 years agoUse obj.data() instead of &obj.at(0) to prevent exception 6380/head
Remi Gacogne [Fri, 23 Mar 2018 16:11:43 +0000 (17:11 +0100)] 
Use obj.data() instead of &obj.at(0) to prevent exception

In case of a 0-sized container, &obj.at(0) would throw an exception
even if we don't intend to use the pointer afterward.
obj.data is required to provide a non-nullptr pointer that we should
not dereference for most containers (except strings since C++11),
but that's fine for the way we intend (not to) use it.

8 years agotravis: Add -Werror=vla to prevent the use of VLAs
Remi Gacogne [Fri, 23 Mar 2018 11:25:05 +0000 (12:25 +0100)] 
travis: Add -Werror=vla to prevent the use of VLAs

8 years agoauth: Remove VLAs
Remi Gacogne [Fri, 23 Mar 2018 11:21:51 +0000 (12:21 +0100)] 
auth: Remove VLAs

8 years agoRemove VLAs in the OpenSSL signer code
Remi Gacogne [Fri, 23 Mar 2018 11:20:38 +0000 (12:20 +0100)] 
Remove VLAs in the OpenSSL signer code

8 years agoMerge pull request #6344 from rgacogne/rec-lua-ffi-clean
Pieter Lexis [Fri, 23 Mar 2018 12:30:10 +0000 (13:30 +0100)] 
Merge pull request #6344 from rgacogne/rec-lua-ffi-clean

rec: Add a new Lua FFI hook, gettag_ffi

8 years agorec: Add RPZ statistics docs 6379/head
Pieter Lexis [Fri, 23 Mar 2018 11:25:24 +0000 (12:25 +0100)] 
rec: Add RPZ statistics docs

8 years agorec: move the rpz stats to a different url
Pieter Lexis [Fri, 23 Mar 2018 11:02:42 +0000 (12:02 +0100)] 
rec: move the rpz stats to a different url

8 years agoixfr: Get rid of a VLA (and two copies) in getIXFRDeltas()
Remi Gacogne [Fri, 23 Mar 2018 10:16:03 +0000 (11:16 +0100)] 
ixfr: Get rid of a VLA (and two copies) in getIXFRDeltas()

8 years agorec: Get rid of a VLA (and a copy) in handleUDPServerResponse()
Remi Gacogne [Fri, 23 Mar 2018 10:14:57 +0000 (11:14 +0100)] 
rec: Get rid of a VLA (and a copy) in handleUDPServerResponse()

8 years agorec: save rpzStats as a shared_ptr
Pieter Lexis [Fri, 23 Mar 2018 10:11:52 +0000 (11:11 +0100)] 
rec: save rpzStats as a shared_ptr

8 years agorec: update the number of records in the RPZ stats
Pieter Lexis [Fri, 23 Mar 2018 09:57:47 +0000 (10:57 +0100)] 
rec: update the number of records in the RPZ stats

8 years agoRemove a VLA in waitForMultiData()
Remi Gacogne [Fri, 23 Mar 2018 09:43:21 +0000 (10:43 +0100)] 
Remove a VLA in waitForMultiData()

8 years agodnsdist: Get rid of a VLA in TCP workers
Remi Gacogne [Fri, 23 Mar 2018 09:42:49 +0000 (10:42 +0100)] 
dnsdist: Get rid of a VLA in TCP workers

8 years agodnsdist: Get rid of VLAs in the console
Remi Gacogne [Mon, 19 Mar 2018 13:00:26 +0000 (14:00 +0100)] 
dnsdist: Get rid of VLAs in the console

8 years agoExpose rpz stats in the web-interface
Pieter Lexis [Thu, 22 Mar 2018 16:53:00 +0000 (17:53 +0100)] 
Expose rpz stats in the web-interface

8 years ago[WIP] rec: Add metrics for RPZ zones
Remi Gacogne [Tue, 6 Mar 2018 11:07:10 +0000 (12:07 +0100)] 
[WIP] rec: Add metrics for RPZ zones

[ci skip]

8 years agoMerge pull request #6317 from rgacogne/dnsdist-source-ports
Pieter Lexis [Thu, 22 Mar 2018 13:43:13 +0000 (14:43 +0100)] 
Merge pull request #6317 from rgacogne/dnsdist-source-ports

dnsdist: Add an option to use several source ports toward a backend

8 years agoMerge pull request #6069 from Habbie/no-more-bootstrap
Pieter Lexis [Thu, 22 Mar 2018 09:47:31 +0000 (10:47 +0100)] 
Merge pull request #6069 from Habbie/no-more-bootstrap

[WIP] get rid of useless bootstrap scripts; related cleanups

8 years agoMerge pull request #6045 from rgacogne/dnscrypt-xchacha20
Pieter Lexis [Thu, 22 Mar 2018 09:47:16 +0000 (10:47 +0100)] 
Merge pull request #6045 from rgacogne/dnscrypt-xchacha20

dnsdist: Implement xchacha20 support for DNSCrypt

8 years agoMerge pull request #6374 from chbruyand/auth-quiet-rectify
Pieter Lexis [Wed, 21 Mar 2018 17:53:07 +0000 (18:53 +0100)] 
Merge pull request #6374 from chbruyand/auth-quiet-rectify

auth: add quiet modifier to pdnsutil rectify-all-zones command

8 years agodnsdist: Add DynBlockRulesGroup
Remi Gacogne [Wed, 21 Mar 2018 16:23:50 +0000 (17:23 +0100)] 
dnsdist: Add DynBlockRulesGroup

The new `DynBlockRulesGroup` object is designed to make the processing
of multiple rate-limiting rules faster by walking the query and
response buffers only once for each invocation, instead of once per
existing `exceed*()` invocation.

For example, instead of having something like:
```
function maintenance()
  addDynBlocks(exceedQRate(30, 10), "Exceeded query rate", 60)
  addDynBlocks(exceedNXDOMAINs(20, 10), "Exceeded NXD rate", 60)
  addDynBlocks(exceedServFails(20, 10), "Exceeded ServFail rate", 60)
  addDynBlocks(exceedQTypeRate(dnsdist.ANY, 5, 10), "Exceeded ANY rate", 60)
  addDynBlocks(exceedRespByterate(1000000, 10), "Exceeded resp BW rate", 60)
end
```

The new syntax would be:
```
local dbr = dynBlockRulesGroup()
dbr:setQueryRate(30, 10, "Exceeded query rate", 60)
dbr:setRCodeRate(dnsdist.NXDOMAIN, 20, 10, "Exceeded NXD rate", 60)
dbr:setRCodeRate(dnsdist.SERVFAIL, 20, 10, "Exceeded ServFail rate", 60)
dbr:setQTypeRate(dnsdist.ANY, 5, 10, "Exceeded ANY rate", 60)
dbr:setResponseByteRate(10000, 10, "Exceeded resp BW rate", 60)

function maintenance()
  dbr:apply()
end
```

The old syntax would walk the query buffer 2 times and the response
one 3 times, while the new syntax does it only once for each.
It also reuse the same internal table to keep track of the source
IPs, reducing the CPU usage.

8 years agoAdd missing README symlink 6069/head
Pieter Lexis [Wed, 21 Mar 2018 16:20:43 +0000 (17:20 +0100)] 
Add missing README symlink

8 years agoSmall documentation fixes 6045/head
Pieter Lexis [Wed, 21 Mar 2018 16:17:29 +0000 (17:17 +0100)] 
Small documentation fixes

8 years agoauth: lower 'packet too short' loglevel 6312/head
Pieter Lexis [Tue, 27 Feb 2018 14:19:56 +0000 (15:19 +0100)] 
auth: lower 'packet too short' loglevel

It might be a pretty common error if there is a bad recursor or client,
leading to potential a logging overdose.

8 years agoMerge pull request #6370 from chbruyand/auth-issue-6228
Pieter Lexis [Wed, 21 Mar 2018 13:43:17 +0000 (14:43 +0100)] 
Merge pull request #6370 from chbruyand/auth-issue-6228

auth: fix handling of user-defined axfr filters return values

8 years agoRemove leftover logging invocation
Pieter Lexis [Wed, 21 Mar 2018 13:41:34 +0000 (14:41 +0100)] 
Remove leftover logging invocation

8 years agoMerge pull request #6342 from chbruyand/reload-resolvconf
Pieter Lexis [Wed, 21 Mar 2018 13:38:14 +0000 (14:38 +0100)] 
Merge pull request #6342 from chbruyand/reload-resolvconf

Auth: Reload /etc/resolv.conf when modified. Fix #6263

8 years agoMerge pull request #6352 from cmouse/lua
Pieter Lexis [Wed, 21 Mar 2018 13:37:45 +0000 (14:37 +0100)] 
Merge pull request #6352 from cmouse/lua

build-scripts: Use correct example file for lua2

8 years agoauth: fix typo in command description 6374/head
Charles-Henri Bruyand [Tue, 20 Mar 2018 00:22:56 +0000 (01:22 +0100)] 
auth: fix typo in command description

8 years agoMerge pull request #6376 from pieterlexis/travis-bulktest-percentage
Remi Gacogne [Wed, 21 Mar 2018 12:05:20 +0000 (13:05 +0100)] 
Merge pull request #6376 from pieterlexis/travis-bulktest-percentage

tests: lower dnsbulktest threshold in travis

8 years agotests: lower dnsbulktest threshold in travis 6376/head
Pieter Lexis [Wed, 21 Mar 2018 12:00:22 +0000 (13:00 +0100)] 
tests: lower dnsbulktest threshold in travis

8 years agoAdd '?' for providing help() output on dnsdist -c 6375/head
krion [Tue, 20 Mar 2018 20:15:52 +0000 (21:15 +0100)] 
Add '?' for providing help() output on dnsdist -c

8 years agoMerge pull request #6364 from rgacogne/dnsdist-macro-sonar
Remi Gacogne [Tue, 20 Mar 2018 15:12:56 +0000 (16:12 +0100)] 
Merge pull request #6364 from rgacogne/dnsdist-macro-sonar

dnsdist: Fix 'unreachable code' warnings reported by SonarCloud

8 years agoMerge pull request #6327 from lowellmower/server-up-metric
Remi Gacogne [Tue, 20 Mar 2018 15:12:17 +0000 (16:12 +0100)] 
Merge pull request #6327 from lowellmower/server-up-metric

Add Metric "server-up" Count to Carbon Reporting

8 years agoMerge pull request #6372 from krionbsd/pedantic
Remi Gacogne [Tue, 20 Mar 2018 14:47:43 +0000 (15:47 +0100)] 
Merge pull request #6372 from krionbsd/pedantic

Remove extra semicolons to remove some -pedantic warnings.

8 years agoRemove extra semicolons to remove some -pedantic warnings. 6372/head
krion [Tue, 20 Mar 2018 11:27:43 +0000 (12:27 +0100)] 
Remove extra semicolons to remove some -pedantic warnings.

8 years agoMerge pull request #6363 from chbruyand/issue-6346
Remi Gacogne [Tue, 20 Mar 2018 08:58:57 +0000 (09:58 +0100)] 
Merge pull request #6363 from chbruyand/issue-6346

dnsdist: Make custom LuaAction and LuaResponsAction second return value optional

8 years agoMerge pull request #6366 from rgacogne/dnsdist-exceed-reserve
Remi Gacogne [Tue, 20 Mar 2018 08:57:57 +0000 (09:57 +0100)] 
Merge pull request #6366 from rgacogne/dnsdist-exceed-reserve

dnsdist: Reserve according to the _query_ ring size in exceedQueryGen

8 years agoMerge pull request #6368 from rgacogne/dnsdist-faster-dynblocks
Remi Gacogne [Tue, 20 Mar 2018 08:57:15 +0000 (09:57 +0100)] 
Merge pull request #6368 from rgacogne/dnsdist-faster-dynblocks

dnsdist: Only update the DynBlock state holders when needed

8 years agoauth: add quiet modifier to pdnsutil rectify-all-zones command
Charles-Henri Bruyand [Mon, 19 Mar 2018 23:54:03 +0000 (00:54 +0100)] 
auth: add quiet modifier to pdnsutil rectify-all-zones command

8 years agoauth: fix regression while handling user-defined axfr filters return values, and... 6370/head
Charles-Henri Bruyand [Mon, 19 Mar 2018 18:47:25 +0000 (19:47 +0100)] 
auth: fix regression while handling user-defined axfr filters return values, and a typo in a documentation example

8 years agodnsdist: Only update the DynBlock state holders when needed 6368/head
Remi Gacogne [Mon, 19 Mar 2018 18:03:11 +0000 (19:03 +0100)] 
dnsdist: Only update the DynBlock state holders when needed

8 years agoREVERT ME: allow way longer execution
Peter van Dijk [Mon, 19 Mar 2018 14:27:49 +0000 (15:27 +0100)] 
REVERT ME: allow way longer execution

8 years agodnsdist: Reserve according to the _query_ ring size in exceedQueryGen 6366/head
Remi Gacogne [Mon, 19 Mar 2018 13:48:57 +0000 (14:48 +0100)] 
dnsdist: Reserve according to the _query_ ring size in exceedQueryGen

8 years agoMerge pull request #6350 from rgacogne/dnsdist-lua-inspection-perfs
Remi Gacogne [Mon, 19 Mar 2018 13:37:34 +0000 (14:37 +0100)] 
Merge pull request #6350 from rgacogne/dnsdist-lua-inspection-perfs

dnsdist: Speed up the processing of large ring buffers

8 years agodnsdist: correct typos in doc, adjust regression test 6363/head
Charles-Henri Bruyand [Mon, 19 Mar 2018 12:38:57 +0000 (13:38 +0100)] 
dnsdist: correct typos in doc, adjust regression test

8 years agodnsdist: ignore certificate files used by the tests
Charles-Henri Bruyand [Mon, 19 Mar 2018 12:02:58 +0000 (13:02 +0100)] 
dnsdist: ignore certificate files used by the tests

8 years agodnsdist: test LuaAction optional second return value
Charles-Henri Bruyand [Mon, 19 Mar 2018 11:44:46 +0000 (12:44 +0100)] 
dnsdist: test LuaAction optional second return value

8 years agodnsdist: add missing definition for DNSResponseAction
Charles-Henri Bruyand [Mon, 19 Mar 2018 11:29:10 +0000 (12:29 +0100)] 
dnsdist: add missing definition for DNSResponseAction

8 years agoMerge branch 'master' into issue-6346
Charles-Henri Bruyand [Mon, 19 Mar 2018 10:20:04 +0000 (11:20 +0100)] 
Merge branch 'master' into issue-6346

* master:
  use mirror for dnsperf
  rather than crash, sheepishly report no file/linenum
  dnsdist: Update deprecated syntax used in dist configuration file
  Update secpoll
  build lua2 backend packages
  calidns: Add the --ecs parameter to add random ECS values to queries

8 years agoimprove documentation of addLuaAction and addLuaResponseAction
Charles-Henri Bruyand [Mon, 19 Mar 2018 10:16:30 +0000 (11:16 +0100)] 
improve documentation of addLuaAction and addLuaResponseAction

8 years agodnsdist: make lua actions second return value optional
Charles-Henri Bruyand [Fri, 16 Mar 2018 03:43:13 +0000 (04:43 +0100)] 
dnsdist: make lua actions second return value optional

8 years agodnsdist: Fix 'unreachable code' warnings reported by SonarCloud 6364/head
Remi Gacogne [Mon, 19 Mar 2018 08:41:38 +0000 (09:41 +0100)] 
dnsdist: Fix 'unreachable code' warnings reported by SonarCloud

8 years agoIt turns out CURLOPT_RESOLVE is not a #define at all.
Peter van Dijk [Sat, 17 Mar 2018 13:15:49 +0000 (14:15 +0100)] 
It turns out CURLOPT_RESOLVE is not a #define at all.

Revert "unbreak el6 build"

This reverts commit 5941d59a9738a5246823e984518b8ac9fa7f9541.

8 years agounbreak el6 build
Peter van Dijk [Sat, 17 Mar 2018 00:06:24 +0000 (01:06 +0100)] 
unbreak el6 build

8 years agoMerge pull request #6354 from Habbie/zpt-eof-crash
Peter van Dijk [Fri, 16 Mar 2018 15:58:15 +0000 (16:58 +0100)] 
Merge pull request #6354 from Habbie/zpt-eof-crash

rather than crash, sheepishly report no file/linenum

8 years agoadd mmdb support to deb builds?
Peter van Dijk [Fri, 16 Mar 2018 15:37:09 +0000 (16:37 +0100)] 
add mmdb support to deb builds?

8 years agoMerge pull request #6360 from Habbie/mirror-dnsperf
Peter van Dijk [Fri, 16 Mar 2018 14:48:54 +0000 (15:48 +0100)] 
Merge pull request #6360 from Habbie/mirror-dnsperf

use mirror for dnsperf

8 years agouse mirror for dnsperf 6360/head
Peter van Dijk [Fri, 16 Mar 2018 13:33:58 +0000 (14:33 +0100)] 
use mirror for dnsperf

8 years agohook LUA to geoip again
Peter van Dijk [Fri, 16 Mar 2018 12:56:54 +0000 (13:56 +0100)] 
hook LUA to geoip again

8 years agoMerge 'master', but take geoipbackend from master as
Peter van Dijk [Fri, 16 Mar 2018 12:09:54 +0000 (13:09 +0100)] 
Merge 'master', but take geoipbackend from master as
it has diverged tremendously. Followup commits will
restore the geoip interface for LUA.

8 years agorec: Set the visibility of FFI functions to 'default' (external) 6344/head
Remi Gacogne [Fri, 16 Mar 2018 08:36:49 +0000 (09:36 +0100)] 
rec: Set the visibility of FFI functions to 'default' (external)

This makes the symbols usable across shared object boundary (Lua FFI)
even if the default visibility is set to hidden.

8 years agoremove typo 6342/head
Charles-Henri Bruyand [Fri, 16 Mar 2018 00:53:46 +0000 (01:53 +0100)] 
remove typo

8 years agorename new settings to group them, add documentation 6355/head
Charles-Henri Bruyand [Thu, 15 Mar 2018 20:38:35 +0000 (21:38 +0100)] 
rename new settings to group them, add documentation

8 years agofix more ;/return confusion
Peter van Dijk [Thu, 15 Mar 2018 19:22:38 +0000 (20:22 +0100)] 
fix more ;/return confusion

8 years agofix include syntax; fix included syntax
Peter van Dijk [Thu, 15 Mar 2018 19:18:31 +0000 (20:18 +0100)] 
fix include syntax; fix included syntax

8 years agoclosest: update code to match docs
Peter van Dijk [Thu, 15 Mar 2018 18:59:40 +0000 (19:59 +0100)] 
closest: update code to match docs

8 years agoMerge pull request #6356 from chbruyand/update-dnsdistconf-lua
Peter van Dijk [Thu, 15 Mar 2018 17:47:43 +0000 (18:47 +0100)] 
Merge pull request #6356 from chbruyand/update-dnsdistconf-lua

dnsdist: Update deprecated syntax used in dist configuration file

8 years agorather than crash, sheepishly report no file/linenum 6354/head
Peter van Dijk [Thu, 15 Mar 2018 16:51:18 +0000 (17:51 +0100)] 
rather than crash, sheepishly report no file/linenum

Before this commit, you could crash pdnsutil edit-zone this way:
1) run pdnsutil edit-zone example.org
2) add a line saying: IN TXT ("
3) exit editor

I suspect other consumers of the zone file parser could also crash this way.

After this commit, we don't crash but we fail to report the line number.
There is room for more improvement here.

8 years agobuild-scripts: Use correct example file for lua2 6352/head
Aki Tuomi [Thu, 15 Mar 2018 16:33:22 +0000 (18:33 +0200)] 
build-scripts: Use correct example file for lua2

8 years agoadd crude geoiplookup function
Peter van Dijk [Thu, 15 Mar 2018 14:53:07 +0000 (15:53 +0100)] 
add crude geoiplookup function

8 years agodnsdist: Move StatNode's counters to uint64_t 6350/head
Remi Gacogne [Thu, 15 Mar 2018 14:27:44 +0000 (15:27 +0100)] 
dnsdist: Move StatNode's counters to uint64_t

8 years agowrite bestwho in non-ECS case as well
Peter van Dijk [Thu, 15 Mar 2018 14:06:07 +0000 (15:06 +0100)] 
write bestwho in non-ECS case as well

8 years agodnsdist: Fix StatNode stats update
Remi Gacogne [Thu, 15 Mar 2018 13:59:47 +0000 (14:59 +0100)] 
dnsdist: Fix StatNode stats update

8 years agostrip ; prefix before giving code to lua
Peter van Dijk [Thu, 15 Mar 2018 12:49:39 +0000 (13:49 +0100)] 
strip ; prefix before giving code to lua

8 years agodnsdist: Restore StatNode's children (optionnally) for dnsscope
Remi Gacogne [Thu, 15 Mar 2018 11:09:48 +0000 (12:09 +0100)] 
dnsdist: Restore StatNode's children (optionnally) for dnsscope

8 years agorecursor: add min-udp-source-port, max-udp-source-port and avoid-udp-source-port...
Charles-Henri Bruyand [Thu, 15 Mar 2018 11:09:47 +0000 (12:09 +0100)] 
recursor: add min-udp-source-port, max-udp-source-port and avoid-udp-source-port variables to tune the range of ports we use

8 years agodnsdist: Use a reserve()'d unordered_map for exceed* functions
Remi Gacogne [Thu, 15 Mar 2018 09:49:25 +0000 (10:49 +0100)] 
dnsdist: Use a reserve()'d unordered_map for exceed* functions

8 years agoMerge pull request #6326 from rgacogne/calidns-ecs
bert hubert [Thu, 15 Mar 2018 09:38:21 +0000 (10:38 +0100)] 
Merge pull request #6326 from rgacogne/calidns-ecs

calidns: Add the --ecs parameter to add random ECS values to queries

8 years agodnsdist: Update deprecated syntax used in dist configuration file 6356/head
Charles-Henri Bruyand [Thu, 15 Mar 2018 09:18:49 +0000 (10:18 +0100)] 
dnsdist: Update deprecated syntax used in dist configuration file

8 years agoMerge pull request #6345 from pieterlexis/secpoll-update
Pieter Lexis [Thu, 15 Mar 2018 08:23:48 +0000 (09:23 +0100)] 
Merge pull request #6345 from pieterlexis/secpoll-update

Update secpoll

8 years agodnsdist: Don't copy data around in the exceed* functions
Remi Gacogne [Wed, 14 Mar 2018 17:28:25 +0000 (18:28 +0100)] 
dnsdist: Don't copy data around in the exceed* functions

8 years agodnsdist: Don't copy labels into a deque when inserting in StatNode
Remi Gacogne [Wed, 14 Mar 2018 17:27:33 +0000 (18:27 +0100)] 
dnsdist: Don't copy labels into a deque when inserting in StatNode

8 years agodnsdist: Don't keep track of the remote in StatNode
Remi Gacogne [Wed, 14 Mar 2018 17:24:30 +0000 (18:24 +0100)] 
dnsdist: Don't keep track of the remote in StatNode

We don't use them (they are not even available from Lua) and it
becomes very painful when you have a lot of different remotes in
the ring buffers.

8 years agoMerge pull request #6338 from cmouse/lua
Pieter Lexis [Wed, 14 Mar 2018 16:07:18 +0000 (17:07 +0100)] 
Merge pull request #6338 from cmouse/lua

build lua2 backend packages

8 years agoUpdate secpoll 6345/head
Pieter Lexis [Wed, 14 Mar 2018 14:48:28 +0000 (15:48 +0100)] 
Update secpoll

8 years agomove constant in countServersUp() signature 6327/head
Lowell Mower [Wed, 14 Mar 2018 12:58:23 +0000 (08:58 -0400)] 
move constant in countServersUp() signature

8 years agorec: Constify the methods of RecursorLua4 when possible
Remi Gacogne [Wed, 14 Mar 2018 10:14:34 +0000 (11:14 +0100)] 
rec: Constify the methods of RecursorLua4 when possible