]> granicus.if.org Git - pdns/log
pdns
6 years agoChanged order of questions on pdnsutil
Ruben d'Arco [Wed, 8 Aug 2018 20:51:33 +0000 (21:51 +0100)]
Changed order of questions on pdnsutil

6 years agoAdd question for to increase-soa after non SOA edit
Ruben d'Arco [Sat, 14 Apr 2018 04:14:32 +0000 (05:14 +0100)]
Add question for to increase-soa after non SOA edit

First stab at 3814.
Simple implementation that does simple SOA change detection. Should work for most people
who just want to let increase-serial do the work.

Logic to increase serial is not centralized and it does not detect if the SERIAL has changed in the SOA. It just looks for a change of the SOA record in general.

6 years agoMerge pull request #6489 from pieterlexis/issue-6468-ixfrdist-thread-axfr
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

6 years agoMerge pull request #6472 from setharnold/patch-5
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

6 years agoMerge pull request #6473 from setharnold/patch-6
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

6 years agoMerge pull request #6480 from rgacogne/dnsrandom_unit_tests
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

6 years agoMerge pull request #6481 from cyclops1982/6471
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

6 years agoMerge pull request #6485 from phonedph1/patch-1
Pieter Lexis [Fri, 13 Apr 2018 12:54:08 +0000 (14:54 +0200)]
Merge pull request #6485 from phonedph1/patch-1

Update metrics.rst

6 years agoMerge pull request #6487 from rgacogne/auth-dnspcap2protobuf-rt
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

6 years agoixfrdist: fix review comments by @rgacogne
Pieter Lexis [Fri, 13 Apr 2018 12:17:45 +0000 (14:17 +0200)]
ixfrdist: fix review comments by @rgacogne

6 years agoMerge pull request #6484 from Habbie/recheck-serial
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

6 years agoixfrdist: don't use variable length array
Pieter Lexis [Fri, 13 Apr 2018 10:03:26 +0000 (12:03 +0200)]
ixfrdist: don't use variable length array

6 years agoixfrdist: reverse no source and ACL checks
Pieter Lexis [Fri, 13 Apr 2018 09:19:55 +0000 (11:19 +0200)]
ixfrdist: reverse no source and ACL checks

6 years agoixfrutil: ensure it does not print by itself
Pieter Lexis [Thu, 12 Apr 2018 15:15:31 +0000 (17:15 +0200)]
ixfrutil: ensure it does not print by itself

6 years agoixfrdist: use the logging module
Pieter Lexis [Thu, 12 Apr 2018 15:07:19 +0000 (17:07 +0200)]
ixfrdist: use the logging module

6 years agologger: Allow logging with the severity prefix
Pieter Lexis [Thu, 12 Apr 2018 15:06:42 +0000 (17:06 +0200)]
logger: Allow logging with the severity prefix

6 years agoauth: Link dnspcap2protobuf against librt when needed
Remi Gacogne [Fri, 13 Apr 2018 07:41:07 +0000 (09:41 +0200)]
auth: Link dnspcap2protobuf against librt when needed

6 years agoUpdate metrics.rst
phonedph1 [Fri, 13 Apr 2018 00:58:20 +0000 (18:58 -0600)]
Update metrics.rst

Make it clear why they were not performed.

6 years agorequeue serial check if NOTIFY comes in while incoming AXFR is ongoing
Peter van Dijk [Thu, 12 Apr 2018 18:33:41 +0000 (20:33 +0200)]
requeue serial check if NOTIFY comes in while incoming AXFR is ongoing

6 years agoimprove slave NOTIFY logging
Peter van Dijk [Thu, 12 Apr 2018 17:58:02 +0000 (19:58 +0200)]
improve slave NOTIFY logging

6 years agoAdd return 0 for correct exit of set-kind and set-account
Ruben d'Arco [Thu, 12 Apr 2018 06:21:41 +0000 (07:21 +0100)]
Add return 0 for correct exit of set-kind and set-account

Fixes #6471

6 years agoMerge pull request #6478 from rgacogne/fix-botan25-warning
Remi Gacogne [Thu, 12 Apr 2018 15:22:01 +0000 (17:22 +0200)]
Merge pull request #6478 from rgacogne/fix-botan25-warning

Fix a warning on botan >= 2.5.0

6 years agoMerge pull request #6479 from Habbie/lock-failure-macos
Remi Gacogne [Thu, 12 Apr 2018 15:21:48 +0000 (17:21 +0200)]
Merge pull request #6479 from Habbie/lock-failure-macos

make lock test pass on macOS

6 years agoTest dependencies is too recent a feature, disable the uninit test
Remi Gacogne [Thu, 12 Apr 2018 15:19:40 +0000 (17:19 +0200)]
Test dependencies is too recent a feature, disable the uninit test

