]> granicus.if.org Git - pdns/log
pdns
8 years agoauth: `id` variable shadows reference in `Bind2Backend::addDomainKey()`
Remi Gacogne [Thu, 15 Sep 2016 09:28:20 +0000 (11:28 +0200)]
auth: `id` variable shadows reference in `Bind2Backend::addDomainKey()`

8 years agoauth: Use unique_ptr for `AuthLua` and `AuthLua4` objects
Remi Gacogne [Thu, 15 Sep 2016 09:12:58 +0000 (11:12 +0200)]
auth: Use unique_ptr for `AuthLua` and `AuthLua4` objects

Fix a leak reported by coverity when we cycle a backend.

8 years agoauth: Fix 'Identical code for different branches' coverity defect
Remi Gacogne [Thu, 15 Sep 2016 09:12:41 +0000 (11:12 +0200)]
auth: Fix 'Identical code for different branches' coverity defect

8 years agoMerge pull request #4467 from ahupowerdns/deresource
bert hubert [Wed, 14 Sep 2016 08:02:00 +0000 (10:02 +0200)]
Merge pull request #4467 from ahupowerdns/deresource

Deresource & uphash: gigabit DNSSEC root-server performance

8 years agoreinstate shuffling in the new DNSZoneRecord world
bert hubert [Tue, 13 Sep 2016 13:56:44 +0000 (15:56 +0200)]
reinstate shuffling in the new DNSZoneRecord world

8 years agomake randombackend DNSZoneRecord native
bert hubert [Tue, 13 Sep 2016 13:56:31 +0000 (15:56 +0200)]
make randombackend DNSZoneRecord native

8 years agomake it possible to compare pointers/references to DNSRecordContent. There is a gener...
bert hubert [Mon, 12 Sep 2016 21:48:41 +0000 (23:48 +0200)]
make it possible to compare pointers/references to DNSRecordContent. There is a generic comparison function based on getZoneRepresentation(), and specializations for A, AAAA, MX and NS. Rest to follow.
Also make DNSPacket::addRecord() use this infrastructure

8 years agofix up lua-auth for new DNSZoneRecord world
bert hubert [Thu, 8 Sep 2016 03:40:38 +0000 (05:40 +0200)]
fix up lua-auth for new DNSZoneRecord world

8 years agorestore old ldap logging behaviour
bert hubert [Thu, 8 Sep 2016 03:40:23 +0000 (05:40 +0200)]
restore old ldap logging behaviour

8 years agoand it works for ldap-simple too!
bert hubert [Wed, 7 Sep 2016 20:42:39 +0000 (22:42 +0200)]
and it works for ldap-simple too!

8 years agowe now actually pass these tests
bert hubert [Wed, 7 Sep 2016 20:12:26 +0000 (22:12 +0200)]
we now actually pass these tests

8 years agofix zone2ldap in one other place
bert hubert [Wed, 7 Sep 2016 19:47:05 +0000 (21:47 +0200)]
fix zone2ldap in one other place

8 years agomake sure that zone2ldap encodes root as .
bert hubert [Wed, 7 Sep 2016 19:21:53 +0000 (21:21 +0200)]
make sure that zone2ldap encodes root as .

8 years agoenable a lot of LDAP logging to uncover what might be going on over at travis
bert hubert [Wed, 7 Sep 2016 17:55:50 +0000 (19:55 +0200)]
enable a lot of LDAP logging to uncover what might be going on over at travis

8 years agoreenable LDAP testing, plus fix up partial SOA records from backends. Hopefully this...
bert hubert [Wed, 7 Sep 2016 17:25:16 +0000 (19:25 +0200)]
reenable LDAP testing, plus fix up partial SOA records from backends. Hopefully this was the reason for the failing LDAP backend tests.

8 years agofix up mydns backend to properly return SOA records in ANY queries.
bert hubert [Wed, 7 Sep 2016 16:23:34 +0000 (18:23 +0200)]
fix up mydns backend to properly return SOA records in ANY queries.

8 years agoalso propagate scopeMask to emulated get()
bert hubert [Wed, 7 Sep 2016 14:25:55 +0000 (16:25 +0200)]
also propagate scopeMask to emulated get()

