]> granicus.if.org Git - pdns/log
pdns
9 years agoFix documentation of HTTPS in the remote backend.
Patrick Cloke [Fri, 9 Oct 2015 13:24:12 +0000 (09:24 -0400)]
Fix documentation of HTTPS in the remote backend.

This changes the documentation to be consistent with the code, namely
that HTTPS is not supported.

Additionally, removes two parameters on the HttpConnector object that
were unused due to 527f007409d5779155713a935561706e7f60dad6 and
1d0cc63227f1c7d0b15f873a2088c39ff354f73c.

9 years agonit
Peter van Dijk [Fri, 9 Oct 2015 10:58:22 +0000 (12:58 +0200)]
nit

9 years agoMerge pull request #2778 from cmouse/gsqlite3-logging
bert hubert [Fri, 9 Oct 2015 06:41:46 +0000 (08:41 +0200)]
Merge pull request #2778 from cmouse/gsqlite3-logging

Do not use sqlite3_trace as it is unreliable

9 years agoMerge pull request #2765 from cmouse/fix-coverity-issues
bert hubert [Fri, 9 Oct 2015 05:51:26 +0000 (07:51 +0200)]
Merge pull request #2765 from cmouse/fix-coverity-issues

Fix coverity issues

9 years agoMerge pull request #2781 from pieterlexis/docs-nit
Peter van Dijk [Thu, 8 Oct 2015 14:07:33 +0000 (16:07 +0200)]
Merge pull request #2781 from pieterlexis/docs-nit

Update backend-writers-guide.md

9 years agoUpdate backend-writers-guide.md
Pieter Lexis [Thu, 8 Oct 2015 14:04:55 +0000 (16:04 +0200)]
Update backend-writers-guide.md

9 years agonit
Peter van Dijk [Thu, 8 Oct 2015 13:57:30 +0000 (15:57 +0200)]
nit

9 years agofix return code; fix language
Peter van Dijk [Tue, 6 Oct 2015 09:24:37 +0000 (11:24 +0200)]
fix return code; fix language

9 years agoMerge pull request #2779 from cmouse/no-threads-no-cry
Pieter Lexis [Tue, 6 Oct 2015 08:08:39 +0000 (10:08 +0200)]
Merge pull request #2779 from cmouse/no-threads-no-cry

Exit gracefully if distributor-threads is less than 1

9 years agoadd a testcase too
bert hubert [Mon, 5 Oct 2015 18:40:13 +0000 (20:40 +0200)]
add a testcase too

9 years agolittle gift for @pieterlexis https://gcc.gnu.org/onlinedocs/gcc/Conditionals.html
bert hubert [Mon, 5 Oct 2015 18:34:16 +0000 (20:34 +0200)]
little gift for @pieterlexis https://gcc.gnu.org/onlinedocs/gcc/Conditionals.html

9 years agoExit gracefully if distributor-threads is less than 1
Aki Tuomi [Mon, 5 Oct 2015 18:30:21 +0000 (21:30 +0300)]
Exit gracefully if distributor-threads is less than 1

9 years agoDo not use sqlite3_trace as it is unreliable
Aki Tuomi [Mon, 5 Oct 2015 17:22:40 +0000 (20:22 +0300)]
Do not use sqlite3_trace as it is unreliable

9 years agoInitialize DNSRecords members
Aki Tuomi [Thu, 1 Oct 2015 13:12:26 +0000 (16:12 +0300)]
Initialize DNSRecords members

9 years agoInitialize LDAPBackend members
Aki Tuomi [Tue, 29 Sep 2015 19:14:35 +0000 (22:14 +0300)]
Initialize LDAPBackend members

fix cid#1029955

9 years agoFix iterator usage
Aki Tuomi [Tue, 29 Sep 2015 19:13:24 +0000 (22:13 +0300)]
Fix iterator usage

Closes several cids

9 years agoInitialize UeberBackend members
Aki Tuomi [Tue, 29 Sep 2015 19:11:14 +0000 (22:11 +0300)]
Initialize UeberBackend members

Fix cid#1030014

9 years agoInitialize TCPReceiver#d_tid
Aki Tuomi [Tue, 29 Sep 2015 19:09:24 +0000 (22:09 +0300)]
Initialize TCPReceiver#d_tid

fix cid#1030016

9 years agoInitialize DTime members
Aki Tuomi [Tue, 29 Sep 2015 19:07:52 +0000 (22:07 +0300)]
Initialize DTime members

fix cid#1030029

9 years agoInitialize Netmask members
Aki Tuomi [Tue, 29 Sep 2015 19:02:58 +0000 (22:02 +0300)]
Initialize Netmask members

