]> granicus.if.org Git - pdns/log
pdns
6 years agoauth: remove supurios notify after a supermaster domain was created
Kees Monshouwer [Thu, 30 Nov 2017 12:58:24 +0000 (13:58 +0100)]
auth: remove supurios notify after a supermaster domain was created

From the regression tests:

Nov 30 13:30:54 Received NOTIFY for test.com from 127.0.0.1 for which we are not authoritative, trying supermaster
Nov 30 13:30:54 Received NOTIFY for example.com from 127.0.0.1 which is not a master (Refused)
Nov 30 13:30:54 Received NOTIFY for test.com from 127.0.0.1 for which we are not authoritative, trying supermaster
Nov 30 13:30:55 Created new slave zone 'test.com' from supermaster 127.0.0.1
Nov 30 13:30:55 Database error trying to create test.com for potential supermaster 127.0.0.1: Database error trying to insert new domain 'test.com.': Error while retrieving SQLite query results: column name is not unique
Nov 30 13:30:55 1 slave domain needs checking, 0 queued for AXFR
Nov 30 13:30:55 Received serial number updates for 1 zone, had 0 timeouts
Nov 30 13:30:55 Domain 'test.com' is stale, master serial 2005092501, our serial 0
Nov 30 13:30:55 Initiating transfer of 'test.com' from remote '127.0.0.1'
Nov 30 13:30:55 No new unfresh slave domains, 0 queued for AXFR already, 1 in progress
Nov 30 13:30:55 Starting AXFR of 'test.com' from remote 127.0.0.1:53
Nov 30 13:30:55 AXFR of domain 'test.com' initiated by 127.0.0.2
Nov 30 13:30:55 AXFR of domain 'test.com' allowed: TSIG signed request with authorized key 'tsig.com' and algorithm 'hmac-md5.sig-alg.reg.int'
Nov 30 13:30:55 AXFR started for 'test.com'
Nov 30 13:30:55 AXFR of domain 'test.com' to 127.0.0.2 finished
Nov 30 13:30:55 AXFR of 'test.com' from remote 127.0.0.1:53 done
Nov 30 13:30:55 Backend transaction started for 'test.com' storage
Nov 30 13:30:55 AXFR done for 'test.com', zone committed with serial number 2005092501
Nov 30 13:30:55 Removed from notification list: 'test.com' to 127.0.0.2:53 (was acknowledged)
Nov 30 13:30:55 Received unsuccessful notification report for 'example.com' from 127.0.0.2:53, error: Query Refused
Nov 30 13:30:55 Removed from notification list: 'example.com' to 127.0.0.2:53 Query Refused
Nov 30 13:30:55 Removed from notification list: 'test.com' to 127.0.0.2:53 (was acknowledged)
Nov 30 13:30:55 Received spurious notify answer for 'test.com' from 127.0.0.2:53
Nov 30 13:30:55 Received unsuccessful notification report for 'test.com' from 127.0.0.2:53, error: Server Failure
Nov 30 13:30:55 Received spurious notify answer for 'test.com' from 127.0.0.2:53

6 years agoauth: remove an other query for unsigned notifies and notifies signed with a wrong...
Kees Monshouwer [Thu, 30 Nov 2017 12:40:04 +0000 (13:40 +0100)]
auth: remove an other query for unsigned notifies and notifies signed with a wrong TSIG key

6 years agoauth: one query and a huge amount of code down the drain
Kees Monshouwer [Thu, 30 Nov 2017 00:53:27 +0000 (01:53 +0100)]
auth: one query and a huge amount of code down the drain

6 years agoauth: do not waste SOA queries in getDomaininfo() for a serial we never use
Kees Monshouwer [Wed, 29 Nov 2017 23:25:10 +0000 (00:25 +0100)]
auth: do not waste SOA queries in getDomaininfo() for a serial we never use

6 years agoMerge pull request #6421 from bandzoogle/master
Pieter Lexis [Sat, 31 Mar 2018 09:18:32 +0000 (11:18 +0200)]
Merge pull request #6421 from bandzoogle/master

Add parameters to swagger API definition for creating zone

