]> granicus.if.org Git - pdns/log
pdns
6 years agoFix a typo and a forgotten PR in the rec 4.1.3 ChangeLog
Remi Gacogne [Tue, 22 May 2018 10:27:18 +0000 (12:27 +0200)]
Fix a typo and a forgotten PR in the rec 4.1.3 ChangeLog

6 years agoChangeLog for rec 4.1.3
Remi Gacogne [Tue, 22 May 2018 10:19:50 +0000 (12:19 +0200)]
ChangeLog for rec 4.1.3

6 years agoUpdate the secpoll zone for rec-4.1.3
Remi Gacogne [Tue, 22 May 2018 10:19:15 +0000 (12:19 +0200)]
Update the secpoll zone for rec-4.1.3

6 years agoMerge pull request #6638 from pieterlexis/ixfrdist-ttl
Pieter Lexis [Tue, 22 May 2018 09:58:35 +0000 (11:58 +0200)]
Merge pull request #6638 from pieterlexis/ixfrdist-ttl

ixfrdist: store TTL in stored zones

6 years agoMerge pull request #6630 from Habbie/rdynamic-ldflags
Remi Gacogne [Tue, 22 May 2018 09:37:10 +0000 (11:37 +0200)]
Merge pull request #6630 from Habbie/rdynamic-ldflags

-rdynamic is for the linker

6 years agoixfrdist: store TTL in stored zones
Pieter Lexis [Mon, 21 May 2018 20:53:58 +0000 (22:53 +0200)]
ixfrdist: store TTL in stored zones

Closes #6635

6 years ago-rdynamic is for the linker
Peter van Dijk [Sun, 20 May 2018 09:13:59 +0000 (11:13 +0200)]
-rdynamic is for the linker

6 years agoMerge pull request #6620 from Habbie/nit
Peter van Dijk [Fri, 18 May 2018 10:38:59 +0000 (12:38 +0200)]
Merge pull request #6620 from Habbie/nit

the absolute tinyest of nits

6 years agoMerge pull request #6617 from rgacogne/calidns-quiet
Peter van Dijk [Thu, 17 May 2018 22:36:55 +0000 (00:36 +0200)]
Merge pull request #6617 from rgacogne/calidns-quiet

calidns: Don't issue socket buffer or SCHED_FIFO warnings in quiet mode

6 years agothe absolute tinyest of nits
Peter van Dijk [Thu, 17 May 2018 22:32:39 +0000 (00:32 +0200)]
the absolute tinyest of nits

6 years agocalidns: Don't issue socket buffer or SCHED_FIFO warnings in quiet mode
Remi Gacogne [Thu, 17 May 2018 16:04:32 +0000 (18:04 +0200)]
calidns: Don't issue socket buffer or SCHED_FIFO warnings in quiet mode

6 years agoMerge pull request #6567 from rgacogne/rec-separate-handler-thread
Remi Gacogne [Thu, 17 May 2018 13:54:57 +0000 (15:54 +0200)]
Merge pull request #6567 from rgacogne/rec-separate-handler-thread

rec: Move carbon/webserver/control/stats handling to a separate thread

6 years agoMerge pull request #6614 from chbruyand/auth-opt-rr
Remi Gacogne [Thu, 17 May 2018 13:54:14 +0000 (15:54 +0200)]
Merge pull request #6614 from chbruyand/auth-opt-rr

auth-api: restrict creation of OPT and TSIG rrsets

6 years agoMerge pull request #6561 from mind04/presigned
Peter van Dijk [Thu, 17 May 2018 12:28:01 +0000 (14:28 +0200)]
Merge pull request #6561 from mind04/presigned

Fix some minor issues for presigned (large) bind zones

6 years agoauth-api: refactor checks of RRsets types while importing them
Charles-Henri Bruyand [Thu, 17 May 2018 09:36:55 +0000 (11:36 +0200)]
auth-api: refactor checks of RRsets types while importing them

6 years agoMerge pull request #6615 from phonedph1/patch-3
Remi Gacogne [Thu, 17 May 2018 07:43:01 +0000 (09:43 +0200)]
Merge pull request #6615 from phonedph1/patch-3

Update dq.rst

