]> granicus.if.org Git - pdns/log
pdns
6 years agoAdd support for per-record data
Grégory Oestreicher [Fri, 13 Oct 2017 20:35:09 +0000 (22:35 +0200)]
Add support for per-record data

This allows to specify per RR set TTL, auth status
and ordername.

6 years agoFix lookups in strict mode and filter on the record type
Grégory Oestreicher [Sat, 24 Jun 2017 22:09:50 +0000 (00:09 +0200)]
Fix lookups in strict mode and filter on the record type

6 years agoAdd PowerLDAP::del() and PowerLDAP::add()
Grégory Oestreicher [Sat, 24 Jun 2017 22:00:11 +0000 (00:00 +0200)]
Add PowerLDAP::del() and PowerLDAP::add()

6 years agoLDAP search revamp
Grégory Oestreicher [Sat, 24 Jun 2017 21:46:44 +0000 (23:46 +0200)]
LDAP search revamp

Use a dedicated search result class, and factorize LDAP
entries parsing.

6 years agoCosmetic: prefix member variables with d_
Grégory Oestreicher [Wed, 12 Apr 2017 19:26:22 +0000 (21:26 +0200)]
Cosmetic: prefix member variables with d_

6 years agoVarious Kerberos improvments
Grégory Oestreicher [Wed, 12 Apr 2017 19:26:22 +0000 (21:26 +0200)]
Various Kerberos improvments

Move Kerberos data in member variables
Use a temporary Kerberos credentials cache when getting the ticket
Add the Kerberos realm in the ticket request

6 years agoDon't add braces with throw
Grégory Oestreicher [Thu, 22 Jun 2017 19:50:47 +0000 (21:50 +0200)]
Don't add braces with throw

6 years agoOnly log when there's an actual error
Grégory Oestreicher [Wed, 12 Apr 2017 19:26:22 +0000 (21:26 +0200)]
Only log when there's an actual error

6 years agoMerge pull request #6021 from mind04/silliness
Peter van Dijk [Tue, 10 Apr 2018 15:43:42 +0000 (17:43 +0200)]
Merge pull request #6021 from mind04/silliness

query silliness

6 years agoMerge pull request #6460 from pieterlexis/dnsdist-fix-missing-dnsopcode-ref
Remi Gacogne [Tue, 10 Apr 2018 07:31:33 +0000 (09:31 +0200)]
Merge pull request #6460 from pieterlexis/dnsdist-fix-missing-dnsopcode-ref

docs: Fix missing ref in the dnsdist docs

6 years agodocs: Fix missing ref in the dnsdist docs
Pieter Lexis [Mon, 9 Apr 2018 17:33:55 +0000 (19:33 +0200)]
docs: Fix missing ref in the dnsdist docs

6 years agoMerge pull request #6456 from Habbie/hosts-error-filename
Pieter Lexis [Mon, 9 Apr 2018 16:38:47 +0000 (18:38 +0200)]
Merge pull request #6456 from Habbie/hosts-error-filename

rec: print the actual name of the failing file

6 years agoMerge pull request #6457 from pieterlexis/detect-lua-ensure-luajit
Pieter Lexis [Mon, 9 Apr 2018 16:38:33 +0000 (18:38 +0200)]
Merge pull request #6457 from pieterlexis/detect-lua-ensure-luajit

Lua detection: make more robust

6 years agoLua detection: make more robust
Pieter Lexis [Mon, 9 Apr 2018 13:02:39 +0000 (15:02 +0200)]
Lua detection: make more robust

Ensure `--with-lua=luajit` actually works and ensure we detect minimum
versions for LuaJit and plain Lua correctly.

6 years agoprint the actual name of the failing file
Peter van Dijk [Mon, 9 Apr 2018 12:43:51 +0000 (14:43 +0200)]
print the actual name of the failing file

6 years agoMerge pull request #6444 from rgacogne/rec-protobuf-alloc
Pieter Lexis [Mon, 9 Apr 2018 12:23:08 +0000 (14:23 +0200)]
Merge pull request #6444 from rgacogne/rec-protobuf-alloc

rec: Don't allocate protobuf messages when protobuf is disabled

6 years agoMerge pull request #6445 from pieterlexis/with-lua-redo
Pieter Lexis [Mon, 9 Apr 2018 12:22:48 +0000 (14:22 +0200)]
Merge pull request #6445 from pieterlexis/with-lua-redo

Re-do Lua detection

6 years agoMerge pull request #6455 from PowerDNS/ahupowerdns-be-nice-1
Peter van Dijk [Sat, 7 Apr 2018 16:07:15 +0000 (18:07 +0200)]
Merge pull request #6455 from PowerDNS/ahupowerdns-be-nice-1