6 years agoMerge pull request #6424 from chbruyand/rec-cppcheck
Pieter Lexis [Sat, 31 Mar 2018 09:18:18 +0000 (11:18 +0200)]
Merge pull request #6424 from chbruyand/rec-cppcheck

rec: Fix some warnings reported by cppcheck

6 years agoMerge pull request #6425 from rgacogne/dnsdist-rings-test-fix
Pieter Lexis [Sat, 31 Mar 2018 09:18:02 +0000 (11:18 +0200)]
Merge pull request #6425 from rgacogne/dnsdist-rings-test-fix

dnsdist: Initialize the done variable in the rings' unit tests

6 years agoMerge pull request #6426 from pieterlexis/dnsdist-el6-upstart
Pieter Lexis [Sat, 31 Mar 2018 09:17:30 +0000 (11:17 +0200)]
Merge pull request #6426 from pieterlexis/dnsdist-el6-upstart

Move the EL6 dnsdist package to upstart

6 years agoMove the EL6 dnsdist package to upstart
Pieter Lexis [Fri, 30 Mar 2018 13:21:52 +0000 (15:21 +0200)]
Move the EL6 dnsdist package to upstart

6 years agorec: use C++11 range-based for loop
Charles-Henri Bruyand [Fri, 30 Mar 2018 12:44:50 +0000 (14:44 +0200)]
rec: use C++11 range-based for loop

6 years agoMerge pull request #6422 from rgacogne/dnsdist-doc-fixes
Remi Gacogne [Fri, 30 Mar 2018 12:13:51 +0000 (14:13 +0200)]
Merge pull request #6422 from rgacogne/dnsdist-doc-fixes

dnsdist: Fix two small nits on the documentation

6 years agodnsdist: Initialize the done variable in the rings' unit tests
Remi Gacogne [Fri, 30 Mar 2018 11:40:34 +0000 (13:40 +0200)]
dnsdist: Initialize the done variable in the rings' unit tests

6 years agorec: adjust format string formaters
Charles-Henri Bruyand [Tue, 27 Mar 2018 22:53:25 +0000 (00:53 +0200)]
rec: adjust format string formaters

6 years agorec: prefer references for function parameters
Charles-Henri Bruyand [Tue, 27 Mar 2018 22:44:37 +0000 (00:44 +0200)]
rec: prefer references for function parameters

6 years agorec: perform constructor initialization in initialization list
Charles-Henri Bruyand [Tue, 27 Mar 2018 22:14:13 +0000 (00:14 +0200)]
rec: perform constructor initialization in initialization list

6 years agorec: prefer prefix ++/-- operators for non-primitive types
Charles-Henri Bruyand [Tue, 27 Mar 2018 15:49:52 +0000 (17:49 +0200)]
rec: prefer prefix ++/-- operators for non-primitive types

6 years agorec: remove unused plotter related code
Charles-Henri Bruyand [Tue, 27 Mar 2018 14:01:43 +0000 (16:01 +0200)]
rec: remove unused plotter related code

6 years agoMerge pull request #6358 from pieterlexis/rm-L
Remi Gacogne [Fri, 30 Mar 2018 09:32:51 +0000 (11:32 +0200)]
Merge pull request #6358 from pieterlexis/rm-L

Remove `theLog` and `theL` and replace this with a global g_log

6 years agodnsdist: Fix two small nits on the documentation
Remi Gacogne [Fri, 30 Mar 2018 08:53:45 +0000 (10:53 +0200)]
dnsdist: Fix two small nits on the documentation

6 years agoMerge pull request #6420 from Habbie/lua2-pdns-path
Remi Gacogne [Fri, 30 Mar 2018 08:41:31 +0000 (10:41 +0200)]
Merge pull request #6420 from Habbie/lua2-pdns-path

fix path assumptions in lua(2) tests

6 years agoMerge pull request #6388 from pieterlexis/dnsdist-1.3.0-changelog
Remi Gacogne [Fri, 30 Mar 2018 08:25:10 +0000 (10:25 +0200)]
Merge pull request #6388 from pieterlexis/dnsdist-1.3.0-changelog

dnsdist: Add 1.3.0 changelog

6 years agoLogging: have a global g_log
Pieter Lexis [Fri, 16 Mar 2018 08:33:07 +0000 (09:33 +0100)]
Logging: have a global g_log

