]> granicus.if.org Git - pdns/log
pdns
14 years agomake sure that DNSKEY requests can be delegated
Bert Hubert [Mon, 10 Jan 2011 11:50:02 +0000 (11:50 +0000)]
make sure that DNSKEY requests can be delegated
don't do NSEC on non-DNSSEC zones for delegations

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

14 years agono longer try to add NSEC/NSEC3 to unsigned zones
Bert Hubert [Mon, 10 Jan 2011 11:14:58 +0000 (11:14 +0000)]
no longer try to add NSEC/NSEC3 to unsigned zones
also don't add DNSSEC material to unsigned zones during AXFR
quiet some logging about unsigned zones

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

14 years agomore dnssec docs
Bert Hubert [Mon, 10 Jan 2011 11:03:34 +0000 (11:03 +0000)]
more dnssec docs

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

14 years agoadd support for unsalted nsec3 hashes ('1 0 1 -')
Bert Hubert [Mon, 10 Jan 2011 08:39:47 +0000 (08:39 +0000)]
add support for unsalted nsec3 hashes ('1 0 1 -')

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

14 years agoshow-zone output partially went to stderr
Bert Hubert [Mon, 10 Jan 2011 07:51:58 +0000 (07:51 +0000)]
show-zone output partially went to stderr
we can now roundtrip a zone via export-zone-key and import-zone-key and things remain identical!
reinstated the check-zone command

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

14 years agofix giant memory leak, silence debugging, improve error message about unauth data...
Bert Hubert [Sun, 9 Jan 2011 21:05:03 +0000 (21:05 +0000)]
fix giant memory leak, silence debugging, improve error message about unauth data with hint how to resolve (thanks Stefan Arentz)

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

14 years agoindex the signature cache on the hash of the public key instead of on the whole key!
Bert Hubert [Sun, 9 Jan 2011 18:26:04 +0000 (18:26 +0000)]
index the signature cache on the hash of the public key instead of on the whole key!

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

14 years agomove some non-'keeper' dnssec signing logic away to a separate file, dnssecsigner.cc
Bert Hubert [Sun, 9 Jan 2011 15:54:20 +0000 (15:54 +0000)]
move some non-'keeper' dnssec signing logic away to a separate file, dnssecsigner.cc

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

14 years ago3.0pre
Bert Hubert [Sun, 9 Jan 2011 10:40:04 +0000 (10:40 +0000)]
3.0pre

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

14 years agoremove more of boost dependency, fix up debian compilation
Bert Hubert [Sun, 9 Jan 2011 10:31:14 +0000 (10:31 +0000)]
remove more of boost dependency, fix up debian compilation

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

14 years agoremove boost filesystem dependency
Bert Hubert [Sun, 9 Jan 2011 10:27:31 +0000 (10:27 +0000)]
remove boost filesystem dependency

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

14 years agoalways sign DS records - bit of an oddity, we normally assume that all records with...
Bert Hubert [Sun, 9 Jan 2011 09:06:25 +0000 (09:06 +0000)]
always sign DS records - bit of an oddity, we normally assume that all records with the same name have the same 'auth' status, but they don't

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

14 years ago* Make everything aware of multiple simultaneous signing keys
Bert Hubert [Sun, 9 Jan 2011 08:58:55 +0000 (08:58 +0000)]
* Make everything aware of multiple simultaneous signing keys
        * Remove APIs that contravene this
* Rename SHA1-centric functioncalls: s/SHA1/Hash/g
* Diagnose the sillines of getSignerApexFor which rediscovers the right key
  to use..
        * no fix yet
* If no ZSKs, use active KSKs for signing (allowing single-key operation)
* Fix up signature caching which assumed keytag = key identity
* Only sign the DNSKEY RRSET with active KSKs from now on
* Make secure-zone run rectify-zone
* Remove --force from secure-zone (silly)
* Make RSASHA256 default for secure-zone

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