fix cid#1030032

9 years agoInitialize DynListener members
Aki Tuomi [Tue, 29 Sep 2015 19:00:38 +0000 (22:00 +0300)]
Initialize DynListener members

fix cid#1030036

9 years agoInitialize DNSPacket members
Aki Tuomi [Tue, 29 Sep 2015 18:58:22 +0000 (21:58 +0300)]
Initialize DNSPacket members

fix cid#1030053

9 years agoInitialize DomainInfo members
Aki Tuomi [Tue, 29 Sep 2015 18:55:55 +0000 (21:55 +0300)]
Initialize DomainInfo members

fix cid#1030054

9 years agoInitialize SOAData default_ttl
Aki Tuomi [Tue, 29 Sep 2015 18:49:49 +0000 (21:49 +0300)]
Initialize SOAData default_ttl

fix cid#1030055

9 years agoInitialize DNSResourceRecord members
Aki Tuomi [Tue, 29 Sep 2015 18:49:13 +0000 (21:49 +0300)]
Initialize DNSResourceRecord members

fix cid#1030056

9 years agoInitialize CommunicatorClass members
Aki Tuomi [Tue, 29 Sep 2015 18:47:30 +0000 (21:47 +0300)]
Initialize CommunicatorClass members

fix cid#1030057

9 years agoInitialize d_disavow
Aki Tuomi [Tue, 29 Sep 2015 18:44:38 +0000 (21:44 +0300)]
Initialize d_disavow

Fix cid#1030065

9 years agoRemove dead code in secpoll-auth
Aki Tuomi [Tue, 29 Sep 2015 18:36:12 +0000 (21:36 +0300)]
Remove dead code in secpoll-auth

fix cid#1248963

9 years agoCopy d_tsig_algo from other
Aki Tuomi [Tue, 29 Sep 2015 17:57:04 +0000 (20:57 +0300)]
Copy d_tsig_algo from other

This is safe because d_tsig_algo is used only if tsig is present
fix cid#1302370

9 years agoInitialize members for GssContext
Aki Tuomi [Tue, 29 Sep 2015 17:55:20 +0000 (20:55 +0300)]
Initialize members for GssContext

fix cid#1302371

9 years agoInitialize not_used
Aki Tuomi [Tue, 29 Sep 2015 17:53:02 +0000 (20:53 +0300)]
Initialize not_used

fix cid#1308981

9 years agoInitialize members in DNSPacketWriter ctor
Aki Tuomi [Tue, 29 Sep 2015 17:47:10 +0000 (20:47 +0300)]
Initialize members in DNSPacketWriter ctor

fix cid#1311580

9 years agoInitialize d_templatecounter,stop and step
Aki Tuomi [Tue, 29 Sep 2015 17:44:12 +0000 (20:44 +0300)]
Initialize d_templatecounter,stop and step

fix cid#1311584

9 years agoUse C++ style cast
Aki Tuomi [Tue, 29 Sep 2015 17:41:02 +0000 (20:41 +0300)]
Use C++ style cast

9 years agoCorrect iterator usage
Aki Tuomi [Tue, 29 Sep 2015 17:38:40 +0000 (20:38 +0300)]
Correct iterator usage

fix cid#1311862

9 years agoUse correct function to empty DNSName
Aki Tuomi [Tue, 29 Sep 2015 17:37:20 +0000 (20:37 +0300)]
Use correct function to empty DNSName

fix cid#1311863

9 years agoDelete allocated semaphore
Aki Tuomi [Tue, 29 Sep 2015 17:33:25 +0000 (20:33 +0300)]
Delete allocated semaphore

fix cid#1029923

9 years agoClose d_sock when DNSProxy goes away
Aki Tuomi [Tue, 29 Sep 2015 17:31:47 +0000 (20:31 +0300)]
Close d_sock when DNSProxy goes away

fix cid#1029928

9 years agoAdd note about passing pointer to another process
Aki Tuomi [Tue, 29 Sep 2015 17:22:50 +0000 (20:22 +0300)]
Add note about passing pointer to another process

9 years agoInitialize d_recurse
Aki Tuomi [Tue, 29 Sep 2015 16:07:39 +0000 (19:07 +0300)]
Initialize d_recurse

fixes several issues

9 years agoFix vector usage in AXFRRetriever
Aki Tuomi [Tue, 29 Sep 2015 15:53:08 +0000 (18:53 +0300)]
Fix vector usage in AXFRRetriever

fix cid#1311857

9 years agoadd a wildcard test for the built-in recursor auth server
bert hubert [Sat, 3 Oct 2015 05:18:30 +0000 (07:18 +0200)]
add a wildcard test for the built-in recursor auth server

