]> granicus.if.org Git - pdns/log
pdns
6 years agoMerge pull request #6254 from pieterlexis/fix-el6
Pieter Lexis [Sat, 10 Feb 2018 10:11:00 +0000 (11:11 +0100)]
Merge pull request #6254 from pieterlexis/fix-el6

EL6: fix dnsdist builds

6 years agoMerge pull request #6253 from zeha/dnsdist-uuid-no-protobuf
Pieter Lexis [Sat, 10 Feb 2018 10:10:41 +0000 (11:10 +0100)]
Merge pull request #6253 from zeha/dnsdist-uuid-no-protobuf

dnsdist: fix build without protobuf

6 years agodnsdist: fix build without protobuf
Chris Hofstaedtler [Fri, 9 Feb 2018 19:29:18 +0000 (20:29 +0100)]
dnsdist: fix build without protobuf

6 years agoEL6: fix dnsdist builds
Pieter Lexis [Fri, 9 Feb 2018 21:03:47 +0000 (22:03 +0100)]
EL6: fix dnsdist builds

6 years agoMerge pull request #6235 from pieterlexis/ixfrdist
Pieter Lexis [Thu, 8 Feb 2018 15:30:56 +0000 (16:30 +0100)]
Merge pull request #6235 from pieterlexis/ixfrdist

New tool: ixfrdist

6 years agoAdd ixfrdist to tool package
Pieter Lexis [Wed, 7 Feb 2018 09:40:51 +0000 (10:40 +0100)]
Add ixfrdist to tool package

6 years agoMerge pull request #6170 from zeha/dnstap
bert hubert [Mon, 5 Feb 2018 15:09:03 +0000 (16:09 +0100)]
Merge pull request #6170 from zeha/dnstap

dnsdist: Add simple dnstap logging

6 years agoMerge pull request #2603 from zeha/api-responsestats
bert hubert [Mon, 5 Feb 2018 15:08:42 +0000 (16:08 +0100)]
Merge pull request #2603 from zeha/api-responsestats

Expose ResponseStats via REST API

6 years agoMerge pull request #6134 from rgacogne/auth-mysql-multi-results-set
Pieter Lexis [Fri, 2 Feb 2018 09:42:27 +0000 (10:42 +0100)]
Merge pull request #6134 from rgacogne/auth-mysql-multi-results-set

auth: Always bind the results array after executing a MySQL statement

6 years agoMerge pull request #6234 from cmouse/fixme
Pieter Lexis [Fri, 2 Feb 2018 09:39:43 +0000 (10:39 +0100)]
Merge pull request #6234 from cmouse/fixme

Some Fixmes

6 years agoixfrdist: Add an ACL option
Pieter Lexis [Tue, 30 Jan 2018 13:47:12 +0000 (14:47 +0100)]
ixfrdist: Add an ACL option

6 years agoMerge pull request #6227 from pieterlexis/docs-docs-docs
Pieter Lexis [Mon, 29 Jan 2018 09:10:15 +0000 (10:10 +0100)]
Merge pull request #6227 from pieterlexis/docs-docs-docs

docs: Ensure Lua objects and their attributes are layed-out

6 years agoixfrdist: use pollmplexer instead of selectmplexer
Pieter Lexis [Fri, 26 Jan 2018 10:18:58 +0000 (11:18 +0100)]
ixfrdist: use pollmplexer instead of selectmplexer

6 years agoixfrdist: use ComboAddress::isIPv4()
Pieter Lexis [Wed, 24 Jan 2018 15:33:23 +0000 (16:33 +0100)]
ixfrdist: use ComboAddress::isIPv4()

6 years agoixfrdist: Better exit message on second stop
Pieter Lexis [Wed, 24 Jan 2018 15:32:01 +0000 (16:32 +0100)]
ixfrdist: Better exit message on second stop

6 years agoixfrdist: clean up argument processing
Pieter Lexis [Wed, 24 Jan 2018 15:29:05 +0000 (16:29 +0100)]
ixfrdist: clean up argument processing

6 years agoixfrdist: clean up downloaded zones
Pieter Lexis [Wed, 24 Jan 2018 15:26:02 +0000 (16:26 +0100)]
ixfrdist: clean up downloaded zones