14 years agosilence some debugging output on ordering zone information
Bert Hubert [Sun, 9 Jan 2011 08:51:09 +0000 (08:51 +0000)]
silence some debugging output on ordering zone information

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

14 years agofix up confusing message about starting up another distributor thread
Bert Hubert [Sun, 9 Jan 2011 08:37:28 +0000 (08:37 +0000)]
fix up confusing message about starting up another distributor thread

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

14 years agoremove dependency on the boost_system libs, easing compilation on CentOS/RHEL
Bert Hubert [Sun, 9 Jan 2011 06:13:09 +0000 (06:13 +0000)]
remove dependency on the boost_system libs, easing compilation on CentOS/RHEL

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

14 years agomove document generation structure fully over to xml docbook
Bert Hubert [Sun, 9 Jan 2011 06:12:29 +0000 (06:12 +0000)]
move document generation structure fully over to xml docbook

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

14 years agomoving to prettier docbook xml output
Bert Hubert [Sat, 8 Jan 2011 13:22:04 +0000 (13:22 +0000)]
moving to prettier docbook xml output

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

14 years agomake rest of powerdns RSASHA256 aware. Works too.
Bert Hubert [Sat, 8 Jan 2011 00:54:30 +0000 (00:54 +0000)]
make rest of powerdns RSASHA256 aware. Works too.

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

14 years agounbase32hex speedup dereconversion broke everything, fixed now
Bert Hubert [Sat, 8 Jan 2011 00:53:40 +0000 (00:53 +0000)]
unbase32hex speedup dereconversion broke everything, fixed now

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

14 years agomake dnsseckeeper & dnssecinfra code, plus pdnssec, aware of non-RSASHA1 algorithms...
Bert Hubert [Fri, 7 Jan 2011 23:57:48 +0000 (23:57 +0000)]
make dnsseckeeper & dnssecinfra code, plus pdnssec, aware of non-RSASHA1 algorithms, specifically RSASHA256. Rest of PowerDNSSEC has no clue yet.

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

14 years agoalso emit DS for digest type 2 (SHA256) in pdnssec output
Bert Hubert [Fri, 7 Jan 2011 23:24:42 +0000 (23:24 +0000)]
also emit DS for digest type 2 (SHA256) in pdnssec output

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

14 years agomake sure pipe backend for now gets the 'auth' field *mostly* right
Bert Hubert [Fri, 7 Jan 2011 23:13:49 +0000 (23:13 +0000)]
make sure pipe backend for now gets the 'auth' field *mostly* right

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

14 years agomake sure we don't send back an oversized packet after adding signatures
Bert Hubert [Fri, 7 Jan 2011 22:29:36 +0000 (22:29 +0000)]
make sure we don't send back an oversized packet after adding signatures

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

14 years ago<- idiot
Bert Hubert [Fri, 7 Jan 2011 22:04:06 +0000 (22:04 +0000)]
<- idiot

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

14 years agoremove old 'guillotine' truncate functionality which should've been disabled a long...
Bert Hubert [Fri, 7 Jan 2011 20:33:04 +0000 (20:33 +0000)]
remove old 'guillotine' truncate functionality which should've been disabled a long time ago
tought the packetcache about EDNS response size
no longer cache TCP answers for UDP usage
closes ticket 200
silence some debugging

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

14 years agoremove one unneccessary layer of (un)base32hex transitions, spotted by Aki Tuomi
Bert Hubert [Fri, 7 Jan 2011 20:01:43 +0000 (20:01 +0000)]
remove one unneccessary layer of (un)base32hex transitions, spotted by Aki Tuomi

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

14 years agodon't truncate just before sending answer, plus improve logging a bit
Bert Hubert [Fri, 7 Jan 2011 13:02:37 +0000 (13:02 +0000)]
don't truncate just before sending answer, plus improve logging a bit

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

14 years agofix base32 padding issue as found by Aki Tuomi and solved by Michel Stol
Bert Hubert [Fri, 7 Jan 2011 10:32:18 +0000 (10:32 +0000)]
fix base32 padding issue as found by Aki Tuomi and solved by Michel Stol

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