6 years agoUpdate dq.rst
phonedph1 [Thu, 17 May 2018 00:55:54 +0000 (18:55 -0600)]
Update dq.rst

I believe the returns were mixed between these two..

6 years agorec: Move doStats out of houseKeeping()
Remi Gacogne [Tue, 15 May 2018 08:30:32 +0000 (10:30 +0200)]
rec: Move doStats out of houseKeeping()

6 years agorec: Remove extra new line
Remi Gacogne [Mon, 14 May 2018 07:44:15 +0000 (09:44 +0200)]
rec: Remove extra new line

6 years agorec: Replace yet another 0 with s_distributorThreadID
Remi Gacogne [Mon, 14 May 2018 07:36:15 +0000 (09:36 +0200)]
rec: Replace yet another 0 with s_distributorThreadID

6 years agorec: Don't call the broadcast function twice in the handler thread
Remi Gacogne [Mon, 7 May 2018 13:21:31 +0000 (15:21 +0200)]
rec: Don't call the broadcast function twice in the handler thread

Also add some comments to clarify how the threads work.

6 years agorec: Set pointers to nullptr after delete in the broadcast functions
Remi Gacogne [Fri, 4 May 2018 09:02:31 +0000 (10:02 +0100)]
rec: Set pointers to nullptr after delete in the broadcast functions

6 years agorec: Fix ACL and domain map updates in the handler thread
Remi Gacogne [Thu, 3 May 2018 14:16:25 +0000 (15:16 +0100)]
rec: Fix ACL and domain map updates in the handler thread

6 years agorec: Use constants for the handler and distributor thread ids
Remi Gacogne [Thu, 3 May 2018 14:01:46 +0000 (15:01 +0100)]
rec: Use constants for the handler and distributor thread ids

6 years agorec: Move carbon/webserver/control/stats handling to a separate thread
Remi Gacogne [Thu, 3 May 2018 12:27:18 +0000 (13:27 +0100)]
rec: Move carbon/webserver/control/stats handling to a separate thread

This makes sure that no worker or distributor thread will get blocked
while waiting for a response from another thread, for example while
gathering stats or executing a command coming from the control
channel.

6 years agoMerge pull request #6566 from rgacogne/rec-queries-pipe
Remi Gacogne [Wed, 16 May 2018 15:09:16 +0000 (17:09 +0200)]
Merge pull request #6566 from rgacogne/rec-queries-pipe

rec: Use a separate, non-blocking pipe to distribute queries

6 years agoMerge pull request #6588 from rgacogne/rec-safe-load-rpz
Remi Gacogne [Wed, 16 May 2018 15:08:56 +0000 (17:08 +0200)]
Merge pull request #6588 from rgacogne/rec-safe-load-rpz

rec: Delay the loading of RPZ zones until the parsing is done, fix race

6 years agoMerge pull request #6605 from rgacogne/rec-cap-ecs-scope
Remi Gacogne [Wed, 16 May 2018 15:08:22 +0000 (17:08 +0200)]
Merge pull request #6605 from rgacogne/rec-cap-ecs-scope

rec: Make sure that the ECS scope from the auth is < to the source

6 years agoauth-api: restrict creation of OPT and TSIG rrsets
Charles-Henri Bruyand [Wed, 16 May 2018 15:02:02 +0000 (17:02 +0200)]
auth-api: restrict creation of OPT and TSIG rrsets

6 years agoMerge pull request #6609 from ahupowerdns/lua-policy-doc-improv
bert hubert [Tue, 15 May 2018 13:41:08 +0000 (15:41 +0200)]
Merge pull request #6609 from ahupowerdns/lua-policy-doc-improv

our recursor lua policy override example did not work

6 years agoour recursor lua policy override example did not work
bert hubert [Tue, 15 May 2018 12:33:25 +0000 (14:33 +0200)]
our recursor lua policy override example did not work

6 years agoMerge pull request #6582 from rgacogne/dnspcap-cleanup
bert hubert [Tue, 15 May 2018 08:10:45 +0000 (10:10 +0200)]
Merge pull request #6582 from rgacogne/dnspcap-cleanup

dnsreplay: Add more checks against bogus PCAP

