]> granicus.if.org Git - pdns/log
pdns
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 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 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 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 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.

6 years agoUpdate changelog and secpoll for rec-4.1.1.
Erik Winkels [Mon, 22 Jan 2018 12:45:13 +0000 (13:45 +0100)]
Update changelog and secpoll for rec-4.1.1.

Add security advisory 2018-01.

6 years agoMerge pull request #6209 from zeha/primehints
bert hubert [Mon, 22 Jan 2018 08:53:49 +0000 (09:53 +0100)]
Merge pull request #6209 from zeha/primehints

Minimal fix to make primeHints threadsafe

6 years agoMerge pull request #6030 from rgacogne/dnsdist-consistent-ids
Peter van Dijk [Sat, 20 Jan 2018 00:19:23 +0000 (01:19 +0100)]
Merge pull request #6030 from rgacogne/dnsdist-consistent-ids

dnsdist: Add UUIDs to rules

6 years agorecursor: abort when unused arguments remain
Chris Hofstaedtler [Fri, 19 Jan 2018 23:57:51 +0000 (00:57 +0100)]
recursor: abort when unused arguments remain

Copied this over from receiver.cc, as @ahupowerdns pointed out that Auth handles this.

6 years agodocs: fix some rm*Rule inconsistencies
Chris Hofstaedtler [Fri, 19 Jan 2018 22:34:13 +0000 (23:34 +0100)]
docs: fix some rm*Rule inconsistencies

6 years agoadd uuid= option to addLua*Action, mirroring add*Action
Chris Hofstaedtler [Fri, 19 Jan 2018 22:32:46 +0000 (23:32 +0100)]
add uuid= option to addLua*Action, mirroring add*Action

6 years agoWarn when no rule was matched by uuid in rm...Rule()
Chris Hofstaedtler [Fri, 19 Jan 2018 22:23:44 +0000 (23:23 +0100)]
Warn when no rule was matched by uuid in rm...Rule()

6 years agodocs: replace order with position
Chris Hofstaedtler [Fri, 19 Jan 2018 22:17:40 +0000 (23:17 +0100)]
docs: replace order with position

6 years agorm*Rule: rename num to id
Chris Hofstaedtler [Fri, 19 Jan 2018 22:16:51 +0000 (23:16 +0100)]
rm*Rule: rename num to id

6 years agoRename getRuleID to makeRuleID
Chris Hofstaedtler [Fri, 19 Jan 2018 22:15:32 +0000 (23:15 +0100)]
Rename getRuleID to makeRuleID

6 years agoFix copied code
Chris Hofstaedtler [Fri, 19 Jan 2018 18:57:37 +0000 (19:57 +0100)]
Fix copied code

6 years agoMinimal fix to make primeHints threadsafe
Chris Hofstaedtler [Fri, 19 Jan 2018 18:54:44 +0000 (19:54 +0100)]
Minimal fix to make primeHints threadsafe

6 years agocapitalization DropAction in guide
Winfried Angele [Fri, 19 Jan 2018 05:28:01 +0000 (06:28 +0100)]
capitalization DropAction in guide

6 years agocapitalization AndRule in example
Winfried Angele [Fri, 19 Jan 2018 05:23:51 +0000 (06:23 +0100)]
capitalization AndRule in example

6 years agodnsdist: Print GnuTLS error messages when parsing the configuration
Remi Gacogne [Tue, 16 Jan 2018 14:56:48 +0000 (15:56 +0100)]
dnsdist: Print GnuTLS error messages when parsing the configuration

6 years agodnsdist: Fix a warning about braces around scalar initializer
Remi Gacogne [Tue, 16 Jan 2018 14:55:38 +0000 (15:55 +0100)]
dnsdist: Fix a warning about braces around scalar initializer

6 years agofix typo rzpMaster, lowercase settings
Oli Schacher [Tue, 16 Jan 2018 11:47:03 +0000 (12:47 +0100)]
fix typo rzpMaster, lowercase settings

6 years agoMerge pull request #6183 from zeha/macos-setsockopt
Remi Gacogne [Tue, 16 Jan 2018 09:28:32 +0000 (10:28 +0100)]
Merge pull request #6183 from zeha/macos-setsockopt

Fix macOS build: Use IPPROTO_TCP instead of SOL_TCP

6 years agoFix macOS build: Use IPPROTO_TCP instead of SOL_TCP
Chris Hofstaedtler [Mon, 15 Jan 2018 19:38:42 +0000 (20:38 +0100)]
Fix macOS build: Use IPPROTO_TCP instead of SOL_TCP

6 years agoMerge pull request #6177 from rgacogne/dnsdist-libssl
Remi Gacogne [Mon, 15 Jan 2018 13:08:10 +0000 (14:08 +0100)]
Merge pull request #6177 from rgacogne/dnsdist-libssl

dnsdist: Fix building without libssl

6 years agodnsdist: Fix indentation in dnsdist_check_libssl.m4
Remi Gacogne [Mon, 15 Jan 2018 11:13:47 +0000 (12:13 +0100)]
dnsdist: Fix indentation in dnsdist_check_libssl.m4

6 years agodnsdist: Remove mention of s2n in the configure, add GnuTLS instead
Remi Gacogne [Mon, 15 Jan 2018 08:42:34 +0000 (09:42 +0100)]
dnsdist: Remove mention of s2n in the configure, add GnuTLS instead

6 years agoMerge pull request #6176 from gryphius/fix-showtlscontext-typo
Remi Gacogne [Mon, 15 Jan 2018 08:34:05 +0000 (09:34 +0100)]
Merge pull request #6176 from gryphius/fix-showtlscontext-typo

fix showTLSContexts tab completion