6 years agoixfrdist: don't crash on wrong options
Pieter Lexis [Wed, 24 Jan 2018 10:58:23 +0000 (11:58 +0100)]
ixfrdist: don't crash on wrong options

6 years agoixfrdist: prevent errno clobbering from CA::toStringWithPort
Pieter Lexis [Mon, 22 Jan 2018 12:05:33 +0000 (13:05 +0100)]
ixfrdist: prevent errno clobbering from CA::toStringWithPort

6 years agoixfrdist: switch to std::thread and some update interval fixes
Pieter Lexis [Sat, 20 Jan 2018 12:05:03 +0000 (13:05 +0100)]
ixfrdist: switch to std::thread and some update interval fixes

6 years agoixfrdist: include iputils.hh
Pieter Lexis [Sat, 20 Jan 2018 11:47:07 +0000 (12:47 +0100)]
ixfrdist: include iputils.hh

6 years agoixfrdist: better logging on exit
Pieter Lexis [Fri, 19 Jan 2018 16:40:16 +0000 (17:40 +0100)]
ixfrdist: better logging on exit

6 years agoixfrdist: use our socket convience functions
Pieter Lexis [Fri, 19 Jan 2018 16:32:43 +0000 (17:32 +0100)]
ixfrdist: use our socket convience functions

6 years agoixfrdist: add manpage
Pieter Lexis [Fri, 19 Jan 2018 15:20:42 +0000 (16:20 +0100)]
ixfrdist: add manpage

6 years agoixfrdist: set the connected XFR socket to blocking
Pieter Lexis [Fri, 19 Jan 2018 13:23:46 +0000 (14:23 +0100)]
ixfrdist: set the connected XFR socket to blocking

6 years agoixfrdist: Chunk the {A,I}XFR packets.
Pieter Lexis [Fri, 19 Jan 2018 12:45:20 +0000 (13:45 +0100)]
ixfrdist: Chunk the {A,I}XFR packets.

Really stupid implementation, one message per RR.

6 years agoixfrdist: safely exit, ensure sockets can be reused
Pieter Lexis [Fri, 19 Jan 2018 12:00:44 +0000 (13:00 +0100)]
ixfrdist: safely exit, ensure sockets can be reused

6 years agoixfrdist: Send AXFR or SOA on certain IXFR requests
Pieter Lexis [Fri, 19 Jan 2018 10:25:03 +0000 (11:25 +0100)]
ixfrdist: Send AXFR or SOA on certain IXFR requests

6 years agoixfrdist: fix AXFR fallback
Pieter Lexis [Fri, 19 Jan 2018 09:58:34 +0000 (10:58 +0100)]
ixfrdist: fix AXFR fallback

6 years agodnsparser: don't make UnknownRecordContent on IXFR
Pieter Lexis [Fri, 19 Jan 2018 09:42:24 +0000 (10:42 +0100)]
dnsparser: don't make UnknownRecordContent on IXFR

IXFRs contain the SOA of the client client's zone-version in the
AUTHORITY section. Parse it properly so the ixfrdistributor can use it.

6 years agoixfr: Fix int/uint issue when writing files to disk
Pieter Lexis [Thu, 18 Jan 2018 15:50:21 +0000 (16:50 +0100)]
ixfr: Fix int/uint issue when writing files to disk

6 years agoixfrdist: WIP IXFR support
Pieter Lexis [Thu, 18 Jan 2018 14:48:28 +0000 (15:48 +0100)]
ixfrdist: WIP IXFR support

6 years agoixfrdist: initialize fromlen
Pieter Lexis [Thu, 18 Jan 2018 12:52:50 +0000 (13:52 +0100)]
ixfrdist: initialize fromlen

6 years agoixfrdist: add AXFR capability
Pieter Lexis [Thu, 18 Jan 2018 12:44:00 +0000 (13:44 +0100)]
ixfrdist: add AXFR capability

6 years agoixfrdist: switch to one-line messages
Pieter Lexis [Wed, 17 Jan 2018 18:50:38 +0000 (19:50 +0100)]
ixfrdist: switch to one-line messages