6 years agoMerge pull request #6486 from phonedph1/patch-2
bert hubert [Tue, 15 May 2018 08:08:00 +0000 (10:08 +0200)]
Merge pull request #6486 from phonedph1/patch-2

Update dns64.rst

6 years agorec: Add a regression test for invalid ECS scope from auth servers
Remi Gacogne [Thu, 14 Dec 2017 22:12:01 +0000 (23:12 +0100)]
rec: Add a regression test for invalid ECS scope from auth servers

6 years agorec: Make sure that the ECS scope from the auth is < to the source
Remi Gacogne [Thu, 14 Dec 2017 22:11:25 +0000 (23:11 +0100)]
rec: Make sure that the ECS scope from the auth is < to the source

6 years agoMerge pull request #6585 from cmouse/geoip
Pieter Lexis [Mon, 14 May 2018 14:35:07 +0000 (15:35 +0100)]
Merge pull request #6585 from cmouse/geoip

Geoip

6 years agoMerge pull request #6594 from chbruyand/auth-util-load-modules
Pieter Lexis [Mon, 14 May 2018 14:34:50 +0000 (15:34 +0100)]
Merge pull request #6594 from chbruyand/auth-util-load-modules

pdnsutil: also load modules through the load-modules directive

6 years agoMerge pull request #6604 from Habbie/validns
Pieter Lexis [Mon, 14 May 2018 14:34:29 +0000 (15:34 +0100)]
Merge pull request #6604 from Habbie/validns

revive validns testing, closes #3097

6 years agoMerge pull request #6505 from rgacogne/rec-multi-index
Remi Gacogne [Mon, 14 May 2018 09:43:09 +0000 (11:43 +0200)]
Merge pull request #6505 from rgacogne/rec-multi-index

rec: Add hashed indexes to the caches, for faster retrieval

6 years agoMerge pull request #6602 from zeha/dnstap-doc-fixeds
Remi Gacogne [Mon, 14 May 2018 09:41:15 +0000 (11:41 +0200)]
Merge pull request #6602 from zeha/dnstap-doc-fixeds

dnstap.rst: Fix some editing errors

6 years agoMerge pull request #6601 from rgacogne/pimp-my-calidns
Remi Gacogne [Mon, 14 May 2018 09:40:36 +0000 (11:40 +0200)]
Merge pull request #6601 from rgacogne/pimp-my-calidns

calidns: Add quiet, minimum-success-rate options to use from a script

6 years agorevive validns testing, closes #3097
Peter van Dijk [Thu, 10 May 2018 17:09:34 +0000 (19:09 +0200)]
revive validns testing, closes #3097

6 years agodnstap.rst: Fix some editing errors
Christian Hofstaedtler [Fri, 11 May 2018 17:17:54 +0000 (19:17 +0200)]
dnstap.rst: Fix some editing errors

6 years agocalidns: Add a --quiet option
Remi Gacogne [Fri, 11 May 2018 14:34:11 +0000 (16:34 +0200)]
calidns: Add a --quiet option

6 years agocalidns: Add an option to stop once we drop below a minimum rate
Remi Gacogne [Fri, 11 May 2018 14:20:47 +0000 (16:20 +0200)]
calidns: Add an option to stop once we drop below a minimum rate

6 years agocalidns: Only write a 'plot' file when asked to
Remi Gacogne [Fri, 11 May 2018 13:29:58 +0000 (15:29 +0200)]
calidns: Only write a 'plot' file when asked to

6 years agocalidns: Accept lines with an ECS value even if we don't use it
Remi Gacogne [Fri, 11 May 2018 13:18:52 +0000 (15:18 +0200)]
calidns: Accept lines with an ECS value even if we don't use it

6 years agodnsreplay: Add more checks against bogus PCAP
Remi Gacogne [Tue, 5 Dec 2017 15:31:56 +0000 (16:31 +0100)]
dnsreplay: Add more checks against bogus PCAP

6 years agoMerge pull request #6592 from chbruyand/dnsdist-docs-healthchecks
Remi Gacogne [Fri, 11 May 2018 07:57:00 +0000 (09:57 +0200)]
Merge pull request #6592 from chbruyand/dnsdist-docs-healthchecks

docs: document setVerboseHealthChecks()