8 years agofix up TXT content matching when backend does not add "
bert hubert [Wed, 7 Sep 2016 14:15:10 +0000 (16:15 +0200)]
fix up TXT content matching when backend does not add "

8 years agofix presigned NSEC3s
bert hubert [Wed, 7 Sep 2016 13:46:16 +0000 (15:46 +0200)]
fix presigned NSEC3s

8 years agodisable ldap, which I can't debug locally. Perhaps other backends fail similarly.
bert hubert [Wed, 7 Sep 2016 12:57:40 +0000 (14:57 +0200)]
disable ldap, which I can't debug locally. Perhaps other backends fail similarly.

8 years agowe got one labelReversal case wrong
bert hubert [Wed, 7 Sep 2016 10:12:35 +0000 (12:12 +0200)]
we got one labelReversal case wrong

8 years agosome further labelreverse improvements
bert hubert [Wed, 7 Sep 2016 09:05:00 +0000 (11:05 +0200)]
some further labelreverse improvements

8 years agoset of labelReverse incorrect migrations, two of which likely are still incorrect
bert hubert [Mon, 5 Sep 2016 09:02:32 +0000 (11:02 +0200)]
set of labelReverse incorrect migrations, two of which likely are still incorrect

8 years agofix case where we did not do duplicate record detection for additional processing
bert hubert [Mon, 5 Sep 2016 09:02:12 +0000 (11:02 +0200)]
fix case where we did not do duplicate record detection for additional processing

8 years agomake an ENTRecordType
bert hubert [Mon, 5 Sep 2016 09:01:57 +0000 (11:01 +0200)]
make an ENTRecordType

8 years agoreinstate duplicate record detection, slowing us down tremendously until we speed...
bert hubert [Mon, 5 Sep 2016 09:01:22 +0000 (11:01 +0200)]
reinstate duplicate record detection, slowing us down tremendously until we speed that up

8 years agofix up testcases
bert hubert [Sun, 4 Sep 2016 20:18:52 +0000 (22:18 +0200)]
fix up testcases

8 years agotwo compilation errors (one in an internal tool, one in luabackend)
bert hubert [Sun, 4 Sep 2016 19:32:35 +0000 (21:32 +0200)]
two compilation errors (one in an internal tool, one in luabackend)

8 years agomore speedups and cleanups for DNSZoneRecord world
bert hubert [Sun, 4 Sep 2016 19:04:28 +0000 (21:04 +0200)]
more speedups and cleanups for DNSZoneRecord world

8 years agoinit some DNSZoneRecord members
bert hubert [Sun, 4 Sep 2016 19:04:00 +0000 (21:04 +0200)]
init some DNSZoneRecord members

8 years agofix up zone2sql compilation after fixups
bert hubert [Sun, 4 Sep 2016 19:03:38 +0000 (21:03 +0200)]
fix up zone2sql compilation after fixups

8 years agopacketcache hashed
bert hubert [Sun, 4 Sep 2016 19:03:16 +0000 (21:03 +0200)]
packetcache hashed

8 years agobindbackend hashed
bert hubert [Sun, 4 Sep 2016 19:02:51 +0000 (21:02 +0200)]
bindbackend hashed

8 years agoyolo - big DNSResourceRecord removal
bert hubert [Sat, 3 Sep 2016 22:47:42 +0000 (00:47 +0200)]
yolo - big DNSResourceRecord removal

8 years agoMerge pull request #4463 from pieterlexis/centos-6-pkg-bind
bert hubert [Mon, 12 Sep 2016 15:11:52 +0000 (17:11 +0200)]
Merge pull request #4463 from pieterlexis/centos-6-pkg-bind

Auth: build Bind backend for CentOS 6

8 years agoAuth: build Bind backend for CentOS 6
Pieter Lexis [Mon, 12 Sep 2016 13:10:41 +0000 (15:10 +0200)]
Auth: build Bind backend for CentOS 6

8 years agoMerge pull request #4461 from pieterlexis/boost161-fallback-ucontext
Pieter Lexis [Mon, 12 Sep 2016 12:48:49 +0000 (14:48 +0200)]
Merge pull request #4461 from pieterlexis/boost161-fallback-ucontext

Fall back to SystemV ucontexts on boost >= 1.61