6 years agoAdd parameters to swagger API definition for creating zone
Colin Mitchell [Thu, 29 Mar 2018 18:15:55 +0000 (14:15 -0400)]
Add parameters to swagger API definition for creating zone

6 years agodnsdist: Delay the release until tomorrow because our builders are busy :)
Remi Gacogne [Thu, 29 Mar 2018 15:45:42 +0000 (17:45 +0200)]
dnsdist: Delay the release until tomorrow because our builders are busy :)

6 years agodnsdist: Set the 1.3.0 release date in dnsdist's changelog
Remi Gacogne [Thu, 29 Mar 2018 15:34:21 +0000 (17:34 +0200)]
dnsdist: Set the 1.3.0 release date in dnsdist's changelog

6 years agodnsdist: add removed functions to the upgrade guide
Pieter Lexis [Thu, 29 Mar 2018 08:52:34 +0000 (10:52 +0200)]
dnsdist: add removed functions to the upgrade guide

6 years agoUpdate dnsdist 1.3.0 changelog
Pieter Lexis [Thu, 29 Mar 2018 08:38:31 +0000 (10:38 +0200)]
Update dnsdist 1.3.0 changelog

6 years agodnsdist: Update 1.3.0 changelog
Pieter Lexis [Tue, 27 Mar 2018 12:23:16 +0000 (14:23 +0200)]
dnsdist: Update 1.3.0 changelog

6 years agodnsdist: Add 1.3.0 changelog
Pieter Lexis [Mon, 26 Mar 2018 12:49:55 +0000 (14:49 +0200)]
dnsdist: Add 1.3.0 changelog

6 years agoMerge pull request #6412 from rgacogne/dnsdist-gnutls-memset dnsdist-1.3.0
Remi Gacogne [Thu, 29 Mar 2018 15:16:41 +0000 (17:16 +0200)]
Merge pull request #6412 from rgacogne/dnsdist-gnutls-memset

dnsdist: Use safe_memset if we have neither sodium nor gnutls_memset

6 years agoMerge pull request #6191 from rgacogne/dnsdist-rings-sharding
Remi Gacogne [Thu, 29 Mar 2018 14:40:49 +0000 (16:40 +0200)]
Merge pull request #6191 from rgacogne/dnsdist-rings-sharding

dnsdist: Ring buffers sharding

6 years agoMerge pull request #6415 from rgacogne/dnscrypt-warn-sign-compare-arm
Remi Gacogne [Thu, 29 Mar 2018 14:26:14 +0000 (16:26 +0200)]
Merge pull request #6415 from rgacogne/dnscrypt-warn-sign-compare-arm

dnsdist: Fix a sign comparison warning on armv7l