6 years agoixfrdist: working UDP and TCP SOA queries and update thread
Pieter Lexis [Wed, 17 Jan 2018 18:36:30 +0000 (19:36 +0100)]
ixfrdist: working UDP and TCP SOA queries and update thread

6 years agoixfrdist: add listen sockets
Pieter Lexis [Wed, 10 Jan 2018 17:02:00 +0000 (18:02 +0100)]
ixfrdist: add listen sockets

6 years agoixfrdist: improve error messages
Pieter Lexis [Wed, 10 Jan 2018 16:17:09 +0000 (17:17 +0100)]
ixfrdist: improve error messages

6 years agoixfrdist: first implementation of the update thread
Pieter Lexis [Wed, 10 Jan 2018 16:15:06 +0000 (17:15 +0100)]
ixfrdist: first implementation of the update thread

6 years agoixfrdist: clean up includes
Pieter Lexis [Wed, 10 Jan 2018 12:46:36 +0000 (13:46 +0100)]
ixfrdist: clean up includes

6 years agoixplore: Move defs and functs to header for reuse
Pieter Lexis [Wed, 10 Jan 2018 12:36:26 +0000 (13:36 +0100)]
ixplore: Move defs and functs to header for reuse

6 years agoInitial options for ixfrdist
Pieter Lexis [Wed, 10 Jan 2018 12:11:44 +0000 (13:11 +0100)]
Initial options for ixfrdist

6 years agoixplore: fix all indenting, no functional changes
Pieter Lexis [Wed, 10 Jan 2018 10:33:09 +0000 (11:33 +0100)]
ixplore: fix all indenting, no functional changes

6 years agoMerge pull request #6230 from ahupowerdns/deselectmplexer
bert hubert [Sun, 28 Jan 2018 12:47:43 +0000 (13:47 +0100)]
Merge pull request #6230 from ahupowerdns/deselectmplexer

remove all traces of selectmplexer, fix up pollmplexer

6 years agoUse DNSName in RecordTextReader
Aki Tuomi [Sat, 27 Jan 2018 23:18:15 +0000 (01:18 +0200)]
Use DNSName in RecordTextReader

6 years agotinydnsbackend: Use toDNSStringLC since lowercase is preferred
Aki Tuomi [Sat, 27 Jan 2018 21:56:21 +0000 (23:56 +0200)]
tinydnsbackend: Use toDNSStringLC since lowercase is preferred

Fixes fixme

6 years agoMerge pull request #6229 from ahupowerdns/add-single-character-label-test
bert hubert [Fri, 26 Jan 2018 18:10:05 +0000 (19:10 +0100)]
Merge pull request #6229 from ahupowerdns/add-single-character-label-test

add a test for single character labels in dnsname and how they compare

6 years agoremove selectmplexer reference from nproxy and generalize getMplexer() so nproxy...
bert hubert [Fri, 26 Jan 2018 09:06:11 +0000 (10:06 +0100)]
remove selectmplexer reference from nproxy and generalize getMplexer() so nproxy and dnsdist can both use it.
Removed some final traces from SelectFDMplexer from mplexer.hh too.

6 years agoremove all traces of selectmplexer, fix up pollmplexer
bert hubert [Thu, 25 Jan 2018 21:57:11 +0000 (22:57 +0100)]
remove all traces of selectmplexer, fix up pollmplexer
select is scary when a lot of file descriptors are used. Use poll.

6 years agoadd a test for single character labels and how they compare after our 'a.root-servers...
bert hubert [Thu, 25 Jan 2018 21:32:54 +0000 (22:32 +0100)]
add a test for single character labels and how they compare after our 'a.root-servers.net' scare (which turned out to be unrelated)

6 years agoMerge pull request #6226 from gryphius/doc-master-mention-slave-renotify
Pieter Lexis [Thu, 25 Jan 2018 17:19:16 +0000 (18:19 +0100)]
Merge pull request #6226 from gryphius/doc-master-mention-slave-renotify

mention slave-renotify in notification warnings

6 years agodocs: better layout of Lua objects in dnsdist docs
Pieter Lexis [Thu, 25 Jan 2018 17:11:08 +0000 (18:11 +0100)]
docs: better layout of Lua objects in dnsdist docs

6 years agodocs: Fix ref
Pieter Lexis [Thu, 25 Jan 2018 16:23:18 +0000 (17:23 +0100)]
docs: Fix ref