8 years agoMerge pull request #4459 from ahupowerdns/pqmemleak
bert hubert [Mon, 12 Sep 2016 12:05:43 +0000 (14:05 +0200)]
Merge pull request #4459 from ahupowerdns/pqmemleak

plugs memory leak in postgresql backend

8 years agoRec: Disable boost-fcontext on boost 1.61 and up
Pieter Lexis [Mon, 12 Sep 2016 11:51:27 +0000 (13:51 +0200)]
Rec: Disable boost-fcontext on boost 1.61 and up

Fall back to the slower system v ucontext.

8 years agoRevert "Rec: support boost's fcontext in boost 1.61+"
Pieter Lexis [Mon, 12 Sep 2016 11:48:47 +0000 (13:48 +0200)]
Revert "Rec: support boost's fcontext in boost 1.61+"

This reverts commit a30361f9f07cb3c4f9ad32dc83555bc593aa3311.

8 years agoMerge pull request #4424 from pieterlexis/static_vector-old-boost
bert hubert [Mon, 12 Sep 2016 11:26:29 +0000 (13:26 +0200)]
Merge pull request #4424 from pieterlexis/static_vector-old-boost

Fix compilation on systems with boost < 1.54

8 years agoMerge pull request #4458 from James-TR/patch-1
bert hubert [Sun, 11 Sep 2016 19:07:23 +0000 (21:07 +0200)]
Merge pull request #4458 from James-TR/patch-1

Correct typo in backend-pipe.md

8 years agoeleksir noted that we leak a ton of memory in postgresql. I'm no postgres expert...
bert hubert [Sun, 11 Sep 2016 18:40:44 +0000 (20:40 +0200)]
eleksir noted that we leak a ton of memory in postgresql. I'm no postgres expert, but this plugs my leak and still appears to function. In other news, do we need a transaction for every query?

8 years agoCorrect typo in backend-pipe.md
James Taylor [Sun, 11 Sep 2016 14:06:48 +0000 (00:06 +1000)]
Correct typo in backend-pipe.md

The word 'you' was repeated twice. This was brought to my attention after noticing it in a diff.

8 years agoMerge pull request #4449 from peterthomassen/master
Pieter Lexis [Sat, 10 Sep 2016 11:03:13 +0000 (13:03 +0200)]
Merge pull request #4449 from peterthomassen/master

Docs: clarify that recursor does not do DNSSEC for zones from auth-zones setting

8 years agoDocs: clarify that recursor does not do DNSSEC for zones from auth-zones setting
Peter Thomassen [Fri, 9 Sep 2016 18:14:13 +0000 (15:14 -0300)]
Docs: clarify that recursor does not do DNSSEC for zones from auth-zones setting

8 years agoMerge pull request #4447 from rgacogne/secpoll-doc-201601
Pieter Lexis [Fri, 9 Sep 2016 11:20:57 +0000 (13:20 +0200)]
Merge pull request #4447 from rgacogne/secpoll-doc-201601

Update secpoll and documentation for 2016-01

8 years agoUpdate secpoll and documentation for 2016-01
Remi Gacogne [Fri, 9 Sep 2016 08:57:21 +0000 (10:57 +0200)]
Update secpoll and documentation for 2016-01

8 years agoMerge pull request #4440 from rgacogne/rec-fix-lua-osx-freebsd
Peter van Dijk [Thu, 8 Sep 2016 11:37:00 +0000 (13:37 +0200)]
Merge pull request #4440 from rgacogne/rec-fix-lua-osx-freebsd

rec: Fix Lua-enabled compilation on OS X and FreeBSD

8 years agoMerge pull request #4441 from cmouse/lua-auth4-fix
Peter van Dijk [Thu, 8 Sep 2016 10:35:22 +0000 (12:35 +0200)]
Merge pull request #4441 from cmouse/lua-auth4-fix

lua-auth4: Remove recursor includes

8 years agoMerge pull request #4442 from cmouse/geoip-naming
Peter van Dijk [Thu, 8 Sep 2016 10:35:04 +0000 (12:35 +0200)]
Merge pull request #4442 from cmouse/geoip-naming

geoipbackend: Fix minor naming issue

