]> granicus.if.org Git - pdns/log
pdns
10 years agorebase to HEAD
Mark Zealey [Wed, 4 Dec 2013 13:51:41 +0000 (15:51 +0200)]
rebase to HEAD

10 years agofixes PowerDNS/pdns#650
Mark Zealey [Mon, 2 Dec 2013 08:57:42 +0000 (10:57 +0200)]
fixes PowerDNS/pdns#650

The attached patch changes the distributor code in the following ways:

1) Remove (as far as i can see) unused functions which allow for the fetching of the answer from an answers queue. I struggle to understand why this would ever be useful compared to having a callback; it also reduces code complexity and removes some locks. Also allows (2):
2) Split into 3 classes - the new ones being SingleThreadDistributor and MultiThreadDistributor - removes some of the conditional statements. It also means that in distributor-threads=1 mode, NO additional distributor threads are forked (unlike the existing code), and the class will also use less memory and generally be more efficient.

This has been tested in that the pdns server starts up and answers questions correctly in both modes, it's more of an RFC attempt to clean up the code a bit.

10 years agoMerge pull request #1126 from mind04/libcurl
Peter van Dijk [Fri, 29 Nov 2013 07:31:27 +0000 (23:31 -0800)]
Merge pull request #1126 from mind04/libcurl

remotebackend libcurl linking

10 years agoremotebackend libcurl linking
Kees Monshouwer [Thu, 28 Nov 2013 21:01:53 +0000 (22:01 +0100)]
remotebackend libcurl linking

10 years agomake luabackend respect LUA_LIBS instead of forcing -llua5.1
Peter van Dijk [Fri, 29 Nov 2013 07:20:11 +0000 (08:20 +0100)]
make luabackend respect LUA_LIBS instead of forcing -llua5.1

10 years agore-fix compilation for new polarssl
Peter van Dijk [Fri, 29 Nov 2013 07:00:21 +0000 (08:00 +0100)]
re-fix compilation for new polarssl

10 years agofix lua 5.2 version check in luabackend
Peter van Dijk [Fri, 29 Nov 2013 06:39:47 +0000 (07:39 +0100)]
fix lua 5.2 version check in luabackend

10 years agosend +CD in recursive nsec3dig, requested by Marco Davids
Peter van Dijk [Thu, 28 Nov 2013 12:54:06 +0000 (13:54 +0100)]
send +CD in recursive nsec3dig, requested by Marco Davids

10 years agoMerge pull request #1123 from mind04/coverity
Peter van Dijk [Thu, 28 Nov 2013 08:54:00 +0000 (00:54 -0800)]
Merge pull request #1123 from mind04/coverity

some by coverity inspired cleanup

10 years agocleanup hmac calculation functions
Kees Monshouwer [Thu, 28 Nov 2013 07:56:06 +0000 (08:56 +0100)]
cleanup hmac calculation functions

10 years agoremove some unused variables from gsqlbackend
Kees Monshouwer [Thu, 28 Nov 2013 07:49:04 +0000 (08:49 +0100)]
remove some unused variables from gsqlbackend

10 years agoMerge pull request #1121 from mind04/windows
Peter van Dijk [Mon, 25 Nov 2013 15:15:23 +0000 (07:15 -0800)]
Merge pull request #1121 from mind04/windows

drop another windows chapter

10 years agodrop another windows chapter
Kees Monshouwer [Mon, 25 Nov 2013 15:01:40 +0000 (10:01 -0500)]
drop another windows chapter

10 years agoto avoid broken refs, reinstate windows chapter
Peter van Dijk [Mon, 25 Nov 2013 13:03:42 +0000 (14:03 +0100)]
to avoid broken refs, reinstate windows chapter