6 years agoMerge pull request #6597 from wk/patch-1
Remi Gacogne [Fri, 11 May 2018 07:55:25 +0000 (09:55 +0200)]
Merge pull request #6597 from wk/patch-1

reflect accurate old value of webserver-allow-from

6 years agoMerge pull request #6599 from Habbie/make-dnspcap2calidns-manpage
Remi Gacogne [Fri, 11 May 2018 07:55:04 +0000 (09:55 +0200)]
Merge pull request #6599 from Habbie/make-dnspcap2calidns-manpage

add dnspcap2calidns manpage to build

6 years agogeoipbackend: Avoid expensive destroy during initialization
Aki Tuomi [Thu, 10 May 2018 18:06:11 +0000 (21:06 +0300)]
geoipbackend: Avoid expensive destroy during initialization

6 years agogeoipbackend: Optimize lookup
Aki Tuomi [Thu, 10 May 2018 15:37:24 +0000 (18:37 +0300)]
geoipbackend: Optimize lookup

Avoids expensive copying operations

6 years agopdnsutil: refactor loadModules()
Charles-Henri Bruyand [Thu, 10 May 2018 13:20:54 +0000 (15:20 +0200)]
pdnsutil: refactor loadModules()

6 years agoadd manpage to build
Peter van Dijk [Thu, 10 May 2018 12:45:53 +0000 (14:45 +0200)]
add manpage to build

6 years agoreflect accurate old value of webserver-allow-from
Wild Kat [Thu, 10 May 2018 12:12:52 +0000 (14:12 +0200)]
reflect accurate old value of webserver-allow-from

6 years agopdnsutil: also load modules through the load-modules directive
Charles-Henri Bruyand [Thu, 10 May 2018 10:31:39 +0000 (12:31 +0200)]
pdnsutil: also load modules through the load-modules directive

6 years agoMerge pull request #6562 from chbruyand/rec-api-flush-tree
Pieter Lexis [Thu, 10 May 2018 07:58:36 +0000 (08:58 +0100)]
Merge pull request #6562 from chbruyand/rec-api-flush-tree

rec api: add subtree option to the cache flush endpoint

6 years agoMerge pull request #6564 from rgacogne/dnspcap2calidns2
Pieter Lexis [Thu, 10 May 2018 07:57:45 +0000 (08:57 +0100)]
Merge pull request #6564 from rgacogne/dnspcap2calidns2

Add dnspcap2calidns, to convert PCAP to the calidns format

6 years agoMerge pull request #6568 from cmouse/docs
Pieter Lexis [Thu, 10 May 2018 07:57:04 +0000 (08:57 +0100)]
Merge pull request #6568 from cmouse/docs

Disable parallel build for docs

6 years agoMerge pull request #6590 from rgacogne/gcc-8-warnings
Pieter Lexis [Thu, 10 May 2018 07:55:32 +0000 (08:55 +0100)]
Merge pull request #6590 from rgacogne/gcc-8-warnings

Fix warnings reported by GCC 8.1.0

6 years agoFix warnings reported by GCC 8.1.0
Remi Gacogne [Wed, 9 May 2018 15:06:40 +0000 (17:06 +0200)]
Fix warnings reported by GCC 8.1.0

- polymorphic exceptions caught by value
- ComboAddress objects manipulated via `memset()`

6 years agorec: Delay RPZ threads creation until the Lua config has been parsed
Remi Gacogne [Wed, 9 May 2018 10:53:06 +0000 (12:53 +0200)]
rec: Delay RPZ threads creation until the Lua config has been parsed

Otherwise if the parsing of the remaining Lua directives takes longer
than the AXFR, our zone content will be replaced by an empty zone
once the parsing finishes.

6 years agorec: Add unit tests for wiping the cache
Remi Gacogne [Wed, 9 May 2018 08:02:19 +0000 (10:02 +0200)]
rec: Add unit tests for wiping the cache

6 years agorec: Load RPZ safely from the RPZIXFRTracker
Pieter Lexis [Tue, 8 May 2018 20:47:33 +0000 (21:47 +0100)]
rec: Load RPZ safely from the RPZIXFRTracker