6 years agoAdd recursor 4.1.2 changelog (#6389)
Pieter Lexis [Thu, 29 Mar 2018 14:10:34 +0000 (16:10 +0200)]
Add recursor 4.1.2 changelog (#6389)

* Add recursor 4.1.2 changelog
* secpoll: add recursor 4.1.2

6 years agoMerge pull request #6411 from rgacogne/dnsdist-dynamic-healthchecks
Remi Gacogne [Thu, 29 Mar 2018 13:54:09 +0000 (15:54 +0200)]
Merge pull request #6411 from rgacogne/dnsdist-dynamic-healthchecks

dnsdist: Add `checkFunction` to implement a dynamic health check

6 years agoMerge pull request #6414 from rgacogne/dnsdist-console-tests-eof
Remi Gacogne [Thu, 29 Mar 2018 13:53:53 +0000 (15:53 +0200)]
Merge pull request #6414 from rgacogne/dnsdist-console-tests-eof

dnsdist: Manually raise an exception on EOF while reading the nonce

6 years agodnsdist: Move to safe_memory_lock / safe_memory_release
Remi Gacogne [Thu, 29 Mar 2018 13:50:41 +0000 (15:50 +0200)]
dnsdist: Move to safe_memory_lock / safe_memory_release

6 years agodnsdist: Fix a sign comparison warning on armv7l
Remi Gacogne [Thu, 29 Mar 2018 13:14:44 +0000 (15:14 +0200)]
dnsdist: Fix a sign comparison warning on armv7l

6 years agoluabackend: do not assume module path
Peter van Dijk [Thu, 29 Mar 2018 12:40:16 +0000 (14:40 +0200)]
luabackend: do not assume module path

6 years agoluabackend: do not assume pdns_server path
Peter van Dijk [Thu, 29 Mar 2018 09:20:04 +0000 (11:20 +0200)]
luabackend: do not assume pdns_server path

6 years agodnsdist: Only copy the DNSName, not the whole ring entry
Remi Gacogne [Thu, 29 Mar 2018 09:37:27 +0000 (11:37 +0200)]
dnsdist: Only copy the DNSName, not the whole ring entry

6 years agodnsdist: Be consistent about the shards's unique_ptr constness
Remi Gacogne [Thu, 29 Mar 2018 09:36:13 +0000 (11:36 +0200)]
dnsdist: Be consistent about the shards's unique_ptr constness

6 years agodnsdist: Comment that the rings shouldn't be resized at run-time
Remi Gacogne [Thu, 29 Mar 2018 09:34:07 +0000 (11:34 +0200)]
dnsdist: Comment that the rings shouldn't be resized at run-time

6 years agodnsdist: Fix qtype/len mix-up when inserting into the query ring
Remi Gacogne [Fri, 23 Mar 2018 21:54:15 +0000 (22:54 +0100)]
dnsdist: Fix qtype/len mix-up when inserting into the query ring

6 years agodnsdist: Use C++11-style loops for walking the ring buffers
Remi Gacogne [Thu, 22 Mar 2018 14:22:38 +0000 (15:22 +0100)]
dnsdist: Use C++11-style loops for walking the ring buffers

Suggested by @chbruyand (thanks!).

6 years agodnsdist: Add some wiggle room in the rings' tests, Travis is slow
Remi Gacogne [Wed, 21 Mar 2018 13:49:35 +0000 (14:49 +0100)]
dnsdist: Add some wiggle room in the rings' tests, Travis is slow

6 years agodnsdist: Keep the number of entries in the ring, add tests and stats
Remi Gacogne [Tue, 20 Mar 2018 14:13:15 +0000 (15:13 +0100)]
dnsdist: Keep the number of entries in the ring, add tests and stats

6 years agodnsdist: Move the rings declaration to a separate header file
Remi Gacogne [Tue, 20 Mar 2018 09:36:19 +0000 (10:36 +0100)]
dnsdist: Move the rings declaration to a separate header file

6 years agodnsdist: Break out of the ring insertion loop once we are done
Remi Gacogne [Mon, 19 Mar 2018 15:46:09 +0000 (16:46 +0100)]
dnsdist: Break out of the ring insertion loop once we are done

6 years agodnsdist: Document setRingBuffersLockRetries()
Remi Gacogne [Mon, 19 Mar 2018 15:37:45 +0000 (16:37 +0100)]
dnsdist: Document setRingBuffersLockRetries()

6 years agodnsdist: Instead of using rings IDs, let's do try-lock round-robin
Remi Gacogne [Mon, 19 Mar 2018 15:20:35 +0000 (16:20 +0100)]
dnsdist: Instead of using rings IDs, let's do try-lock round-robin

6 years agodnsdist: Use mutexes instead of read-write locks for the rings
Remi Gacogne [Mon, 19 Mar 2018 14:46:22 +0000 (15:46 +0100)]
dnsdist: Use mutexes instead of read-write locks for the rings

6 years agodnsdist: Ring buffers sharding
Remi Gacogne [Tue, 16 Jan 2018 15:59:38 +0000 (16:59 +0100)]
dnsdist: Ring buffers sharding

6 years agodnsdist: Rename safe_memset() to safe_memzero()
Remi Gacogne [Thu, 29 Mar 2018 09:03:04 +0000 (11:03 +0200)]
dnsdist: Rename safe_memset() to safe_memzero()

6 years agodnsdist: Add support for explicit_bzero() and explicit_memset()
Remi Gacogne [Wed, 28 Mar 2018 21:20:12 +0000 (23:20 +0200)]
dnsdist: Add support for explicit_bzero() and explicit_memset()

6 years agodnsdist: Use safe_memset if we have neither sodium nor gnutls_memset
Remi Gacogne [Wed, 28 Mar 2018 14:37:43 +0000 (16:37 +0200)]
dnsdist: Use safe_memset if we have neither sodium nor gnutls_memset

6 years agodnsdist: Manually raise an exception on EOF while reading the nonce
Remi Gacogne [Thu, 29 Mar 2018 08:55:56 +0000 (10:55 +0200)]
dnsdist: Manually raise an exception on EOF while reading the nonce

6 years agoMerge pull request #6413 from Habbie/tinydns-hash
Peter van Dijk [Thu, 29 Mar 2018 08:22:33 +0000 (10:22 +0200)]
Merge pull request #6413 from Habbie/tinydns-hash

update data.cdb hash after merge of #6377

6 years agoupdate data.cdb hash after merge of #6377
Peter van Dijk [Thu, 29 Mar 2018 07:35:50 +0000 (09:35 +0200)]
update data.cdb hash after merge of #6377

6 years agoMerge pull request #6407 from rgacogne/dnsdist-cppcheck
Remi Gacogne [Wed, 28 Mar 2018 21:32:12 +0000 (23:32 +0200)]
Merge pull request #6407 from rgacogne/dnsdist-cppcheck

dnsdist: Fix warnings reported by clang's analyzer and cppcheck

6 years agoMerge pull request #6399 from rgacogne/dnsdist-console-acl
Remi Gacogne [Wed, 28 Mar 2018 21:28:48 +0000 (23:28 +0200)]
Merge pull request #6399 from rgacogne/dnsdist-console-acl

dnsdist: Restrict remote connection to the console via an ACL

6 years agodnsdist: Fix the console ACL test, assertRaises() is tricky!
Remi Gacogne [Wed, 28 Mar 2018 15:25:11 +0000 (17:25 +0200)]
dnsdist: Fix the console ACL test, assertRaises() is tricky!

6 years agodnsdist: Add regression tests for the console ACL feature
Remi Gacogne [Wed, 28 Mar 2018 15:18:12 +0000 (17:18 +0200)]
dnsdist: Add regression tests for the console ACL feature

6 years agodnsdist: Constify the function refs passed to Lua{,Response}Action
Remi Gacogne [Wed, 28 Mar 2018 14:49:36 +0000 (16:49 +0200)]
dnsdist: Constify the function refs passed to Lua{,Response}Action

6 years agodnsdist: Add `checkFunction` to implement a dynamic health check
Remi Gacogne [Wed, 28 Mar 2018 13:03:16 +0000 (15:03 +0200)]
dnsdist: Add `checkFunction` to implement a dynamic health check

6 years agoMerge pull request #6331 from Habbie/alias-tcp
Pieter Lexis [Wed, 28 Mar 2018 10:01:49 +0000 (12:01 +0200)]
Merge pull request #6331 from Habbie/alias-tcp

add TCP support for ALIAS

6 years agoMerge pull request #6391 from rgacogne/dnsdist-dynblock-group
Pieter Lexis [Wed, 28 Mar 2018 09:53:13 +0000 (11:53 +0200)]
Merge pull request #6391 from rgacogne/dnsdist-dynblock-group

dnsdist: Add DynBlockRulesGroup

6 years agoMerge pull request #6377 from chbruyand/auth-add-mb-rr-types
Pieter Lexis [Wed, 28 Mar 2018 09:52:57 +0000 (11:52 +0200)]
Merge pull request #6377 from chbruyand/auth-add-mb-rr-types

auth: add support for MB and MG RR types

6 years agoMerge pull request #6400 from rgacogne/dnsdist-ecs-pool
Remi Gacogne [Wed, 28 Mar 2018 08:26:14 +0000 (10:26 +0200)]
Merge pull request #6400 from rgacogne/dnsdist-ecs-pool

dnsdist: Optionally add ECS for cache lookup when all backends are down

6 years agodnsdist: Document what addACL(), showACL() and setACL() control
Remi Gacogne [Tue, 27 Mar 2018 09:59:59 +0000 (11:59 +0200)]
dnsdist: Document what addACL(), showACL() and setACL() control

6 years agodnsdist: Allow ::1/128 to access the console by default too
Remi Gacogne [Tue, 27 Mar 2018 09:59:10 +0000 (11:59 +0200)]
dnsdist: Allow ::1/128 to access the console by default too

6 years agodnsdist: Restrict remote connection to the console via an ACL
Remi Gacogne [Tue, 27 Mar 2018 08:24:48 +0000 (10:24 +0200)]
dnsdist: Restrict remote connection to the console via an ACL

6 years agoMerge pull request #6403 from zeha/dnsdist-newserver-assert
Remi Gacogne [Wed, 28 Mar 2018 07:56:59 +0000 (09:56 +0200)]
Merge pull request #6403 from zeha/dnsdist-newserver-assert

dnsdist: avoid LuaWrapper assert on errors in newServer()

6 years agoMerge pull request #6102 from ahupowerdns/better-ednssize-log
bert hubert [Tue, 27 Mar 2018 23:37:08 +0000 (00:37 +0100)]
Merge pull request #6102 from ahupowerdns/better-ednssize-log

add actual EDNS buffer size logging, not just our interpretation

6 years agoMerge pull request #6312 from pieterlexis/auth-too-short-squelch
bert hubert [Tue, 27 Mar 2018 23:36:39 +0000 (00:36 +0100)]
Merge pull request #6312 from pieterlexis/auth-too-short-squelch

auth: lower 'packet too short' loglevel

6 years agoMerge pull request #6397 from Habbie/lua2-fixes
bert hubert [Tue, 27 Mar 2018 23:35:35 +0000 (00:35 +0100)]
Merge pull request #6397 from Habbie/lua2-fixes

Lua2 fixes

6 years agoMerge pull request #6408 from rgacogne/dnsdist-empty-dnscrypt
bert hubert [Tue, 27 Mar 2018 23:22:35 +0000 (00:22 +0100)]
Merge pull request #6408 from rgacogne/dnsdist-empty-dnscrypt

dnsdist: Remove empty dnsdist-dnscrypt.hh file

6 years agoMerge pull request #6409 from chbruyand/rec-issue-6398
bert hubert [Tue, 27 Mar 2018 23:22:18 +0000 (00:22 +0100)]
Merge pull request #6409 from chbruyand/rec-issue-6398

rec: really fallback to std::set when boost::container::flat_set is not available

6 years agorec: allow to bind on udp port 1024
Charles-Henri Bruyand [Tue, 27 Mar 2018 20:41:18 +0000 (22:41 +0200)]
rec: allow to bind on udp port 1024

6 years agorec: only notice if boost flat_set are not available
Charles-Henri Bruyand [Tue, 27 Mar 2018 20:09:26 +0000 (22:09 +0200)]
rec: only notice if boost flat_set are not available

6 years agoMerge pull request #6406 from chbruyand/rec-issue-6398
Remi Gacogne [Tue, 27 Mar 2018 17:58:03 +0000 (19:58 +0200)]
Merge pull request #6406 from chbruyand/rec-issue-6398

rec: fallback to std::set when boost::container::flat_set is not available

6 years agoMerge pull request #6394 from rgacogne/dnsdist-daemon-removal
Pieter Lexis [Tue, 27 Mar 2018 14:08:21 +0000 (16:08 +0200)]
Merge pull request #6394 from rgacogne/dnsdist-daemon-removal

dnsdist: Remove the --daemon option

6 years agoMerge pull request #6396 from Habbie/stoul-data
Pieter Lexis [Tue, 27 Mar 2018 14:08:04 +0000 (16:08 +0200)]
Merge pull request #6396 from Habbie/stoul-data

report unparseable data in stoul invalid_argument exception

6 years agodnsdist: Remove empty dnsdist-dnscrypt.hh file
Remi Gacogne [Tue, 27 Mar 2018 13:24:39 +0000 (15:24 +0200)]
dnsdist: Remove empty dnsdist-dnscrypt.hh file

6 years agodnsdist: fix doc syntax for dynblocks
Pieter Lexis [Tue, 27 Mar 2018 12:57:30 +0000 (14:57 +0200)]
dnsdist: fix doc syntax for dynblocks

6 years agoMerge pull request #6402 from chbruyand/dnsdist-issue-5763
Pieter Lexis [Tue, 27 Mar 2018 12:36:56 +0000 (14:36 +0200)]
Merge pull request #6402 from chbruyand/dnsdist-issue-5763

dnsdist: add option to showRules actions to truncate rule length output

6 years agoMerge pull request #6401 from rgacogne/dnsdist-api-double
Remi Gacogne [Tue, 27 Mar 2018 12:33:05 +0000 (14:33 +0200)]
Merge pull request #6401 from rgacogne/dnsdist-api-double

dnsdist: Use double instead of int in the API

6 years agodnsdist: Pass shared pointers by reference whenever possible
Remi Gacogne [Tue, 27 Mar 2018 12:26:38 +0000 (14:26 +0200)]
dnsdist: Pass shared pointers by reference whenever possible

6 years agodnsdist: Don't capture the client var when we don't need it
Remi Gacogne [Tue, 27 Mar 2018 12:25:30 +0000 (14:25 +0200)]
dnsdist: Don't capture the client var when we don't need it

6 years agoUse an initialization list instead of assigning values in the ctor body
Remi Gacogne [Tue, 27 Mar 2018 12:28:01 +0000 (14:28 +0200)]
Use an initialization list instead of assigning values in the ctor body

6 years agoUpdate the lock status in the move constructors
Remi Gacogne [Tue, 27 Mar 2018 12:22:31 +0000 (14:22 +0200)]
Update the lock status in the move constructors

6 years agoUse pre-increment instead of post-increment for non-primitive types
Remi Gacogne [Tue, 27 Mar 2018 12:21:52 +0000 (14:21 +0200)]
Use pre-increment instead of post-increment for non-primitive types

6 years agoLuaWrapper: Don't move function since we still access it later
Remi Gacogne [Tue, 27 Mar 2018 12:20:21 +0000 (14:20 +0200)]
LuaWrapper: Don't move function since we still access it later

6 years agorec: fallback to std::set when boost::container::flat_set is not available (boost...
Charles-Henri Bruyand [Tue, 27 Mar 2018 11:42:52 +0000 (13:42 +0200)]
rec: fallback to std::set when boost::container::flat_set is not available (boost version < 1.48)

6 years agodnsdist: avoid LuaWrapper assert on errors in newServer()
Chris Hofstaedtler [Tue, 27 Mar 2018 10:14:30 +0000 (12:14 +0200)]
dnsdist: avoid LuaWrapper assert on errors in newServer()

6 years agodnsdist: Remove the now useless 'Running in the foreground' message
Remi Gacogne [Tue, 27 Mar 2018 10:03:32 +0000 (12:03 +0200)]
dnsdist: Remove the now useless 'Running in the foreground' message

6 years agodnsdist: fix typos and replaces new typedef's name
Charles-Henri Bruyand [Tue, 27 Mar 2018 09:46:00 +0000 (11:46 +0200)]
dnsdist: fix typos and replaces new typedef's name

6 years agodnsdist: Use double instead of int in the API
Remi Gacogne [Tue, 27 Mar 2018 09:05:25 +0000 (11:05 +0200)]
dnsdist: Use double instead of int in the API

6 years agodnsdist: Optionally add ECS for cache lookup when all backends are down
Remi Gacogne [Tue, 27 Mar 2018 08:39:16 +0000 (10:39 +0200)]
dnsdist: Optionally add ECS for cache lookup when all backends are down

6 years agoMerge pull request #6392 from rgacogne/dnsdist-sodcrypto-length
Remi Gacogne [Tue, 27 Mar 2018 08:24:24 +0000 (10:24 +0200)]
Merge pull request #6392 from rgacogne/dnsdist-sodcrypto-length

dnsdist: Fix concat of the console msg length to the error message

6 years agoMerge pull request #6393 from rgacogne/dnsdist-stat-node-cutoff-warn
Remi Gacogne [Tue, 27 Mar 2018 07:40:39 +0000 (09:40 +0200)]
Merge pull request #6393 from rgacogne/dnsdist-stat-node-cutoff-warn

dnsdist: Work around a false positive in statNodeRespRing()