14 years agoadd some operational doctrine, plus link to the wiki
Bert Hubert [Thu, 6 Jan 2011 22:00:05 +0000 (22:00 +0000)]
add some operational doctrine, plus link to the wiki

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

14 years agomore documentation, plus add importing as zsk, ksk, plus adding a zsk or ksk and...
Bert Hubert [Thu, 6 Jan 2011 21:23:07 +0000 (21:23 +0000)]
more documentation, plus add importing as zsk, ksk, plus adding a zsk or ksk and specifying bitsize

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

14 years agomake importing keys a bit more resilient against whitespace, plus fix up setting...
Bert Hubert [Thu, 6 Jan 2011 21:14:41 +0000 (21:14 +0000)]
make importing keys a bit more resilient against whitespace, plus fix up setting the flag on import

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

14 years agooops, the --config-name fix broke setups w/o a config-name
Bert Hubert [Thu, 6 Jan 2011 21:10:51 +0000 (21:10 +0000)]
oops, the --config-name fix broke setups w/o a config-name
plus add ability to import a key as ksk or zsk

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

14 years agoreport (fatal) errors better
Bert Hubert [Thu, 6 Jan 2011 21:00:01 +0000 (21:00 +0000)]
report (fatal) errors better

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

14 years agomore docs
Bert Hubert [Thu, 6 Jan 2011 20:41:19 +0000 (20:41 +0000)]
more docs

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

14 years agosuggested by Maik Zumstrull, pdnssec needs --config-name to access virtual configurat...
Bert Hubert [Thu, 6 Jan 2011 19:09:55 +0000 (19:09 +0000)]
suggested by Maik Zumstrull, pdnssec needs --config-name to access virtual configurations.

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

14 years agomake sure that we dnssec-rectify dnssec enabled zones that are slaved from a remote...
Bert Hubert [Thu, 6 Jan 2011 18:57:57 +0000 (18:57 +0000)]
make sure that we dnssec-rectify dnssec enabled zones that are slaved from a remote master. Idea by Mathew Hennessy.

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

14 years agoand like this?
Bert Hubert [Thu, 6 Jan 2011 15:58:57 +0000 (15:58 +0000)]
and like this?

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

14 years agomaybe this helps us build..
Bert Hubert [Thu, 6 Jan 2011 15:56:43 +0000 (15:56 +0000)]
maybe this helps us build..

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

14 years agomake pdnssec output useful help
Bert Hubert [Thu, 6 Jan 2011 14:52:10 +0000 (14:52 +0000)]
make pdnssec output useful help
rename order-zone to rectify-zone and make it also set the 'auth' field
plus make it clear the order field for narrow nsec3 zones

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

14 years agomake sqlite3 schema case insensitive, thanks to Peter van Dijk for telling us how
Bert Hubert [Thu, 6 Jan 2011 14:41:29 +0000 (14:41 +0000)]
make sqlite3 schema case insensitive, thanks to Peter van Dijk for telling us how

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

14 years agodisable AXFR for NSEC3 zones for now - we can do it for non-narrow mode, but we can...
Bert Hubert [Thu, 6 Jan 2011 13:23:43 +0000 (13:23 +0000)]
disable AXFR for NSEC3 zones for now - we can do it for non-narrow mode, but we can't right now, so best deny it. Previously we would serve NSEC records in an AXFR of an NSEC3 zone (sorry). Spotted by Marco Davids.

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

14 years agospotted by Wouter Wijngaards, turns out we were incrementing/decrementing already...
Bert Hubert [Thu, 6 Jan 2011 13:03:50 +0000 (13:03 +0000)]
spotted by Wouter Wijngaards, turns out we were incrementing/decrementing already base32hex encoded hashes, which works only sometimes ;-)

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

