]> granicus.if.org Git - pdns/log
pdns
10 years agoUpdate luabackend.hh
RvdE [Sat, 1 Feb 2014 12:33:07 +0000 (13:33 +0100)]
Update luabackend.hh

time_t is int on i386, so only declare the overload for time_t on 64bit

10 years agoMerge pull request #1250 from ion1/master
Peter van Dijk [Thu, 30 Jan 2014 14:11:34 +0000 (06:11 -0800)]
Merge pull request #1250 from ion1/master

pdnssec -v show-zone: Print all keys

10 years agopdnssec: The comment is a lie
Johan Kiviniemi [Thu, 30 Jan 2014 14:07:25 +0000 (16:07 +0200)]
pdnssec: The comment is a lie

10 years agopdnssec -v show-zone: Print all keys
Johan Kiviniemi [Thu, 30 Jan 2014 12:47:28 +0000 (14:47 +0200)]
pdnssec -v show-zone: Print all keys

10 years agoMerge pull request #1248 from zeha/f/ws
Peter van Dijk [Wed, 29 Jan 2014 08:40:42 +0000 (00:40 -0800)]
Merge pull request #1248 from zeha/f/ws

Auth. Webserver Updates

10 years agoregression-tests.api: Refactor zone tests
Christian Hofstaedtler [Wed, 29 Jan 2014 00:20:41 +0000 (01:20 +0100)]
regression-tests.api: Refactor zone tests

Adds a create_zone helper method, to keep down the repetition.

10 years agowebserver: add PATCH /../zones/<id>/rrset
Christian Hofstaedtler [Tue, 28 Jan 2014 21:25:59 +0000 (22:25 +0100)]
webserver: add PATCH /../zones/<id>/rrset

(And drop the old /jsonstat code for this.)

10 years agowebserver: implement statistics, fix config
Christian Hofstaedtler [Tue, 28 Jan 2014 21:02:25 +0000 (22:02 +0100)]
webserver: implement statistics, fix config

Per the specification.

10 years agowebserver: drop codepaths from /jsonstat
Christian Hofstaedtler [Tue, 28 Jan 2014 20:28:04 +0000 (21:28 +0100)]
webserver: drop codepaths from /jsonstat

10 years agowebserver: add DELETE /../zones/<id>
Christian Hofstaedtler [Tue, 28 Jan 2014 20:27:51 +0000 (21:27 +0100)]
webserver: add DELETE /../zones/<id>

10 years agowebserver: send 422 when request was incomplete
Christian Hofstaedtler [Tue, 28 Jan 2014 20:10:19 +0000 (21:10 +0100)]
webserver: send 422 when request was incomplete

10 years agoyahttp: fix empty body for !POST requests
Christian Hofstaedtler [Tue, 28 Jan 2014 20:06:42 +0000 (21:06 +0100)]
yahttp: fix empty body for !POST requests

10 years agowebserver: document that URL registration order matters
Christian Hofstaedtler [Tue, 28 Jan 2014 13:46:26 +0000 (14:46 +0100)]
webserver: document that URL registration order matters

While at it, cleanup ordering of routes. Doesn't actually matter for
the existing routes.

10 years agowebserver: implement POST /../zones/<id>
Christian Hofstaedtler [Tue, 28 Jan 2014 09:26:07 +0000 (10:26 +0100)]
webserver: implement POST /../zones/<id>

Unify master/masters to masters on the way.

10 years agoMerge pull request #1245 from cmouse/dnsrecords-test-for-root-mx-srv
Peter van Dijk [Tue, 28 Jan 2014 18:13:11 +0000 (10:13 -0800)]
Merge pull request #1245 from cmouse/dnsrecords-test-for-root-mx-srv

Add test for MX and SRV record for dot

10 years agoMerge pull request #1246 from zeha/fix-bindbackend-axfr-segfault
Peter van Dijk [Tue, 28 Jan 2014 18:11:47 +0000 (10:11 -0800)]
Merge pull request #1246 from zeha/fix-bindbackend-axfr-segfault