6 years agodocs: squash some warnings
Pieter Lexis [Thu, 25 Jan 2018 16:22:13 +0000 (17:22 +0100)]
docs: squash some warnings

6 years agodocs: Layout the Lua scripting docs better
Pieter Lexis [Thu, 25 Jan 2018 16:19:40 +0000 (17:19 +0100)]
docs: Layout the Lua scripting docs better

Add missing functions, fix broken attributes and methods.

6 years agomention slave-renotify in notification warnings
Oli Schacher [Thu, 25 Jan 2018 15:01:36 +0000 (16:01 +0100)]
mention slave-renotify in notification warnings

6 years agoMerge pull request #6172 from cassvin/ixfr
Pieter Lexis [Thu, 25 Jan 2018 12:29:10 +0000 (13:29 +0100)]
Merge pull request #6172 from cassvin/ixfr

IXFR: correct behavior of dealing with DNS Name with multiple records; speed up IXFR transaction

6 years agoMerge pull request #6152 from zeha/bb2-note-error
Pieter Lexis [Thu, 25 Jan 2018 11:46:47 +0000 (12:46 +0100)]
Merge pull request #6152 from zeha/bb2-note-error

bindbackend: handle std::exception during startup zone-parsing

6 years agoMerge pull request #6144 from stbuehler/improve-tests-part-two
Pieter Lexis [Thu, 25 Jan 2018 11:46:15 +0000 (12:46 +0100)]
Merge pull request #6144 from stbuehler/improve-tests-part-two

Improve  test-dnsrecords

6 years agoAdd dnstap-compatible protobuf support to dnsdist.
Chris Hofstaedtler [Tue, 23 Jan 2018 14:36:45 +0000 (15:36 +0100)]
Add dnstap-compatible protobuf support to dnsdist.

Based on a PR by Justin Valentini <jvalentini@dyn.com>.

6 years agoMerge pull request #6148 from zeha/auth-2136-messages
Pieter Lexis [Wed, 24 Jan 2018 16:35:44 +0000 (17:35 +0100)]
Merge pull request #6148 from zeha/auth-2136-messages

Improve DNSUPDATE prereq check log messages

6 years agoMerge pull request #6166 from rgacogne/dnsreplay-initial-port
Pieter Lexis [Wed, 24 Jan 2018 16:35:18 +0000 (17:35 +0100)]
Merge pull request #6166 from rgacogne/dnsreplay-initial-port

Add an --initial-port option to dnsreplay

6 years agoMerge pull request #6222 from pieterlexis/coverity-20180124
Pieter Lexis [Wed, 24 Jan 2018 16:34:39 +0000 (17:34 +0100)]
Merge pull request #6222 from pieterlexis/coverity-20180124

Fix two Coverity issues

6 years agoRec: Fix 2 use-after-free bugs
Pieter Lexis [Wed, 24 Jan 2018 09:08:36 +0000 (10:08 +0100)]
Rec: Fix 2 use-after-free bugs

Fix CID 1385373.

6 years agoXPF: Fix coverity "copy paste" issue
Pieter Lexis [Wed, 24 Jan 2018 09:06:33 +0000 (10:06 +0100)]
XPF: Fix coverity "copy paste" issue

Fix CID 1385372.

6 years agodnsdist: record query time in DNSQuestion
Chris Hofstaedtler [Thu, 11 Jan 2018 16:22:42 +0000 (17:22 +0100)]
dnsdist: record query time in DNSQuestion

6 years agoMerge pull request #6220 from pieterlexis/ddist-xpf
Pieter Lexis [Tue, 23 Jan 2018 11:41:27 +0000 (12:41 +0100)]
Merge pull request #6220 from pieterlexis/ddist-xpf

Add XPF support

6 years agoMerge pull request #6185 from zeha/selfanswered-rules
Pieter Lexis [Tue, 23 Jan 2018 11:24:10 +0000 (12:24 +0100)]
Merge pull request #6185 from zeha/selfanswered-rules

dnsdist: run self-answered responses through a ruleset

6 years agoMerge pull request #6179 from zeha/mtasker-stacksize
Pieter Lexis [Tue, 23 Jan 2018 11:23:54 +0000 (12:23 +0100)]
Merge pull request #6179 from zeha/mtasker-stacksize

