]> granicus.if.org Git - pdns/log
pdns
14 years agofix up MyDNS compatible backend compilation - this might eventually offer MyDNS users...
Bert Hubert [Mon, 7 Feb 2011 09:42:22 +0000 (09:42 +0000)]
fix up MyDNS compatible backend compilation - this might eventually offer MyDNS users an easy DNSSEC migration path

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1986 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agonamespaces.hh includes
Bert Hubert [Mon, 7 Feb 2011 09:39:22 +0000 (09:39 +0000)]
namespaces.hh includes

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1985 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoimprove secure-zone output when no dnssec capable backend was loaded
Bert Hubert [Mon, 7 Feb 2011 09:33:20 +0000 (09:33 +0000)]
improve secure-zone output when no dnssec capable backend was loaded
fix verify-crypto so it actually does that again
add dead code to implement a remote signing-server

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1984 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoadd loads of statistics about signign speed to the tcpreceiver, plus adjust to new...
Bert Hubert [Mon, 7 Feb 2011 09:32:05 +0000 (09:32 +0000)]
add loads of statistics about signign speed to the tcpreceiver, plus adjust to new signing pipe interface

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1983 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agomake sure that addKey lets us know if it worked, allowing us to spot non-working...
Bert Hubert [Mon, 7 Feb 2011 09:31:12 +0000 (09:31 +0000)]
make sure that addKey lets us know if it worked, allowing us to spot non-working configurations
un__thread the keycache, reintroducing the 'shared key' problem, but plugging a massive memory leak

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1982 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agosigningpipe was revamped 12 times, but is again simple.
Bert Hubert [Mon, 7 Feb 2011 09:29:03 +0000 (09:29 +0000)]
signingpipe was revamped 12 times, but is again simple.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1981 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agofix up svn compilation with the 'mysqlcbackend'. Spotted by Stefan Schmidt
Bert Hubert [Mon, 7 Feb 2011 08:50:00 +0000 (08:50 +0000)]
fix up svn compilation with the 'mysqlcbackend'. Spotted by Stefan Schmidt

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1980 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agomake sure ueberbackend returns negative if it failed to find a backend willing to...
Bert Hubert [Sun, 6 Feb 2011 11:15:37 +0000 (11:15 +0000)]
make sure ueberbackend returns negative if it failed to find a backend willing to host dnssec material

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1979 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agofurther round of std::changes
Bert Hubert [Sun, 6 Feb 2011 11:14:49 +0000 (11:14 +0000)]
further round of std::changes

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1978 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agofurther std::
Bert Hubert [Sun, 6 Feb 2011 11:13:46 +0000 (11:13 +0000)]
further std::

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1977 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agobig batch of 'using namespace std;' removal
Bert Hubert [Sun, 6 Feb 2011 11:11:34 +0000 (11:11 +0000)]
big batch of 'using namespace std;' removal

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1976 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoturns out that for each signature, we consulted the database because we ignored the...
Bert Hubert [Sat, 5 Feb 2011 17:40:50 +0000 (17:40 +0000)]
turns out that for each signature, we consulted the database because we ignored the cache. Amazing what numbers we got anyhow!

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1975 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agobeginning of the removal of 'using namespace std'. Goal is to swap out string.
Bert Hubert [Sat, 5 Feb 2011 17:39:43 +0000 (17:39 +0000)]
beginning of the removal of 'using namespace std'. Goal is to swap out string.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1974 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoGoogle Protocol Buffers coming to PowerDNSSEC for transporting records & signatures
Bert Hubert [Sat, 5 Feb 2011 11:26:53 +0000 (11:26 +0000)]
Google Protocol Buffers coming to PowerDNSSEC for transporting records & signatures

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1973 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agosigningpipe is all zero-copy and hyperefficient now. but not any faster ;-(
Bert Hubert [Thu, 3 Feb 2011 20:46:30 +0000 (20:46 +0000)]
signingpipe is all zero-copy and hyperefficient now. but not any faster ;-(

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1972 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agomake test-algorithms do a bit more signatures to get a better estimate of performance
Bert Hubert [Thu, 3 Feb 2011 16:23:10 +0000 (16:23 +0000)]
make test-algorithms do a bit more signatures to get a better estimate of performance

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1971 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoadd 'test-speed' to pdnssec, plus make sure test-algorithms can be run w/o loading...
Bert Hubert [Thu, 3 Feb 2011 15:08:50 +0000 (15:08 +0000)]
add 'test-speed' to pdnssec, plus make sure test-algorithms can be run w/o loading all BIND zones

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1970 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agomake our keyenginecache per-thread, so we don't get two threads trying to use the...
Bert Hubert [Thu, 3 Feb 2011 15:07:11 +0000 (15:07 +0000)]
make our keyenginecache per-thread, so we don't get two threads trying to use the same engine at the same time
compile the signingpipe into pdnssec as well

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1969 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoadd udiffNoReset for running time measurements
Bert Hubert [Thu, 3 Feb 2011 14:54:06 +0000 (14:54 +0000)]
add udiffNoReset for running time measurements

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1968 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agofix up Botan (de)initialization, plus give all DNSCryptoEngines a virtual destructor
Bert Hubert [Thu, 3 Feb 2011 14:53:34 +0000 (14:53 +0000)]
fix up Botan (de)initialization, plus give all DNSCryptoEngines a virtual destructor

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1967 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agolinker gets confused by multiple global objects with same class & instance name,...
Bert Hubert [Thu, 3 Feb 2011 12:52:50 +0000 (12:52 +0000)]
linker gets confused by multiple global objects with same class & instance name, even when in namespace{}. Give them different names.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1966 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoand add signingpipe.hh to the tarball
Bert Hubert [Wed, 2 Feb 2011 19:35:47 +0000 (19:35 +0000)]
and add signingpipe.hh to the tarball

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1965 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agomake sure we wait for all signatures to come in from workers at the end of a zonetransfer
Bert Hubert [Wed, 2 Feb 2011 14:11:02 +0000 (14:11 +0000)]
make sure we wait for all signatures to come in from workers at the end of a zonetransfer
speed up NSEC generation

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1964 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agodon't calculate NSEC/NSEC3 chain for insecure zones on outgoing AXFR
Bert Hubert [Wed, 2 Feb 2011 08:47:56 +0000 (08:47 +0000)]
don't calculate NSEC/NSEC3 chain for insecure zones on outgoing AXFR

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1963 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agothis is probably a speedup, but a cleanup in any case
Bert Hubert [Wed, 2 Feb 2011 08:46:46 +0000 (08:46 +0000)]
this is probably a speedup, but a cleanup in any case

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1962 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agomake sure we ship md5.hh for the tarball
Bert Hubert [Wed, 2 Feb 2011 08:29:26 +0000 (08:29 +0000)]
make sure we ship md5.hh for the tarball

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1961 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agomake the signingpipe multithreaded, achieving around 8000 RSASHA256/1024 signatures...
Bert Hubert [Tue, 1 Feb 2011 23:12:40 +0000 (23:12 +0000)]
make the signingpipe multithreaded, achieving around 8000 RSASHA256/1024 signatures/s so far on an 8 core machine

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1960 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agodivorce addRRSigs() from DNSPacket. Make sure addRRSigs() uses an RRSIG order that...
Bert Hubert [Tue, 1 Feb 2011 20:36:59 +0000 (20:36 +0000)]
divorce addRRSigs() from DNSPacket. Make sure addRRSigs() uses an RRSIG order that is easier on the eyes.
Massively clean up the outgoing AXFR code by moving it to the ChunkedSigningPipe. Note to self, teach it not to sign if so required ;-)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1959 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agothe confusing variable name of the year goes to: static bool mustShuffle =::arg...
Bert Hubert [Tue, 1 Feb 2011 20:34:39 +0000 (20:34 +0000)]
the confusing variable name of the year goes to:   static bool mustShuffle =::arg().mustDo("no-shuffle");

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1958 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agospeed up bindbackend to pre-DNSSEC speeds. We again hail the genius of boost::multi_i...
Bert Hubert [Tue, 1 Feb 2011 15:51:16 +0000 (15:51 +0000)]
speed up bindbackend to pre-DNSSEC speeds. We again hail the genius of boost::multi_index, it had just the feature we need.
Plus speedup the auth fixups. We can now load a 3 million zone in 20 seconds again, and start serving dnssec immediately.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1957 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agodon't re-add base64 encoded algorithm
Bert Hubert [Tue, 1 Feb 2011 15:00:33 +0000 (15:00 +0000)]
don't re-add base64 encoded algorithm

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1956 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agobuild our packages with embedded crypto++
Bert Hubert [Tue, 1 Feb 2011 14:18:00 +0000 (14:18 +0000)]
build our packages with embedded crypto++

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1955 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoand add the configure.ac update for CRYPTOPP
Bert Hubert [Tue, 1 Feb 2011 14:11:52 +0000 (14:11 +0000)]
and add the configure.ac update for CRYPTOPP

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1954 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoadd support for Crypto++ ECDSA, refine & rename CryptoKeyEngine interface, add 'pdnss...
Bert Hubert [Tue, 1 Feb 2011 14:09:51 +0000 (14:09 +0000)]
add support for Crypto++ ECDSA, refine & rename CryptoKeyEngine interface, add 'pdnssec test-algorithm' mutual testing between engines, which found a bunch of bugs (fixed)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1953 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agobig rename of DNSPrivateKey which wasn't, and is now called DNSCryptoKeyEngine, plus...
Bert Hubert [Tue, 1 Feb 2011 09:35:40 +0000 (09:35 +0000)]
big rename of DNSPrivateKey which wasn't, and is now called DNSCryptoKeyEngine, plus hook up our internal md5 for non-cryptohashes

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1952 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years ago- scary commit -
Bert Hubert [Mon, 31 Jan 2011 21:59:45 +0000 (21:59 +0000)]
- scary commit -
add a generic botan1.8/botan1.9 signer/verifier for RSA
refactor the signer/verifier API so the more code moves out of the per-engine interface
add the ability to have multiple enginers for a single algorithm, plus add the notion of a 'fallback' engine, in our case polarssl
update some copyright statements

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1951 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoimplement slave-renotify for front-signing operation with renotification of the actua...
Bert Hubert [Mon, 31 Jan 2011 13:08:24 +0000 (13:08 +0000)]
implement slave-renotify for front-signing operation with renotification of the actual slaves

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1950 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoadd --with-botan1.8 (not working yet), fix up missing BOOST LDADD
Bert Hubert [Mon, 31 Jan 2011 12:28:10 +0000 (12:28 +0000)]
add --with-botan1.8 (not working yet), fix up missing BOOST LDADD

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1949 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agofix up modules for qtype change
Bert Hubert [Mon, 31 Jan 2011 11:36:25 +0000 (11:36 +0000)]
fix up modules for qtype change

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1948 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agomostly so people can see it - this file should be able to sign ECDSA & RSA at high...
Bert Hubert [Mon, 31 Jan 2011 10:37:03 +0000 (10:37 +0000)]
mostly so people can see it - this file should be able to sign ECDSA & RSA at high speed soon enough, but not right now

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1947 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agodocument opt-out defaults
Bert Hubert [Mon, 31 Jan 2011 10:24:45 +0000 (10:24 +0000)]
document opt-out defaults

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1946 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoremove traces of BOOST_FILESYSTEM and BOOST_SYSTEM
Bert Hubert [Mon, 31 Jan 2011 10:14:53 +0000 (10:14 +0000)]
remove traces of BOOST_FILESYSTEM and BOOST_SYSTEM

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1945 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoremove qtype char* constructor
Bert Hubert [Mon, 31 Jan 2011 10:14:13 +0000 (10:14 +0000)]
remove qtype char* constructor

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1944 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agomake sure we create separate controlsocket for each recursor process
Bert Hubert [Mon, 31 Jan 2011 09:23:10 +0000 (09:23 +0000)]
make sure we create separate controlsocket for each recursor process

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1943 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agodisable the broken 'storing unknown records' code for now
Bert Hubert [Mon, 31 Jan 2011 07:48:19 +0000 (07:48 +0000)]
disable the broken 'storing unknown records' code for now

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1942 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoactually report the DLV record type for production too, lack spotted by Jan-Piet...
Bert Hubert [Mon, 31 Jan 2011 07:27:19 +0000 (07:27 +0000)]
actually report the DLV record type for production too, lack spotted by Jan-Piet 'I have a Dutch name, but don't let that fool you' Mens

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1941 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoeven if we do opt-out, the NSEC3PARAM flags field should be 0
Bert Hubert [Sun, 30 Jan 2011 21:27:50 +0000 (21:27 +0000)]
even if we do opt-out, the NSEC3PARAM flags field should be 0

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1940 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoif I understand things correctly, powerdns does 'opt-out' NSEC3, but we did not say...
Bert Hubert [Sun, 30 Jan 2011 21:19:03 +0000 (21:19 +0000)]
if I understand things correctly, powerdns does 'opt-out' NSEC3, but we did not say that in the NSEC3/NSEC3PARAM.
I hope I got it right ;-)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1939 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agofix everyone's favorite 'succesful' typo
Bert Hubert [Sun, 30 Jan 2011 21:17:40 +0000 (21:17 +0000)]
fix everyone's favorite 'succesful' typo

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1938 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agowhen operating in front-signing mode, make sure we set the auth & hash fields correct...
Bert Hubert [Sun, 30 Jan 2011 20:43:58 +0000 (20:43 +0000)]
when operating in front-signing mode, make sure we set the auth & hash fields correctly on the first load too.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1937 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agothe wonderful #powerdns channel on irc.oftc.net discovered that powerdns could not...
Bert Hubert [Sun, 30 Jan 2011 19:52:05 +0000 (19:52 +0000)]
the wonderful #powerdns channel on irc.oftc.net discovered that powerdns could not deal with record types > 2^15
Fixed that. Plus fixed what caused the issue, the DLV record type, which is now supported too (at least for storage). Closes ticket 337.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1936 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agomake sure we don't try to print digest type 3 if we don't have GOST on board
Bert Hubert [Sun, 30 Jan 2011 13:12:36 +0000 (13:12 +0000)]
make sure we don't try to print digest type 3 if we don't have GOST on board

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1935 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agomake sure we sign our DNSKEYs when serving an AXFR. Plus remove some whitespace.
Bert Hubert [Sun, 30 Jan 2011 12:59:00 +0000 (12:59 +0000)]
make sure we sign our DNSKEYs when serving an AXFR. Plus remove some whitespace.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1934 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agodon't try to store an AXFRd OPT record - would ignore it anyhow, but this is better
Bert Hubert [Sun, 30 Jan 2011 12:58:06 +0000 (12:58 +0000)]
don't try to store an AXFRd OPT record - would ignore it anyhow, but this is better

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1933 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agosilence a lot of debugging output at loglevel 9 (you did not see it, but it did slow...
Bert Hubert [Sun, 30 Jan 2011 12:49:13 +0000 (12:49 +0000)]
silence a lot of debugging output at loglevel 9 (you did not see it, but it did slow things down)
fix up pre-signed zones in hybrid installations (bind + generic). Because the BIND Backend needs the DBDnssecKeeper,
while the dbdnsseckeeper needs the bindbackend to function, getting presignatures from the dbdnsseckeeper failed.
We now pass an explicit database connection for this purpose. Spotted by Christof Meerwaald.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1932 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoif no dnssec schema is loaded, auth==1 - Leen Besselink discovered oddities
Bert Hubert [Sat, 29 Jan 2011 12:34:21 +0000 (12:34 +0000)]
if no dnssec schema is loaded, auth==1 - Leen Besselink discovered oddities

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1931 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoChristoph Meerwald discovered we would sign out-of-zone additional data, fixed.
Bert Hubert [Sat, 29 Jan 2011 12:33:21 +0000 (12:33 +0000)]
Christoph Meerwald discovered we would sign out-of-zone additional data, fixed.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1930 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agomake sure we can insert huuuuge records
Bert Hubert [Fri, 28 Jan 2011 21:44:52 +0000 (21:44 +0000)]
make sure we can insert huuuuge records

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1929 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoreinstate 'recursor' handoff in auth server, issue spotted by Detlef Peeters
Bert Hubert [Fri, 28 Jan 2011 20:57:35 +0000 (20:57 +0000)]
reinstate 'recursor' handoff in auth server, issue spotted by Detlef Peeters

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1928 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoupdate pdnssec error message & documentation based on feedback by Leen Besselink.
Bert Hubert [Fri, 28 Jan 2011 20:40:46 +0000 (20:40 +0000)]
update pdnssec error message & documentation based on feedback by Leen Besselink.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1927 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoJan-Piet Mens discovered that we did not correctly fill out the 'auth' field on incom...
Bert Hubert [Fri, 28 Jan 2011 11:09:22 +0000 (11:09 +0000)]
Jan-Piet Mens discovered that we did not correctly fill out the 'auth' field on incoming zonetransfers for non-secured zones, even though
this is necessary for *all* zones.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1926 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agosilence zone2sql debugging output, fix up sqlite3 typo
Bert Hubert [Fri, 28 Jan 2011 07:58:58 +0000 (07:58 +0000)]
silence zone2sql debugging output, fix up sqlite3 typo

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1925 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agofix up 'too-big-for-udp' testcase. Protipp: increase the percentage of succeeding...
Bert Hubert [Fri, 28 Jan 2011 07:50:01 +0000 (07:50 +0000)]
fix up 'too-big-for-udp' testcase. Protipp: increase the percentage of succeeding regression tests by adding extra tests that DO succeed!

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1924 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agothis is a directory rename, and it does not look good
Bert Hubert [Fri, 28 Jan 2011 07:45:07 +0000 (07:45 +0000)]
this is a directory rename, and it does not look good

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1923 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agothe all new non-generic Oracle Backend, with full DNSSEC support!
Bert Hubert [Thu, 27 Jan 2011 23:19:51 +0000 (23:19 +0000)]
the all new non-generic Oracle Backend, with full DNSSEC support!
Contributed by Maik Zumstrull <maik@zumstrull.net>, then at the Steinbuch
Centre for Computing <http://www.scc.kit.edu/> at the Karlsruhe Institute of
Technology <http://www.kit.edu/>.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1922 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agorelease notes for 3.0
Bert Hubert [Thu, 27 Jan 2011 22:20:36 +0000 (22:20 +0000)]
release notes for 3.0

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1921 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agowith this patch, PowerDNS works around a bug in the Botan GOST code. Post Botan 1...
Bert Hubert [Thu, 27 Jan 2011 15:37:11 +0000 (15:37 +0000)]
with this patch, PowerDNS works around a bug in the Botan GOST code. Post Botan 1.9.12,
the bugfix will automatically disable itself, so let's hope they have it fixed by then ;-) See http://bit.ly/gTytUf

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1920 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agofurther spiff up verify-crypto, now correctly processes samples from draft-ietf-dnsex...
Bert Hubert [Thu, 27 Jan 2011 12:59:01 +0000 (12:59 +0000)]
further spiff up verify-crypto, now correctly processes samples from draft-ietf-dnsext-ecdsa

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1919 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoteach ECDSA keys to import a public key from the binary DNSKEY value, plus add workin...
Bert Hubert [Thu, 27 Jan 2011 12:58:26 +0000 (12:58 +0000)]
teach ECDSA keys to import a public key from the binary DNSKEY value, plus add working verification from the public key

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1918 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoadd supported algorithms & digest types
Bert Hubert [Thu, 27 Jan 2011 12:57:00 +0000 (12:57 +0000)]
add supported algorithms & digest types

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1917 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoadd support for digest provisional codepoint 4, SHA384
Bert Hubert [Thu, 27 Jan 2011 12:55:39 +0000 (12:55 +0000)]
add support for digest provisional codepoint 4, SHA384

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1916 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoadd signature verification infrastructure for RSA & GOST, test with 'pdnssec verify...
Bert Hubert [Thu, 27 Jan 2011 10:31:27 +0000 (10:31 +0000)]
add signature verification infrastructure for RSA & GOST, test with 'pdnssec verify-crypto fname' where fname contains a zone with a key, something to be signed, and an RRSIG

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1915 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoremove vestiges of RSA-centrism from the DNSKEY code - at assumed every key was an...
Bert Hubert [Thu, 27 Jan 2011 09:35:58 +0000 (09:35 +0000)]
remove vestiges of RSA-centrism from the DNSKEY code - at assumed every key was an RSA key!

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1914 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agofinish up support for GOST, including DS with digest type=3, plus abstract out releva...
Bert Hubert [Wed, 26 Jan 2011 21:01:22 +0000 (21:01 +0000)]
finish up support for GOST, including DS with digest type=3, plus abstract out relevant hashes to the signer objects.
Plus update the formatting of the Russian anthem in botan19signers.cc ;-)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1913 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoFirst part of the GOST support: R 34.10-2001, GOST R 34.11-94 will follow. As a speci...
Bert Hubert [Wed, 26 Jan 2011 16:04:37 +0000 (16:04 +0000)]
First part of the GOST support: R 34.10-2001, GOST R 34.11-94 will follow. As a special bonus, this code has a song in it!

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1912 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agowork in progress, but needed to complete the tar.gz build
Bert Hubert [Wed, 26 Jan 2011 00:12:50 +0000 (00:12 +0000)]
work in progress, but needed to complete the tar.gz build

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1911 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoadd Botan to our static builds
Bert Hubert [Wed, 26 Jan 2011 00:08:25 +0000 (00:08 +0000)]
add Botan to our static builds

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1910 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agothis huge commit adds support for RSASHA512 & draft-ietf-dnsext-ecdsa using the provi...
Bert Hubert [Tue, 25 Jan 2011 23:27:29 +0000 (23:27 +0000)]
this huge commit adds support for RSASHA512 & draft-ietf-dnsext-ecdsa using the provisional codepoints, which may still change.
ECDSAP256SHA256 and ECDSAP384SHA384 are supported.. iff you have Botan 1.9.x. Enable with ./configure --enable-botan19
GOST is just around the corner.
Btw: don't run this commit in production pls - normal service will return tomorrow

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1909 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agomassively speed up nsec/nsec3 rectification by wrapping the update statements in...
Bert Hubert [Tue, 25 Jan 2011 19:14:30 +0000 (19:14 +0000)]
massively speed up nsec/nsec3 rectification by wrapping the update statements in a transaction

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1908 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoand generic sql too
Bert Hubert [Tue, 25 Jan 2011 19:13:06 +0000 (19:13 +0000)]
and generic sql too

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1907 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoteach backends not to delete a zone if a negative zone-id is passed to startTransacti...
Bert Hubert [Tue, 25 Jan 2011 19:08:54 +0000 (19:08 +0000)]
teach backends not to delete a zone if a negative zone-id is passed to startTransaction, but only to start a transaction in that case

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1906 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years ago'multi-algorithm support' - for now we still only do RSA, but the whole signer stuff...
Bert Hubert [Tue, 25 Jan 2011 07:51:55 +0000 (07:51 +0000)]
'multi-algorithm support' - for now we still only do RSA, but the whole signer stuff has been abstracted out, and we could in theory add KnapsackCRC32 code!
Or of course ECDSA or GOST ;-)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1905 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agooops, missed this in the previous commit
Bert Hubert [Sat, 22 Jan 2011 18:21:23 +0000 (18:21 +0000)]
oops, missed this in the previous commit

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1904 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agomove code around in preparation for non-RSA keys & signatures
Bert Hubert [Sat, 22 Jan 2011 18:21:01 +0000 (18:21 +0000)]
move code around in preparation for non-RSA keys & signatures

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1903 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agofurther fix up parsing hex strings with spaces in odd places (it rhymes!)
Bert Hubert [Fri, 21 Jan 2011 12:49:09 +0000 (12:49 +0000)]
further fix up parsing hex strings with spaces in odd places (it rhymes!)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1902 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agomutate nsecxcache into metacache, simplify cache handling while we are at it. make...
Bert Hubert [Thu, 20 Jan 2011 21:26:45 +0000 (21:26 +0000)]
mutate nsecxcache into metacache, simplify cache handling while we are at it. make sure we cache
isPresigned()

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1901 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agowork around apparent bug in 'dig' output of DS records. Dig likes to include spaces...
Bert Hubert [Wed, 19 Jan 2011 19:28:05 +0000 (19:28 +0000)]
work around apparent bug in 'dig' output of DS records. Dig likes to include spaces in type 2 digests of DS records, which confuse PowerDNS when input. People like to cut & paste dig output. Again spotted by Marco Davids of SIDN.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1900 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agofix up us putting the RRSIG in the wrong place for DS records. Spotted by Marco David...
Bert Hubert [Wed, 19 Jan 2011 19:26:27 +0000 (19:26 +0000)]
fix up us putting the RRSIG in the wrong place for DS records. Spotted by Marco Davids of SIDN.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1899 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agofix up some tabdamage
Bert Hubert [Wed, 19 Jan 2011 19:21:22 +0000 (19:21 +0000)]
fix up some tabdamage

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1898 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agosync the docs with pre-signing mode
Bert Hubert [Wed, 19 Jan 2011 19:15:49 +0000 (19:15 +0000)]
sync the docs with pre-signing mode

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1897 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoJose Arthur Benetasso Villanova fixed a very old comment typo ;-)
Bert Hubert [Tue, 18 Jan 2011 19:01:56 +0000 (19:01 +0000)]
Jose Arthur Benetasso Villanova fixed a very old comment typo ;-)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1896 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoJose Arthur Benetasso Villanova contributed the postgresql schema update for dnssec
Bert Hubert [Tue, 18 Jan 2011 19:01:21 +0000 (19:01 +0000)]
Jose Arthur Benetasso Villanova contributed the postgresql schema update for dnssec

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1895 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agodocument (un)set-presigned
Bert Hubert [Tue, 18 Jan 2011 15:33:31 +0000 (15:33 +0000)]
document (un)set-presigned

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1894 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoimplement 'pdnssec set-presigned', allowing PowerDNSSEC to serve pre-signed zones...
Bert Hubert [Tue, 18 Jan 2011 14:55:39 +0000 (14:55 +0000)]
implement 'pdnssec set-presigned', allowing PowerDNSSEC to serve pre-signed zones. Rather experimental, but does appear to work

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1893 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoremove the signing code from dnspacket, where it was cute but wrong.
Bert Hubert [Tue, 18 Jan 2011 08:43:56 +0000 (08:43 +0000)]
remove the signing code from dnspacket, where it was cute but wrong.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1892 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoadd tools to compare pdns output to that of other servers
Bert Hubert [Tue, 18 Jan 2011 08:37:13 +0000 (08:37 +0000)]
add tools to compare pdns output to that of other servers

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1891 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agomove clone-zone into the pdnssec era
Bert Hubert [Tue, 18 Jan 2011 08:21:36 +0000 (08:21 +0000)]
move clone-zone into the pdnssec era

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1890 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoalternate rdtsc() implementation
Bert Hubert [Mon, 17 Jan 2011 20:04:37 +0000 (20:04 +0000)]
alternate rdtsc() implementation

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1889 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agomassively speed up our NSEC3 AXFR code
Bert Hubert [Sat, 15 Jan 2011 20:41:46 +0000 (20:41 +0000)]
massively speed up our NSEC3 AXFR code

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1888 d19b8d6e-7fed-0310-83ef-9ca221ded41b

14 years agoadd support for NSEC3 zonetransfers!
Bert Hubert [Sat, 15 Jan 2011 11:26:53 +0000 (11:26 +0000)]
add support for NSEC3 zonetransfers!

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1887 d19b8d6e-7fed-0310-83ef-9ca221ded41b