Fix segfault in BindBackend on broken AXFR

10 years agoFix segfault in BindBackend on broken AXFR
Christian Hofstaedtler [Tue, 28 Jan 2014 12:32:36 +0000 (13:32 +0100)]
Fix segfault in BindBackend on broken AXFR

When an AXFR would abort before beginning a transaction, bindbackend
would crash.

10 years agoAdd test for MX and SRV record for dot
Aki Tuomi [Tue, 28 Jan 2014 12:32:21 +0000 (14:32 +0200)]
Add test for MX and SRV record for dot

10 years agoMerge pull request #1240 from cmouse/fix-include-dir-nonstatic
Peter van Dijk [Tue, 28 Jan 2014 10:22:53 +0000 (02:22 -0800)]
Merge pull request #1240 from cmouse/fix-include-dir-nonstatic

Use stringstream and string instead of PATH_MAX

10 years agoUse stringstream and string instead of PATH_MAX
Aki Tuomi [Tue, 28 Jan 2014 09:44:02 +0000 (11:44 +0200)]
Use stringstream and string instead of PATH_MAX

10 years agowebserver: make unsigned zones work with dnssec=on
Christian Hofstaedtler [Tue, 28 Jan 2014 09:10:56 +0000 (10:10 +0100)]
webserver: make unsigned zones work with dnssec=on

10 years agows.cc: indent fix
Christian Hofstaedtler [Tue, 28 Jan 2014 08:51:23 +0000 (09:51 +0100)]
ws.cc: indent fix

10 years agowebserver: add (failing) test: zone create with slash
Christian Hofstaedtler [Tue, 28 Jan 2014 08:43:37 +0000 (09:43 +0100)]
webserver: add (failing) test: zone create with slash

10 years agowebserver: add GET /servers/localhost/zones/<id>
Christian Hofstaedtler [Tue, 28 Jan 2014 00:03:54 +0000 (01:03 +0100)]
webserver: add GET /servers/localhost/zones/<id>

10 years agowebserver: fix zone list to not have a root element
Christian Hofstaedtler [Tue, 28 Jan 2014 00:03:25 +0000 (01:03 +0100)]
webserver: fix zone list to not have a root element

Per the specification.

10 years agowebserver: add id and url fields to zones
Christian Hofstaedtler [Tue, 28 Jan 2014 00:03:04 +0000 (01:03 +0100)]
webserver: add id and url fields to zones

'url': Per the specification.
'id': web-safe lookup key for zones. Not implemented correctly yet,
and the specification is lacking a description.

10 years agoMerge pull request #1238 from zeha/f/ws
Peter van Dijk [Tue, 28 Jan 2014 06:57:20 +0000 (22:57 -0800)]
Merge pull request #1238 from zeha/f/ws

Webserver Updates

10 years agowebserver: Implement pdnsapi-style zone creation
Christian Hofstaedtler [Wed, 22 Jan 2014 12:24:58 +0000 (13:24 +0100)]
webserver: Implement pdnsapi-style zone creation

10 years agoAdd initial testsuite for Auth. REST API
Christian Hofstaedtler [Tue, 7 Jan 2014 16:12:54 +0000 (17:12 +0100)]
Add initial testsuite for Auth. REST API

10 years agowebserver: implement server discovery endpoints
Christian Hofstaedtler [Tue, 7 Jan 2014 10:46:00 +0000 (11:46 +0100)]
webserver: implement server discovery endpoints

10 years agoalso drop -s from other AM_LFLAGS copy
Peter van Dijk [Mon, 27 Jan 2014 11:43:33 +0000 (12:43 +0100)]
also drop -s from other AM_LFLAGS copy

10 years agoMerge pull request #1236 from zeha/hurd-portability
Peter van Dijk [Mon, 27 Jan 2014 09:50:26 +0000 (01:50 -0800)]
Merge pull request #1236 from zeha/hurd-portability

Use system endian defines on Hurd (as on Linux)

