]>
granicus.if.org Git - pdns/log
Remi Gacogne [Wed, 10 May 2017 07:57:06 +0000 (09:57 +0200)]
rec: Document that `getStats()` is only available for 4.1.0+
Remi Gacogne [Thu, 4 May 2017 14:50:56 +0000 (16:50 +0200)]
rec: Allow retrieving stats from Lua via the `getStat("name")` call
Remi Gacogne [Tue, 2 May 2017 07:55:25 +0000 (09:55 +0200)]
Merge pull request #5273 from cmouse/geoip-random
geoipbackend: Use dns_random
Remi Gacogne [Tue, 2 May 2017 07:35:00 +0000 (09:35 +0200)]
Merge pull request #5277 from rgacogne/sdig-edns-usage
sdig: Clarify that the `ednssubnet` option takes "subnet/mask"
Remi Gacogne [Tue, 2 May 2017 07:34:00 +0000 (09:34 +0200)]
Merge pull request #5281 from pieterlexis/zone2json-in-tests
Tell the tests where to find zone2json
Pieter Lexis [Fri, 28 Apr 2017 12:42:54 +0000 (14:42 +0200)]
Tell the tests where to find zone2json
Remi Gacogne [Fri, 28 Apr 2017 09:13:59 +0000 (11:13 +0200)]
Merge pull request #5280 from rgacogne/dnsdist-poolrule-from-mask
dnsdist: Clarify that addPoolRule() applies to source addresses
Remi Gacogne [Fri, 28 Apr 2017 07:59:32 +0000 (09:59 +0200)]
dnsdist: Clarify that addPoolRule() applies to source addresses
bert hubert [Thu, 27 Apr 2017 18:01:43 +0000 (21:01 +0300)]
changelog thinks recent 4 releases happened in 2016
Remi Gacogne [Thu, 27 Apr 2017 11:06:06 +0000 (13:06 +0200)]
sdig: Clarify that the `ednssubnet` option takes "subnet/mask"
The `mask` part is actually optional but it's probably better to
provide it explicitely anyway.
Aki Tuomi [Wed, 26 Apr 2017 06:55:13 +0000 (09:55 +0300)]
geoipbackend: Use dns_random
Closes coverity CID#
1374548
Peter van Dijk [Tue, 25 Apr 2017 16:16:03 +0000 (18:16 +0200)]
Merge pull request #5266 from cmouse/geoip-fixes
geoipbackend: Support city databases in region lookup
Peter van Dijk [Tue, 25 Apr 2017 16:15:01 +0000 (18:15 +0200)]
Merge pull request #5267 from cmouse/geoip-weights
geoipbackend: Move static record lookup to separate method
Peter van Dijk [Tue, 25 Apr 2017 16:13:19 +0000 (18:13 +0200)]
Merge pull request #5269 from cmouse/geoip-cc
geoipbackend: Add support for %cc modifier
Aki Tuomi [Fri, 21 Apr 2017 19:11:17 +0000 (22:11 +0300)]
geoipbackend: Support city databases in region lookup
City database contains region information as well.
Fixes #5255 and #4122
Aki Tuomi [Mon, 24 Apr 2017 09:39:11 +0000 (12:39 +0300)]
geoipbackend: Move static record lookup to separate method
Fixes #4704 by applying weights consistently on all lookups.
Aki Tuomi [Mon, 24 Apr 2017 09:51:48 +0000 (12:51 +0300)]
geoipbackend: Document %cc modifier
Peter van Dijk [Mon, 24 Apr 2017 09:50:40 +0000 (11:50 +0200)]
Merge pull request #5261 from percipient/json-stat-fix
get-remote-ring's "other" report should only have two items.
Aki Tuomi [Mon, 24 Apr 2017 09:50:39 +0000 (12:50 +0300)]
geoipbackend: Add support for %cc modifier
Fixes #4122
Patrick Cloke [Sun, 23 Apr 2017 13:11:12 +0000 (09:11 -0400)]
get-remote-ring's "other" report should only have two items.
bert hubert [Fri, 21 Apr 2017 18:21:19 +0000 (20:21 +0200)]
Merge pull request #5250 from cmouse/axfrfilter
Implement axfrfilter with LuaContext
bert hubert [Fri, 21 Apr 2017 18:19:17 +0000 (20:19 +0200)]
Merge pull request #5258 from mind04/query-cache-stats
query cache hit/miss statistics
Kees Monshouwer [Wed, 19 Apr 2017 22:59:37 +0000 (00:59 +0200)]
query cache hit/miss statistics
Pieter Lexis [Thu, 20 Apr 2017 11:25:07 +0000 (13:25 +0200)]
Merge pull request #5254 from pieterlexis/pkg-snmp-support
Packages: Build with net-snmp support and against LuaJIT
Pieter Lexis [Thu, 20 Apr 2017 11:24:54 +0000 (13:24 +0200)]
Merge pull request #5249 from tfarina/dns-ascii
move two other functions into ascii.hh
bert hubert [Wed, 19 Apr 2017 09:06:12 +0000 (11:06 +0200)]
Merge pull request #5235 from ahupowerdns/dnsdist-qnamerule
Dnsdist qnamerule
Pieter Lexis [Wed, 19 Apr 2017 08:46:47 +0000 (10:46 +0200)]
Allow building the Lua backend with luajit
Remi Gacogne [Wed, 19 Apr 2017 08:01:52 +0000 (10:01 +0200)]
Merge pull request #5248 from Habbie/gitignore-protobuf
ignore file created by runtests
Remi Gacogne [Wed, 19 Apr 2017 08:01:12 +0000 (10:01 +0200)]
Merge pull request #5253 from ahupowerdns/dnsdist-verbosepro
add some better dnsdist -v logging on queries that get dropped, timed out or received
bert hubert [Tue, 18 Apr 2017 19:03:02 +0000 (21:03 +0200)]
Merge pull request #5185 from rgacogne/dnsdist-nmg-add-masks
dnsdist: Add `NetmaskGroup::addMasks()` to fill a NMG from `exceeds*` results
bert hubert [Tue, 18 Apr 2017 18:12:52 +0000 (20:12 +0200)]
add some better -v logging on queries that get dropped, time out or received
Pieter Lexis [Tue, 18 Apr 2017 17:30:09 +0000 (19:30 +0200)]
No net-snmp nor luajit on SLES
Pieter Lexis [Tue, 18 Apr 2017 14:51:04 +0000 (16:51 +0200)]
Build pkgs against LuaJit (where available)
Pieter Lexis [Tue, 18 Apr 2017 13:06:51 +0000 (15:06 +0200)]
Add the protobuf pkgs as build-dep to EL6
Pieter Lexis [Tue, 18 Apr 2017 11:33:56 +0000 (13:33 +0200)]
Add net-snmp support to recursor and dnsdist pkgs
Aki Tuomi [Mon, 17 Apr 2017 17:00:02 +0000 (20:00 +0300)]
lua-auth: Drop axfrfilter
It's no longer needed.
Aki Tuomi [Mon, 17 Apr 2017 16:53:25 +0000 (19:53 +0300)]
doc: Update documentation for axfr filter
Aki Tuomi [Mon, 17 Apr 2017 16:48:02 +0000 (19:48 +0300)]
communicator: Use new version of AXFR filter
Aki Tuomi [Mon, 17 Apr 2017 16:47:53 +0000 (19:47 +0300)]
lua-auth4: Implement axfrfilter
Thiago Farina [Mon, 17 Apr 2017 00:59:28 +0000 (21:59 -0300)]
move two other functions into ascii.hh
dns_isspace() and dns_toupper() are all functions operating upon ASCII
characters. So lets move them into ascii.hh and keep them together with
dns_tolower().
Peter van Dijk [Sun, 16 Apr 2017 19:18:44 +0000 (21:18 +0200)]
ignore file created by runtests
Peter van Dijk [Sun, 16 Apr 2017 18:22:51 +0000 (20:22 +0200)]
Merge pull request #5247 from Habbie/requires-nit
nit
Peter van Dijk [Sun, 16 Apr 2017 16:45:24 +0000 (18:45 +0200)]
nit
Remi Gacogne [Sun, 16 Apr 2017 09:41:56 +0000 (11:41 +0200)]
Merge pull request #5244 from rgacogne/dnsdist-stop-on-dynblock
dnsdist: Stop sending queries as soon as we are dyn-blocked in tests
Remi Gacogne [Sat, 15 Apr 2017 18:32:00 +0000 (20:32 +0200)]
dnsdist: Fix a typo in the DynBlocks tests comment
Thanks Habbie for noticing!
Remi Gacogne [Sat, 15 Apr 2017 15:21:24 +0000 (17:21 +0200)]
dnsdist: Stop sending queries as soon as we are dyn-blocked in tests
Otherwise we might take too much time to finish sending our queries
(2s timeout per query), ending up with the dynamic block rule gone
by the time we finish.
Remi Gacogne [Fri, 14 Apr 2017 15:15:31 +0000 (17:15 +0200)]
Merge pull request #5239 from rgacogne/dnsdist-debug-dynblocks-failures
dnsdist: Add some debug to the DynBlocks regression tests
Remi Gacogne [Fri, 14 Apr 2017 08:09:14 +0000 (10:09 +0200)]
dnsdist: Add some debug to the DynBlocks regression tests
bert hubert [Wed, 12 Apr 2017 11:16:58 +0000 (13:16 +0200)]
Merge pull request #5230 from Habbie/dnsdist-unnest-error
unnest Lua exceptions when they get all the way back to main()
bert hubert [Wed, 12 Apr 2017 11:13:43 +0000 (13:13 +0200)]
Merge pull request #5199 from ahupowerdns/dnsdistrekey
setKey() was actually "appendKey()". In addition, '-k' would not override for server configuration
bert hubert [Wed, 12 Apr 2017 11:13:04 +0000 (13:13 +0200)]
Merge pull request #5234 from aerique/bugfix/5054-dnsdist-query-counters-integer-overflows
Bugfix/5054 dnsdist query counters integer overflows
bert hubert [Wed, 12 Apr 2017 09:42:14 +0000 (11:42 +0200)]
check new key before replacing old one.
Peter van Dijk [Tue, 11 Apr 2017 13:12:02 +0000 (15:12 +0200)]
Merge pull request #5228 from mind04/order
signpipe stumbles over interrupted rrsets
bert hubert [Tue, 11 Apr 2017 12:55:29 +0000 (14:55 +0200)]
add a test for QNameRule
Erik Winkels [Tue, 11 Apr 2017 12:22:30 +0000 (14:22 +0200)]
Fix "queries" overflow in dnsdist API.
The way it is currently fixed means that matches can still overflow
in the web interface because JavaScript has a 2^53 number limit.
However, this fix is in line with how earlier cases have been fixed.
This fixes issue #5054.
Erik Winkels [Tue, 4 Apr 2017 14:40:32 +0000 (16:40 +0200)]
Fix matches overflow in dnsdist API.
The way it is currently fixed means that matches can still overflow
in the web interface because JavaScript has a 2^53 number limit.
However, this fix is in line with how earlier cases have been fixed.
bert hubert [Mon, 10 Apr 2017 17:23:49 +0000 (19:23 +0200)]
add & document QNameRule
bert hubert [Tue, 11 Apr 2017 11:43:06 +0000 (13:43 +0200)]
Merge pull request #5209 from ahupowerdns/lock-touches
make our Lock classes uncopyable, make ReadLock and WriteLock moveable.
Kees Monshouwer [Tue, 11 Apr 2017 09:00:46 +0000 (11:00 +0200)]
update tinydns data files
Remi Gacogne [Tue, 11 Apr 2017 09:05:13 +0000 (11:05 +0200)]
Merge pull request #5226 from pieterlexis/syncres-refactor-mv-negcache
rec: Refactor the negative cache into a class
Kees Monshouwer [Fri, 7 Apr 2017 20:51:06 +0000 (22:51 +0200)]
signpipe stumbles over interrupted rrsets
Pieter Lexis [Tue, 11 Apr 2017 08:15:37 +0000 (10:15 +0200)]
Merge pull request #5231 from rgacogne/rec-rpz-clear-nsip
rec: Clear the RPZ NS IP table when clearing the policy
Pieter Lexis [Tue, 11 Apr 2017 07:47:24 +0000 (09:47 +0200)]
Merge pull request #5212 from tfarina/dns2-tolower
pdns: remove duplicated dns2_tolower() function
Pieter Lexis [Tue, 11 Apr 2017 07:46:24 +0000 (09:46 +0200)]
Merge pull request #5229 from Habbie/sort-tinydns-data
sort tinydns data to reduce size of future diffs
Remi Gacogne [Mon, 10 Apr 2017 16:33:30 +0000 (18:33 +0200)]
rec: Clear the RPZ NS IP table when clearing the policy
Be it the entire policy object or a single zone.
Pieter Lexis [Mon, 10 Apr 2017 15:59:20 +0000 (17:59 +0200)]
rec NegCache: expired test for getRootNXTrust
Pieter Lexis [Mon, 10 Apr 2017 15:58:55 +0000 (17:58 +0200)]
rec NegCache: Add count() for QNAME|QTYPE
Peter van Dijk [Mon, 10 Apr 2017 14:05:07 +0000 (16:05 +0200)]
unnest Lua exceptions when they get all the way back to main()
Peter van Dijk [Mon, 10 Apr 2017 11:21:58 +0000 (13:21 +0200)]
Merge pull request #4477 from KamagoNet/ldap-backend-update
Ldap backend update
Peter van Dijk [Mon, 10 Apr 2017 09:51:44 +0000 (11:51 +0200)]
sort tinydns data to reduce size of future diffs
Peter van Dijk [Mon, 10 Apr 2017 10:13:54 +0000 (12:13 +0200)]
Merge pull request #5200 from Habbie/luawrapper-downstream
downstream luawrapper changes
Peter van Dijk [Mon, 10 Apr 2017 10:13:20 +0000 (12:13 +0200)]
Merge pull request #5204 from rgacogne/snmp-thread-move
SNMP: Let the compiler elide copy instead of calling the move ctor
Pieter Lexis [Mon, 10 Apr 2017 08:09:54 +0000 (10:09 +0200)]
rec: Add tests for NegCache::getRootNXTrust
Pieter Lexis [Mon, 10 Apr 2017 08:09:48 +0000 (10:09 +0200)]
rec negcache: check retval in test_add_updated_entry
Pieter Lexis [Mon, 10 Apr 2017 08:08:24 +0000 (10:08 +0200)]
rec: de-inline & document addTTLModifiedRecords
Pieter Lexis [Mon, 10 Apr 2017 08:07:01 +0000 (10:07 +0200)]
rec negcache: Use single iterator in getRootNXTrust
bert hubert [Fri, 7 Apr 2017 13:09:01 +0000 (15:09 +0200)]
add tests for lock.hh
bert hubert [Fri, 7 Apr 2017 13:08:42 +0000 (15:08 +0200)]
remove upgrade(), make all Locks moveable
bert hubert [Fri, 7 Apr 2017 13:08:12 +0000 (15:08 +0200)]
remove a header boost complains is now deprecated.
bert hubert [Tue, 28 Mar 2017 08:19:38 +0000 (10:19 +0200)]
make our Lock classes uncopyable, make ReadLock and WriteLock moveable.
Thiago Farina [Fri, 7 Apr 2017 11:52:06 +0000 (08:52 -0300)]
fix the tab issue in the other Makefiles as well
Thiago Farina [Fri, 7 Apr 2017 11:20:17 +0000 (08:20 -0300)]
use tab instead of space to match the style in the Makefile.am
Thiago Farina [Sun, 2 Apr 2017 11:27:25 +0000 (08:27 -0300)]
add ascii.hh to the dnsdist_SOURCES and pdns_recursor_SOURCES variables
Thiago Farina [Sat, 1 Apr 2017 22:26:12 +0000 (19:26 -0300)]
add ascii.hh to pdns_server_SOURCES
Thiago Farina [Wed, 29 Mar 2017 01:12:43 +0000 (22:12 -0300)]
pdns: remove duplicated dns2_tolower() function
There is already a version of dns2_tolower() in misc.hh, called
simply dns_tolower(), but due to some inclusion issues it was necessary
to extract it into another header file (named ascii.hh).
Pieter Lexis [Fri, 7 Apr 2017 10:51:25 +0000 (12:51 +0200)]
Use DNSName::getLastLabel()
Pieter Lexis [Fri, 7 Apr 2017 10:44:35 +0000 (12:44 +0200)]
rec: ignore testrunner generated files
Pieter Lexis [Thu, 6 Apr 2017 11:41:40 +0000 (13:41 +0200)]
rec: Add unit tests for the NegCache
Pieter Lexis [Wed, 5 Apr 2017 14:49:29 +0000 (16:49 +0200)]
rec: Implement the negative cache as a class
Pieter Lexis [Wed, 5 Apr 2017 11:05:21 +0000 (13:05 +0200)]
cachecleaner.hh: pragma once
Pieter Lexis [Wed, 5 Apr 2017 11:04:53 +0000 (13:04 +0200)]
remote_logger.hh: guard config.h include
Pieter Lexis [Fri, 7 Apr 2017 10:48:57 +0000 (12:48 +0200)]
Add a test for DNSName::getLastLabel()
Pieter Lexis [Fri, 31 Mar 2017 12:55:20 +0000 (14:55 +0200)]
DNSName: add getLastLabel() function
Pieter Lexis [Fri, 7 Apr 2017 09:03:00 +0000 (11:03 +0200)]
Merge pull request #5218 from rgacogne/rec-forward-cache-only
rec: Fix cache-only queries against a forward-zone
Pieter Lexis [Fri, 7 Apr 2017 09:02:27 +0000 (11:02 +0200)]
Merge pull request #5223 from pieterlexis/syncres-refactor-rebased
SyncRes clarifications, unit-tests, and doSpecialNamesResolve() method
Remi Gacogne [Mon, 3 Apr 2017 08:48:10 +0000 (10:48 +0200)]
rec: Add unit tests for forward-zones
Remi Gacogne [Mon, 3 Apr 2017 08:45:58 +0000 (10:45 +0200)]
rec: Fix cache-only queries against a forward-zone
We used to pass the return code from `asyncresolve` directly to the
caller, leading the success code (1) to be interpreted as `RCode::FormErr`.
Remi Gacogne [Fri, 31 Mar 2017 15:52:34 +0000 (17:52 +0200)]
rec: Add OS/Network errors, special names and RPZ unit tests
Remi Gacogne [Fri, 31 Mar 2017 15:41:09 +0000 (17:41 +0200)]
rec: Add missing `DNSFilterEngine::clear()` method implementation
Remi Gacogne [Fri, 31 Mar 2017 14:06:42 +0000 (16:06 +0200)]
rec: Use `make_shared` for unwanted query records, saves an allocation