]> granicus.if.org Git - pdns/log
pdns
9 years agoMerge pull request #2107 from rubenk/remotebackend-fixes-for-3.4.2
Peter van Dijk [Thu, 22 Jan 2015 14:01:52 +0000 (15:01 +0100)]
Merge pull request #2107 from rubenk/remotebackend-fixes-for-3.4.2

Remotebackend fixes for 3.4.2

9 years agoAllow changing the Sockaddr in ComboAddress
Aki Tuomi [Wed, 5 Nov 2014 10:05:29 +0000 (12:05 +0200)]
Allow changing the Sockaddr in ComboAddress

(cherry picked from commit a7360cd9e1daeb99e0d0632b807e90fc34bedb65)

9 years agoProperly handle read errors (EOF and errors)
Aki Tuomi [Thu, 15 Jan 2015 06:40:24 +0000 (08:40 +0200)]
Properly handle read errors (EOF and errors)

(cherry picked from commit 974427fd0afc3bf858f7b0a38f626bc3fd17ae61)

9 years agoUse NetworkError, remove redundant code
Aki Tuomi [Wed, 14 Jan 2015 09:57:45 +0000 (11:57 +0200)]
Use NetworkError, remove redundant code

(cherry picked from commit 7731f6fff580fb5b2ac4863bb3ffb20112f5dbe8)

9 years agoCheck timeout since it seems that readWithTimeout not always works
Aki Tuomi [Tue, 13 Jan 2015 10:30:11 +0000 (12:30 +0200)]
Check timeout since it seems that readWithTimeout not always works

(cherry picked from commit 24f62b51e277f996c5cbdcbff820580b7a424a68)

9 years agoReuse existing connection when possible
Aki Tuomi [Wed, 5 Nov 2014 10:05:45 +0000 (12:05 +0200)]
Reuse existing connection when possible

(cherry picked from commit 660dd268f667ea6ef7452a33fd0631cc687255a6)

9 years agoReconnect on read error, also fix whitespace
Aki Tuomi [Sat, 1 Nov 2014 08:56:34 +0000 (10:56 +0200)]
Reconnect on read error, also fix whitespace

(cherry picked from commit 74d13635b99021efbccf8056ff1e56a9f03b7fe1)

9 years agoUse zeromq library C API, based on work by @wtfuzz and @hexwave. Fixes #1760.
Aki Tuomi [Tue, 22 Jul 2014 19:59:10 +0000 (22:59 +0300)]
Use zeromq library C API, based on work by @wtfuzz and @hexwave. Fixes #1760.

(cherry picked from commit 49e4360a664e68a62eda2101e9e6af9b18d6005f)

Conflicts:
.travis.yml

9 years agoUse correct syntax for escapes
Aki Tuomi [Tue, 14 Oct 2014 17:27:45 +0000 (20:27 +0300)]
Use correct syntax for escapes

(cherry picked from commit a7424ff6089109e4f0089c212e733c4e30c25098)

9 years agoAdd json to the Gem bundle
Ruben Kerkhof [Sun, 5 Oct 2014 15:34:12 +0000 (17:34 +0200)]
Add json to the Gem bundle

This fixes the unit tests on Fedora Rawhide