10 years agoUse system endian defines on Hurd (as on Linux)
Christian Hofstaedtler [Mon, 27 Jan 2014 09:48:37 +0000 (10:48 +0100)]
Use system endian defines on Hurd (as on Linux)

10 years agoadd missing limits.h include, should fix #1235
Peter van Dijk [Mon, 27 Jan 2014 09:34:09 +0000 (10:34 +0100)]
add missing limits.h include, should fix #1235

10 years agoMerge pull request #1230 from Fusl/dev-01
Peter van Dijk [Mon, 27 Jan 2014 08:36:15 +0000 (00:36 -0800)]
Merge pull request #1230 from Fusl/dev-01

Map qclass from ret correctly to and from Lua

10 years agoAdded a documentation with warnings for the qclass.
Fusl [Mon, 27 Jan 2014 08:32:14 +0000 (09:32 +0100)]
Added a documentation with warnings for the qclass.

10 years agodocumentation about writing recursor regression tests
Peter van Dijk [Mon, 27 Jan 2014 08:12:19 +0000 (09:12 +0100)]
documentation about writing recursor regression tests

10 years agoMerge pull request #1233 from zeha/point-to-notice
bert hubert [Sun, 26 Jan 2014 21:12:25 +0000 (13:12 -0800)]
Merge pull request #1233 from zeha/point-to-notice

README: point to NOTICE for exact license

10 years agoREADME: point to NOTICE for exact license
Christian Hofstaedtler [Sun, 26 Jan 2014 21:08:22 +0000 (22:08 +0100)]
README: point to NOTICE for exact license

Also fix & update copyright years.

10 years agoMap qclass from ret correctly to Lua
Fusl [Sat, 25 Jan 2014 19:11:36 +0000 (20:11 +0100)]
Map qclass from ret correctly to Lua

10 years agoMerge pull request #1228 from zeha/cleanup-sql
Peter van Dijk [Fri, 24 Jan 2014 18:45:16 +0000 (10:45 -0800)]
Merge pull request #1228 from zeha/cleanup-sql

Remove whitespace, dead GRANTs from SQL schema files

10 years agoRemove whitespace, dead GRANTs from SQL schema files
Christian Hofstaedtler [Fri, 24 Jan 2014 15:50:05 +0000 (16:50 +0100)]
Remove whitespace, dead GRANTs from SQL schema files

10 years agouse gawk to avoid gawk/mawk differences
Peter van Dijk [Thu, 23 Jan 2014 22:15:14 +0000 (23:15 +0100)]
use gawk to avoid gawk/mawk differences

10 years agoMerge pull request #1224 from zeha/fix-1040
Peter van Dijk [Thu, 23 Jan 2014 21:40:13 +0000 (13:40 -0800)]
Merge pull request #1224 from zeha/fix-1040

Install init script in recursor .deb packages; fixes #1040

10 years agoMerge pull request #1227 from mind04/tests
Peter van Dijk [Thu, 23 Jan 2014 21:39:47 +0000 (13:39 -0800)]
Merge pull request #1227 from mind04/tests

fix context for slave regression test

10 years agofix context for slave regression test
Kees Monshouwer [Thu, 23 Jan 2014 21:33:24 +0000 (22:33 +0100)]
fix context for slave regression test

10 years agoMerge pull request #1226 from cmouse/remotebackend-fixes-20140123
Peter van Dijk [Thu, 23 Jan 2014 21:08:00 +0000 (13:08 -0800)]
Merge pull request #1226 from cmouse/remotebackend-fixes-20140123

Remotebackend fixes 20140123

10 years agoMerge pull request #1225 from mind04/tests
Peter van Dijk [Thu, 23 Jan 2014 20:18:09 +0000 (12:18 -0800)]
Merge pull request #1225 from mind04/tests

Add slave tests for oracle backend

10 years agoAdded few missing loggings
Aki Tuomi [Thu, 23 Jan 2014 17:09:31 +0000 (19:09 +0200)]
Added few missing loggings

10 years agoFix typo
Aki Tuomi [Thu, 23 Jan 2014 17:05:57 +0000 (19:05 +0200)]
Fix typo