14 years agomake sure 'pdnssec' can see the ultra-vital 'random' backend too
Bert Hubert [Thu, 6 Jan 2011 12:44:49 +0000 (12:44 +0000)]
make sure 'pdnssec' can see the ultra-vital 'random' backend too

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

14 years agoThanks to Roy Arends, actually make nsec3-narrow work, enable with 'pdnssec set-nsec3...
Bert Hubert [Thu, 6 Jan 2011 12:38:31 +0000 (12:38 +0000)]
Thanks to Roy Arends, actually make nsec3-narrow work, enable with 'pdnssec set-nsec3 "1 0 1 ab" narrow'.
Another mode could be 'nsec3-narrow-empty-non-terminal', also appears to work

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

14 years agoimplement 'narrow' NSEC3 generation w/o consulting the database ordering, based on...
Bert Hubert [Thu, 6 Jan 2011 09:15:39 +0000 (09:15 +0000)]
implement 'narrow' NSEC3 generation w/o consulting the database ordering, based on an idea by Roy Arends & discussions with Dan Kaminsky.
This will probably have to be tuned further.

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

14 years agoquiet some nsec3 debugging output
Bert Hubert [Thu, 6 Jan 2011 09:13:45 +0000 (09:13 +0000)]
quiet some nsec3 debugging output

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

14 years agodon't synthesise an NSEC for NSEC3 zones when queried directly for NSEC
Bert Hubert [Tue, 4 Jan 2011 22:00:55 +0000 (22:00 +0000)]
don't synthesise an NSEC for NSEC3 zones when queried directly for NSEC

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

14 years agoOn his birthday, José Arthur Benetasso Villanova gave us initial postgresql code...
Bert Hubert [Tue, 4 Jan 2011 20:59:54 +0000 (20:59 +0000)]
On his birthday, José Arthur Benetasso Villanova gave us initial postgresql code for PowerDNSSEC! ;-)

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

14 years agowhen explicitly asking for an NSEC, we should not do a 'relative' pointer to the...
Bert Hubert [Tue, 4 Jan 2011 19:57:22 +0000 (19:57 +0000)]
when explicitly asking for an NSEC, we should not do a 'relative' pointer to the next record but an absolute one. Spotted by Marco Davids.

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

14 years agoour random may be random, but it is authoritative random!!
Bert Hubert [Tue, 4 Jan 2011 19:35:10 +0000 (19:35 +0000)]
our random may be random, but it is authoritative random!!

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

14 years agoPAY ATTENTION! from this commit onwards, generic backends will NOT perform dnssec...
Bert Hubert [Tue, 4 Jan 2011 15:09:51 +0000 (15:09 +0000)]
PAY ATTENTION! from this commit onwards, generic backends will NOT perform dnssec queries by default, you'll have to turn this on with: 'gmysql-dnssec' or 'gpgsql-dnssec' etc

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

14 years agoactually set the module-dir before we need it instead of after - spotted by Stefan...
Bert Hubert [Tue, 4 Jan 2011 12:19:09 +0000 (12:19 +0000)]
actually set the module-dir before we need it instead of after - spotted by Stefan Schmidt

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

14 years agoteach pdnssec about config-dir
Bert Hubert [Tue, 4 Jan 2011 10:12:39 +0000 (10:12 +0000)]
teach pdnssec about config-dir

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

14 years agomake pdnssec (hopefully) support dynamically loaded modules too
Bert Hubert [Tue, 4 Jan 2011 09:20:08 +0000 (09:20 +0000)]
make pdnssec (hopefully) support dynamically loaded modules too

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

14 years agomake dnssec queries configurable, patch by Stefan Schmidt. Will have to be expanded...
Bert Hubert [Tue, 4 Jan 2011 09:03:47 +0000 (09:03 +0000)]
make dnssec queries configurable, patch by Stefan Schmidt. Will have to be expanded to all the generic backends.

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

14 years agoalso include DNSKEY on a case-insensitive match.
Bert Hubert [Mon, 3 Jan 2011 20:59:25 +0000 (20:59 +0000)]
also include DNSKEY on a case-insensitive match.
Lowercase RRDATA properly for signing -> hopefully gets us 0x20 compliant

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