Increase MTasker stacksize to avoid crash in exception unwinding

6 years agoMerge pull request #6168 from phonedph1/forward-nsspeed
Pieter Lexis [Tue, 23 Jan 2018 11:22:24 +0000 (12:22 +0100)]
Merge pull request #6168 from phonedph1/forward-nsspeed

Keep track of forward-zones NS speeds

6 years agoMerge pull request #5068 from pieterlexis/issue-1010-calculateSOASerial-uint32_t
Pieter Lexis [Tue, 23 Jan 2018 11:21:22 +0000 (12:21 +0100)]
Merge pull request #5068 from pieterlexis/issue-1010-calculateSOASerial-uint32_t

Change from time_t to uint32_t for serial in calculateSOASerial

6 years agoMerge pull request #5770 from rgacogne/remote-logger-first-packet
Pieter Lexis [Tue, 23 Jan 2018 11:20:21 +0000 (12:20 +0100)]
Merge pull request #5770 from rgacogne/remote-logger-first-packet

Keep trying if the first connection to the remote logger failed

6 years agoMerge pull request #5960 from rgacogne/rec-genudpqueryresponse-udp-race
Pieter Lexis [Tue, 23 Jan 2018 11:20:00 +0000 (12:20 +0100)]
Merge pull request #5960 from rgacogne/rec-genudpqueryresponse-udp-race

Check more thoroughly the source of UDP answers

6 years agoMerge pull request #5982 from ahupowerdns/pdnsutil-error-better
Pieter Lexis [Tue, 23 Jan 2018 11:19:28 +0000 (12:19 +0100)]
Merge pull request #5982 from ahupowerdns/pdnsutil-error-better

improve error message of pdnsutil if it can't find configuration

6 years agoMerge pull request #6187 from gryphius/rzp-typo
Pieter Lexis [Tue, 23 Jan 2018 11:18:04 +0000 (12:18 +0100)]
Merge pull request #6187 from gryphius/rzp-typo

fix typo rzpMaster, lowercase settings

6 years agoMerge pull request #6189 from rgacogne/dnsdist-gnutls-errors
Pieter Lexis [Tue, 23 Jan 2018 11:17:52 +0000 (12:17 +0100)]
Merge pull request #6189 from rgacogne/dnsdist-gnutls-errors

dnsdist: Print GnuTLS error messages when parsing the configuration

6 years agoMerge pull request #6206 from paddg/patch-6
Pieter Lexis [Tue, 23 Jan 2018 11:17:26 +0000 (12:17 +0100)]
Merge pull request #6206 from paddg/patch-6

capitalization AndRule in example

6 years agoMerge pull request #6207 from paddg/patch-7
Pieter Lexis [Tue, 23 Jan 2018 11:17:10 +0000 (12:17 +0100)]
Merge pull request #6207 from paddg/patch-7

capitalization DropAction in guide

6 years agoMerge pull request #6210 from zeha/rec-abort-unused-arg
Pieter Lexis [Tue, 23 Jan 2018 11:16:55 +0000 (12:16 +0100)]
Merge pull request #6210 from zeha/rec-abort-unused-arg

recursor: abort when unused arguments remain

6 years agoMerge pull request #6217 from paddg/patch-8
Pieter Lexis [Tue, 23 Jan 2018 11:16:33 +0000 (12:16 +0100)]
Merge pull request #6217 from paddg/patch-8

Typo in maxCheckFailures description

6 years agoXPF, dnsdist: Rename Option Code to RR Code
Pieter Lexis [Tue, 23 Jan 2018 09:21:26 +0000 (10:21 +0100)]
XPF, dnsdist: Rename Option Code to RR Code

And add some docs.

6 years agoMerge pull request #6218 from aerique/bugfix/rec-ancestor-delegation-below
aerique [Tue, 23 Jan 2018 09:27:26 +0000 (10:27 +0100)]
Merge pull request #6218 from aerique/bugfix/rec-ancestor-delegation-below

rec: Correctly handle ancestor delegation NSEC{,3} for children