8 years agogeoipbackend: Fix minor naming issue
Aki Tuomi [Thu, 8 Sep 2016 09:15:05 +0000 (12:15 +0300)]
geoipbackend: Fix minor naming issue

8 years agolua-auth4: Remove recursor includes
Aki Tuomi [Thu, 8 Sep 2016 08:55:55 +0000 (11:55 +0300)]
lua-auth4: Remove recursor includes

8 years agorec: Fix Lua-enabled compilation on OS X and FreeBSD
Remi Gacogne [Thu, 8 Sep 2016 08:34:45 +0000 (10:34 +0200)]
rec: Fix Lua-enabled compilation on OS X and FreeBSD

8 years agoMerge pull request #4435 from ahupowerdns/rollback-fix
bert hubert [Wed, 7 Sep 2016 12:25:46 +0000 (14:25 +0200)]
Merge pull request #4435 from ahupowerdns/rollback-fix

Rollback fix: when we truncate a packet, make sure we reset writer state (+ pcapreader nit)

8 years agowhen doing a rollback while writing a packet, reset the packet writer state so we...
bert hubert [Wed, 7 Sep 2016 11:42:20 +0000 (13:42 +0200)]
when doing a rollback while writing a packet, reset the packet writer state so we don't think we have a record left to write out

8 years agodeal with pcap formats which tell them they captured _more_ than your packet
bert hubert [Wed, 7 Sep 2016 11:42:00 +0000 (13:42 +0200)]
deal with pcap formats which tell them they captured _more_ than your packet

8 years agoMerge pull request #4429 from pieterlexis/rec-4.0.3-changelog
Pieter Lexis [Tue, 6 Sep 2016 13:12:25 +0000 (15:12 +0200)]
Merge pull request #4429 from pieterlexis/rec-4.0.3-changelog

Recursor 4.0.3 changelog

8 years agoParse backport titles for changelog
Pieter Lexis [Tue, 6 Sep 2016 12:48:26 +0000 (14:48 +0200)]
Parse backport titles for changelog

8 years agoAdd Recursor 4.0.3 changelog
Pieter Lexis [Mon, 5 Sep 2016 09:40:50 +0000 (11:40 +0200)]
Add Recursor 4.0.3 changelog

8 years agoAdd Recursor 4.0.3 secpoll entry
Pieter Lexis [Mon, 5 Sep 2016 09:27:30 +0000 (11:27 +0200)]
Add Recursor 4.0.3 secpoll entry

8 years agoMerge pull request #4106 from zervnet/feature_rest_api_pull_request
Pieter Lexis [Tue, 6 Sep 2016 12:01:01 +0000 (14:01 +0200)]
Merge pull request #4106 from zervnet/feature_rest_api_pull_request

Implementation of the cryptokeys REST-API (PUT, POST, DELETE)

8 years agoMerge pull request #4425 from rgacogne/protobuf-regression-responder
Pieter Lexis [Tue, 6 Sep 2016 10:55:39 +0000 (12:55 +0200)]
Merge pull request #4425 from rgacogne/protobuf-regression-responder

Fix a protobuf regression (requestor/responder mix-up) caused by a94673e

8 years agoUpdates error messages for addKey()
Benjamin Zengin [Thu, 21 Jul 2016 13:41:40 +0000 (15:41 +0200)]
Updates error messages for addKey()

8 years agoAdds missing ASSERT_ROW_COLUMNS to gsql and bind
Benjamin Zengin [Thu, 21 Jul 2016 13:41:02 +0000 (15:41 +0200)]
Adds missing ASSERT_ROW_COLUMNS to gsql and bind

8 years agoModifies test to work with updated addKey()
Benjamin Zengin [Thu, 21 Jul 2016 13:38:06 +0000 (15:38 +0200)]
Modifies test to work with updated addKey()

8 years agoFixes Api-tests and improves performance
Benjamin Zengin [Thu, 21 Jul 2016 13:37:31 +0000 (15:37 +0200)]
Fixes Api-tests and improves performance

8 years agoCryptokeys REST-Api rework
Benjamin Zengin [Thu, 21 Jul 2016 13:34:52 +0000 (15:34 +0200)]
Cryptokeys REST-Api rework
- Removes redundant code
- Uses new addKey() interface
- Fixes return values / error messages