10 years agoProper logging for remotebackend tests to help find out problems
Aki Tuomi [Thu, 23 Jan 2014 16:34:28 +0000 (18:34 +0200)]
Proper logging for remotebackend tests to help find out problems

10 years agoCleanup unused code & files
Aki Tuomi [Thu, 23 Jan 2014 14:05:01 +0000 (16:05 +0200)]
Cleanup unused code & files

10 years agoGeneralized feed_ds better
Aki Tuomi [Thu, 23 Jan 2014 14:04:11 +0000 (16:04 +0200)]
Generalized feed_ds better

10 years agoMerge pull request #1223 from cmouse/fix-opendbxbackend-comparisons
Peter van Dijk [Thu, 23 Jan 2014 13:15:05 +0000 (05:15 -0800)]
Merge pull request #1223 from cmouse/fix-opendbxbackend-comparisons

Fix comparison between signed/unsigned

10 years agoNow uses secure-zone and generates expected result files based on that
Aki Tuomi [Thu, 23 Jan 2014 12:58:41 +0000 (14:58 +0200)]
Now uses secure-zone and generates expected result files based on that

10 years agoUpdated expected results
Aki Tuomi [Thu, 23 Jan 2014 12:58:32 +0000 (14:58 +0200)]
Updated expected results

10 years agoFixed getBeforeAndAfterNamesAbsolute NULL handling
Aki Tuomi [Thu, 23 Jan 2014 12:58:15 +0000 (14:58 +0200)]
Fixed getBeforeAndAfterNamesAbsolute NULL handling

10 years agoFix DNSSEC handling and use secure-zone instead of static keys
Aki Tuomi [Thu, 23 Jan 2014 12:51:35 +0000 (14:51 +0200)]
Fix DNSSEC handling and use secure-zone instead of static keys

10 years agoFix dnssec key enable for up.example.com
Aki Tuomi [Thu, 23 Jan 2014 11:08:47 +0000 (13:08 +0200)]
Fix dnssec key enable for up.example.com

10 years agoLoad libraries and sqlite3 database relative to self
Aki Tuomi [Thu, 23 Jan 2014 11:08:27 +0000 (13:08 +0200)]
Load libraries and sqlite3 database relative to self

10 years agoremove duplicate --config-name entries in (g)oracle tests
Kees Monshouwer [Wed, 22 Jan 2014 12:54:41 +0000 (13:54 +0100)]
remove duplicate --config-name entries in (g)oracle tests

10 years agooracle backend: skip broken nsec3 slave tests
Kees Monshouwer [Wed, 22 Jan 2014 12:14:19 +0000 (13:14 +0100)]
oracle backend: skip broken nsec3 slave tests

10 years agooracle backend: schema update, don't insert hashes for RRSIG records
Kees Monshouwer [Wed, 22 Jan 2014 11:47:48 +0000 (12:47 +0100)]
oracle backend: schema update, don't insert hashes for RRSIG records

10 years agoaxfr in, update metadata before records insert
Kees Monshouwer [Wed, 22 Jan 2014 11:46:38 +0000 (12:46 +0100)]
axfr in, update metadata before records insert

10 years agooracle backend: skip broken nsec slave tests
Kees Monshouwer [Wed, 22 Jan 2014 11:42:26 +0000 (12:42 +0100)]
oracle backend: skip broken nsec slave tests

10 years agoadd oracle backend-slave to regression tests
Kees Monshouwer [Wed, 22 Jan 2014 11:28:18 +0000 (12:28 +0100)]
add oracle backend-slave to regression tests

10 years agoInstall init script in recursor .deb packages
Christian Hofstaedtler [Wed, 22 Jan 2014 12:36:05 +0000 (13:36 +0100)]
Install init script in recursor .deb packages

Debhelper then takes care of automatically starting/stopping
pdns-recursor during upgrades.

Fixes #1040.

