]>
granicus.if.org Git - pdns/log
bert hubert [Mon, 7 Dec 2015 11:00:27 +0000 (12:00 +0100)]
reenable in-tree dnsdist building
bert hubert [Mon, 7 Dec 2015 09:44:52 +0000 (10:44 +0100)]
let topClients() default to top-10
bert hubert [Mon, 7 Dec 2015 09:34:42 +0000 (10:34 +0100)]
Merge pull request #2927 from rgacogne/dnsdist-ecs
add EDNS Client Subnet to dnsdist queries. And adds loads of tests, cleanups, improvements etc.
Peter van Dijk [Mon, 7 Dec 2015 08:51:17 +0000 (09:51 +0100)]
Merge pull request #2919 from zeha/api-dnsname-dot
API: dot correctness
Remi Gacogne [Fri, 4 Dec 2015 14:09:08 +0000 (15:09 +0100)]
Add more tests for dnsdist ECS support.
Add regression tests for rewriting the ECS value with
larger / smaller values.
Add one unit test for rewriting response.
Remi Gacogne [Thu, 3 Dec 2015 08:28:22 +0000 (09:28 +0100)]
Add EDNS Client Subnet to queries, unit tests and regression tests.
The main idea is to be able to add EDNS Client Subnet information
to queries to that the downstream servers know who the real client
is. This is easy if the query already has EDNS, since we just have
to add an ECS option to the existing pseudo-RR OPT. Note that if the
query has an existing ECS option, we just leave it as it is unless
setECSOverride has been set to true.
If the original query has no ENDS support, we can easily add the
pseudo-RR OPT with an ECS option, but we need to remove EDNS from
the response, otherwise the client might choke on it. This is not too
hard it the pseudo-RR is the last one, but otherwise removing it
could cause issue with name compression (offsets), therefore we
completely rewrite the response in that case.
This implementation tries hard not to parse the query, and not
to allocate too much objects to parse the response. The huge downside
is that we do not reuse as much parsing code as we probably could.
Unit tests have been added, they are not enabled unless
--enable-unit-tests is set.
Regression tests have been added in regression-tests.dnsdist.
Unit and regression tests are enabled in travis.
bert hubert [Mon, 7 Dec 2015 06:51:59 +0000 (07:51 +0100)]
implement getNameWithAddr() for downstreams for pretty log messages
bert hubert [Mon, 7 Dec 2015 06:51:24 +0000 (07:51 +0100)]
further rings speedup
bert hubert [Mon, 7 Dec 2015 06:40:04 +0000 (07:40 +0100)]
some ring statistics speedups
bert hubert [Sun, 6 Dec 2015 18:38:42 +0000 (19:38 +0100)]
log when adding a dynamic block
Peter van Dijk [Sun, 6 Dec 2015 15:07:57 +0000 (16:07 +0100)]
Merge pull request #2996 from zeha/jsoninterface
Rename setting json-interface to api
Christian Hofstaedtler [Fri, 4 Dec 2015 21:39:09 +0000 (22:39 +0100)]
API: Update and add more examples
Fixes #2511.
Christian Hofstaedtler [Fri, 4 Dec 2015 19:28:16 +0000 (20:28 +0100)]
API: dot correctness
From and to API consumers we'll now always require/send names (and
content) with dots. To the backend, we'll always require/send without
dots. Some API tests now check the data written to the sqlite DB, too.
Incoming names are now checked against a restricted list of chars,
fixing #1437. The double dot case is taken care of by DNSName (and
we'll no longer report an ISE if DNSName parsing fails - we make
sure to parse all names in a try/except).
Cleanup leftovers from pre-DNSName times.
Turn auth api tests back on in travis.
Christian Hofstaedtler [Fri, 4 Dec 2015 19:28:46 +0000 (20:28 +0100)]
Add PacketCache::purgeExact
Christian Hofstaedtler [Fri, 4 Dec 2015 19:28:43 +0000 (20:28 +0100)]
API: copy-edit the spec
Remove links to old documentation, fix some wordings.
Christian Hofstaedtler [Fri, 4 Dec 2015 19:28:37 +0000 (20:28 +0100)]
API docs: fix section headers
bert hubert [Sat, 5 Dec 2015 22:10:13 +0000 (23:10 +0100)]
when installing new overlapping dynamic block, record old number of blocks and keep that. More pleasing to the eye.
bert hubert [Sat, 5 Dec 2015 22:09:55 +0000 (23:09 +0100)]
show some more block/drop kinds in webpage
bert hubert [Sat, 5 Dec 2015 21:25:49 +0000 (22:25 +0100)]
also show dynblock number of blocks in showDynBlocks()
bert hubert [Sat, 5 Dec 2015 21:23:06 +0000 (22:23 +0100)]
revamp dynamic block syntax, you now insert blocks per x seconds, and we display remaining seconds count, plus number of things blocked
bert hubert [Sat, 5 Dec 2015 21:22:32 +0000 (22:22 +0100)]
netmask src rule did not show itself correctly in dnsdist output
bert hubert [Sat, 5 Dec 2015 19:54:43 +0000 (20:54 +0100)]
resolve conflict, add reporting of acl/locals
bert hubert [Sat, 5 Dec 2015 19:51:27 +0000 (20:51 +0100)]
Merge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Sat, 5 Dec 2015 19:50:25 +0000 (20:50 +0100)]
fill out acl and local to index.html
bert hubert [Sat, 5 Dec 2015 19:50:03 +0000 (20:50 +0100)]
report acl and local addresses over web-api
bert hubert [Sat, 5 Dec 2015 19:49:48 +0000 (20:49 +0100)]
Merge pull request #2999 from zeha/dnsdistrad
Improve dnsdist html a tiny bit more
Christian Hofstaedtler [Sat, 5 Dec 2015 19:45:52 +0000 (19:45 +0000)]
Improve dnsdist html a tiny bit more
bert hubert [Sat, 5 Dec 2015 15:28:24 +0000 (16:28 +0100)]
make webserver display acl-drops - vital debugging hint. Plus GPL reminder.
bert hubert [Sat, 5 Dec 2015 15:23:30 +0000 (16:23 +0100)]
cleanup dnsdist javascript & html, plus make it look a lot prettier
bert hubert [Sat, 5 Dec 2015 12:38:29 +0000 (13:38 +0100)]
Merge pull request #2998 from ahupowerdns/various
adds topBandwidth, starts process of abstracting out operations on rings
bert hubert [Sat, 5 Dec 2015 10:18:35 +0000 (11:18 +0100)]
fix up dnsdist javascript to the new /api/v1/ URLs
Christian Hofstaedtler [Fri, 4 Dec 2015 20:06:56 +0000 (21:06 +0100)]
Rename setting json-interface to api
Plus:
* Mark settings as available since 4.0, as before they were
called experimental-...
* Sync setting descriptions between auth and recursor.
bert hubert [Fri, 4 Dec 2015 19:49:01 +0000 (20:49 +0100)]
Merge pull request #2993 from rgacogne/dnsdist-tuning
Allow setting maxOustanding and maxTCPClientThreads in configuration
bert hubert [Fri, 4 Dec 2015 19:45:53 +0000 (20:45 +0100)]
Merge pull request #2994 from zeha/no-gcc3x
Drop compat code for gcc3.x/RHEL5
Christian Hofstaedtler [Fri, 4 Dec 2015 15:54:23 +0000 (16:54 +0100)]
Drop compat code for gcc3.x/RHEL5
Closes #320
Peter van Dijk [Fri, 4 Dec 2015 15:46:04 +0000 (16:46 +0100)]
Merge pull request #2992 from Habbie/no-botan-1.8
get rid of botan 1.8
Peter van Dijk [Fri, 4 Dec 2015 15:07:02 +0000 (16:07 +0100)]
get rid of botan 1.8
Remi Gacogne [Fri, 4 Dec 2015 15:01:40 +0000 (16:01 +0100)]
Allow setting maxOustanding and maxTCPClientThreads in configuration
This commit adds the setMaxTCPClientThreads() and
setMaxUDPOutstanding() directives.
These controls, respectively, the maximum number of TCP threads
handling client connections and the maximum number of oustanding
UDP queries to a given backend server.
setMaxUDPOutstanding() is only usable at configuration-time, and
not at runtime.
Peter van Dijk [Fri, 4 Dec 2015 11:17:08 +0000 (12:17 +0100)]
remove outdated comment
bert hubert [Thu, 3 Dec 2015 20:01:15 +0000 (21:01 +0100)]
fix up separate build
bert hubert [Thu, 3 Dec 2015 19:19:42 +0000 (20:19 +0100)]
this should make us work on all arches for incbin
bert hubert [Thu, 3 Dec 2015 19:26:04 +0000 (20:26 +0100)]
rgacogne found that arm has unsigned chars which broke all the things in yahttp @cmouse
bert hubert [Thu, 3 Dec 2015 19:52:37 +0000 (20:52 +0100)]
hook up getTopBandwidth()
Peter van Dijk [Thu, 3 Dec 2015 19:48:47 +0000 (20:48 +0100)]
Merge pull request #2989 from Habbie/64bitpi
don't truncate timestamps on raspberry pi
bert hubert [Thu, 3 Dec 2015 19:26:04 +0000 (20:26 +0100)]
rgacogne found that arm has unsigned chars which broke all the things in yahttp @cmouse
bert hubert [Thu, 3 Dec 2015 19:21:16 +0000 (20:21 +0100)]
move ring stuff to own file, so it can share between dnsdist-lua and dnsdist-web, plus we get the locking in one place
bert hubert [Thu, 3 Dec 2015 19:19:42 +0000 (20:19 +0100)]
this should make us work on all arches for incbin
Peter van Dijk [Thu, 3 Dec 2015 15:59:43 +0000 (16:59 +0100)]
Merge pull request #2990 from ndonegan/patch-1
Update backend-remote.md
Niall Donegan [Thu, 3 Dec 2015 15:44:18 +0000 (15:44 +0000)]
Update backend-remote.md
bert hubert [Thu, 3 Dec 2015 14:45:25 +0000 (15:45 +0100)]
Merge pull request #2972 from pieterlexis/no-more-experimental
Unmark several features as not-experimental
bert hubert [Thu, 3 Dec 2015 14:43:06 +0000 (15:43 +0100)]
Merge pull request #2984 from rgacogne/dnsdist-frontend-stats
Add per-frontend stats to dnsdist
Peter van Dijk [Thu, 3 Dec 2015 12:53:37 +0000 (13:53 +0100)]
don't truncate timestamps on raspberry pi
Pieter Lexis [Thu, 3 Dec 2015 09:38:54 +0000 (10:38 +0100)]
Merge pull request #2983 from pieterlexis/ws-return-to-path
Redirect to the path of the request, not the root
Pieter Lexis [Thu, 3 Dec 2015 09:38:14 +0000 (10:38 +0100)]
Merge pull request #2962 from cmouse/tools-timeout
Make some tools timeout
Pieter Lexis [Thu, 3 Dec 2015 09:38:03 +0000 (10:38 +0100)]
Merge pull request #2973 from pieterlexis/move-qtypes-to-private
Move internal QTypes to the private range
Pieter Lexis [Thu, 3 Dec 2015 09:37:56 +0000 (10:37 +0100)]
Merge pull request #2965 from pieterlexis/negcache-tests-dotted-cname
Add negative caching with dotted cnames test
Pieter Lexis [Thu, 3 Dec 2015 09:37:50 +0000 (10:37 +0100)]
Merge pull request #2970 from pieterlexis/h-root-update
Update root hints for h.root-servers.net
Peter van Dijk [Thu, 3 Dec 2015 08:59:15 +0000 (09:59 +0100)]
Merge pull request #2975 from stasic/patch-2
make logging output identical
bert hubert [Wed, 2 Dec 2015 22:35:47 +0000 (23:35 +0100)]
Merge pull request #2985 from rgacogne/dnsdist-rd-queries
Add stats for RD queries in dnsdist
bert hubert [Wed, 2 Dec 2015 22:35:35 +0000 (23:35 +0100)]
Merge pull request #2986 from rgacogne/dnsdist-idstate-lock
Remove the IDState lock.
Remi Gacogne [Wed, 2 Dec 2015 16:42:01 +0000 (17:42 +0100)]
Fix stats handling for TCP queries.
The previous commit tried to fix the fact that TCP queries were
not correctly accounted, but did not properly handle the fact that
several queries can be sent over a single connection.
Responses were not properly handled either.
Remi Gacogne [Wed, 2 Dec 2015 17:55:44 +0000 (18:55 +0100)]
Remove the IDState lock.
Keeping a copy of the origFD in the response handling thread and
setting ids->age to 0 before setting ids->origFD in the UDP query
thread should prevent dropping query because of a race.
Remi Gacogne [Wed, 2 Dec 2015 15:27:40 +0000 (16:27 +0100)]
Add per-frontend stats to dnsdist
For now, we only display the number of queries received for each
frontend, separating TCP and UDP.
Remi Gacogne [Wed, 2 Dec 2015 16:19:19 +0000 (17:19 +0100)]
Add stats for RD queries in dnsdist
bert hubert [Wed, 2 Dec 2015 15:59:24 +0000 (16:59 +0100)]
Merge pull request #2846 from rgacogne/dnsdist-rings-rwlocks
Protect dnsdist client and query rings with a RW lock. Plus IDstate lock, which we might be able to remove later. It is going to be bad for performance.
Pieter Lexis [Tue, 1 Dec 2015 09:48:50 +0000 (10:48 +0100)]
Update root hints for h.root-servers.net
https://lists.dns-oarc.net/pipermail/dns-operations/2015-November/013862.html
Remi Gacogne [Wed, 2 Dec 2015 10:43:37 +0000 (11:43 +0100)]
Protect dnsdist IDState and query ring with a RW lock
The IDState issue is mainly origFD, modified by maintThread on timeout while used by the others.
upStatus and availability in DownstreamState are also causing complaints from helgrind / TSAN,
but I believe we can live with racy status and availability.
Pieter Lexis [Wed, 2 Dec 2015 10:17:38 +0000 (11:17 +0100)]
Redirect to the path of the request, not the root
If you proxy at e.g. /auth, redirecting to / 'breaks' the flow.
bert hubert [Wed, 2 Dec 2015 07:09:49 +0000 (08:09 +0100)]
fix up incbin, with the great help of Dale Weiler. Closes #2957. dnsdist works on our raspberries again!
bert hubert [Tue, 1 Dec 2015 22:12:43 +0000 (23:12 +0100)]
Merge pull request #2979 from mind04/keycount
check number of keys in trustedkeys file
bert hubert [Tue, 1 Dec 2015 22:11:07 +0000 (23:11 +0100)]
Merge pull request #2977 from rgacogne/dnsdist-client-getserver
Make getServer() return a dummy one in client mode. Closes #2976.
bert hubert [Tue, 1 Dec 2015 22:10:50 +0000 (23:10 +0100)]
Merge pull request #2974 from rgacogne/dnsdist-tcp-closed
Gracefully handle a reused downstream TCP connection dying on us
bert hubert [Tue, 1 Dec 2015 21:13:01 +0000 (22:13 +0100)]
fix up TTL for RPZ zones, and allow override from config
Kees Monshouwer [Tue, 1 Dec 2015 19:22:15 +0000 (20:22 +0100)]
regression-tests: don't include zsk keys with 257 in content in trustedkeys
Remi Gacogne [Tue, 1 Dec 2015 17:43:56 +0000 (18:43 +0100)]
Make getServer() return a dummy one in client mode. Closes #2976.
Peter van Dijk [Tue, 1 Dec 2015 17:45:24 +0000 (18:45 +0100)]
more const; disable useless compiler warning
bert hubert [Tue, 1 Dec 2015 16:42:15 +0000 (17:42 +0100)]
add default/override policies to RPZ, move RPZ config to the Lua configuration file, fix up so that the overrides based on IP addresses in the zone actually work
bert hubert [Tue, 1 Dec 2015 16:39:59 +0000 (17:39 +0100)]
move our RPZ blocking to the most GLORIOUS NetmaskTree (thanks Aki!)
bert hubert [Tue, 1 Dec 2015 16:39:20 +0000 (17:39 +0100)]
default zone for zoneparser should be the root, not the "empty DNSName"
bert hubert [Tue, 1 Dec 2015 16:38:38 +0000 (17:38 +0100)]
const correctness for sortlist comparator
bert hubert [Tue, 1 Dec 2015 16:36:02 +0000 (17:36 +0100)]
after some further bikeshedding..
Arsen Stasic [Tue, 1 Dec 2015 16:27:01 +0000 (17:27 +0100)]
make logging output identical
'pdns_control notify' and 'pdns_control notify-host' produce now the same output message
bert hubert [Tue, 1 Dec 2015 14:31:24 +0000 (15:31 +0100)]
it is that kind of day. Or one of those days.
Remi Gacogne [Tue, 1 Dec 2015 13:24:26 +0000 (14:24 +0100)]
Gracefully handle a reused downstream TCP connection dying on us
In dnsdist, we try to reuse TCP connection to Downstream servers
as much as possible. However, when sending the size of a new
query, we didn't properly handle a connection being closed by the
downstream server.
Turns out, writing tests actually help finding bugs, who
would have thought?
Pieter Lexis [Tue, 1 Dec 2015 13:04:34 +0000 (14:04 +0100)]
Move internal QTypes to the private range
Closes #2924
Pieter Lexis [Tue, 1 Dec 2015 11:26:07 +0000 (12:26 +0100)]
Move current API path to /api/v1 from /
Closes #2612
Pieter Lexis [Tue, 1 Dec 2015 12:22:00 +0000 (13:22 +0100)]
Update pdns.conf-dist
Pieter Lexis [Tue, 1 Dec 2015 11:39:15 +0000 (12:39 +0100)]
Also mark dname-processing as stable
Pieter Lexis [Tue, 1 Dec 2015 11:09:31 +0000 (12:09 +0100)]
Webserver, API and dnsupdate are not experimental
Closes #2961
bert hubert [Tue, 1 Dec 2015 10:48:18 +0000 (11:48 +0100)]
Merge pull request #2964 from Habbie/checkzone-nodot
Fix trailing dot issues in pdnssec check-zone
bert hubert [Tue, 1 Dec 2015 10:41:09 +0000 (11:41 +0100)]
our messages on filedescriptors were hard to understand
bert hubert [Tue, 1 Dec 2015 09:04:36 +0000 (10:04 +0100)]
our delaypipe tests sometimes fail, this might at least tell us why. perhaps.
Pieter Lexis [Tue, 1 Dec 2015 09:05:11 +0000 (10:05 +0100)]
Package some more tools in the semi-static pdns-tools
Kees Monshouwer [Mon, 30 Nov 2015 23:13:27 +0000 (00:13 +0100)]
show trustedkeys after testrun
Kees Monshouwer [Mon, 30 Nov 2015 21:33:42 +0000 (22:33 +0100)]
check number of keys in trustedkeys file
Pieter Lexis [Tue, 1 Dec 2015 08:13:43 +0000 (09:13 +0100)]
Merge pull request #2967 from mind04/travis
redo .travis.yml
bert hubert [Mon, 30 Nov 2015 18:36:06 +0000 (19:36 +0100)]
sortlist docs
Kees Monshouwer [Mon, 30 Nov 2015 18:23:16 +0000 (19:23 +0100)]
speedup travis build?
Kees Monshouwer [Mon, 30 Nov 2015 00:12:05 +0000 (01:12 +0100)]
more s/geoipbackend/geoip
Kees Monshouwer [Thu, 19 Nov 2015 17:44:30 +0000 (18:44 +0100)]
redo .travis.yml