8 years agoNew interface for addKey()
Benjamin Zengin [Thu, 21 Jul 2016 13:28:52 +0000 (15:28 +0200)]
New interface for addKey()
- id of added key is returned by a reference parameter
- return type bool indicates success of adding the key
- id is returned as int64_t

8 years agoAdjusts documentation of REST-Api
Benjamin Zengin [Thu, 21 Jul 2016 12:57:34 +0000 (14:57 +0200)]
Adjusts documentation of REST-Api

8 years agoImplements API tests for cryptokeys
Benjamin Zengin [Tue, 5 Jul 2016 10:04:33 +0000 (12:04 +0200)]
Implements API tests for cryptokeys
- PUT
- POST
- DELETE

8 years agoUpdates documentation for cryptokeys REST-API
Benjamin Zengin [Tue, 5 Jul 2016 10:01:47 +0000 (12:01 +0200)]
Updates documentation for cryptokeys REST-API

8 years agoImplements cryptokeys REST-API
Benjamin Zengin [Tue, 5 Jul 2016 10:00:17 +0000 (12:00 +0200)]
Implements cryptokeys REST-API
- PUT
- POST
- DELETE

8 years agoMore specific error message for addKey
Benjamin Zengin [Tue, 5 Jul 2016 09:57:31 +0000 (11:57 +0200)]
More specific error message for addKey
- if bits in addKey are wrong returns "Wrong bit size!"

8 years agoImplements 'return id of added key' for bind
Benjamin Zengin [Tue, 5 Jul 2016 09:54:52 +0000 (11:54 +0200)]
Implements 'return id of added key' for bind

8 years agoImplements 'return id of added key' for gsqlite3
Benjamin Zengin [Tue, 5 Jul 2016 09:49:59 +0000 (11:49 +0200)]
Implements 'return id of added key' for gsqlite3

8 years agoImplements 'return id of added key' for godbc
Benjamin Zengin [Tue, 5 Jul 2016 09:49:37 +0000 (11:49 +0200)]
Implements 'return id of added key' for godbc

8 years agoImplements 'return id of added key' for gpgsql
Benjamin Zengin [Tue, 5 Jul 2016 09:49:15 +0000 (11:49 +0200)]
Implements 'return id of added key' for gpgsql

8 years agoImplements 'return id of added key' for gmysql
Benjamin Zengin [Tue, 5 Jul 2016 09:48:52 +0000 (11:48 +0200)]
Implements 'return id of added key' for gmysql

8 years agogsqlbackend: Adds query to return id of added key
Benjamin Zengin [Tue, 5 Jul 2016 09:48:28 +0000 (11:48 +0200)]
gsqlbackend: Adds query to return id of added key

8 years agoUpdates documentation for addDomainKey, pdnsutil
Benjamin Zengin [Tue, 5 Jul 2016 09:39:46 +0000 (11:39 +0200)]
Updates documentation for addDomainKey, pdnsutil

