]>
granicus.if.org Git - pdns/log
bert hubert [Wed, 31 Jan 2018 15:59:03 +0000 (16:59 +0100)]
Fix ECS-based cache entry refresh code
This would lead to us not refreshing ECS-varying answers in the cache, and therefore an even more depressed cache rate.
Thanks to @liordot who found the issue & provided a fix in #6241.
Pieter Lexis [Thu, 22 Feb 2018 11:28:24 +0000 (12:28 +0100)]
Merge pull request #6100 from pieterlexis/ipv4-ipv6-equiv
auth: make outgoing-query-address{,6} behaviour equivalent
Pieter Lexis [Thu, 22 Feb 2018 11:27:28 +0000 (12:27 +0100)]
Merge pull request #6128 from cmouse/geoip
GeoIPbackend improvements
Pieter Lexis [Thu, 22 Feb 2018 11:26:47 +0000 (12:26 +0100)]
Merge pull request #6275 from pieterlexis/fix-changelog-from-pr-indent
changelog-from-pr.py: Fix output indenting
Pieter Lexis [Thu, 22 Feb 2018 11:26:28 +0000 (12:26 +0100)]
Merge pull request #6292 from pieterlexis/ixfrdist-in-memory
ixfrdist: Keep latest AXFR and `--keep` IXFR's in memory
Pieter Lexis [Thu, 22 Feb 2018 11:25:51 +0000 (12:25 +0100)]
Merge pull request #6293 from pieterlexis/rec-rpz-refresh
rec: Ensure we don't hammer the RPZ master server
Pieter Lexis [Thu, 22 Feb 2018 11:25:30 +0000 (12:25 +0100)]
Merge pull request #6286 from zeha/pkg-deb-auth-fixes
Debian Authoritative packaging fixes for 4.1
Peter van Dijk [Thu, 22 Feb 2018 09:41:19 +0000 (10:41 +0100)]
Merge pull request #6282 from pieterlexis/service-ignore
Ignore *.service in pdns/
Peter van Dijk [Thu, 22 Feb 2018 09:39:55 +0000 (10:39 +0100)]
Merge pull request #6295 from lordievader/patch-1
Fix syntax error for replace-rrset
Pieter Lexis [Thu, 22 Feb 2018 08:41:41 +0000 (09:41 +0100)]
ixfrdist: fix nits and add optimization
Olivier van der Toorn [Thu, 22 Feb 2018 07:41:21 +0000 (08:41 +0100)]
Fix syntax error for replace-rrset
Make `replace-rrset` tell the user to use the `replace-rrset` command, rather than `replace-record`.
Pieter Lexis [Wed, 21 Feb 2018 16:37:02 +0000 (17:37 +0100)]
rec: Ensure we don't hammer the RPZ master server
Before, if the `refresh` was not set in the lua-config file's
`rpzMaster` statement, we would keep trying to get delta's the whole
time. This commit ensures we update the zone's refresh config to the
value from the AXFR'd zone (if not set in the config).
Pieter Lexis [Wed, 21 Feb 2018 15:36:00 +0000 (16:36 +0100)]
ixfrdist: Keep latest AXFR and `--keep` IXFR's in memory
This prevents us going to the disk for every incoming query.
Pieter Lexis [Tue, 20 Feb 2018 17:36:02 +0000 (18:36 +0100)]
Merge pull request #6284 from zeha/dnsdist-test-macos
dnsdist: In tests use protobuf3 on macOS
Pieter Lexis [Tue, 20 Feb 2018 17:35:33 +0000 (18:35 +0100)]
Merge pull request #6287 from zeha/dnsdist-luaaction-cc
dnsdist: Move Lua(Response)Action operator() out of header file
Pieter Lexis [Tue, 20 Feb 2018 17:35:05 +0000 (18:35 +0100)]
Merge pull request #6288 from atosatto/ixfrdist-systemd
IXFRDist: Add missing CAP_SETGID and CAP_SETUID to the IXFRDist systemD unit file
Andrea Tosatto [Tue, 20 Feb 2018 14:34:41 +0000 (15:34 +0100)]
Add missing CAP_SETGID and CAP_SETUID to the IXFRDist systemD unit file
Chris Hofstaedtler [Tue, 20 Feb 2018 09:54:06 +0000 (10:54 +0100)]
debian: fix ucf registration (same as Debian bug#816362)
Chris Hofstaedtler [Tue, 20 Feb 2018 09:48:41 +0000 (10:48 +0100)]
debian: drop allow-recursion handling
Chris Hofstaedtler [Tue, 20 Feb 2018 09:29:26 +0000 (10:29 +0100)]
dnsdist: Move Lua(Response)Action operator() out of header file
Remi Gacogne [Tue, 20 Feb 2018 08:39:01 +0000 (09:39 +0100)]
Merge pull request #6283 from zeha/dnsdist-luaaction-error
dnsdist: Report Lua(Response)Action failures
Chris Hofstaedtler [Mon, 19 Feb 2018 18:18:44 +0000 (19:18 +0100)]
In tests use protobuf3 on macOS
Chris Hofstaedtler [Mon, 19 Feb 2018 18:12:11 +0000 (19:12 +0100)]
tests: Add rule-servfail to test_API
Chris Hofstaedtler [Mon, 19 Feb 2018 18:03:34 +0000 (19:03 +0100)]
Report Lua(Response)Action failures
Remi Gacogne [Mon, 19 Feb 2018 17:35:14 +0000 (18:35 +0100)]
Merge pull request #6279 from zeha/dnsdist-qtag-cleanup
dnsdist: Clean up QTag code
Pieter Lexis [Mon, 19 Feb 2018 16:39:06 +0000 (17:39 +0100)]
Ignore *.service in pdns/
Chris Hofstaedtler [Mon, 19 Feb 2018 13:50:00 +0000 (14:50 +0100)]
Clean up QTag code
Peter van Dijk [Mon, 19 Feb 2018 10:55:11 +0000 (11:55 +0100)]
Merge pull request #6268 from pieterlexis/ixfrdist-timeout
ixfrdist: Allow setting the inbound AXFR timeout
Pieter Lexis [Fri, 16 Feb 2018 17:50:37 +0000 (18:50 +0100)]
ixfrdist AXFR timeout: pass the remaining time to getChunk
Pieter Lexis [Fri, 16 Feb 2018 17:40:25 +0000 (18:40 +0100)]
Merge remote-tracking branch 'origin/master' into ixfrdist-timeout
Pieter Lexis [Fri, 16 Feb 2018 17:39:06 +0000 (18:39 +0100)]
ixfrdist: Make timeout for the whole AXFR
Pieter Lexis [Fri, 16 Feb 2018 17:20:08 +0000 (18:20 +0100)]
Merge pull request #6256 from jpmens/patch-9
Change wording to indicate may not XFR instead of cannot
Pieter Lexis [Fri, 16 Feb 2018 17:19:49 +0000 (18:19 +0100)]
Merge pull request #6262 from mheiland/patch-1
Making swagger code-gen happy.
Pieter Lexis [Fri, 16 Feb 2018 17:19:34 +0000 (18:19 +0100)]
Merge pull request #6269 from pieterlexis/ixfrdist-privdrop
ixfrdist: Implement priv-dropping
Pieter Lexis [Fri, 16 Feb 2018 15:19:18 +0000 (16:19 +0100)]
changelog-from-pr.py: Fix output indenting
Pieter Lexis [Fri, 16 Feb 2018 15:07:05 +0000 (16:07 +0100)]
Merge pull request #6273 from pieterlexis/auth-411-secpol
Add Auth 4.1.1 secpoll
Peter van Dijk [Fri, 16 Feb 2018 14:59:31 +0000 (15:59 +0100)]
Merge pull request #6274 from ffledgling/4.1.1-changelog
Update 4.1 changelog for auth-4.1.1 release
Anhad Jai Singh [Fri, 16 Feb 2018 13:44:29 +0000 (19:14 +0530)]
Update 4.1 changelog for auth-4.1.1 release
PRs part of this release are:
* 6261, 6260 - backports PRs, originals are
6261:
* 6077
* 6048
* 6172
* 6134
* 6129
* 6122
* 6103
* 6041
6260:
* 6029
Pieter Lexis [Fri, 16 Feb 2018 13:45:08 +0000 (14:45 +0100)]
Add Auth 4.1.1 secpoll
Remi Gacogne [Fri, 16 Feb 2018 10:17:14 +0000 (11:17 +0100)]
Merge pull request #6267 from rgacogne/dnsdist-1.2.1-changelog
dnsdist: Update the ChangeLog for the 1.2.1 release
Remi Gacogne [Fri, 16 Feb 2018 09:12:30 +0000 (10:12 +0100)]
dnsdist: Fix a typo in the 1.2.1 changelog
Remi Gacogne [Thu, 15 Feb 2018 15:43:33 +0000 (16:43 +0100)]
dnsdist: Update the release date for 1.2.1
Remi Gacogne [Thu, 15 Feb 2018 10:29:07 +0000 (11:29 +0100)]
Merge pull request #6264 from pieterlexis/ixfrdist-nullptr
ixfrdist: Prevent a nullptr exception and guard reads/writes
Pieter Lexis [Wed, 14 Feb 2018 15:42:49 +0000 (16:42 +0100)]
ixfrdist: Implement priv-dropping
Closes #6265
Remi Gacogne [Wed, 14 Feb 2018 14:38:41 +0000 (15:38 +0100)]
Merge pull request #6257 from Habbie/dnsdist-test-format
dnsdist: fix error formatting
Pieter Lexis [Wed, 14 Feb 2018 12:58:15 +0000 (13:58 +0100)]
ixfrdist: Allow setting the inbound AXFR timeout
Pieter Lexis [Wed, 14 Feb 2018 12:55:35 +0000 (13:55 +0100)]
ixfrdist: Guard all find()s with a mutex
Remi Gacogne [Wed, 14 Feb 2018 10:30:13 +0000 (11:30 +0100)]
dnsdist: Update the ChangeLog for the 1.2.1 release
Pieter Lexis [Wed, 14 Feb 2018 10:41:18 +0000 (11:41 +0100)]
ixfrdist: Guard all reads and writes on g_soas
Pieter Lexis [Wed, 14 Feb 2018 10:00:54 +0000 (11:00 +0100)]
ixfrdist: Prevent a nullptr exception
Aki Tuomi [Thu, 4 Jan 2018 06:54:44 +0000 (08:54 +0200)]
travis: Run geoipbackend test with mmdb database
Aki Tuomi [Wed, 3 Jan 2018 21:45:45 +0000 (23:45 +0200)]
travis: Add libmaxminddb-dev to auth dependencies
Aki Tuomi [Wed, 3 Jan 2018 08:43:58 +0000 (10:43 +0200)]
travis: Remove geoipregion* from travis settings
Aki Tuomi [Wed, 3 Jan 2018 21:36:16 +0000 (23:36 +0200)]
geoipbackend: Add mmdb support for regression test
Aki Tuomi [Wed, 3 Jan 2018 07:33:32 +0000 (09:33 +0200)]
geoipbackend: Add edns subnet geoipregionip where needed in tests
Aki Tuomi [Wed, 3 Jan 2018 21:40:48 +0000 (23:40 +0200)]
geoipbackend: Add regression test for per-AFI variables
Aki Tuomi [Tue, 2 Jan 2018 17:06:46 +0000 (19:06 +0200)]
geoipbackend: Add a location test
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
Aki Tuomi [Tue, 2 Jan 2018 16:42:12 +0000 (18:42 +0200)]
geoipbackend: Fix error message formatting
Aki Tuomi [Tue, 2 Jan 2018 16:37:18 +0000 (18:37 +0200)]
geoipbackend: tests - fix edns subnet usage
Aki Tuomi [Mon, 1 Jan 2018 10:59:11 +0000 (12:59 +0200)]
geoipbackend: Update documentation
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.
Aki Tuomi [Mon, 1 Jan 2018 15:22:40 +0000 (17:22 +0200)]
geoipbackend: Add location support
Aki Tuomi [Mon, 1 Jan 2018 15:22:57 +0000 (17:22 +0200)]
geoipbackend: Skip non-TXT results that format to empty
Aki Tuomi [Sat, 30 Dec 2017 19:23:49 +0000 (21:23 +0200)]
geoipbackend: Make GeoIP interface optional
Aki Tuomi [Sat, 30 Dec 2017 15:54:28 +0000 (17:54 +0200)]
geoipbackend: Add mmdb interface
Aki Tuomi [Sat, 30 Dec 2017 19:11:30 +0000 (21:11 +0200)]
m4: Improve geo backend dependecy checks
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.
Aki Tuomi [Sat, 30 Dec 2017 11:45:45 +0000 (13:45 +0200)]
geoipbackend: Reorder includes
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.
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
Aki Tuomi [Sat, 30 Dec 2017 15:48:18 +0000 (17:48 +0200)]
geoipbackend: Whitespace fixes
Makes following commits easier
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.
Martin Heiland [Tue, 13 Feb 2018 14:09:54 +0000 (15:09 +0100)]
Also fixing duplicate mapping key
Martin Heiland [Tue, 13 Feb 2018 14:04:18 +0000 (15:04 +0100)]
Making swagger code-gen happy.
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
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
Peter van Dijk [Mon, 12 Feb 2018 19:27:17 +0000 (20:27 +0100)]
dnsdist: avoid port reuse in tests
Remi Gacogne [Mon, 12 Feb 2018 14:26:00 +0000 (15:26 +0100)]
ixfrdist: Check the serial even if verbose is off
Peter van Dijk [Mon, 12 Feb 2018 13:16:05 +0000 (14:16 +0100)]
dnsdist: fix error formatting
JP Mens [Mon, 12 Feb 2018 08:37:37 +0000 (09:37 +0100)]
Change wording to indicate may not XFR instead of cannot
When a client has no permission to AXFR a zone from a server, the following diagnostics are logged:
```
AXFR of domain 'example' denied: client IP 10.0.0.1 has no permission
AXFR of domain 'example' failed: 10.0.0.1 cannot request AXFR
```
I feel the word _cannot_ is incorrect and should be _may not_ to indicate permission.
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
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
Chris Hofstaedtler [Fri, 9 Feb 2018 19:29:18 +0000 (20:29 +0100)]
dnsdist: fix build without protobuf
Pieter Lexis [Fri, 9 Feb 2018 21:03:47 +0000 (22:03 +0100)]
EL6: fix dnsdist builds
Pieter Lexis [Thu, 8 Feb 2018 15:30:56 +0000 (16:30 +0100)]
Merge pull request #6235 from pieterlexis/ixfrdist
New tool: ixfrdist
Pieter Lexis [Wed, 7 Feb 2018 09:40:51 +0000 (10:40 +0100)]
Add ixfrdist to tool package
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
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
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
Pieter Lexis [Fri, 2 Feb 2018 09:39:43 +0000 (10:39 +0100)]
Merge pull request #6234 from cmouse/fixme
Some Fixmes
Pieter Lexis [Tue, 30 Jan 2018 13:47:12 +0000 (14:47 +0100)]
ixfrdist: Add an ACL option
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
Pieter Lexis [Fri, 26 Jan 2018 10:18:58 +0000 (11:18 +0100)]
ixfrdist: use pollmplexer instead of selectmplexer
Pieter Lexis [Wed, 24 Jan 2018 15:33:23 +0000 (16:33 +0100)]
ixfrdist: use ComboAddress::isIPv4()
Pieter Lexis [Wed, 24 Jan 2018 15:32:01 +0000 (16:32 +0100)]
ixfrdist: Better exit message on second stop
Pieter Lexis [Wed, 24 Jan 2018 15:29:05 +0000 (16:29 +0100)]
ixfrdist: clean up argument processing
Pieter Lexis [Wed, 24 Jan 2018 15:26:02 +0000 (16:26 +0100)]
ixfrdist: clean up downloaded zones
Pieter Lexis [Wed, 24 Jan 2018 10:58:23 +0000 (11:58 +0100)]
ixfrdist: don't crash on wrong options
Pieter Lexis [Mon, 22 Jan 2018 12:05:33 +0000 (13:05 +0100)]
ixfrdist: prevent errno clobbering from CA::toStringWithPort