unittest_pipe.rb:5:in `require': cannot load such file -- json
(LoadError)

(cherry picked from commit fd78ac1a5120ba12507d75658d3f6f761aecf9a3)

9 years agooops
Peter van Dijk [Tue, 20 Jan 2015 19:10:17 +0000 (20:10 +0100)]
oops

9 years agomove manpages to section 1
Peter van Dijk [Tue, 20 Jan 2015 15:51:51 +0000 (16:51 +0100)]
move manpages to section 1

9 years agoadjust specfile manpath
Peter van Dijk [Mon, 19 Jan 2015 13:06:38 +0000 (14:06 +0100)]
adjust specfile manpath

9 years agoMerge pull request #2054 from mind04/auth-3.4.2-1
Peter van Dijk [Mon, 19 Jan 2015 12:12:36 +0000 (13:12 +0100)]
Merge pull request #2054 from mind04/auth-3.4.2-1

Auth 3.4.2 1

9 years agoReport correct chosen lua
Aki Tuomi [Tue, 13 Jan 2015 10:15:01 +0000 (12:15 +0200)]
Report correct chosen lua

9 years agouse luaL_checkinteger for Lua 5.3
Kees Monshouwer [Mon, 19 Jan 2015 09:18:53 +0000 (10:18 +0100)]
use luaL_checkinteger for Lua 5.3

9 years agoLua 5.3 in recursor testbuild spec
Kees Monshouwer [Mon, 19 Jan 2015 08:42:34 +0000 (09:42 +0100)]
Lua 5.3 in recursor testbuild spec

9 years agoauth: limit long version strings to 63 characters and catch exceptions in secpoll
Kees Monshouwer [Tue, 13 Jan 2015 12:12:54 +0000 (13:12 +0100)]
auth: limit long version strings to 63 characters and catch exceptions in secpoll

9 years agosupport single-type ZSK signing
Kees Monshouwer [Mon, 5 Jan 2015 10:26:08 +0000 (11:26 +0100)]
support single-type ZSK signing

9 years agopdns_control make it posible to notify all zones at once
Kees Monshouwer [Tue, 30 Dec 2014 11:30:11 +0000 (12:30 +0100)]
pdns_control make it posible to notify all zones at once

9 years agopdnssec: fix ttl ceck for RRSIG records
Kees Monshouwer [Tue, 6 Jan 2015 21:46:23 +0000 (22:46 +0100)]
pdnssec: fix ttl ceck for RRSIG records

9 years agoMerge pull request #1977 from mind04/auth-3.4.2
Peter van Dijk [Tue, 6 Jan 2015 09:53:22 +0000 (10:53 +0100)]
Merge pull request #1977 from mind04/auth-3.4.2

Auth 3.4.2

9 years agohappy new year :)
Kees Monshouwer [Wed, 31 Dec 2014 23:57:08 +0000 (00:57 +0100)]
happy new year :)

9 years agobetter key for packetcache
Kees Monshouwer [Sat, 8 Nov 2014 13:08:25 +0000 (14:08 +0100)]
better key for packetcache

9 years agofix up latency reporting for sub-millisecond latencies (would clip to 0)
bert hubert [Thu, 11 Dec 2014 20:40:20 +0000 (21:40 +0100)]
fix up latency reporting for sub-millisecond latencies (would clip to 0)

9 years agomake sure we don't throw an exception on "pdns_control show" of an unknown variable
bert hubert [Thu, 11 Dec 2014 14:11:45 +0000 (15:11 +0100)]
make sure we don't throw an exception on "pdns_control show" of an unknown variable

9 years agofix startup race condition with carbon thread already trying to broadcast uninitializ...
bert hubert [Thu, 11 Dec 2014 12:57:35 +0000 (13:57 +0100)]
fix startup race condition with carbon thread already trying to broadcast uninitialized data

9 years agoadd 'bench-db' to do very simple database backend performance benchmark
bert hubert [Thu, 11 Dec 2014 11:18:13 +0000 (12:18 +0100)]
add 'bench-db' to do very simple database backend performance benchmark

9 years agomake qsize-q more robust
bert hubert [Thu, 11 Dec 2014 08:41:58 +0000 (09:41 +0100)]
make qsize-q more robust

9 years agoadd signatures metric to auth, so we can plot signatures/second
bert hubert [Wed, 10 Dec 2014 15:43:26 +0000 (16:43 +0100)]
add signatures metric to auth, so we can plot signatures/second

9 years agodon't do time(0) under signature cache lock
bert hubert [Wed, 10 Dec 2014 14:41:23 +0000 (15:41 +0100)]
don't do time(0) under signature cache lock

9 years agomind04 discovered we count corrupt packets and EAGAIN situations as validly received...
bert hubert [Wed, 10 Dec 2014 10:11:22 +0000 (11:11 +0100)]
mind04 discovered we count corrupt packets and EAGAIN situations as validly received packets, skewing the udp questions/answers graphs on auth.

9 years agomake latency & qsize reporting 'live'. Plus fix that we only reported the qsize of...
bert hubert [Wed, 10 Dec 2014 08:24:28 +0000 (09:24 +0100)]
make latency & qsize reporting 'live'. Plus fix that we only reported the qsize of the first distributor.

9 years agofix up statbag for carbon protocol and function pointers
bert hubert [Tue, 9 Dec 2014 20:42:04 +0000 (21:42 +0100)]
fix up statbag for carbon protocol and function pointers

9 years agoenable callback based metrics to statbas, and add 5 such metrics: uptime, sys-msec...
bert hubert [Tue, 9 Dec 2014 20:34:50 +0000 (21:34 +0100)]
enable callback based metrics to statbas, and add 5 such metrics: uptime, sys-msec, user-msec, key-cache-size, meta-cache-size, signature-cache-size

9 years agofix up our packet cache unit tests plus add bunch more tests
bert hubert [Sun, 7 Dec 2014 21:40:40 +0000 (22:40 +0100)]
fix up our packet cache unit tests plus add bunch more tests

9 years agoadd a bunch of packet based regression tests to the packetcache
bert hubert [Sun, 7 Dec 2014 21:11:24 +0000 (22:11 +0100)]
add a bunch of packet based regression tests to the packetcache

9 years agomake sure we lock the cache shards while we clean them, closing #1910. Plus add regre...
bert hubert [Sun, 7 Dec 2014 20:30:22 +0000 (21:30 +0100)]
make sure we lock the cache shards while we clean them, closing #1910. Plus add regression test that pretty reliably
detects us not locking.

9 years agoadd unit tests for new sharded packet cache
bert hubert [Fri, 5 Dec 2014 11:08:52 +0000 (12:08 +0100)]
add unit tests for new sharded packet cache

9 years agospeed up the testbag test a bit (by doing smaller tests)
bert hubert [Fri, 5 Dec 2014 11:04:01 +0000 (12:04 +0100)]
speed up the testbag test a bit (by doing smaller tests)

9 years agosplit up the packet & query cache into 1024 shards so our locks no longer collide
bert hubert [Thu, 4 Sep 2014 13:18:19 +0000 (15:18 +0200)]
split up the packet & query cache into 1024 shards so our locks no longer collide

Conflicts:
pdns/packetcache.cc

9 years agodisabling test if test environment does not define things we need to know..
bert hubert [Sat, 29 Nov 2014 07:55:21 +0000 (08:55 +0100)]
disabling test if test environment does not define things we need to know..

9 years agothis should fix our unit tests
bert hubert [Sat, 29 Nov 2014 07:34:25 +0000 (08:34 +0100)]
this should fix our unit tests

9 years agoa 32 bit regression test failure we don't understand..
bert hubert [Fri, 28 Nov 2014 22:42:53 +0000 (23:42 +0100)]
a 32 bit regression test failure we don't understand..

9 years agoactually writing some unit tests for the new 64 bit capable AtomicCounter found a...
bert hubert [Fri, 28 Nov 2014 21:29:13 +0000 (22:29 +0100)]
actually writing some unit tests for the new 64 bit capable AtomicCounter found a pile of bugs!

9 years agoOur "StatBag" statistics class was 1) 32 bit 2) heavily locked 3) still allowed for...
bert hubert [Fri, 28 Nov 2014 15:14:18 +0000 (16:14 +0100)]
Our "StatBag" statistics class was 1) 32 bit 2) heavily locked 3) still allowed for lock-free operations for high speed counters.
This commit 1) makes the StatBag 64 bit on 64 bit systems, 2) removes all locks and 3) has gone AtomicCounter 'native'
The upshot of this is that 64 bit users will suddenly get 64 bit counters. A second upshot is that multicore systems should now see consistent statistics again.
One important thing that changed is that the StatBag class used to be completely thread safe, and now it no longer is. You can't declare new counters while the StatBag is in use. This should not be happening, but you never know.
Finally, there is now a StatBag unit test.

9 years agomake our AtomicCounter 64 bit on 64 bit machines
bert hubert [Fri, 28 Nov 2014 14:17:16 +0000 (15:17 +0100)]
make our AtomicCounter 64 bit on 64 bit machines

9 years agosilence timeout error from webserver
bert hubert [Tue, 16 Dec 2014 11:52:22 +0000 (12:52 +0100)]
silence timeout error from webserver

9 years agoPotential fix for #1907, we now try to trigger libgcc_s.so.1 to load before we chroot...
bert hubert [Sat, 6 Dec 2014 19:34:01 +0000 (20:34 +0100)]
Potential fix for #1907, we now try to trigger libgcc_s.so.1 to load before we chroot. I can't reproduce the bug on my local system,
but this "should" help. Seriously.

9 years agoget priority from table in Lua axfrfilter
Kees Monshouwer [Mon, 22 Dec 2014 18:51:20 +0000 (19:51 +0100)]
get priority from table in Lua axfrfilter
fixes #1857

9 years agowith thanks to Jack Lloyd, this works around the default Botan allocator slowing...
bert hubert [Sat, 13 Dec 2014 14:43:12 +0000 (15:43 +0100)]
with thanks to Jack Lloyd, this works around the default Botan allocator slowing down for us during production use.

9 years agooraclebackend: fix records pointing at root
Kees Monshouwer [Sun, 14 Dec 2014 23:07:35 +0000 (00:07 +0100)]
oraclebackend: fix records pointing at root

9 years agolmdbbackend: fix types pointing at root
Kees Monshouwer [Wed, 10 Dec 2014 20:50:46 +0000 (21:50 +0100)]
lmdbbackend: fix types pointing at root

9 years agomydnsbackend: fix types pointing at root
Kees Monshouwer [Mon, 22 Dec 2014 16:57:05 +0000 (17:57 +0100)]
mydnsbackend: fix types pointing at root

9 years agono fancy-records in tinydns generate-data.sh
Kees Monshouwer [Wed, 10 Dec 2014 13:35:56 +0000 (14:35 +0100)]
no fancy-records in tinydns generate-data.sh

9 years agotest NS and CNAME pointing at the root
Kees Monshouwer [Wed, 10 Dec 2014 12:29:33 +0000 (13:29 +0100)]
test NS and CNAME pointing at the root

9 years agoroot MX test
Kees Monshouwer [Wed, 10 Dec 2014 11:27:08 +0000 (12:27 +0100)]
root MX test

9 years agoremove additional layer of trailing . stripping, which broke MX records to the root...
bert hubert [Wed, 10 Dec 2014 11:11:26 +0000 (12:11 +0100)]
remove additional layer of trailing . stripping, which broke MX records to the root in the BIND backend. Should close #1243.

9 years agoupdate polarssl to 1.3.9
Kees Monshouwer [Sat, 13 Dec 2014 23:59:59 +0000 (00:59 +0100)]
update polarssl to 1.3.9

9 years agoPolarssl: disable padlock
Ruben Kerkhof [Mon, 13 Oct 2014 17:56:52 +0000 (19:56 +0200)]
Polarssl: disable padlock

9 years agocleanup polar update
Kees Monshouwer [Mon, 13 Oct 2014 14:24:34 +0000 (16:24 +0200)]
cleanup polar update

9 years agoDisable aesni for now
Ruben Kerkhof [Sat, 11 Oct 2014 12:25:13 +0000 (14:25 +0200)]
Disable aesni for now

9 years agoUpgrade to polarssl 1.3.8
Ruben Kerkhof [Sat, 11 Oct 2014 12:24:13 +0000 (14:24 +0200)]
Upgrade to polarssl 1.3.8

Upstream commit 1910aa78a367

9 years agoRename polarssl-1.3.2 to polarssl
Ruben Kerkhof [Sat, 11 Oct 2014 11:16:27 +0000 (13:16 +0200)]
Rename polarssl-1.3.2 to polarssl

Makes upgrading in the future much easier
since we don't hardcode the version number everywhere.

9 years agosecpoll: Replace ~ with _, too
Christian Hofstaedtler [Mon, 24 Nov 2014 13:40:31 +0000 (14:40 +0100)]
secpoll: Replace ~ with _, too

Debian backports versions use '~' in the version number.

9 years agoonly zones with an active ksk are secure
Kees Monshouwer [Tue, 25 Nov 2014 15:15:01 +0000 (16:15 +0100)]
only zones with an active ksk are secure

9 years agoapi: show keys for zones without active ksk
Kees Monshouwer [Tue, 25 Nov 2014 15:11:27 +0000 (16:11 +0100)]
api: show keys for zones without active ksk

9 years agoapi: use uncached results for getKeys()
Kees Monshouwer [Tue, 25 Nov 2014 15:09:26 +0000 (16:09 +0100)]
api: use uncached results for getKeys()

9 years agoread ALLOW-AXFR-FROM from the backend with the metadata
Kees Monshouwer [Sat, 1 Nov 2014 22:15:04 +0000 (23:15 +0100)]
read ALLOW-AXFR-FROM from the backend with the metadata

10 years agoMerge pull request #1847 from mind04/ldns2 auth-3.4.1
Peter van Dijk [Tue, 28 Oct 2014 15:12:37 +0000 (16:12 +0100)]
Merge pull request #1847 from mind04/ldns2

update test output for verify-zone version 1.6.17

10 years agoupdate test output for verify-zone version 1.6.17
Kees Monshouwer [Sun, 26 Oct 2014 19:47:35 +0000 (20:47 +0100)]
update test output for verify-zone version 1.6.17

10 years agomake very sure we don't keel over if something goes wrong polling security status...
bert hubert [Thu, 23 Oct 2014 17:28:36 +0000 (19:28 +0200)]
make very sure we don't keel over if something goes wrong polling security status in auth

10 years agoupdate pdns.conf-dist
Peter van Dijk [Tue, 28 Oct 2014 10:37:40 +0000 (10:37 +0000)]
update pdns.conf-dist

10 years agoactually hook up the security polling
bert hubert [Tue, 28 Oct 2014 09:45:12 +0000 (10:45 +0100)]
actually hook up the security polling

10 years agoadd secpoll to auth compilation & linking
bert hubert [Tue, 28 Oct 2014 09:37:41 +0000 (10:37 +0100)]
add secpoll to auth compilation & linking

10 years agoAPI: Replace HTTP Basic auth with static key in custom header
Christian Hofstaedtler [Mon, 6 Oct 2014 21:51:01 +0000 (23:51 +0200)]
API: Replace HTTP Basic auth with static key in custom header

Given that the key is sent in a custom header, this should prevent
any possible CSRF attacks.

Fixes #1769.

10 years agoUse transaction when updating serial
Aki Tuomi [Tue, 14 Oct 2014 07:27:06 +0000 (10:27 +0300)]
Use transaction when updating serial

10 years agoFix ordername for SOA record after update
Aki Tuomi [Tue, 14 Oct 2014 06:42:33 +0000 (09:42 +0300)]
Fix ordername for SOA record after update

10 years agohonor SOA-EDIT while considering "empty IXFR" fallback, fixes #1835
Peter van Dijk [Tue, 21 Oct 2014 11:28:20 +0000 (11:28 +0000)]
honor SOA-EDIT while considering "empty IXFR" fallback, fixes #1835

10 years agoMerge pull request #1752 from mind04/dynamic auth-3.4.0
Peter van Dijk [Tue, 30 Sep 2014 07:27:46 +0000 (09:27 +0200)]
Merge pull request #1752 from mind04/dynamic

dynamic modules regression tests

10 years agoexpand thanks
Peter van Dijk [Tue, 30 Sep 2014 07:17:24 +0000 (09:17 +0200)]
expand thanks

10 years agopreliminary(?) auth 3.4.0-final changelog
Peter van Dijk [Tue, 30 Sep 2014 07:12:54 +0000 (09:12 +0200)]
preliminary(?) auth 3.4.0-final changelog

10 years agoMake sure geoipbackend pulls in the yaml and geoip libs when loaded dynamically.
Peter van Dijk [Fri, 26 Sep 2014 14:29:39 +0000 (14:29 +0000)]
Make sure geoipbackend pulls in the yaml and geoip libs when loaded dynamically.

10 years agodynamic modules regression tests
Kees Monshouwer [Mon, 29 Sep 2014 20:22:01 +0000 (22:22 +0200)]
dynamic modules regression tests

10 years agoMerge pull request #1751 from rubenk/fix-person-blurb-warning
Peter van Dijk [Tue, 30 Sep 2014 06:19:05 +0000 (08:19 +0200)]
Merge pull request #1751 from rubenk/fix-person-blurb-warning

Fix warning while building dnsdist.1

10 years agoMerge pull request #1750 from rubenk/dos-newlines
Peter van Dijk [Tue, 30 Sep 2014 06:07:06 +0000 (08:07 +0200)]
Merge pull request #1750 from rubenk/dos-newlines

Dos newlines

10 years agoFix warning while building dnsdist.1
Ruben Kerkhof [Mon, 29 Sep 2014 19:01:37 +0000 (21:01 +0200)]
Fix warning while building dnsdist.1

Fixes #1749

10 years agoConvert features.md to Unix LF
Ruben Kerkhof [Mon, 29 Sep 2014 18:47:24 +0000 (20:47 +0200)]
Convert features.md to Unix LF

10 years agoConvert dnsdist.1.txt to Unix LF
Ruben Kerkhof [Mon, 29 Sep 2014 18:46:57 +0000 (20:46 +0200)]
Convert dnsdist.1.txt to Unix LF

10 years agoConvert rapidjson headers to unix LF
Ruben Kerkhof [Mon, 29 Sep 2014 18:46:14 +0000 (20:46 +0200)]
Convert rapidjson headers to unix LF

10 years agoaj noted that our docs describe how recursor statistics add up badly, fixed
bert hubert [Mon, 29 Sep 2014 14:20:06 +0000 (16:20 +0200)]
aj noted that our docs describe how recursor statistics add up badly, fixed

10 years agoput dnsdist.1 in rpm
Peter van Dijk [Mon, 29 Sep 2014 11:50:33 +0000 (13:50 +0200)]
put dnsdist.1 in rpm

10 years agoMerge pull request #1741 from rubenk/check-geoip
Peter van Dijk [Mon, 29 Sep 2014 11:26:23 +0000 (13:26 +0200)]
Merge pull request #1741 from rubenk/check-geoip

Bail out if geoip and yaml libs are not installed

10 years agoMerge pull request #1740 from rubenk/fix-mydnsbackend
Peter van Dijk [Mon, 29 Sep 2014 11:25:49 +0000 (13:25 +0200)]
Merge pull request #1740 from rubenk/fix-mydnsbackend

Mydnsbackend depends on smysql from gymsqlbackend

10 years agoMerge pull request #1739 from rubenk/link-yahttp-into-remotebackend
Peter van Dijk [Mon, 29 Sep 2014 11:23:28 +0000 (13:23 +0200)]
Merge pull request #1739 from rubenk/link-yahttp-into-remotebackend

Make sure yahttp is linked into remotebackend

10 years agoalso dist dnsdist.1
Peter van Dijk [Mon, 29 Sep 2014 11:03:40 +0000 (13:03 +0200)]
also dist dnsdist.1

10 years agoMerge pull request #1742 from rubenk/detect-cdb-on-osx
Peter van Dijk [Mon, 29 Sep 2014 10:19:45 +0000 (12:19 +0200)]
Merge pull request #1742 from rubenk/detect-cdb-on-osx

Detect cdb on OSX

10 years agoMerge pull request #1736 from RvdE/patch-4
Peter van Dijk [Mon, 29 Sep 2014 07:52:16 +0000 (09:52 +0200)]
Merge pull request #1736 from RvdE/patch-4

Update Makefile.am

10 years agoDetect cdb on OSX
Ruben Kerkhof [Sun, 28 Sep 2014 09:24:29 +0000 (11:24 +0200)]
Detect cdb on OSX

cdb from homebrew doesn't ship a .pc file
so detect it the old-fashioned way.

10 years agoBail out if geoip and yaml libs are not installed
Ruben Kerkhof [Sat, 27 Sep 2014 21:58:43 +0000 (23:58 +0200)]
Bail out if geoip and yaml libs are not installed