14 years agomake sure we stuff in synthesised DNSKEYs for an ANY query - maybe this will make...
Bert Hubert [Mon, 3 Jan 2011 20:11:40 +0000 (20:11 +0000)]
make sure we stuff in synthesised DNSKEYs for an ANY query - maybe this will make unbound happy?
next up, checking CaSiNg

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

14 years agoused a non-existent database connection in tcp backend for signing (oops)
Bert Hubert [Mon, 3 Jan 2011 11:16:22 +0000 (11:16 +0000)]
used a non-existent database connection in tcp backend for signing (oops)

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

14 years agoenable hybrid gsqlite3/bind operation where sqlite hosts keying material
Bert Hubert [Mon, 3 Jan 2011 11:03:29 +0000 (11:03 +0000)]
enable hybrid gsqlite3/bind operation where sqlite hosts keying material
no longer create 25 database connections per packet (or so)
add dirty hack to allow launch of bind backend, because the bind backend needs a dnsseckeeper and the dnsseckeeper.. needs a bind backend
removed a lot of logging

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

14 years agoadd some primitive locking to the rrsig cache, plus clarify some logging in the gener...
Bert Hubert [Sun, 2 Jan 2011 21:50:21 +0000 (21:50 +0000)]
add some primitive locking to the rrsig cache, plus clarify some logging in the generic sql backend

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

14 years agoadd the code to add the new fields to the sqlite3 sql schema
Bert Hubert [Sun, 2 Jan 2011 21:49:31 +0000 (21:49 +0000)]
add the code to add the new fields to the sqlite3 sql schema

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

14 years agomake pdnssec read the right configuration file, plus make add-zone-key add zsks
Bert Hubert [Sun, 2 Jan 2011 21:48:57 +0000 (21:48 +0000)]
make pdnssec read the right configuration file, plus make add-zone-key add zsks

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

14 years agoturns out that there is a tiny chance we crash on setting the 'programname' .. which...
Bert Hubert [Sun, 2 Jan 2011 21:32:48 +0000 (21:32 +0000)]
turns out that there is a tiny chance we crash on setting the 'programname' .. which nobody uses

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

14 years agohook up activate-domain-key, deactivate-domain-key, remove-domain-key
Bert Hubert [Sun, 2 Jan 2011 19:40:46 +0000 (19:40 +0000)]
hook up activate-domain-key, deactivate-domain-key, remove-domain-key

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

14 years agomove around a lot of stuff to isolate dnssec db connectivity
Bert Hubert [Sun, 2 Jan 2011 18:34:10 +0000 (18:34 +0000)]
move around a lot of stuff to isolate dnssec db connectivity
fix up addDomainMetadata so it doesn't keep on adding
add import-zone-key functionality to dbdnsseckeeper
remove key-repository setting from loads of places

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

14 years agomove SOA serialization code away from dnspacket into generic dns.cc file, to break...
Bert Hubert [Sun, 2 Jan 2011 18:31:38 +0000 (18:31 +0000)]
move SOA serialization code away from dnspacket into generic dns.cc file, to break dependencies for zone2sql on database functionality

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

14 years agoadd import-zone-key for interop, remove key-repository setting from pdnssec
Bert Hubert [Sun, 2 Jan 2011 18:30:37 +0000 (18:30 +0000)]
add import-zone-key for interop, remove key-repository setting from pdnssec

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

14 years agopare down zone2sql/zone2ldap dependencies so they don't depend on a working database...
Bert Hubert [Sun, 2 Jan 2011 18:28:55 +0000 (18:28 +0000)]
pare down zone2sql/zone2ldap dependencies so they don't depend on a working database connection
remove key-repository setting from bind backend

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

14 years agosome helpful migration sql statements - still quite brief
Bert Hubert [Sat, 1 Jan 2011 21:25:20 +0000 (21:25 +0000)]
some helpful migration sql statements - still quite brief

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