Remind submitters we are human beings too

6 years agoRemind submitters we are human beings too
bert hubert [Sat, 7 Apr 2018 14:35:09 +0000 (16:35 +0200)]
Remind submitters we are human beings too

6 years agoMerge pull request #6448 from dmccombs/weight-fix
Remi Gacogne [Fri, 6 Apr 2018 15:03:08 +0000 (17:03 +0200)]
Merge pull request #6448 from dmccombs/weight-fix

Restrict value range for weight parameter, avoid sum overflows dropping queries

6 years agorec: Pass a ref to an optional pb message for pkt cache insertion
Remi Gacogne [Fri, 6 Apr 2018 14:01:57 +0000 (16:01 +0200)]
rec: Pass a ref to an optional pb message for pkt cache insertion

6 years agorec: Explicitely mark protobuf messages as uninitialized
Remi Gacogne [Fri, 6 Apr 2018 14:00:47 +0000 (16:00 +0200)]
rec: Explicitely mark protobuf messages as uninitialized

6 years agoMerge pull request #6449 from Habbie/keyblock-url
Remi Gacogne [Fri, 6 Apr 2018 07:35:48 +0000 (09:35 +0200)]
Merge pull request #6449 from Habbie/keyblock-url

fix url to gpg keyblocks

6 years agofix url to gpg keyblocks
Peter van Dijk [Thu, 5 Apr 2018 14:35:27 +0000 (16:35 +0200)]
fix url to gpg keyblocks

6 years agoRestrict value range for weight parameter, avoid overflowing and dropping queries...
Dan McCombs [Thu, 5 Apr 2018 13:53:34 +0000 (09:53 -0400)]
Restrict value range for weight parameter, avoid overflowing and dropping queries if the sum of all weights is greater than the max value of int.

6 years agoRe-do Lua detection
Pieter Lexis [Wed, 4 Apr 2018 16:31:37 +0000 (18:31 +0200)]
Re-do Lua detection

Detect LuaJIT first, then other implementations. Allows setting
`--with-lua` to a specific implementation as well (e.g. `lua51`). Will
produce errors appropriately.

Fixes #6423.

6 years agouth: use ComboAddress in addSlaveCheckRequest()
Kees Monshouwer [Sat, 31 Mar 2018 21:34:04 +0000 (23:34 +0200)]
uth: use ComboAddress in addSlaveCheckRequest()

6 years agoMerge pull request #6427 from mind04/connections
Pieter Lexis [Wed, 4 Apr 2018 10:26:47 +0000 (12:26 +0200)]
Merge pull request #6427 from mind04/connections

auth: avoid an isane amount of new backend connections during an AXFR

6 years agoMerge pull request #6438 from zeha/clean-generated-files
Pieter Lexis [Wed, 4 Apr 2018 10:26:26 +0000 (12:26 +0200)]
Merge pull request #6438 from zeha/clean-generated-files

make clean: rm generated .service and .conf-dist files

6 years agorec: Don't allocate protobuf messages when protobuf is disabled
Remi Gacogne [Wed, 4 Apr 2018 08:01:17 +0000 (10:01 +0200)]
rec: Don't allocate protobuf messages when protobuf is disabled

6 years agoMerge pull request #6437 from zeha/soarec-order
Remi Gacogne [Tue, 3 Apr 2018 21:37:46 +0000 (23:37 +0200)]
Merge pull request #6437 from zeha/soarec-order

Fix reorder warning: field 'd_rname' will be initialized after field 'd_st'

6 years agoMerge pull request #6436 from zeha/configure-unittests
Remi Gacogne [Tue, 3 Apr 2018 21:37:28 +0000 (23:37 +0200)]
Merge pull request #6436 from zeha/configure-unittests

Split PDNS_ENABLE_UNIT_TESTS

6 years agoMerge pull request #6435 from zeha/dnsdist-opts
Remi Gacogne [Tue, 3 Apr 2018 21:36:48 +0000 (23:36 +0200)]
Merge pull request #6435 from zeha/dnsdist-opts

dnsdist cli option improvements

6 years agomake clean: rm generated .service and .conf-dist files
Chris Hofstaedtler [Tue, 3 Apr 2018 09:53:59 +0000 (11:53 +0200)]
make clean: rm generated .service and .conf-dist files

6 years agoFix reorder warning: field 'd_rname' will be initialized after field 'd_st'
Chris Hofstaedtler [Tue, 3 Apr 2018 09:44:31 +0000 (11:44 +0200)]
Fix reorder warning: field 'd_rname' will be initialized after field 'd_st'