9 years agoMerge pull request #2775 from mind04/travis
Pieter Lexis [Fri, 2 Oct 2015 16:08:18 +0000 (18:08 +0200)]
Merge pull request #2775 from mind04/travis

Travis, the continuing story

9 years agofix double RRSIGs on CNAMEs on first query
bert hubert [Fri, 2 Oct 2015 13:29:43 +0000 (15:29 +0200)]
fix double RRSIGs on CNAMEs on first query

9 years agoadd makeunique to mastermakt
bert hubert [Fri, 2 Oct 2015 13:11:31 +0000 (15:11 +0200)]
add makeunique to mastermakt

9 years agomake sure we also add RRSIGs for CNAME records when retrieving from the cache
bert hubert [Fri, 2 Oct 2015 13:09:45 +0000 (15:09 +0200)]
make sure we also add RRSIGs for CNAME records when retrieving from the cache

9 years agomove make_unique around
bert hubert [Fri, 2 Oct 2015 13:09:21 +0000 (15:09 +0200)]
move make_unique around

9 years agomore travis optimizations
Kees Monshouwer [Fri, 2 Oct 2015 12:15:51 +0000 (14:15 +0200)]
more travis optimizations

9 years agoconfigure: make backend unit tests conditional
Kees Monshouwer [Fri, 2 Oct 2015 09:41:59 +0000 (11:41 +0200)]
configure: make backend unit tests conditional

9 years agoMerge pull request #2774 from mind04/oracle
Pieter Lexis [Fri, 2 Oct 2015 12:53:50 +0000 (14:53 +0200)]
Merge pull request #2774 from mind04/oracle

explicit DNSName in oracle backend

9 years agoexplicit DNSName in oracle backend
Kees Monshouwer [Fri, 2 Oct 2015 12:42:34 +0000 (14:42 +0200)]
explicit DNSName in oracle backend

9 years agoUnbreak pdnssec
Pieter Lexis [Fri, 2 Oct 2015 12:37:43 +0000 (14:37 +0200)]
Unbreak pdnssec

9 years agoMerge pull request #2651 from pieterlexis/issue-2648-CDS_CDNSKEY
Pieter Lexis [Fri, 2 Oct 2015 12:01:41 +0000 (14:01 +0200)]
Merge pull request #2651 from pieterlexis/issue-2648-CDS_CDNSKEY

CDS and CDNSKEY support

9 years agoMerge pull request #2773 from ahupowerdns/ednssurg
Pieter Lexis [Fri, 2 Oct 2015 12:00:17 +0000 (14:00 +0200)]
Merge pull request #2773 from ahupowerdns/ednssurg

Ednssurg: DNSSEC plus grand removal of DNSResourceRecord from the hot path

9 years agoMerge remote-tracking branch 'main/master' into ednssurg
bert hubert [Fri, 2 Oct 2015 11:17:04 +0000 (13:17 +0200)]
Merge remote-tracking branch 'main/master' into ednssurg

Conflicts:
.travis.yml

9 years agobackend fixes for DNSNAame
bert hubert [Fri, 2 Oct 2015 09:25:49 +0000 (11:25 +0200)]
backend fixes for DNSNAame

9 years agoUse C++ auto-for with consts
Pieter Lexis [Tue, 29 Sep 2015 11:57:46 +0000 (13:57 +0200)]
Use C++ auto-for with consts

9 years agoUse drill so RR type support matches (ldns vs bind/dig)
Pieter Lexis [Wed, 12 Aug 2015 12:48:51 +0000 (14:48 +0200)]
Use drill so RR type support matches (ldns vs bind/dig)

9 years agoAdd regression test for CDS/CDNSKEY
Pieter Lexis [Wed, 22 Jul 2015 18:44:58 +0000 (20:44 +0200)]
Add regression test for CDS/CDNSKEY

9 years agoAdd CDS and CDNSKEY records to AXFR
Pieter Lexis [Wed, 22 Jul 2015 18:05:41 +0000 (20:05 +0200)]
Add CDS and CDNSKEY records to AXFR

9 years agoAdd documentation on CD and DNSKEY
Pieter Lexis [Wed, 22 Jul 2015 10:37:18 +0000 (12:37 +0200)]
Add documentation on CD and DNSKEY

 * Update pdnssec manpage
 * Update dnsmetadata page
 * Add HowTo on CDS key rollover
 * Add some <brs> to the pdnssec manpage to display it better in html