6 years agoMerge pull request #6581 from rgacogne/docs-sec-2018-02
Peter van Dijk [Tue, 8 May 2018 20:10:56 +0000 (22:10 +0200)]
Merge pull request #6581 from rgacogne/docs-sec-2018-02

Add PowerDNS Advisory 2018-02 for CVE-2018-1046 in dnsreplay

6 years agoMerge pull request #6580 from rgacogne/rec-dnsreplay-outgoing-buffer
Peter van Dijk [Tue, 8 May 2018 18:43:23 +0000 (20:43 +0200)]
Merge pull request #6580 from rgacogne/rec-dnsreplay-outgoing-buffer

dnsreplay: Bail out on a too small outgoing buffer

6 years agogeoipbackend: Make sure initial netmask is not too wide
Aki Tuomi [Tue, 8 May 2018 17:07:47 +0000 (20:07 +0300)]
geoipbackend: Make sure initial netmask is not too wide

Otherwise cache will be "poisoned" with too wide value, rendering
the geoip functionality useless.

Fixes #6584, found by @blop

6 years agogeoipbackend: Hide queryGeoIP
Aki Tuomi [Tue, 8 May 2018 16:59:40 +0000 (19:59 +0300)]
geoipbackend: Hide queryGeoIP

6 years agogeoipbackend: Add struct for holding geoip service
Aki Tuomi [Tue, 8 May 2018 16:55:35 +0000 (19:55 +0300)]
geoipbackend: Add struct for holding geoip service

6 years agogeoipbackend: Fix struct/class usage
Aki Tuomi [Tue, 8 May 2018 16:47:22 +0000 (19:47 +0300)]
geoipbackend: Fix struct/class usage

6 years agoMerge pull request #6574 from rgacogne/rec-lua-ffi-raw
Remi Gacogne [Tue, 8 May 2018 15:06:43 +0000 (16:06 +0100)]
Merge pull request #6574 from rgacogne/rec-lua-ffi-raw

rec: Add _raw versions for qname / ComboAddresses to the FFI API

6 years agoFix "Risk of system compromise" and concerned version in advisory 2018 02
Remi Gacogne [Tue, 8 May 2018 13:35:47 +0000 (15:35 +0200)]
Fix "Risk of system compromise" and concerned version in advisory 2018 02

6 years agodnsreplay: Bail out on a too small outgoing buffer
Remi Gacogne [Tue, 5 Dec 2017 16:07:19 +0000 (17:07 +0100)]
dnsreplay: Bail out on a too small outgoing buffer

6 years agoAdd PowerDNS Advisory 2018-02 for CVE-2018-1046 in dnsreplay
Remi Gacogne [Tue, 8 May 2018 13:14:16 +0000 (15:14 +0200)]
Add PowerDNS Advisory 2018-02 for CVE-2018-1046 in dnsreplay

6 years agoMerge pull request #6576 from Habbie/docs-auth-4.1.2
Peter van Dijk [Tue, 8 May 2018 11:17:33 +0000 (13:17 +0200)]
Merge pull request #6576 from Habbie/docs-auth-4.1.2

 docs + secpoll update for auth 4.1.2

6 years agodocs: document setVerboseHealthChecks()
Charles-Henri Bruyand [Tue, 8 May 2018 10:43:53 +0000 (12:43 +0200)]
docs: document setVerboseHealthChecks()

6 years agoMerge pull request #6577 from aerique/feature/add-syntax-to-dnstap-proto
aerique [Tue, 8 May 2018 08:07:43 +0000 (10:07 +0200)]
Merge pull request #6577 from aerique/feature/add-syntax-to-dnstap-proto

Add syntax to dns.proto to silence compilation warning.

6 years agodocs + secpoll update for auth 4.1.2
Peter van Dijk [Mon, 7 May 2018 12:53:38 +0000 (14:53 +0200)]
docs + secpoll update for auth 4.1.2

6 years agoAdd syntax to dns.proto to silence compilation warning.
Erik Winkels [Mon, 7 May 2018 13:26:23 +0000 (15:26 +0200)]
Add syntax to dns.proto to silence compilation warning.

6 years agorec: Fix the description of several metrics in the SNMP MIB
Remi Gacogne [Mon, 7 May 2018 13:01:15 +0000 (15:01 +0200)]
rec: Fix the description of several metrics in the SNMP MIB