6 years agodnsdist: avoid hiding -k/--setkey from "plaintext" builds
Chris Hofstaedtler [Tue, 3 Apr 2018 09:26:45 +0000 (11:26 +0200)]
dnsdist: avoid hiding -k/--setkey from "plaintext" builds

6 years agodnsdist: (re-)sort long and short options
Chris Hofstaedtler [Tue, 3 Apr 2018 09:22:52 +0000 (11:22 +0200)]
dnsdist: (re-)sort long and short options

6 years agodnsdist: remove optional arg from short-form -v
Chris Hofstaedtler [Tue, 3 Apr 2018 09:20:02 +0000 (11:20 +0200)]
dnsdist: remove optional arg from short-form -v

6 years agodnsdist: kill unintentional -s alias for --supervised
Chris Hofstaedtler [Tue, 3 Apr 2018 08:38:44 +0000 (10:38 +0200)]
dnsdist: kill unintentional -s alias for --supervised

6 years agodnsdist: warn about -k in /proc/x/cmdline
Chris Hofstaedtler [Tue, 3 Apr 2018 08:37:43 +0000 (10:37 +0200)]
dnsdist: warn about -k in /proc/x/cmdline

6 years agodnsdist: add --version to --help
Chris Hofstaedtler [Tue, 3 Apr 2018 08:37:09 +0000 (10:37 +0200)]
dnsdist: add --version to --help

6 years agodnsdist: sort features in --version output
Chris Hofstaedtler [Tue, 3 Apr 2018 08:37:00 +0000 (10:37 +0200)]
dnsdist: sort features in --version output

6 years agodnsdist: remove -d, -p flags after #6394
Peter van Dijk [Mon, 2 Apr 2018 17:02:36 +0000 (19:02 +0200)]
dnsdist: remove -d, -p flags after #6394

[zeha: squashed]

6 years agoSplit PDNS_ENABLE_UNIT_TESTS so recursor, dnsdist dont have meaningless --enable...
Chris Hofstaedtler [Tue, 3 Apr 2018 08:55:38 +0000 (10:55 +0200)]
Split PDNS_ENABLE_UNIT_TESTS so recursor, dnsdist dont have meaningless --enable-backend-unit-tests

6 years agoMerge pull request #6429 from Habbie/dnsdist-openbsd
Peter van Dijk [Mon, 2 Apr 2018 12:56:41 +0000 (14:56 +0200)]
Merge pull request #6429 from Habbie/dnsdist-openbsd

dnsdist: reorder headers to fix OpenBSD build

6 years agoauth: ComboAddress masters in lua2backend
Kees Monshouwer [Sat, 31 Mar 2018 21:32:58 +0000 (23:32 +0200)]
auth: ComboAddress masters in lua2backend

6 years agoauth: add 'supermaster' option to enable/disable supermaster support
Kees Monshouwer [Tue, 27 Feb 2018 21:58:34 +0000 (22:58 +0100)]
auth: add 'supermaster' option to enable/disable supermaster support

6 years agoadd toLogString() to ComboAddress and start using it
Kees Monshouwer [Thu, 30 Nov 2017 23:21:52 +0000 (00:21 +0100)]
add toLogString() to ComboAddress and start using it

6 years agoauth: do not use the remote port for SOA and NS queries in trySuperMaster()
Kees Monshouwer [Fri, 1 Dec 2017 10:36:30 +0000 (11:36 +0100)]
auth: do not use the remote port for SOA and NS queries in trySuperMaster()
and some cleanup

6 years agomake DomainInfo not carry IP addresses as strings. And some subsequent cleanups..
bert hubert [Thu, 30 Nov 2017 22:22:26 +0000 (23:22 +0100)]
make DomainInfo not carry IP addresses as strings. And some subsequent cleanups..

6 years agocheck if supermaster notifications are unique before queuing
bert hubert [Wed, 29 Nov 2017 19:26:51 +0000 (20:26 +0100)]
check if supermaster notifications are unique before queuing

6 years agoauth: do not compare port numbers in isMaster()
Kees Monshouwer [Fri, 1 Dec 2017 10:39:47 +0000 (11:39 +0100)]
auth: do not compare port numbers in isMaster()

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 agodnsdist: reorder headers to fix OpenBSD build
Peter van Dijk [Sat, 31 Mar 2018 16:42:43 +0000 (16:42 +0000)]
dnsdist: reorder headers to fix OpenBSD build

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 agoauth: avoid an isane amount of new backend connections during an AXFR
Kees Monshouwer [Fri, 30 Mar 2018 14:57:43 +0000 (16:57 +0200)]
auth: avoid an isane amount of new backend connections during an AXFR

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