]>
git.ipfire.org Git - thirdparty/pdns.git/log
bert hubert [Fri, 25 Aug 2017 11:59:00 +0000 (13:59 +0200)]
make sure stats get updated in all the right places, plus factor out the updating to a function
bert hubert [Thu, 24 Aug 2017 14:50:06 +0000 (16:50 +0200)]
enhance test so it also covers non-truncation over TCP/IP for dnsdist dynamic truncation
Neil Cook [Thu, 24 Aug 2017 12:47:45 +0000 (13:47 +0100)]
Add requestorId and deviceId to summary log
bert hubert [Thu, 24 Aug 2017 12:29:03 +0000 (14:29 +0200)]
Make dnsdist dynamic truncate do right thing on TCP/IP
Winfried noted that our new dynamic truncation rule worked fine on UDP, but on TCP/IP a truncate would be converted into a drop, which was not the intended effect.
This commit makes dynamic truncate a NOOP on TCP.
aerique [Thu, 24 Aug 2017 11:48:18 +0000 (13:48 +0200)]
Merge pull request #5328 from rgacogne/snmp-reconnect
SNMP: Handle SNMP alarms so we can reconnect to the master
aerique [Thu, 24 Aug 2017 11:09:15 +0000 (13:09 +0200)]
Merge pull request #5620 from rgacogne/rec-dump-rpz
rec: Add support for dumping the in-memory RPZ zones to a file
Neil Cook [Thu, 24 Aug 2017 11:03:10 +0000 (12:03 +0100)]
Document deviceId in DNSQuestion
aerique [Thu, 24 Aug 2017 10:25:06 +0000 (12:25 +0200)]
Remove duplicate d_kind declaration.
Neil Cook [Thu, 24 Aug 2017 09:12:47 +0000 (10:12 +0100)]
Document gettag returning optional deviceId
aerique [Thu, 24 Aug 2017 08:36:25 +0000 (10:36 +0200)]
Merge pull request #5642 from pieterlexis/issue-5329-gsql-doc-fixes
Assorted documentation fixes
aerique [Thu, 24 Aug 2017 08:23:26 +0000 (10:23 +0200)]
Merge branch 'master' into rec-dump-rpz
Neil Cook [Wed, 23 Aug 2017 16:48:12 +0000 (17:48 +0100)]
Support for identifying devices by id such as mac address
aerique [Wed, 23 Aug 2017 13:44:38 +0000 (15:44 +0200)]
Merge pull request #5637 from Habbie/sortlist-comboaddress
remove unused SortList compare operator for ComboAddress
aerique [Wed, 23 Aug 2017 13:43:03 +0000 (15:43 +0200)]
Merge pull request #5515 from rgacogne/rec-ecs-source-0
rec: Fix cache handling of ECS queries with a source length of 0
aerique [Wed, 23 Aug 2017 13:42:28 +0000 (15:42 +0200)]
Merge pull request #5567 from rgacogne/rec-register-all-stats
rec: Guard `registerAllStats()` with an atomic flag instead of a bool
aerique [Wed, 23 Aug 2017 13:41:12 +0000 (15:41 +0200)]
Merge pull request #5621 from rgacogne/rec-protobuf-rpz-type
rec: Log the policy type (QName, Client IP, NS IP...) over protobuf
aerique [Wed, 23 Aug 2017 13:40:42 +0000 (15:40 +0200)]
Merge pull request #5622 from rgacogne/rec-log-rpz-changes
rec: Add `log-rpz-changes` to log RPZ additions and removals
aerique [Wed, 23 Aug 2017 13:35:23 +0000 (15:35 +0200)]
Merge pull request #5583 from tcely/issue-2835
listen on 127.0.0.1 during regression tests
Peter van Dijk [Wed, 23 Aug 2017 09:45:39 +0000 (11:45 +0200)]
Merge pull request #5641 from pieterlexis/issue-5520-catch-DNSName-error-when-parsing-zones
Catch DNSName exception in the Zoneparser
Peter van Dijk [Wed, 23 Aug 2017 09:20:35 +0000 (11:20 +0200)]
remove unused g_sortlist
Pieter Lexis [Wed, 23 Aug 2017 08:14:46 +0000 (10:14 +0200)]
Merge pull request #5639 from paddg/patch-6
Otherwise the issues are dead links.
Pieter Lexis [Wed, 23 Aug 2017 08:14:37 +0000 (10:14 +0200)]
Merge pull request #5640 from paddg/patch-7
Otherwise the issues are dead links.
Pieter Lexis [Tue, 22 Aug 2017 15:28:06 +0000 (17:28 +0200)]
doc: add upgrade info on the priority field
Closes #4151
Pieter Lexis [Tue, 22 Aug 2017 15:24:10 +0000 (17:24 +0200)]
docs: Add EOL statements
Pieter Lexis [Tue, 22 Aug 2017 15:06:47 +0000 (17:06 +0200)]
doc: Add missing Zone properties and SOA-EDIT-API
Closes #3895
Closes #4129
Pieter Lexis [Tue, 22 Aug 2017 12:38:00 +0000 (14:38 +0200)]
doc: mention the PDF docs (+link)
Closes #2165
Pieter Lexis [Tue, 22 Aug 2017 12:30:41 +0000 (14:30 +0200)]
docs: Fix order of fields returned in gsql query
Closes #5329
Pieter Lexis [Tue, 22 Aug 2017 12:10:27 +0000 (14:10 +0200)]
Catch DNSName exception in the Zoneparser
This wraps all calls to `toCanonic` in try/catch and rethrows it as a
PDNSException with more information.
Closes #5520.
Winfried Angele [Tue, 22 Aug 2017 10:11:28 +0000 (12:11 +0200)]
Otherwise the issues are dead links.
Maybe that's rather a Github bug because pull(s) and commit(s) works this way. But at least it is now as in /pdns/docs/conf.py
Winfried Angele [Tue, 22 Aug 2017 10:08:36 +0000 (12:08 +0200)]
Otherwise the issues are dead links.
Maybe that's rather a Github bug because pull(s) and commit(s) works this way. But at least it is now as in /pdns/docs/conf.py
Remi Gacogne [Wed, 12 Jul 2017 08:57:51 +0000 (10:57 +0200)]
rec: Fix cache handling of ECS queries with a source length of 0
The current behavior is to send a query without ECS information
and to cache it as a non ECS-specific entry. Unfortunately doing
so meant that we wouldn't send any further ECS-specific queries for
this (qname,qtype) since we could fallback to the non ECS-specific
cached answer.
This commit adds a new parameter, `ecs-scope-zero-addr`, allowing
to specify the address sent to ECS-whitelisted authoritative servers
in that case. If unset, the default is to take the first usable
(non-any) address in `query-local-address` then in `query-local-address6`,
and finally to use `127.0.0.1` as a last resort.
Remi Gacogne [Tue, 22 Aug 2017 08:14:00 +0000 (10:14 +0200)]
Merge pull request #5613 from rgacogne/rec-display-testrunner-logs
rec: Display the content of the testrunner logs in case of failure
Peter van Dijk [Mon, 21 Aug 2017 17:29:59 +0000 (19:29 +0200)]
remove unused SortList compare operator for ComboAddress
Kees Monshouwer [Mon, 21 Aug 2017 15:25:27 +0000 (17:25 +0200)]
auth: hook up luabackend test
Kees Monshouwer [Mon, 21 Aug 2017 15:23:04 +0000 (17:23 +0200)]
auth: fix luabackend test2
Pieter Lexis [Mon, 21 Aug 2017 15:22:25 +0000 (17:22 +0200)]
Merge pull request #5634 from rgacogne/dnsdist-advisories
dnsdist: Add advisories 2017-01 and 2017-02
Peter van Dijk [Mon, 21 Aug 2017 13:06:10 +0000 (15:06 +0200)]
Merge pull request #4195 from zeha/api-nameservers-or-ns-rrset
API: prevent duplicate records in single RRset
Remi Gacogne [Mon, 21 Aug 2017 09:42:17 +0000 (11:42 +0200)]
dnsdist: Add advisories 2017-01 and 2017-02
Remi Gacogne [Mon, 21 Aug 2017 12:44:52 +0000 (14:44 +0200)]
Merge pull request #5632 from rgacogne/dnsdist-1.2.0-changelog
dnsdist: Update the ChangeLog for 1.2.0
Remi Gacogne [Mon, 21 Aug 2017 12:44:40 +0000 (14:44 +0200)]
Merge pull request #5631 from rgacogne/dnsdist-api-key-only
dnsdist: Make the API available with an API key only
Remi Gacogne [Mon, 21 Aug 2017 12:44:28 +0000 (14:44 +0200)]
Merge pull request #5630 from rgacogne/dnsdist-h1-168297
dnsdist: Fix potential pointer wrap-around on 32 bits
Peter van Dijk [Mon, 21 Aug 2017 12:43:32 +0000 (14:43 +0200)]
Merge pull request #5633 from mind04/axfr-soa
auth: first and last SOA in an AXFR must be identical
Remi Gacogne [Mon, 21 Aug 2017 10:59:21 +0000 (12:59 +0200)]
dnsdist: Update the ChangeLog for 1.2.0
bert hubert [Mon, 21 Aug 2017 10:01:40 +0000 (12:01 +0200)]
Merge pull request #5614 from ahupowerdns/dnssec-better-logging
fix typo in logging of dnssec validation, add some fields
Peter van Dijk [Mon, 21 Aug 2017 09:04:13 +0000 (11:04 +0200)]
Merge pull request #5610 from ahupowerdns/edit-zone-auth
fix that pdnsutil edit-zone complains about auth=1 problems on all data
Peter van Dijk [Mon, 21 Aug 2017 09:03:15 +0000 (11:03 +0200)]
Merge pull request #5611 from mind04/notimp
NOTIMP is only appropriate for an unsupported opcode
Remi Gacogne [Thu, 10 Aug 2017 12:14:34 +0000 (14:14 +0200)]
dnsdist: Fix potential pointer wrap-around on 32 bits
This can lead to a DoS on 32 bits if a backend server sends a
crafted response and we happen to be working with a buffer allocated to
a very high virtual address.
Reported by Guido Vranken (many thanks!).
Remi Gacogne [Mon, 21 Aug 2017 07:49:48 +0000 (09:49 +0200)]
Merge pull request #5626 from rgacogne/dnsdist-doc-dynblocks-tc
dnsdist: Document the Truncate option to `setDynBlocksAction()`
Remi Gacogne [Fri, 18 Aug 2017 10:44:33 +0000 (12:44 +0200)]
dnsdist: Document the Truncate option to `setDynBlocksAction()`
Remi Gacogne [Fri, 18 Aug 2017 09:17:50 +0000 (11:17 +0200)]
dnsdist: Add an optional `status` parameter to `setAuto()`
If the parameter is present, its value is used to set the initial
state of the DownstreamServer until a health check is performed,
instead of using the previous known state.
It's useful if one wants to restore the automatic status detection
but knows that the server is either currently down but was previously
up (queries sent until the health check is performed will be lost);
or currently up but was previously down, so it process queries immediately.
Remi Gacogne [Thu, 17 Aug 2017 13:13:24 +0000 (15:13 +0200)]
rec: Add `log-rpz-changes` to log RPZ additions and removals
Remi Gacogne [Thu, 17 Aug 2017 10:56:30 +0000 (12:56 +0200)]
rec: Log the policy type (QName, Client IP, NS IP...) over protobuf
Remi Gacogne [Thu, 17 Aug 2017 09:17:56 +0000 (11:17 +0200)]
rec: Add support for dumping the in-memory RPZ zones to a file
bert hubert [Wed, 16 Aug 2017 12:37:01 +0000 (14:37 +0200)]
Merge pull request #5615 from ahupowerdns/sortorder-cname
Fix sortlist in the presence of CNAME
Remi Gacogne [Wed, 16 Aug 2017 08:04:29 +0000 (10:04 +0200)]
Merge pull request #5612 from pieterlexis/auth-docs-dnsdist-link
Fix dnsdist install link in auth docs
Peter van Dijk [Tue, 15 Aug 2017 15:44:19 +0000 (17:44 +0200)]
add sortlist test
Peter van Dijk [Tue, 15 Aug 2017 15:43:45 +0000 (17:43 +0200)]
allow overriding of from_wire parameters
Kees Monshouwer [Mon, 14 Aug 2017 20:47:14 +0000 (22:47 +0200)]
auth: first and last SOA in an AXFR must be identical
Remi Gacogne [Tue, 15 Aug 2017 12:38:42 +0000 (14:38 +0200)]
Better support for deleting entries in NetmaskTree and NetmaskGroup
- NetmaskTree erase() method now has optional cleanup parameter
- cleanup_tree() method will remove "hanging" branches of the tree
- NetmaskGroup now has deleteMask() methods that use NetmaskTree:erase()
Grabbed from the weakforced tree:
- https://github.com/PowerDNS/weakforced/commit/
d5c916a2d00ec3bec3a09055de5709976e184c95
- https://github.com/PowerDNS/weakforced/commit/
1170d8da692c0033e0a80c22447d0c00fb0cb7b2
Peter van Dijk [Tue, 15 Aug 2017 10:13:48 +0000 (12:13 +0200)]
two non-address records sort equal
bert hubert [Mon, 14 Aug 2017 20:19:02 +0000 (22:19 +0200)]
Fix sortlist in the presence of CNAME
In #5357 @killerwhile discovered we were missorting CNAME records when using sortlist.
With this commit, we should get it right by moving to stable_sort and being more careful about type equivalence.
bert hubert [Mon, 14 Aug 2017 19:30:54 +0000 (21:30 +0200)]
fix typo in logging of dnssec validation, add some fields
Peter van Dijk [Mon, 14 Aug 2017 14:46:37 +0000 (16:46 +0200)]
Merge pull request #5519 from mind04/ds
lookups one level (or more) below apex did confuse getAuth() for qytpe DS
Pieter Lexis [Mon, 14 Aug 2017 14:33:00 +0000 (16:33 +0200)]
Fix dnsdist install link in auth docs
bert hubert [Mon, 14 Aug 2017 13:52:43 +0000 (15:52 +0200)]
pdnsutil edit-zone checks with auth=1, but the test is run on data not from the database, but straight from the zonefile just edited, which can't yet be rectified.
This commit removes the auth=1 check in case of data that is supplied straight to checkZone not from the database
Peter van Dijk [Mon, 14 Aug 2017 13:46:43 +0000 (15:46 +0200)]
Merge pull request #5548 from cmouse/geoip-fix
geoipbackend: Service for apex record
Peter van Dijk [Mon, 14 Aug 2017 13:42:24 +0000 (15:42 +0200)]
Merge pull request #5518 from mind04/schemas
Collection of schema changes
Peter van Dijk [Mon, 14 Aug 2017 13:38:59 +0000 (15:38 +0200)]
Merge pull request #5556 from zilopbg/luabackend-getsoa
Fix getSOA() in luabackend
Remi Gacogne [Mon, 14 Aug 2017 12:43:38 +0000 (14:43 +0200)]
Merge pull request #5526 from rgacogne/dnsdist-deprecate
dnsdist: Deprecate syntactic sugar functions in 1.2.0
Peter van Dijk [Mon, 14 Aug 2017 12:20:12 +0000 (14:20 +0200)]
Merge pull request #5598 from pieterlexis/issue-5524-systemd-detect-default
Add help text on autodetecting systemd support
Pieter Lexis [Mon, 14 Aug 2017 12:04:43 +0000 (14:04 +0200)]
Merge pull request #5589 from rgacogne/auth-cryptokeys-ro
auth: Check if the API is read-only on crypto keys methods
Pieter Lexis [Mon, 14 Aug 2017 12:04:30 +0000 (14:04 +0200)]
Merge pull request #5590 from Habbie/env-no-v6
skip v6-dependent test when PDNS_TEST_NO_IPV6 is set in environment
Pieter Lexis [Fri, 11 Aug 2017 12:14:24 +0000 (14:14 +0200)]
Fix a signed/unsigned comparison warning on ARM
Remi Gacogne [Mon, 14 Aug 2017 09:58:31 +0000 (11:58 +0200)]
dnsdist: State that functions deprecated in 1.2.0 will be removed in 1.3.0
Remi Gacogne [Mon, 14 Aug 2017 09:13:16 +0000 (11:13 +0200)]
Merge pull request #5579 from rgacogne/dnsdist-carbon-ip
dnsdist: Don't use square brackets for IPv6 in Carbon metrics
Remi Gacogne [Mon, 14 Aug 2017 08:39:44 +0000 (10:39 +0200)]
Merge pull request #5600 from pieterlexis/deb-build-scripts-mv-t-correct-pwd
Buildscripts: move deb files to correct dir
Remi Gacogne [Mon, 14 Aug 2017 08:16:50 +0000 (10:16 +0200)]
Merge pull request #5577 from rgacogne/dist-doc-tags
dnsdist: Document the tag features
Remi Gacogne [Mon, 14 Aug 2017 08:16:19 +0000 (10:16 +0200)]
Merge pull request #5588 from rgacogne/webserver-doc-acls
Switch the default webserver's ACL to "127.0.0.1, ::1"
Remi Gacogne [Mon, 14 Aug 2017 08:13:16 +0000 (10:13 +0200)]
Merge pull request #5599 from pieterlexis/libatomic-hopefully-last-time-ever
Fix libatomic detection on ppc64
Remi Gacogne [Mon, 14 Aug 2017 08:11:40 +0000 (10:11 +0200)]
Merge pull request #5605 from cmouse/mydns-be
mydnsbackend: Initialize d_query_stmt
Aki Tuomi [Sat, 12 Aug 2017 18:22:09 +0000 (21:22 +0300)]
mydnsbackend: Initialize d_query_stmt
Fixes CID
1030066
Remi Gacogne [Fri, 11 Aug 2017 13:33:50 +0000 (15:33 +0200)]
rec: Display the content of the testrunner logs in case of failure
Remi Gacogne [Fri, 11 Aug 2017 13:09:58 +0000 (15:09 +0200)]
Merge pull request #4692 from cmouse/ssql-unique-ptr
SSql: Use unique_ptr for statements
Pieter Lexis [Fri, 11 Aug 2017 12:37:01 +0000 (14:37 +0200)]
Fix libatomic detection on ppc64
Thanks @tjikkun!
Closes #5456
Pieter Lexis [Fri, 11 Aug 2017 12:33:49 +0000 (14:33 +0200)]
Buildscripts: move deb files to correct dir
Pieter Lexis [Fri, 11 Aug 2017 12:08:44 +0000 (14:08 +0200)]
Convert timestamps in TimedIPSetRule to time_t
This would lead to signed/unsigned comparison warnings on ARM.
Pieter Lexis [Fri, 11 Aug 2017 11:54:21 +0000 (13:54 +0200)]
Add help text on autodetecting systemd support
Closes #5524
Remi Gacogne [Fri, 11 Aug 2017 09:11:10 +0000 (11:11 +0200)]
Switch the default webserver's ACL to "127.0.0.1, ::1"
Pieter Lexis [Fri, 11 Aug 2017 08:28:20 +0000 (10:28 +0200)]
Merge pull request #5586 from Habbie/docnits
auth documentation nits
Pieter Lexis [Fri, 11 Aug 2017 08:27:11 +0000 (10:27 +0200)]
Merge pull request #5593 from pieterlexis/issue-5585-debian-build-deps
Fix two issues with the build scripts
Pieter Lexis [Fri, 11 Aug 2017 08:26:58 +0000 (10:26 +0200)]
Merge pull request #5587 from pieterlexis/fix-builder-errors
Fix errors with our build scripts
Remi Gacogne [Thu, 10 Aug 2017 21:24:18 +0000 (23:24 +0200)]
Merge pull request #5581 from rgacogne/ddist-console-con-logging
dnsdist: Add setConsoleConnectionsLogging()
Remi Gacogne [Thu, 10 Aug 2017 21:23:01 +0000 (23:23 +0200)]
Merge pull request #5591 from Habbie/packetcache-slow-test
increase TTL in packet cache test to avoid failure on slow testing runs
Remi Gacogne [Thu, 10 Aug 2017 21:22:32 +0000 (23:22 +0200)]
Merge pull request #5580 from rgacogne/ddist-dnscrypt-ringbuffer-dnsheader
dnsdist: Copy the DNS header before encrypting it in place
Pieter Lexis [Thu, 10 Aug 2017 16:02:03 +0000 (18:02 +0200)]
Make the buildscripts use tarballs and more consistent
Remi Gacogne [Thu, 13 Jul 2017 13:49:08 +0000 (15:49 +0200)]
dnsdist: Make the API available with an API key only
Pieter Lexis [Thu, 10 Aug 2017 13:15:20 +0000 (15:15 +0200)]
Add curl to auth build deps
Peter van Dijk [Thu, 10 Aug 2017 09:34:50 +0000 (11:34 +0200)]
skip v6-dependent test when PDNS_TEST_NO_IPV6 is set in environment
Peter van Dijk [Thu, 10 Aug 2017 10:44:50 +0000 (12:44 +0200)]
increase TTL in packet cache test to avoid failure on slow testing runs
Remi Gacogne [Thu, 10 Aug 2017 13:08:26 +0000 (15:08 +0200)]
Merge pull request #5592 from rgacogne/rec-fix-syncres-unit-tests
rec: Fix the tests added in #5569 and #5570, DNSSEC modes changed in #5557