6 years agorec: Set the RNG parameter to "auto" in the SyncRes unit tests
Remi Gacogne [Thu, 12 Apr 2018 15:18:52 +0000 (17:18 +0200)]
rec: Set the RNG parameter to "auto" in the SyncRes unit tests

6 years agoFix the dns_random unit tests, test all available backends
Remi Gacogne [Thu, 12 Apr 2018 14:21:43 +0000 (16:21 +0200)]
Fix the dns_random unit tests, test all available backends

6 years agomake lock test pass on macOS
Peter van Dijk [Thu, 12 Apr 2018 13:34:36 +0000 (15:34 +0200)]
make lock test pass on macOS

6 years agoixfrdist: update manpage
Pieter Lexis [Thu, 12 Apr 2018 13:31:56 +0000 (15:31 +0200)]
ixfrdist: update manpage

6 years agoixfrdist: Use workers to handle TCP connections
Pieter Lexis [Thu, 12 Apr 2018 13:26:27 +0000 (15:26 +0200)]
ixfrdist: Use workers to handle TCP connections

6 years agoFix a warning on botan >= 2.5.0
Remi Gacogne [Thu, 12 Apr 2018 12:36:09 +0000 (14:36 +0200)]
Fix a warning on botan >= 2.5.0

6 years agoMerge pull request #6470 from pieterlexis/lua-detect-empty-auto
Remi Gacogne [Thu, 12 Apr 2018 12:00:04 +0000 (14:00 +0200)]
Merge pull request #6470 from pieterlexis/lua-detect-empty-auto

Lua detection: make `--with-lua` autodetect

6 years agoMerge pull request #6475 from rgacogne/fix-getrandom
Remi Gacogne [Thu, 12 Apr 2018 11:59:30 +0000 (13:59 +0200)]
Merge pull request #6475 from rgacogne/fix-getrandom

Fix compilation and use of getrandom() when available

6 years agoFix compilation and use of getrandom() when available
Remi Gacogne [Thu, 12 Apr 2018 10:39:00 +0000 (12:39 +0200)]
Fix compilation and use of getrandom() when available

6 years agoMerge pull request #5274 from cmouse/rand
Pieter Lexis [Thu, 12 Apr 2018 09:55:54 +0000 (11:55 +0200)]
Merge pull request #5274 from cmouse/rand

dns_random: Implement new dns_random

6 years agolualang.org -> lua.org
setharnold [Thu, 12 Apr 2018 00:24:45 +0000 (17:24 -0700)]
lualang.org -> lua.org

lualang.org appears dead, lua.org appears alive

6 years agolualang.org -> lua.org
setharnold [Thu, 12 Apr 2018 00:22:58 +0000 (17:22 -0700)]
lualang.org -> lua.org

lualang.org appears dead, lua.org appears alive

6 years agoLua detection: make `--with-lua` autodetect
Pieter Lexis [Wed, 11 Apr 2018 20:49:32 +0000 (22:49 +0200)]
Lua detection: make `--with-lua` autodetect

6 years agopdns: Implement new dns_random
Aki Tuomi [Mon, 5 Feb 2018 07:32:13 +0000 (09:32 +0200)]
pdns: Implement new dns_random

Adds new setting rng, which can be set to choose particular rng

6 years agoconfigure: Check for system random number generators
Aki Tuomi [Mon, 5 Feb 2018 07:29:32 +0000 (09:29 +0200)]
configure: Check for system random number generators

6 years agom4: Check for openssl random generators
Aki Tuomi [Mon, 5 Feb 2018 07:29:21 +0000 (09:29 +0200)]
m4: Check for openssl random generators

6 years agom4: Check for randombytes_stir
Aki Tuomi [Mon, 5 Feb 2018 07:27:07 +0000 (09:27 +0200)]
m4: Check for randombytes_stir

This can be used as random source

6 years agoMerge pull request #6469 from rgacogne/rec-axfr-timeout
Pieter Lexis [Wed, 11 Apr 2018 13:47:05 +0000 (15:47 +0200)]
Merge pull request #6469 from rgacogne/rec-axfr-timeout

rec: Respect the AXFR timeout while connecting to the RPZ server

6 years agoMerge pull request #6443 from rgacogne/rec-protobuf-per-thread
Pieter Lexis [Wed, 11 Apr 2018 13:46:37 +0000 (15:46 +0200)]
Merge pull request #6443 from rgacogne/rec-protobuf-per-thread

rec: Use a separate protobuf exporter thread per worker thread

6 years agorec: Use a separate protobuf exporter thread per worker thread
Remi Gacogne [Wed, 4 Apr 2018 14:49:03 +0000 (16:49 +0200)]
rec: Use a separate protobuf exporter thread per worker thread