9 years agoDocs: layout of authoritative/domainmetadata.md
Pieter Lexis [Wed, 22 Jul 2015 09:30:57 +0000 (11:30 +0200)]
Docs: layout of authoritative/domainmetadata.md

9 years agoAdd CDS publishing support
Pieter Lexis [Tue, 21 Jul 2015 13:38:00 +0000 (15:38 +0200)]
Add CDS publishing support

9 years agoAdd CDNSKEY support
Pieter Lexis [Tue, 21 Jul 2015 13:37:11 +0000 (15:37 +0200)]
Add CDNSKEY support

This commit adds support to the packethandler, the dnssec infrastructure
and pdnssec for the CDNSKEY record.

Users can now use the domain metadata "PUBLISH_CDNSKEY" to reply to
CDNSKEY queries with their active DNSKEYs that are KSKs.

9 years agoAdd CDS and CDNSKEY QTypes (RFC 7344)
Pieter Lexis [Tue, 21 Jul 2015 11:22:41 +0000 (13:22 +0200)]
Add CDS and CDNSKEY QTypes (RFC 7344)

9 years agoMerge pull request #2768 from pieterlexis/regression-test-cosmetic
Pieter Lexis [Fri, 2 Oct 2015 07:02:57 +0000 (09:02 +0200)]
Merge pull request #2768 from pieterlexis/regression-test-cosmetic

Fix the building of sdig outside of travis

9 years agocompilation issue on travis, worked here strangely enough
bert hubert [Fri, 2 Oct 2015 07:01:37 +0000 (09:01 +0200)]
compilation issue on travis, worked here strangely enough

9 years agohere you go. It works, passes regression tests, but creates timeouts I can't explain...
bert hubert [Fri, 2 Oct 2015 06:40:05 +0000 (08:40 +0200)]
here you go. It works, passes regression tests, but creates timeouts I can't explain yet. Also, forwarding is broken right now in recursor.

9 years agomake ARecordContent and AAAARecordContent expose their inner ComboAddresses, plus...
bert hubert [Thu, 1 Oct 2015 19:46:47 +0000 (21:46 +0200)]
make ARecordContent and AAAARecordContent expose their inner ComboAddresses, plus zero out EDNS fields

9 years agofurther DNSRecord/DNSResourceRecord conversion infra
bert hubert [Thu, 1 Oct 2015 19:45:49 +0000 (21:45 +0200)]
further DNSRecord/DNSResourceRecord conversion infra

9 years agoadd some DNSResourceRecord/DNSRecord conversion infra
bert hubert [Thu, 1 Oct 2015 19:45:23 +0000 (21:45 +0200)]
add some DNSResourceRecord/DNSRecord conversion infra

9 years agoMerge pull request #2771 from pieterlexis/travis-build
Pieter Lexis [Thu, 1 Oct 2015 18:59:06 +0000 (20:59 +0200)]
Merge pull request #2771 from pieterlexis/travis-build

hopefully "fix" travis builds

9 years agohopefully "fix" travis builds
Pieter Lexis [Thu, 1 Oct 2015 15:58:12 +0000 (17:58 +0200)]
hopefully "fix" travis builds

9 years agothe great d_label -> d_name cleanup!
bert hubert [Wed, 30 Sep 2015 18:42:54 +0000 (20:42 +0200)]
the great d_label -> d_name cleanup!

9 years agomove to the centralised DNSRecord -> DNSResourceRecord converter
bert hubert [Wed, 30 Sep 2015 18:19:32 +0000 (20:19 +0200)]
move to the centralised DNSRecord -> DNSResourceRecord converter

9 years agogo back to O1 in hopes this will make the tests faster and compilation not that much...
bert hubert [Wed, 30 Sep 2015 14:54:45 +0000 (16:54 +0200)]
go back to O1 in hopes this will make the tests faster and compilation not that much slower

9 years agoFix make invocation
Pieter Lexis [Wed, 30 Sep 2015 12:50:17 +0000 (14:50 +0200)]
Fix make invocation

9 years agoskip ghost-1 and ghost-2 for now, disable some remotebackend checks that take 20...
bert hubert [Wed, 30 Sep 2015 13:50:51 +0000 (15:50 +0200)]
skip ghost-1 and ghost-2 for now, disable some remotebackend checks that take 20 minutes, reenable most other tests

9 years agohad a typo in it...
bert hubert [Wed, 30 Sep 2015 13:34:02 +0000 (15:34 +0200)]
had a typo in it...

9 years agofurther tuning.. perhaps this will work..
bert hubert [Wed, 30 Sep 2015 12:55:17 +0000 (14:55 +0200)]
further tuning.. perhaps this will work..