10 years agoFix comparison between signed/unsigned
Aki Tuomi [Wed, 22 Jan 2014 11:13:17 +0000 (13:13 +0200)]
Fix comparison between signed/unsigned

10 years agoMerge pull request #1220 from Fusl/master
Peter van Dijk [Tue, 21 Jan 2014 19:30:56 +0000 (11:30 -0800)]
Merge pull request #1220 from Fusl/master

[RFC] Added qtype statistics to recursor and rec_control (get-qtypelist)

10 years agoFixed Habbie's suggestions (https://github.com/PowerDNS/pdns/pull/1220#issuecomment...
Fusl [Tue, 21 Jan 2014 14:57:42 +0000 (15:57 +0100)]
Fixed Habbie's suggestions (https://github.com/PowerDNS/pdns/pull/1220#issuecomment-32884985)

10 years agoAdded qtype statistics to recursor and rec_control (get-qtypelist)
Fusl [Tue, 21 Jan 2014 13:15:34 +0000 (14:15 +0100)]
Added qtype statistics to recursor and rec_control (get-qtypelist)

10 years agofix path
Peter van Dijk [Tue, 21 Jan 2014 09:55:19 +0000 (10:55 +0100)]
fix path

10 years agoMerge pull request #1219 from Habbie/bindparser-test
Peter van Dijk [Tue, 21 Jan 2014 09:34:16 +0000 (01:34 -0800)]
Merge pull request #1219 from Habbie/bindparser-test

add bindparser tests; useful for doing #1186 with confidence

10 years agoadd bindparser tests
Peter van Dijk [Mon, 20 Jan 2014 18:15:02 +0000 (19:15 +0100)]
add bindparser tests

10 years agoclear up flex warnings
Peter van Dijk [Mon, 20 Jan 2014 10:44:23 +0000 (11:44 +0100)]
clear up flex warnings

10 years agoMerge pull request #1217 from mzealey/getauth-5arg-fix-warning
Peter van Dijk [Mon, 20 Jan 2014 07:23:23 +0000 (23:23 -0800)]
Merge pull request #1217 from mzealey/getauth-5arg-fix-warning

5-arg version of getAuth is only for backend modules not for UeberBacken...

10 years ago5-arg version of getAuth is only for backend modules not for UeberBackend. Should...
Mark Zealey [Fri, 17 Jan 2014 15:30:48 +0000 (17:30 +0200)]
5-arg version of getAuth is only for backend modules not for UeberBackend. Should fix clang warning

10 years agoMerge pull request #1215 from Habbie/opendbx-travis
Peter van Dijk [Fri, 17 Jan 2014 11:57:28 +0000 (03:57 -0800)]
Merge pull request #1215 from Habbie/opendbx-travis

add opendbx/sqlite3 test to travis

10 years agoadd opendbx/sqlite3 test to travis
Peter van Dijk [Fri, 17 Jan 2014 10:03:21 +0000 (11:03 +0100)]
add opendbx/sqlite3 test to travis

10 years agoMerge pull request #1214 from mind04/tests
Peter van Dijk [Fri, 17 Jan 2014 10:26:51 +0000 (02:26 -0800)]
Merge pull request #1214 from mind04/tests

reorganize regression tests

10 years agoMerge pull request #1213 from cmouse/experimental-selinux-module
Peter van Dijk [Fri, 17 Jan 2014 10:25:51 +0000 (02:25 -0800)]
Merge pull request #1213 from cmouse/experimental-selinux-module

New policy and context files; closes #1212

10 years agoreorganize regression tests
Kees Monshouwer [Tue, 14 Jan 2014 22:38:55 +0000 (23:38 +0100)]
reorganize regression tests

10 years agoAdded /var/lib to fcontext
Aki Tuomi [Fri, 17 Jan 2014 09:10:44 +0000 (11:10 +0200)]
Added /var/lib to fcontext

10 years agoNew policy and context files
Aki Tuomi [Fri, 17 Jan 2014 08:59:34 +0000 (10:59 +0200)]
New policy and context files