8 years agoUpdate addKey in dnsseckeeper (Closes #706)
Benjamin Zengin [Tue, 5 Jul 2016 10:17:32 +0000 (12:17 +0200)]
Update addKey in dnsseckeeper (Closes #706)
- Let addKey return the id of the added key
- pdnsutil 'add-zone-key' prints it
- pdnsutil 'import-zone-key' prints it
- pdnsutil 'import-zone-key-pem' prints it

8 years agoUse normal vectors on boost < 1.54
Pieter Lexis [Mon, 5 Sep 2016 14:17:04 +0000 (16:17 +0200)]
Use normal vectors on boost < 1.54

8 years agoMerge pull request #4289 from tuxis-ie/fix-api-documentation
Pieter Lexis [Mon, 5 Sep 2016 21:07:35 +0000 (23:07 +0200)]
Merge pull request #4289 from tuxis-ie/fix-api-documentation

Add documentation on searching data via the API

8 years agoFix a protobuf regression (requestor/responder mix-up) caused by a94673e
Remi Gacogne [Mon, 5 Sep 2016 15:49:15 +0000 (17:49 +0200)]
Fix a protobuf regression (requestor/responder mix-up) caused by a94673e

8 years agoMerge pull request #4370 from hnsk/pdnsutil-change-slave-zone-master
Pieter Lexis [Mon, 5 Sep 2016 14:44:00 +0000 (16:44 +0200)]
Merge pull request #4370 from hnsk/pdnsutil-change-slave-zone-master

pdnsutil: Added change-slave-zone-master command

8 years agoMerge pull request #4371 from hnsk/pdnsutil-create-slave-zone-multiple-masters
Pieter Lexis [Mon, 5 Sep 2016 14:43:45 +0000 (16:43 +0200)]
Merge pull request #4371 from hnsk/pdnsutil-create-slave-zone-multiple-masters

pdnsutil: create-slave-zone accept multiple masters

8 years agoMerge pull request #4093 from ydns/v4.0.x/api-domainmetadata
Pieter Lexis [Mon, 5 Sep 2016 14:43:00 +0000 (16:43 +0200)]
Merge pull request #4093 from ydns/v4.0.x/api-domainmetadata

Added metadata handlers for HTTP API

8 years agoMerge pull request #4407 from zeha/warning-types-may-not-be-defined-in-a-for-range...
Pieter Lexis [Mon, 5 Sep 2016 14:06:40 +0000 (16:06 +0200)]
Merge pull request #4407 from zeha/warning-types-may-not-be-defined-in-a-for-range-declaration

Fix warning: types may not be defined in a for-range-declaration

8 years agoMerge pull request #4408 from zeha/auth-web-or-api
Pieter Lexis [Mon, 5 Sep 2016 14:05:51 +0000 (16:05 +0200)]
Merge pull request #4408 from zeha/auth-web-or-api

Authoritative: do not rely on webserver=yes if api=yes

8 years agoUpdate httpapi README
Christian Hofstaedtler [Fri, 2 Sep 2016 20:05:05 +0000 (22:05 +0200)]
Update httpapi README

8 years agoAuthoritative: do not rely on webserver=yes if api=yes
Christian Hofstaedtler [Mon, 5 Sep 2016 13:55:23 +0000 (15:55 +0200)]
Authoritative: do not rely on webserver=yes if api=yes

8 years agodnsdist: Update the man page now that AXFR is supported
Remi Gacogne [Mon, 5 Sep 2016 12:49:22 +0000 (14:49 +0200)]
dnsdist: Update the man page now that AXFR is supported

8 years agoMerge pull request #4058 from cmouse/update-policy-lua
Pieter Lexis [Mon, 5 Sep 2016 11:51:09 +0000 (13:51 +0200)]
Merge pull request #4058 from cmouse/update-policy-lua

Update policy lua

8 years agoMerge pull request #4306 from Habbie/mysqllongtext
Pieter Lexis [Mon, 5 Sep 2016 11:46:07 +0000 (13:46 +0200)]
Merge pull request #4306 from Habbie/mysqllongtext

limit size of mysql cell to 128 kilobytes

8 years agoMerge pull request #4403 from zeha/openssl11final
Pieter Lexis [Mon, 5 Sep 2016 10:52:40 +0000 (12:52 +0200)]
Merge pull request #4403 from zeha/openssl11final

Fix build with OpenSSL 1.1.0 final

8 years agoMerge pull request #4396 from Habbie/recursor-fbsd-boost-context
Pieter Lexis [Mon, 5 Sep 2016 10:18:59 +0000 (12:18 +0200)]
Merge pull request #4396 from Habbie/recursor-fbsd-boost-context

add boost context ldflags so freebsd builds can find the libs

8 years agomake calidns send out rd=0, and half do=1 queries, plus add bandwidth stats
bert hubert [Mon, 5 Sep 2016 09:25:41 +0000 (11:25 +0200)]
make calidns send out rd=0, and half do=1 queries, plus add bandwidth stats

8 years agoBump SOA for #4409
Pieter Lexis [Mon, 5 Sep 2016 09:25:36 +0000 (11:25 +0200)]
Bump SOA for #4409

8 years agoMerge pull request #4409 from zeha/deb8u6
Pieter Lexis [Mon, 5 Sep 2016 09:23:39 +0000 (11:23 +0200)]
Merge pull request #4409 from zeha/deb8u6

Update secpoll data