9 years agoMerge pull request #2754 from pieterlexis/test-pkg
Pieter Lexis [Wed, 30 Sep 2015 11:07:01 +0000 (13:07 +0200)]
Merge pull request #2754 from pieterlexis/test-pkg

regression tests: Use environment vars to determine program location

9 years agoin dnsdist, setTC now also sets RA=RD, otherwise clients ignore response. Found by...
bert hubert [Wed, 30 Sep 2015 10:04:47 +0000 (12:04 +0200)]
in dnsdist, setTC now also sets RA=RD, otherwise clients ignore response. Found by Burak Ozalp.

9 years agoMerge pull request #2764 from pieterlexis/html-escape-issue
Pieter Lexis [Wed, 30 Sep 2015 09:37:09 +0000 (11:37 +0200)]
Merge pull request #2764 from pieterlexis/html-escape-issue

Prevent XSS by escaping user input

9 years agoswitch main powerdns builds to -O0 and no -g which should also save lots of time
bert hubert [Wed, 30 Sep 2015 06:56:03 +0000 (08:56 +0200)]
switch main powerdns builds to -O0 and no -g which should also save lots of time

9 years agopdnssec output changed to match regression test expectations
bert hubert [Wed, 30 Sep 2015 06:48:43 +0000 (08:48 +0200)]
pdnssec output changed to match regression test expectations

9 years agoremote some tests
bert hubert [Wed, 30 Sep 2015 05:53:14 +0000 (07:53 +0200)]
remote some tests

9 years agoPrevent XSS by escaping user input
Pieter Lexis [Wed, 2 Sep 2015 12:14:02 +0000 (14:14 +0200)]
Prevent XSS by escaping user input

Additionally, escape "'s so no attributes can be inserted into webpages.

Thanks to Pierre Jaury and Damien Cauquil at Sysdream for pointing this
out.

9 years agotry -j1
bert hubert [Mon, 28 Sep 2015 19:28:07 +0000 (21:28 +0200)]
try -j1

9 years agoreduce paralellism for make in travis
bert hubert [Mon, 28 Sep 2015 18:24:56 +0000 (20:24 +0200)]
reduce paralellism for make in travis

9 years agolower -O setting for travis
bert hubert [Mon, 28 Sep 2015 09:46:14 +0000 (11:46 +0200)]
lower -O setting for travis

9 years agofix up remotebackend tests for DNSName
bert hubert [Mon, 28 Sep 2015 09:12:47 +0000 (11:12 +0200)]
fix up remotebackend tests for DNSName

9 years agofurther dnsname fixups for dnsdist and opendbx
bert hubert [Mon, 28 Sep 2015 08:21:04 +0000 (10:21 +0200)]
further dnsname fixups for dnsdist and opendbx

9 years agoopendbx and ldabbackend fixes for DNSName
bert hubert [Mon, 28 Sep 2015 07:36:12 +0000 (09:36 +0200)]
opendbx and ldabbackend fixes for DNSName

9 years agofixups for geoip, mydns and remote.
bert hubert [Mon, 28 Sep 2015 05:48:47 +0000 (07:48 +0200)]
fixups for geoip, mydns and remote.

9 years agofixes for Lua backend DNSName
bert hubert [Sun, 27 Sep 2015 22:51:03 +0000 (00:51 +0200)]
fixes for Lua backend DNSName

9 years agofix up p11 plus binddnssec DNSName adjustments
bert hubert [Sun, 27 Sep 2015 22:06:35 +0000 (00:06 +0200)]
fix up p11 plus binddnssec DNSName adjustments

9 years agoall travis binaries now build, testrunner passes too (and found some real bugs! yay...
bert hubert [Sun, 27 Sep 2015 20:47:12 +0000 (22:47 +0200)]
all travis binaries now build, testrunner passes too (and found some real bugs! yay unit tests!)

9 years agofurther round of DNSName cleanup. Found more cases where we were round-tripping DNSNa...
bert hubert [Sun, 27 Sep 2015 18:58:29 +0000 (20:58 +0200)]
further round of DNSName cleanup. Found more cases where we were round-tripping DNSNames accidentally too.

9 years agoMerge branch 'ednssurg' of github.com:ahupowerdns/pdns into ednssurg
bert hubert [Sun, 27 Sep 2015 17:44:43 +0000 (19:44 +0200)]
Merge branch 'ednssurg' of github.com:ahupowerdns/pdns into ednssurg

Conflicts:
pdns/distributor.hh

9 years agoimprove logging for database lookup issues
bert hubert [Sun, 27 Sep 2015 17:42:07 +0000 (19:42 +0200)]
improve logging for database lookup issues