6 years agorec: Check that the query distribution pipe has been set non-blocking
Remi Gacogne [Mon, 7 May 2018 12:57:47 +0000 (14:57 +0200)]
rec: Check that the query distribution pipe has been set non-blocking

6 years agofix old typo
Peter van Dijk [Mon, 7 May 2018 12:40:02 +0000 (14:40 +0200)]
fix old typo

6 years agorec: Add _raw versions for qname / ComboAddresses to the FFI API
Remi Gacogne [Mon, 7 May 2018 10:03:24 +0000 (12:03 +0200)]
rec: Add _raw versions for qname / ComboAddresses to the FFI API

6 years agoMerge pull request #6559 from cmouse/di_new
Peter van Dijk [Mon, 7 May 2018 09:45:34 +0000 (11:45 +0200)]
Merge pull request #6559 from cmouse/di_new

pdnsutil: Use new domain in b2bmigrate

6 years agoMerge pull request #6571 from mind04/api-serial
Peter van Dijk [Mon, 7 May 2018 07:51:48 +0000 (09:51 +0200)]
Merge pull request #6571 from mind04/api-serial

auth-api: increase serial after dnssec related updates

6 years agoauth-api: remove headers
Kees Monshouwer [Fri, 4 May 2018 10:02:13 +0000 (12:02 +0200)]
auth-api: remove headers

6 years agoauth-api: increase serial after dnssec related updates
Kees Monshouwer [Thu, 3 May 2018 22:56:51 +0000 (00:56 +0200)]
auth-api: increase serial after dnssec related updates

6 years agodocs: Add support for clean
Aki Tuomi [Thu, 3 May 2018 17:10:35 +0000 (20:10 +0300)]
docs: Add support for clean

6 years agodocs: Disable parallel build for docs
Aki Tuomi [Thu, 3 May 2018 17:09:55 +0000 (20:09 +0300)]
docs: Disable parallel build for docs

It is not supported for docs

6 years agorec: Use a separate, non-blocking pipe to distribute queries
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.

6 years agoAdd dnspcap2calidns to .gitignore
Remi Gacogne [Thu, 3 May 2018 08:24:58 +0000 (09:24 +0100)]
Add dnspcap2calidns to .gitignore

6 years agoMerge pull request #5 from pieterlexis/dnspcap2calidns2
Remi Gacogne [Thu, 3 May 2018 08:23:26 +0000 (09:23 +0100)]
Merge pull request #5 from pieterlexis/dnspcap2calidns2

dnspcap2calidns: Add manpage and packaging

6 years agodnspcap2calidns: Add manpage and packaging
Pieter Lexis [Wed, 2 May 2018 21:07:25 +0000 (23:07 +0200)]
dnspcap2calidns: Add manpage and packaging

6 years agoAdd dnspcap2calidns, to convert PCAP to the calidns format
Remi Gacogne [Wed, 2 May 2018 20:49:31 +0000 (21:49 +0100)]
Add dnspcap2calidns, to convert PCAP to the calidns format

6 years agocheck if parameter has been submitted before accessing it
Charles-Henri Bruyand [Wed, 2 May 2018 14:18:50 +0000 (16:18 +0200)]
check if parameter has been submitted before accessing it

6 years agodetails version the subtree parameters has been added
Charles-Henri Bruyand [Wed, 2 May 2018 14:17:31 +0000 (16:17 +0200)]
details version the subtree parameters has been added

6 years agoSkip subtree option tests against auth
Charles-Henri Bruyand [Wed, 2 May 2018 13:55:34 +0000 (15:55 +0200)]
Skip subtree option tests against auth

6 years agorec api: add subtree option to the cache flush endpoint
Charles-Henri Bruyand [Wed, 2 May 2018 12:07:13 +0000 (14:07 +0200)]
rec api: add subtree option to the cache flush endpoint

6 years agoauth: also skip sorting for unsigned zones. Thanks @habbie
Kees Monshouwer [Tue, 1 May 2018 22:37:04 +0000 (00:37 +0200)]
auth: also skip sorting for unsigned zones. Thanks @habbie