14 years agomove some more stuff to the 'infra' and away from the 'keeper'
Bert Hubert [Sat, 1 Jan 2011 21:23:18 +0000 (21:23 +0000)]
move some more stuff to the 'infra' and away from the 'keeper'

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

14 years agobye bye directory based dnssec key repo
Bert Hubert [Sat, 1 Jan 2011 21:22:17 +0000 (21:22 +0000)]
bye bye directory based dnssec key repo

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

14 years agodon't crash if the dnsseckeeper returns unexpected results
Bert Hubert [Sat, 1 Jan 2011 21:21:30 +0000 (21:21 +0000)]
don't crash if the dnsseckeeper returns unexpected results

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

14 years agoactually compile the dbdnsseckeeper into the binaries
Bert Hubert [Sat, 1 Jan 2011 21:20:18 +0000 (21:20 +0000)]
actually compile the dbdnsseckeeper into the binaries

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

14 years agohook up the dbdnsseckeeper to everything, implement (most) methods in the generic...
Bert Hubert [Sat, 1 Jan 2011 21:19:02 +0000 (21:19 +0000)]
hook up the dbdnsseckeeper to everything, implement (most) methods in the generic backend

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

14 years agoenable sqlite3 as a dnssec backend - especially useful as key storage for the BIND...
Bert Hubert [Sat, 1 Jan 2011 20:26:46 +0000 (20:26 +0000)]
enable sqlite3 as a dnssec backend - especially useful as key storage for the BIND backend

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

14 years agoin preparation for database storage of keys, move out some infrastructure code from...
Bert Hubert [Fri, 31 Dec 2010 13:39:12 +0000 (13:39 +0000)]
in preparation for database storage of keys, move out some infrastructure code from the fsdnsseckeeper to dnssecinfra

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

14 years agorepair some tabdamage
Bert Hubert [Fri, 31 Dec 2010 13:31:39 +0000 (13:31 +0000)]
repair some tabdamage

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

14 years agofix up export-zone-key so that we set the algorithm field correctly
Bert Hubert [Thu, 30 Dec 2010 21:45:44 +0000 (21:45 +0000)]
fix up export-zone-key so that we set the algorithm field correctly

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

14 years agodefault init last_changed in dnsresource records, finally shutting up loads of valgri...
Bert Hubert [Thu, 30 Dec 2010 21:22:52 +0000 (21:22 +0000)]
default init last_changed in dnsresource records, finally shutting up loads of valgrind warnings

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

14 years agoalso fix up the signing of the SOA in noerror responses
Bert Hubert [Thu, 30 Dec 2010 21:22:18 +0000 (21:22 +0000)]
also fix up the signing of the SOA in noerror responses

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

14 years agostop bind backend from crashing on domains that are not found, plus fix up canonical...
Bert Hubert [Thu, 30 Dec 2010 21:20:06 +0000 (21:20 +0000)]
stop bind backend from crashing on domains that are not found, plus fix up canonical ordering issues

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

14 years agospruce up 'show-zone' output, add 'set-nsec3', 'unset-nsec3', 'export-zone-key',...
Bert Hubert [Thu, 30 Dec 2010 19:52:51 +0000 (19:52 +0000)]
spruce up 'show-zone' output, add 'set-nsec3', 'unset-nsec3', 'export-zone-key', 'export-zone-dnskey' (for interop), remove storage of DNSKEY in key-repo, derive it from private key if needed

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

14 years agomark bind supermaster code as 'experimental'
Bert Hubert [Thu, 30 Dec 2010 14:48:23 +0000 (14:48 +0000)]
mark bind supermaster code as 'experimental'

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

14 years agoclone-zone got inception and expiration wrong, plus teach it to grab the correct key
Bert Hubert [Thu, 30 Dec 2010 14:47:58 +0000 (14:47 +0000)]
clone-zone got inception and expiration wrong, plus teach it to grab the correct key

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