Use a dedicated protobuf queue for each worker thread, instead of
sharing a single one for all worker threads, leading to some
contention under heavy load.

6 years agorec: Fix the logged delay in the RPZ retriever thread
Remi Gacogne [Wed, 11 Apr 2018 10:13:24 +0000 (12:13 +0200)]
rec: Fix the logged delay in the RPZ retriever thread

6 years agoMerge pull request #6458 from rgacogne/rec-ghost
Pieter Lexis [Wed, 11 Apr 2018 09:36:04 +0000 (11:36 +0200)]
Merge pull request #6458 from rgacogne/rec-ghost

rec: Enable the ghost tests again, add a corresponding unit test

6 years agoMerge pull request #6464 from rgacogne/auth-reconnect-pg
Pieter Lexis [Wed, 11 Apr 2018 09:35:43 +0000 (11:35 +0200)]
Merge pull request #6464 from rgacogne/auth-reconnect-pg

auth: Allocate new statements after reconnecting to PostgreSQL

6 years agoMerge pull request #6465 from rgacogne/rec-chained-outqueries
Pieter Lexis [Wed, 11 Apr 2018 09:35:25 +0000 (11:35 +0200)]
Merge pull request #6465 from rgacogne/rec-chained-outqueries

rec: Don't account chained queries more than once

6 years agoMerge pull request #6467 from ahupowerdns/dnssec-stats-special-names
Pieter Lexis [Wed, 11 Apr 2018 09:35:03 +0000 (11:35 +0200)]
Merge pull request #6467 from ahupowerdns/dnssec-stats-special-names

 we increase "dnssec-validations" counter even when running with process-no-validate

6 years agorec: Respect the AXFR timeout while connecting to the server
Remi Gacogne [Wed, 11 Apr 2018 09:33:10 +0000 (11:33 +0200)]
rec: Respect the AXFR timeout while connecting to the server

6 years agoadd comment
bert hubert [Wed, 11 Apr 2018 08:24:04 +0000 (10:24 +0200)]
add comment

6 years agoaj reported that we increase "dnssec-validations" counter even when running
bert hubert [Wed, 11 Apr 2018 08:15:57 +0000 (10:15 +0200)]
aj reported that we increase "dnssec-validations" counter even when running
with process-no-validate.  This can be caused by us receiving queries for
special names ('localhost', 'version.bind') which we explicitly mark as
Insecure. This led our statistics to conclude a validation attempt had taken place.
This commit puts the update check behind 'shouldValidate()'.

6 years agoMerge pull request #5821 from KamagoNet/ldap-misc-updates
Peter van Dijk [Tue, 10 Apr 2018 22:28:59 +0000 (00:28 +0200)]
Merge pull request #5821 from KamagoNet/ldap-misc-updates

Ldap misc updates

6 years agoAdd support for ALIAS record
Grégory Oestreicher [Sat, 14 Oct 2017 21:52:35 +0000 (23:52 +0200)]
Add support for ALIAS record

6 years agoFix Kerberos error codes management
Grégory Oestreicher [Fri, 13 Oct 2017 22:58:38 +0000 (00:58 +0200)]
Fix Kerberos error codes management

6 years agoAdd support for ENT
Grégory Oestreicher [Fri, 13 Oct 2017 21:34:05 +0000 (23:34 +0200)]
Add support for ENT

This actually requires that the layout under the zone entry follows
a tree model. ENTs are entries for which no record could be found.

6 years agoRe-enable DNAME records as they're supported now
Grégory Oestreicher [Wed, 12 Apr 2017 19:26:23 +0000 (21:26 +0200)]
Re-enable DNAME records as they're supported now

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 agoauth: Allocate new statements after reconnecting to PostgreSQL
Remi Gacogne [Tue, 10 Apr 2018 12:42:33 +0000 (14:42 +0200)]
auth: Allocate new statements after reconnecting to PostgreSQL

6 years agorec: Don't account chained queries more than once
Remi Gacogne [Tue, 10 Apr 2018 08:26:21 +0000 (10:26 +0200)]
rec: Don't account chained queries more than once

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 agorec: Clean up the cache entry ctor in the recursor packet cache
Remi Gacogne [Thu, 5 Apr 2018 13:49:05 +0000 (15:49 +0200)]
rec: Clean up the cache entry ctor in the recursor packet cache

6 years agorec: Clean up the insertion code in the recursor's cache
Remi Gacogne [Thu, 5 Apr 2018 13:48:08 +0000 (15:48 +0200)]
rec: Clean up the insertion code in the recursor's cache

6 years agorec: Enable the ghost tests again, add a corresponding unit test
Remi Gacogne [Mon, 9 Apr 2018 12:36:31 +0000 (14:36 +0200)]
rec: Enable the ghost tests again, add a corresponding unit test

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