10 years agoMerge pull request #1133 from mzealey/so-reuseport
Peter van Dijk [Tue, 14 Jan 2014 16:07:06 +0000 (08:07 -0800)]
Merge pull request #1133 from mzealey/so-reuseport

fixes PowerDNS/pdns#666

10 years agoMerge pull request #1135 from mzealey/split-distributor
Peter van Dijk [Tue, 14 Jan 2014 15:58:19 +0000 (07:58 -0800)]
Merge pull request #1135 from mzealey/split-distributor

Distributor cleanup

10 years agochange distributor-threads/receiver-threads documentation
Mark Zealey [Tue, 14 Jan 2014 15:38:11 +0000 (17:38 +0200)]
change distributor-threads/receiver-threads documentation

10 years agoMerge pull request #1210 from zeha/f/fix-no-lua
Peter van Dijk [Tue, 14 Jan 2014 14:09:16 +0000 (06:09 -0800)]
Merge pull request #1210 from zeha/f/fix-no-lua

Fix build without Lua

10 years agoFix build without Lua
Christian Hofstaedtler [Tue, 14 Jan 2014 14:05:49 +0000 (15:05 +0100)]
Fix build without Lua

Broken since 051f0aaa9e4c826d5c1b9283a61eb81e9f975d20.

10 years agochange best_match_len to -1 to allow for 0-length (ie root) entries to be looked...
Mark Zealey [Tue, 14 Jan 2014 08:57:07 +0000 (10:57 +0200)]
change best_match_len to -1 to allow for 0-length (ie root) entries to be looked up correctly

10 years agoadd recursor regression to travis; show diffs after recursor runtests
Peter van Dijk [Tue, 14 Jan 2014 06:32:16 +0000 (07:32 +0100)]
add recursor regression to travis; show diffs after recursor runtests

10 years agoMerge pull request #1209 from mind04/mysql
Peter van Dijk [Tue, 14 Jan 2014 06:10:37 +0000 (22:10 -0800)]
Merge pull request #1209 from mind04/mysql

revert set binlog and fix diff output in regression tests

10 years agoadd testsdir to diff output in start-test-stop
Kees Monshouwer [Mon, 13 Jan 2014 21:46:17 +0000 (22:46 +0100)]
add testsdir to diff output in start-test-stop

10 years agoRevert "set binlog_format='ROW' if (gmysql-)innodb-read-committed is enabled"
Kees Monshouwer [Mon, 13 Jan 2014 21:26:23 +0000 (22:26 +0100)]
Revert "set binlog_format='ROW' if (gmysql-)innodb-read-committed is enabled"
"set binlog_format='ROW' requires SUPER privilege

This reverts commit 817975345de3127aeb4e25bc52b2dc38577d29b3.

10 years agoMerge pull request #1130 from mzealey/backend-getauth
Peter van Dijk [Mon, 13 Jan 2014 12:58:42 +0000 (04:58 -0800)]
Merge pull request #1130 from mzealey/backend-getauth

There are certain situations in which getAuth() may want to be overridde...

10 years agoremove DEBUGLOG debug code
Mark Zealey [Mon, 13 Jan 2014 12:28:40 +0000 (14:28 +0200)]
remove DEBUGLOG debug code

10 years agomerge with head
Mark Zealey [Mon, 13 Jan 2014 12:26:27 +0000 (14:26 +0200)]
merge with head

10 years agoMerge branch 'master' into backend-getauth
Mark Zealey [Mon, 13 Jan 2014 10:23:03 +0000 (12:23 +0200)]
Merge branch 'master' into backend-getauth

10 years agocomment changes
Mark Zealey [Mon, 13 Jan 2014 10:22:59 +0000 (12:22 +0200)]
comment changes

10 years agoMerge pull request #1208 from mzealey/nonexist-fail-bind-fix-leak
Peter van Dijk [Mon, 13 Jan 2014 09:55:26 +0000 (01:55 -0800)]
Merge pull request #1208 from mzealey/nonexist-fail-bind-fix-leak

close socket if bind fails to fix coverity leak issues