14 years agobindbackend can now do nsec3, gets at least some records right ;-)
Bert Hubert [Thu, 30 Dec 2010 14:41:17 +0000 (14:41 +0000)]
bindbackend can now do nsec3, gets at least some records right ;-)

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

14 years agore-enable order-zone, make it nsec/nsec3 aware dnsseckeeper
Bert Hubert [Thu, 30 Dec 2010 14:40:40 +0000 (14:40 +0000)]
re-enable order-zone, make it nsec/nsec3 aware dnsseckeeper

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

14 years agosilence some debugging output, clarify some comments
Bert Hubert [Thu, 30 Dec 2010 14:39:47 +0000 (14:39 +0000)]
silence some debugging output, clarify some comments

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

14 years agolowercase the nsec3 output (hurts the eyes less, plus identical to nsd), plus fix...
Bert Hubert [Thu, 30 Dec 2010 14:39:10 +0000 (14:39 +0000)]
lowercase the nsec3 output (hurts the eyes less, plus identical to nsd), plus fix another case of 'sometimes insigned SOA')

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

14 years agoour 'throttle' code would do one final 'throttle' long after the time limit had expir...
Bert Hubert [Wed, 29 Dec 2010 08:58:54 +0000 (08:58 +0000)]
our 'throttle' code would do one final 'throttle' long after the time limit had expired + make our throttling on timeouts a bit less aggressive

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

14 years agomake sure zone2sql and zone2ldap know about the new dnssec file naming too
Bert Hubert [Tue, 28 Dec 2010 14:13:34 +0000 (14:13 +0000)]
make sure zone2sql and zone2ldap know about the new dnssec file naming too

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

14 years agotesting scripts
Bert Hubert [Tue, 28 Dec 2010 14:08:08 +0000 (14:08 +0000)]
testing scripts

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

14 years agofix up (not) signing SOA queries every once in a while, plus caching DNSSEC answers...
Bert Hubert [Mon, 27 Dec 2010 21:53:37 +0000 (21:53 +0000)]
fix up (not) signing SOA queries every once in a while, plus caching DNSSEC answers for non-DNSSEC questions during TCP operations

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

14 years agointerim commit to get it out of the way
Bert Hubert [Mon, 27 Dec 2010 21:01:55 +0000 (21:01 +0000)]
interim commit to get it out of the way

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

14 years agowith this commit, ldns-signzone+nsd and 'drill -t axfr' on powerdns and nsd delivers...
Bert Hubert [Mon, 27 Dec 2010 20:55:18 +0000 (20:55 +0000)]
with this commit, ldns-signzone+nsd and 'drill -t axfr' on powerdns and nsd delivers identical results for an NSEC zone!

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

14 years agoalign our key storage naming with the excellent ldns/nsd/unbound tools, which also...
Bert Hubert [Mon, 27 Dec 2010 19:25:04 +0000 (19:25 +0000)]
align our key storage naming with the excellent ldns/nsd/unbound tools, which also found a few bugs in our storage

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

14 years agofix up pdns_server for new key api
Bert Hubert [Mon, 27 Dec 2010 15:57:34 +0000 (15:57 +0000)]
fix up pdns_server for new key api

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

14 years agothis implies that there will be more dnsseckeepers - database backed for example
Bert Hubert [Mon, 27 Dec 2010 15:57:14 +0000 (15:57 +0000)]
this implies that there will be more dnsseckeepers - database backed for example

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

14 years agomove to mature key management (unified zsks, proper ids, active, inactive)
Bert Hubert [Mon, 27 Dec 2010 15:56:20 +0000 (15:56 +0000)]
move to mature key management (unified zsks, proper ids, active, inactive)

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

14 years agoKevin discovered a typo in the docs, thanks ;-)
Bert Hubert [Wed, 22 Dec 2010 09:31:38 +0000 (09:31 +0000)]
Kevin discovered a typo in the docs, thanks ;-)

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