6 years agoMerge pull request #6188 from rgacogne/dnsdist-atomic-init
Peter van Dijk [Tue, 23 Jan 2018 09:25:10 +0000 (10:25 +0100)]
Merge pull request #6188 from rgacogne/dnsdist-atomic-init

dnsdist: Fix a warning about braces around scalar initializer

6 years agoXPF, Rec: Rename Option Code to RR Code
Pieter Lexis [Tue, 23 Jan 2018 09:09:11 +0000 (10:09 +0100)]
XPF, Rec: Rename Option Code to RR Code

6 years agoRename generateXPFPayload() parameters for clarity
Remi Gacogne [Tue, 14 Nov 2017 14:48:59 +0000 (15:48 +0100)]
Rename generateXPFPayload() parameters for clarity

6 years agofull removal of squatted XPF code point
Peter van Dijk [Tue, 14 Nov 2017 13:17:47 +0000 (14:17 +0100)]
full removal of squatted XPF code point

make XPF code point configurable in sdig
remove XPF from dnsrecords and qtype
check argument count for sdig modifiers

6 years agoMake the XPF code point configurable in dnsdist and the rec
Remi Gacogne [Thu, 2 Nov 2017 15:12:36 +0000 (16:12 +0100)]
Make the XPF code point configurable in dnsdist and the rec

It's a bit trickier for sdig, though.

6 years agoauth: Remove XPF records from the regression's tests example zone
Remi Gacogne [Thu, 10 Aug 2017 14:53:02 +0000 (16:53 +0200)]
auth: Remove XPF records from the regression's tests example zone

6 years agoAdd initial XPF support to the recursor and dnsdist
Remi Gacogne [Fri, 11 Aug 2017 12:41:31 +0000 (14:41 +0200)]
Add initial XPF support to the recursor and dnsdist

6 years agoAllow XPF records to come after a TSIG one
Remi Gacogne [Mon, 7 Aug 2017 13:34:16 +0000 (15:34 +0200)]
Allow XPF records to come after a TSIG one

6 years agoadd support to sdig
Peter van Dijk [Tue, 25 Jul 2017 14:29:10 +0000 (16:29 +0200)]
add support to sdig

6 years agov6 works now
Peter van Dijk [Tue, 25 Jul 2017 12:17:23 +0000 (14:17 +0200)]
v6 works now

6 years agosdig correctly shows XPF record from bindbackend for v4; v6 is broken
Peter van Dijk [Tue, 25 Jul 2017 11:38:42 +0000 (13:38 +0200)]
sdig correctly shows XPF record from bindbackend for v4; v6 is broken

6 years agodnsdist: add rules for self-answered responses
Chris Hofstaedtler [Mon, 15 Jan 2018 21:40:09 +0000 (22:40 +0100)]
dnsdist: add rules for self-answered responses

6 years agorec: Add unit tests for ancestor delegation check in denial
Remi Gacogne [Thu, 11 Jan 2018 14:05:00 +0000 (15:05 +0100)]
rec: Add unit tests for ancestor delegation check in denial

6 years agorec: Correctly handle ancestor delegation NSEC{,3} for children
Remi Gacogne [Thu, 11 Jan 2018 14:05:22 +0000 (15:05 +0100)]
rec: Correctly handle ancestor delegation NSEC{,3} for children

6 years agoTypo in maxCheckFailures description
Winfried Angele [Mon, 22 Jan 2018 15:11:49 +0000 (16:11 +0100)]
Typo in maxCheckFailures description

6 years agoMerge pull request #6216 from aerique/feature/update-rec-4.1.x-changelog
aerique [Mon, 22 Jan 2018 14:54:37 +0000 (15:54 +0100)]
Merge pull request #6216 from aerique/feature/update-rec-4.1.x-changelog

Update changelog and secpoll for rec-4.1.1.

6 years agodnsdist: reduce resprulactions/cachehitresprulactions code deuplication
Chris Hofstaedtler [Mon, 15 Jan 2018 20:11:29 +0000 (21:11 +0100)]
dnsdist: reduce resprulactions/cachehitresprulactions code deuplication

6 years agoAdd fixes suggested by @habbie.
Erik Winkels [Mon, 22 Jan 2018 13:13:31 +0000 (14:13 +0100)]
Add fixes suggested by @habbie.