10 years agoMerge commit '2f6e0c95cdcda9124151712aca3a369f3abee237'
Peter van Dijk [Mon, 25 Nov 2013 12:35:42 +0000 (13:35 +0100)]
Merge commit '2f6e0c95cdcda9124151712aca3a369f3abee237'
(merge 3/4rds of mind04/tests, closing #1118)

10 years agodrop windows chapter
Peter van Dijk [Mon, 25 Nov 2013 12:33:58 +0000 (13:33 +0100)]
drop windows chapter

10 years agoMerge pull request #1116 from mind04/mysql-character-set
Peter van Dijk [Mon, 25 Nov 2013 12:30:41 +0000 (04:30 -0800)]
Merge pull request #1116 from mind04/mysql-character-set

autodetect MySQL 5.5+ connection charset

10 years agoupdate .gitignore
Kees Monshouwer [Sun, 24 Nov 2013 18:38:23 +0000 (13:38 -0500)]
update .gitignore

10 years agofix 1dyndns-update-add-invalid-record test for recent perl-Net-DNS
mind04 [Sun, 24 Nov 2013 14:35:21 +0000 (09:35 -0500)]
fix 1dyndns-update-add-invalid-record test for recent perl-Net-DNS

10 years agoadd SPF record to test.com and make recent named-checkzone happy
mind04 [Sun, 24 Nov 2013 11:34:00 +0000 (06:34 -0500)]
add SPF record to test.com and make recent named-checkzone happy

10 years agoautodetect MySQL 5.5+ connection charset
Kees Monshouwer [Sat, 23 Nov 2013 11:42:16 +0000 (12:42 +0100)]
autodetect MySQL 5.5+ connection charset

11 years agoMerge pull request #1110 from mind04/whitespace
Peter van Dijk [Fri, 22 Nov 2013 08:38:21 +0000 (00:38 -0800)]
Merge pull request #1110 from mind04/whitespace

whitespace and 'both' tests

11 years agoMerge pull request #1113 from mind04/yahttp
Peter van Dijk [Fri, 22 Nov 2013 08:37:39 +0000 (00:37 -0800)]
Merge pull request #1113 from mind04/yahttp

yahttp parameter fix and webserver input validation

11 years agoalso add bindparser.h to bindbackend BUILT_SOURCES
Peter van Dijk [Thu, 21 Nov 2013 18:07:41 +0000 (19:07 +0100)]
also add bindparser.h to bindbackend BUILT_SOURCES

11 years agovalidate webserver parameters
Kees Monshouwer [Wed, 20 Nov 2013 19:54:10 +0000 (20:54 +0100)]
validate webserver parameters

11 years agofix parameter parsing in yahttp
Kees Monshouwer [Wed, 20 Nov 2013 18:48:19 +0000 (19:48 +0100)]
fix parameter parsing in yahttp

11 years agodocs are read only
Kees Monshouwer [Tue, 19 Nov 2013 13:50:08 +0000 (14:50 +0100)]
docs are read only

11 years agofix RETVAL for 'both' tests
Kees Monshouwer [Tue, 19 Nov 2013 12:01:03 +0000 (13:01 +0100)]
fix RETVAL for 'both' tests
don't overwrite first RETVAL in second run

11 years agofix bindparser reduce conflicts
Stefan Bühler [Mon, 18 Nov 2013 19:04:25 +0000 (20:04 +0100)]
fix bindparser reduce conflicts

resolve reduce conflicts to what yacc defaulted to:

  * 'root_command' included 'command' directly and through
    'options_command' and 'zone_command'; separate option/zone commands
    for global usage, which don't include 'command' anymore.
  * 'command' included 'also_notify' and 'zone_also_notify'; yacc resolved
    conflict by defaulting to 'also_notify'; removed 'zone_also_notify'
    from global zone commands.

11 years agofix bindbackend build with new automake versions
Stefan Bühler [Tue, 19 Nov 2013 11:50:18 +0000 (12:50 +0100)]
fix bindbackend build with new automake versions

  new automake versions generate .hh from .yy with yacc,
  older versions generate .h

  copy the .hh -> .h rule from pdns/Makefile.am

11 years agowhitespace fixes
Kees Monshouwer [Tue, 19 Nov 2013 08:13:02 +0000 (09:13 +0100)]
whitespace fixes

11 years agoMerge pull request #1086 from cmouse/use-axfr-source-freshness
Peter van Dijk [Tue, 19 Nov 2013 07:32:29 +0000 (23:32 -0800)]
Merge pull request #1086 from cmouse/use-axfr-source-freshness

Load AXFR-SOURCE when provided for domains

11 years agofix bindparser h/hh hack, thanks @stbuehler
Peter van Dijk [Mon, 18 Nov 2013 18:09:57 +0000 (19:09 +0100)]
fix bindparser h/hh hack, thanks @stbuehler

11 years agoWhitespace fix
Aki Tuomi [Mon, 18 Nov 2013 17:43:58 +0000 (19:43 +0200)]
Whitespace fix

11 years agoRemove +e/-e
Aki Tuomi [Fri, 15 Nov 2013 08:23:56 +0000 (10:23 +0200)]
Remove +e/-e

11 years agoFixed indentation
Aki Tuomi [Tue, 12 Nov 2013 19:40:30 +0000 (21:40 +0200)]
Fixed indentation

11 years agoEnclosed lua check with set +e
Aki Tuomi [Tue, 12 Nov 2013 19:39:08 +0000 (21:39 +0200)]
Enclosed lua check with set +e

11 years agoFixed few nits
Aki Tuomi [Thu, 14 Nov 2013 19:43:34 +0000 (21:43 +0200)]
Fixed few nits

11 years agoLoad AXFR-SOURCE when provided for domains
Aki Tuomi [Wed, 30 Oct 2013 12:16:04 +0000 (14:16 +0200)]
Load AXFR-SOURCE when provided for domains

11 years agoMerge pull request #1109 from mind04/not-referenced
Peter van Dijk [Mon, 18 Nov 2013 14:34:57 +0000 (06:34 -0800)]
Merge pull request #1109 from mind04/not-referenced

remove unreferenced files from source tree

11 years agoMerge pull request #1108 from mind04/no-dnssec-tests
Peter van Dijk [Mon, 18 Nov 2013 10:39:00 +0000 (02:39 -0800)]
Merge pull request #1108 from mind04/no-dnssec-tests

disable dnssec-only tools during non-dnssec test runs

11 years agoremove unreferenced files from source tree
Kees Monshouwer [Sun, 17 Nov 2013 19:36:23 +0000 (20:36 +0100)]
remove unreferenced files from source tree
for FILE in $(git ls-files pdns/*); do
    git grep $(basename "$FILE") > /dev/null || echo "would remove $FILE"
done

11 years agoremove deactive zsk in tests / remove unused bind-dnssec-setup file
Kees Monshouwer [Sat, 16 Nov 2013 22:24:54 +0000 (23:24 +0100)]
remove deactive zsk in tests / remove unused bind-dnssec-setup file

11 years agoonly add ksk DNSKEY records to trustedkeys
Kees Monshouwer [Sat, 16 Nov 2013 22:04:18 +0000 (23:04 +0100)]
only add ksk DNSKEY records to trustedkeys

11 years agodisable dnssec-only tools during non-dnssec tests
Kees Monshouwer [Sat, 16 Nov 2013 21:35:06 +0000 (22:35 +0100)]
disable dnssec-only tools during non-dnssec tests

11 years agoMerge branch 'master' of https://github.com/i-maravic/pdns into i-maravic-master
Peter van Dijk [Fri, 15 Nov 2013 09:00:26 +0000 (10:00 +0100)]
Merge branch 'master' of https://github.com/i-maravic/pdns into i-maravic-master

11 years agoMerge pull request #1106 from mind04/cleanup
Peter van Dijk [Thu, 14 Nov 2013 15:13:03 +0000 (07:13 -0800)]
Merge pull request #1106 from mind04/cleanup

Cleanup

11 years agoMerge pull request #1105 from mind04/movesql
Peter van Dijk [Thu, 14 Nov 2013 15:09:37 +0000 (07:09 -0800)]
Merge pull request #1105 from mind04/movesql

move mysql/pgsql/sqlite3 .sql files to backend directories

11 years agoremove long gone tools from pdns/Makefile.am
Kees Monshouwer [Wed, 13 Nov 2013 10:38:37 +0000 (11:38 +0100)]
remove long gone tools from pdns/Makefile.am

11 years agoremove PowerDHCP? files
Kees Monshouwer [Wed, 13 Nov 2013 10:26:47 +0000 (11:26 +0100)]
remove PowerDHCP? files

11 years agomove mysql/pgsql/sqlite3 .sql files to backend directories
Kees Monshouwer [Wed, 13 Nov 2013 09:01:12 +0000 (10:01 +0100)]
move mysql/pgsql/sqlite3 .sql files to backend directories

11 years agoMerge pull request #1104 from mind04/pdnssec
Peter van Dijk [Thu, 14 Nov 2013 14:04:39 +0000 (06:04 -0800)]
Merge pull request #1104 from mind04/pdnssec

pdnssec check-zone, fix DNSKEY checks

11 years agoMerge pull request #1098 from zeha/fix-1097
Peter van Dijk [Thu, 14 Nov 2013 13:59:54 +0000 (05:59 -0800)]
Merge pull request #1098 from zeha/fix-1097

Fix docs for export-etc-hosts-search-suffix

11 years agopdnssec check-zone, fix DNSKEY checks
Kees Monshouwer [Wed, 13 Nov 2013 22:26:06 +0000 (23:26 +0100)]
pdnssec check-zone, fix DNSKEY checks

11 years agouse QClassEnum for qclass values
Kees Monshouwer [Tue, 12 Nov 2013 20:25:49 +0000 (21:25 +0100)]
use QClassEnum for qclass values

11 years agoremove stamp-h.in file
Kees Monshouwer [Wed, 13 Nov 2013 08:26:46 +0000 (09:26 +0100)]
remove stamp-h.in file

11 years agodisarm debug output
Kees Monshouwer [Sun, 10 Nov 2013 21:27:26 +0000 (22:27 +0100)]
disarm debug output

11 years agoremove updateDNSSECOrderAndAuthAbsolute from bind backend
Kees Monshouwer [Sun, 10 Nov 2013 21:09:55 +0000 (22:09 +0100)]
remove updateDNSSECOrderAndAuthAbsolute from bind backend

11 years agocode cleanup gmysqlbackend
Kees Monshouwer [Sun, 10 Nov 2013 20:14:23 +0000 (21:14 +0100)]
code cleanup gmysqlbackend

11 years agoremove old TODO file from bindbackend
Kees Monshouwer [Sun, 10 Nov 2013 19:37:55 +0000 (20:37 +0100)]
remove old TODO file from bindbackend

11 years agoremove ancient INSTALL file from gmysqlbackend
Kees Monshouwer [Sun, 10 Nov 2013 19:25:23 +0000 (20:25 +0100)]
remove ancient INSTALL file from gmysqlbackend

11 years agoFix docs for export-etc-hosts-search-suffix
Christian Hofstaedtler [Tue, 12 Nov 2013 18:48:58 +0000 (19:48 +0100)]
Fix docs for export-etc-hosts-search-suffix

Fixes #1097

11 years agofix CHAOS TXT registration for recursor (making version.bind work)
Peter van Dijk [Tue, 12 Nov 2013 10:25:37 +0000 (11:25 +0100)]
fix CHAOS TXT registration for recursor (making version.bind work)

11 years agoremove useless cast; limit udp-truncation-threshold to 512 for non-EDNS UDP queries
Peter van Dijk [Thu, 7 Nov 2013 13:45:16 +0000 (14:45 +0100)]
remove useless cast; limit udp-truncation-threshold to 512 for non-EDNS UDP queries

11 years agoavoid uninitialised res variable; don't cache any-to-tcp TC responses; ignore EDNS...
Peter van Dijk [Thu, 7 Nov 2013 13:24:30 +0000 (14:24 +0100)]
avoid uninitialised res variable; don't cache any-to-tcp TC responses; ignore EDNS bufsize on TCP; also apply udp-truncation-threshold to non-EDNS questions

11 years agoadapt udp-truncation-threshold flag to the recursor and document it
Peter van Dijk [Tue, 5 Nov 2013 13:28:06 +0000 (14:28 +0100)]
adapt udp-truncation-threshold flag to the recursor and document it

11 years agomove variable definitions up to allow goto
Peter van Dijk [Tue, 5 Nov 2013 13:02:59 +0000 (14:02 +0100)]
move variable definitions up to allow goto

11 years agoadopt any-to-tcp feature to the recursor. Based on a patch by Winfried Angele. Closes...
Peter van Dijk [Tue, 5 Nov 2013 12:53:02 +0000 (13:53 +0100)]
adopt any-to-tcp feature to the recursor. Based on a patch by Winfried Angele. Closes #836

11 years agoMerge pull request #1096 from zeha/new-urls-auth
Peter van Dijk [Tue, 5 Nov 2013 11:06:42 +0000 (03:06 -0800)]
Merge pull request #1096 from zeha/new-urls-auth

Rework webserver implementation in Auth

11 years agoswitch to yahttp in auth
Christian Hofstaedtler [Mon, 21 Oct 2013 19:24:26 +0000 (21:24 +0200)]
switch to yahttp in auth

A bit more intrusive than needed, but now everybody has a HttpResponse
object.

11 years agolink in yahttp
Christian Hofstaedtler [Mon, 21 Oct 2013 19:23:59 +0000 (21:23 +0200)]
link in yahttp

11 years agoImport Aki Tuomi's yahttp
Christian Hofstaedtler [Mon, 21 Oct 2013 19:23:24 +0000 (21:23 +0200)]
Import Aki Tuomi's yahttp

11 years agowebserver: first batch of new API URLs
Christian Hofstaedtler [Sun, 20 Oct 2013 16:34:44 +0000 (18:34 +0200)]
webserver: first batch of new API URLs

Note that return data is still in old format.

11 years agowebserver: bundle all request data into class HttpRequest
Christian Hofstaedtler [Sun, 20 Oct 2013 16:01:40 +0000 (18:01 +0200)]
webserver: bundle all request data into class HttpRequest

Now, pathArgs could actually be used by handlers.

11 years agowebserver: drop d_that
Christian Hofstaedtler [Sun, 20 Oct 2013 15:06:05 +0000 (17:06 +0200)]
webserver: drop d_that

11 years agowebserver: add URL router with support for <vars>
Christian Hofstaedtler [Sun, 20 Oct 2013 14:11:19 +0000 (16:11 +0200)]
webserver: add URL router with support for <vars>

11 years agoMerge pull request #1094 from zeha/correct-overloading
Peter van Dijk [Tue, 5 Nov 2013 09:28:24 +0000 (01:28 -0800)]
Merge pull request #1094 from zeha/correct-overloading

correct overloading of feedRecord

11 years agoMerge pull request #1095 from zeha/lang-nits
Peter van Dijk [Tue, 5 Nov 2013 09:16:46 +0000 (01:16 -0800)]
Merge pull request #1095 from zeha/lang-nits

Language nits

11 years agoLanguage nits
Christian Hofstaedtler [Mon, 21 Oct 2013 08:39:23 +0000 (10:39 +0200)]
Language nits

11 years agocorrect overloading of feedRecord
Christian Hofstaedtler [Sun, 20 Oct 2013 22:55:16 +0000 (00:55 +0200)]
correct overloading of feedRecord

G++ 4.8 does not warn about this, but clearly an overload with the
wrong signature will not work when called through a base class pointer.
(clang++ 3.3 produces a diagnostic.)

11 years agoMerge pull request #1093 from zeha/restore-bindparser-h
Peter van Dijk [Tue, 5 Nov 2013 09:02:55 +0000 (01:02 -0800)]
Merge pull request #1093 from zeha/restore-bindparser-h

Restore bindparser.(h|hh) hack for newer autotools

11 years agoRestore bindparser.(h|hh) hack for newer autotools
Christian Hofstaedtler [Tue, 5 Nov 2013 08:23:27 +0000 (09:23 +0100)]
Restore bindparser.(h|hh) hack for newer autotools

11 years agoMerge pull request #1090 from cmouse/fix-pdnssec-tsig-commands
Peter van Dijk [Mon, 4 Nov 2013 12:47:35 +0000 (04:47 -0800)]
Merge pull request #1090 from cmouse/fix-pdnssec-tsig-commands

Fix pdnssec tsig commands

11 years agoactually truncate packet when setting TC, closes #1092
Peter van Dijk [Mon, 4 Nov 2013 12:44:05 +0000 (13:44 +0100)]
actually truncate packet when setting TC, closes #1092

11 years agoclarify
Peter van Dijk [Mon, 4 Nov 2013 12:29:33 +0000 (13:29 +0100)]
clarify

11 years agoMerge pull request #1091 from cmouse/pdnssec-meta-docs
Peter van Dijk [Mon, 4 Nov 2013 09:42:20 +0000 (01:42 -0800)]
Merge pull request #1091 from cmouse/pdnssec-meta-docs

Meta docs update

11 years agoMeta docs update
Aki Tuomi [Mon, 4 Nov 2013 09:39:53 +0000 (11:39 +0200)]
Meta docs update

11 years agoUpdate documentation
Aki Tuomi [Mon, 4 Nov 2013 09:33:58 +0000 (11:33 +0200)]
Update documentation

11 years agoFix typo on deactivate-tsig-key
Aki Tuomi [Mon, 4 Nov 2013 07:40:56 +0000 (09:40 +0200)]
Fix typo on deactivate-tsig-key

11 years agoFix names elsewhere too
Aki Tuomi [Mon, 4 Nov 2013 07:40:12 +0000 (09:40 +0200)]
Fix names elsewhere too

11 years agoChange enable-tsig-key to activate-tsig-key
Aki Tuomi [Mon, 4 Nov 2013 07:20:27 +0000 (09:20 +0200)]
Change enable-tsig-key to activate-tsig-key

11 years agoRename tsig management commands for consistency
Aki Tuomi [Mon, 4 Nov 2013 07:20:14 +0000 (09:20 +0200)]
Rename tsig management commands for consistency

11 years agoMerge pull request #1062 from jhcloos/inet
Peter van Dijk [Mon, 4 Nov 2013 08:23:10 +0000 (00:23 -0800)]
Merge pull request #1062 from jhcloos/inet

Use the inet data type for supermasters.ip on postgrsql.

11 years agoMerge pull request #1080 from mind04/bind3
Peter van Dijk [Mon, 4 Nov 2013 08:13:47 +0000 (00:13 -0800)]
Merge pull request #1080 from mind04/bind3

Bind backend is now a real module

11 years agofix tinydns generate-data.sh
Peter van Dijk [Mon, 4 Nov 2013 07:22:54 +0000 (08:22 +0100)]
fix tinydns generate-data.sh

11 years agoMerge pull request #1089 from cmouse/pdnssec-meta
Peter van Dijk [Mon, 4 Nov 2013 07:14:50 +0000 (23:14 -0800)]
Merge pull request #1089 from cmouse/pdnssec-meta

Pdnssec meta

11 years agoAdd missing metas, sort alphabetically
Aki Tuomi [Fri, 1 Nov 2013 21:28:10 +0000 (23:28 +0200)]
Add missing metas, sort alphabetically

11 years agoFix usage to match reality
Aki Tuomi [Fri, 1 Nov 2013 21:23:38 +0000 (23:23 +0200)]
Fix usage to match reality

11 years agoWrite all meta values instead of just first one
Aki Tuomi [Fri, 1 Nov 2013 21:19:51 +0000 (23:19 +0200)]
Write all meta values instead of just first one

11 years agoImplement get-meta/set-meta, also change \n to endl
Aki Tuomi [Fri, 1 Nov 2013 21:19:34 +0000 (23:19 +0200)]
Implement get-meta/set-meta, also change \n to endl