]> granicus.if.org Git - pdns/log
pdns
6 years agotravis: Remove geoipregion* from travis settings
Aki Tuomi [Wed, 3 Jan 2018 08:43:58 +0000 (10:43 +0200)]
travis: Remove geoipregion* from travis settings

6 years agogeoipbackend: Add mmdb support for regression test
Aki Tuomi [Wed, 3 Jan 2018 21:36:16 +0000 (23:36 +0200)]
geoipbackend: Add mmdb support for regression test

6 years agogeoipbackend: Add edns subnet geoipregionip where needed in tests
Aki Tuomi [Wed, 3 Jan 2018 07:33:32 +0000 (09:33 +0200)]
geoipbackend: Add edns subnet geoipregionip where needed in tests

6 years agogeoipbackend: Add regression test for per-AFI variables
Aki Tuomi [Wed, 3 Jan 2018 21:40:48 +0000 (23:40 +0200)]
geoipbackend: Add regression test for per-AFI variables

6 years agogeoipbackend: Add a location test
Aki Tuomi [Tue, 2 Jan 2018 17:06:46 +0000 (19:06 +0200)]
geoipbackend: Add a location test

6 years agogeoipbackend: Use only our own database for tests
Aki Tuomi [Wed, 3 Jan 2018 07:12:32 +0000 (09:12 +0200)]
geoipbackend: Use only our own database for tests

Removes dependency to external data

6 years agogeoipbackend: Fix error message formatting
Aki Tuomi [Tue, 2 Jan 2018 16:42:12 +0000 (18:42 +0200)]
geoipbackend: Fix error message formatting

6 years agogeoipbackend: tests - fix edns subnet usage
Aki Tuomi [Tue, 2 Jan 2018 16:37:18 +0000 (18:37 +0200)]
geoipbackend: tests - fix edns subnet usage

6 years agogeoipbackend: Update documentation
Aki Tuomi [Mon, 1 Jan 2018 10:59:11 +0000 (12:59 +0200)]
geoipbackend: Update documentation

6 years agogeoipbackend: Add per-AFI IP expansions
Aki Tuomi [Mon, 1 Jan 2018 15:24:46 +0000 (17:24 +0200)]
geoipbackend: Add per-AFI IP expansions

Allows records like A %ip4 AAAA %ip6.

6 years agogeoipbackend: Add location support
Aki Tuomi [Mon, 1 Jan 2018 15:22:40 +0000 (17:22 +0200)]
geoipbackend: Add location support

6 years agogeoipbackend: Skip non-TXT results that format to empty
Aki Tuomi [Mon, 1 Jan 2018 15:22:57 +0000 (17:22 +0200)]
geoipbackend: Skip non-TXT results that format to empty

6 years agogeoipbackend: Make GeoIP interface optional
Aki Tuomi [Sat, 30 Dec 2017 19:23:49 +0000 (21:23 +0200)]
geoipbackend: Make GeoIP interface optional

6 years agogeoipbackend: Add mmdb interface
Aki Tuomi [Sat, 30 Dec 2017 15:54:28 +0000 (17:54 +0200)]
geoipbackend: Add mmdb interface

6 years agom4: Improve geo backend dependecy checks
Aki Tuomi [Sat, 30 Dec 2017 19:11:30 +0000 (21:11 +0200)]
m4: Improve geo backend dependecy checks

6 years agogeoipbackend: Switch to new filename syntax
Aki Tuomi [Sat, 30 Dec 2017 15:25:18 +0000 (17:25 +0200)]
geoipbackend: Switch to new filename syntax

Requires new filename syntax, which is
[driver:]filename[;opt=value]

Currently only dat driver with mode=standard,cache,index,mmap is supported.

6 years agogeoipbackend: Reorder includes
Aki Tuomi [Sat, 30 Dec 2017 11:45:45 +0000 (13:45 +0200)]
geoipbackend: Reorder includes

6 years agogeoipbackend: Replace GeoIPLookup with GeoIPNetmask
Aki Tuomi [Sat, 30 Dec 2017 15:52:54 +0000 (17:52 +0200)]
geoipbackend: Replace GeoIPLookup with GeoIPNetmask

GeoIPLookup is part of GeoIP library, and is not
necessarely available on future interfaces, so
replace it with our own structure for same purpose.

This makes it possible to add indepedent interfaces.

6 years agogeoipbackend: Move GeoIP handling to separate class
Aki Tuomi [Sat, 30 Dec 2017 11:24:29 +0000 (13:24 +0200)]
geoipbackend: Move GeoIP handling to separate class

Makes it easier to add new interfaces

6 years agogeoipbackend: Whitespace fixes
Aki Tuomi [Sat, 30 Dec 2017 15:48:18 +0000 (17:48 +0200)]
geoipbackend: Whitespace fixes

Makes following commits easier

6 years agoMerge pull request #6237 from aerique:bugfix/rec-rpz-zone-load-fail
aerique [Tue, 13 Feb 2018 15:44:34 +0000 (16:44 +0100)]
Merge pull request #6237 from aerique:bugfix/rec-rpz-zone-load-fail

Retry loading RPZ zones from server.

6 years agoMerge pull request #6258 from rgacogne/ixfrdist-serial-verbose
Remi Gacogne [Tue, 13 Feb 2018 09:15:10 +0000 (10:15 +0100)]
Merge pull request #6258 from rgacogne/ixfrdist-serial-verbose

ixfrdist: Check the serial even if verbose is off

6 years agoMerge pull request #6259 from Habbie/dnsdist-test-ports
Peter van Dijk [Mon, 12 Feb 2018 21:17:00 +0000 (22:17 +0100)]
Merge pull request #6259 from Habbie/dnsdist-test-ports

dnsdist: avoid port reuse in tests

6 years agodnsdist: avoid port reuse in tests
Peter van Dijk [Mon, 12 Feb 2018 19:27:17 +0000 (20:27 +0100)]
dnsdist: avoid port reuse in tests

6 years agoixfrdist: Check the serial even if verbose is off
Remi Gacogne [Mon, 12 Feb 2018 14:26:00 +0000 (15:26 +0100)]
ixfrdist: Check the serial even if verbose is off

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