]> granicus.if.org Git - pdns/log
pdns
6 years agoMerge pull request #6680 from ossobv/docs-configure-fix
Pieter Lexis [Tue, 29 May 2018 09:06:30 +0000 (11:06 +0200)]
Merge pull request #6680 from ossobv/docs-configure-fix

docs: Fix ./configure example, add --disable-lua-records

6 years agoMerge pull request #6681 from ossobv/docs-recursordist-settings-rst-warn
Pieter Lexis [Tue, 29 May 2018 09:06:20 +0000 (11:06 +0200)]
Merge pull request #6681 from ossobv/docs-recursordist-settings-rst-warn

docs: Add extra LF to settings.rst to squash sphinx warning

6 years agoMerge pull request #6684 from zeha/dnsdist-tostring
Pieter Lexis [Tue, 29 May 2018 09:06:10 +0000 (11:06 +0200)]
Merge pull request #6684 from zeha/dnsdist-tostring

dnsdist: Expose toString of various objects to Lua

6 years agoMerge pull request #6686 from zeha/missing-qtypes
Pieter Lexis [Tue, 29 May 2018 09:05:39 +0000 (11:05 +0200)]
Merge pull request #6686 from zeha/missing-qtypes

Initialize some missed qtypes

6 years agoMerge pull request #6687 from rgacogne/travis-sanitizers
Pieter Lexis [Tue, 29 May 2018 09:05:26 +0000 (11:05 +0200)]
Merge pull request #6687 from rgacogne/travis-sanitizers

Enable Address (dnsdist, rec) and Undefined Behavior (dnsdist) Sanitizers in Travis

6 years agorec: Fix a typo in one comment of the negative cache unit tests
Remi Gacogne [Mon, 28 May 2018 16:10:05 +0000 (18:10 +0200)]
rec: Fix a typo in one comment of the negative cache unit tests

6 years agorec: Fix a memory leak in the negative cache unit tests
Remi Gacogne [Mon, 28 May 2018 16:05:52 +0000 (18:05 +0200)]
rec: Fix a memory leak in the negative cache unit tests

6 years agoTravis: The default clang is now recent enough, don't force it
Remi Gacogne [Mon, 28 May 2018 09:30:50 +0000 (11:30 +0200)]
Travis: The default clang is now recent enough, don't force it

Travis switched to 5.0.0 while we were still forcing it to 3.6 for
the recursor, since the previous default was 3.5 which was too old.

6 years agoEnable Address (dnsdist, rec) and Undefined Behavior (dnsdist) Sanitizers
Remi Gacogne [Mon, 28 May 2018 07:57:14 +0000 (09:57 +0200)]
Enable Address (dnsdist, rec) and Undefined Behavior (dnsdist) Sanitizers

Enabling UBSAN for the rec triggers a weird linking error in Travis:

> clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

I haven't been able to reproduce it, it might just be an OOM.

6 years agoInitialize some missed qtypes
Chris Hofstaedtler [Mon, 28 May 2018 14:51:03 +0000 (16:51 +0200)]
Initialize some missed qtypes

6 years agoMerge pull request #6682 from zeha/brewfile
Peter van Dijk [Mon, 28 May 2018 14:14:20 +0000 (16:14 +0200)]
Merge pull request #6682 from zeha/brewfile

Allow running "brew bundle" to fetch deps on macOS

6 years agodnsdist: Expose toString of various objects to Lua
Chris Hofstaedtler [Mon, 28 May 2018 14:11:40 +0000 (16:11 +0200)]
dnsdist: Expose toString of various objects to Lua

6 years agoAllow running "brew bundle" to fetch deps
Chris Hofstaedtler [Mon, 28 May 2018 13:34:06 +0000 (15:34 +0200)]
Allow running "brew bundle" to fetch deps

6 years agodocs: Add extra LF to settings.rst to squash sphinx warning
Walter Doekes [Mon, 28 May 2018 08:19:50 +0000 (10:19 +0200)]
docs: Add extra LF to settings.rst to squash sphinx warning

6 years agodocs: Fix ./configure example, add --disable-lua-records
Walter Doekes [Mon, 28 May 2018 07:59:13 +0000 (09:59 +0200)]
docs: Fix ./configure example, add --disable-lua-records

6 years agoMerge pull request #6677 from cmouse/geoip
Remi Gacogne [Mon, 28 May 2018 07:33:28 +0000 (09:33 +0200)]
Merge pull request #6677 from cmouse/geoip

geoipbackend: Check GeoIP_id_by_addr_gl and GeoIP_id_by_addr_v6_gl return value

6 years agogeoipbackend: Check GeoIP_id_by_addr_gl and GeoIP_id_by_addr_v6_gl return value
Aki Tuomi [Sun, 27 May 2018 07:39:45 +0000 (10:39 +0300)]
geoipbackend: Check GeoIP_id_by_addr_gl and GeoIP_id_by_addr_v6_gl return value

The return value must be greater than 0, all other indicate lookup failure.
Fixes signal 11 crash.

6 years agoMerge pull request #6631 from Habbie/Werror-string-plus-int
Remi Gacogne [Fri, 25 May 2018 09:22:22 +0000 (11:22 +0200)]
Merge pull request #6631 from Habbie/Werror-string-plus-int

Add -Werror=string-plus-int to Travis clang testing

6 years agoadd -Werror=string-plus-int to travis clang build
Peter van Dijk [Sun, 20 May 2018 09:07:59 +0000 (11:07 +0200)]
add -Werror=string-plus-int to travis clang build

6 years agoMerge pull request #6541 from chbruyand/lua-error-msg
Pieter Lexis [Thu, 24 May 2018 14:56:01 +0000 (16:56 +0200)]
Merge pull request #6541 from chbruyand/lua-error-msg

dnsdist: allow known exception types to be converted to string

6 years agoMerge pull request #6499 from cmouse/stubresolver
Pieter Lexis [Thu, 24 May 2018 14:50:08 +0000 (16:50 +0200)]
Merge pull request #6499 from cmouse/stubresolver

stubresolver: Improve locking

6 years agoMerge pull request #6518 from rgacogne/rec-max-udp-queries-per-round
Pieter Lexis [Thu, 24 May 2018 14:44:41 +0000 (16:44 +0200)]
Merge pull request #6518 from rgacogne/rec-max-udp-queries-per-round

rec: Add a new max-udp-queries-per-round setting

6 years agoMerge pull request #6623 from zeha/doc-api-delete-204
Pieter Lexis [Thu, 24 May 2018 14:44:05 +0000 (16:44 +0200)]
Merge pull request #6623 from zeha/doc-api-delete-204

API docs: zone delete returns 204

6 years agoMerge pull request #6629 from Habbie/zero-mbz
Pieter Lexis [Thu, 24 May 2018 14:43:18 +0000 (16:43 +0200)]
Merge pull request #6629 from Habbie/zero-mbz

zero the must-be-zero bits

6 years agoMerge pull request #6633 from Habbie/auth-api-dup-rrset
Pieter Lexis [Thu, 24 May 2018 14:43:09 +0000 (16:43 +0200)]
Merge pull request #6633 from Habbie/auth-api-dup-rrset

reject duplicate RRsets in patchZone

6 years agoMerge pull request #6637 from rgacogne/smt-uninit
Pieter Lexis [Thu, 24 May 2018 14:42:59 +0000 (16:42 +0200)]
Merge pull request #6637 from rgacogne/smt-uninit

Don't copy unitialized values of SuffixMatchTree

6 years agoMerge pull request #6640 from rgacogne/rec-fix-error-string
Pieter Lexis [Thu, 24 May 2018 14:42:12 +0000 (16:42 +0200)]
Merge pull request #6640 from rgacogne/rec-fix-error-string

rec: Fix 'adding an integer to a string does not append to it' error

6 years agoMerge pull request #6647 from zeha/api-occlude
Pieter Lexis [Thu, 24 May 2018 14:41:49 +0000 (16:41 +0200)]
Merge pull request #6647 from zeha/api-occlude

API: Remove ENTs when "replacing" new records

6 years agoMerge pull request #6648 from zeha/auth-mysql-transaction-level
Pieter Lexis [Thu, 24 May 2018 14:41:05 +0000 (16:41 +0200)]
Merge pull request #6648 from zeha/auth-mysql-transaction-level

gmysql: Use future-proof statement for transaction isolation

6 years agoMerge pull request #6649 from dkoster/api-export-fix-output
Pieter Lexis [Thu, 24 May 2018 14:40:44 +0000 (16:40 +0200)]
Merge pull request #6649 from dkoster/api-export-fix-output

API export function output change to add IN to the output

6 years agoMerge pull request #6661 from rubenk/fix-typo-in-recursor-docs
Pieter Lexis [Thu, 24 May 2018 14:40:23 +0000 (16:40 +0200)]
Merge pull request #6661 from rubenk/fix-typo-in-recursor-docs

Fix issue in recursor compilation doc

6 years agoMerge pull request #6662 from pieterlexis/api-cryptokey-responses
Pieter Lexis [Thu, 24 May 2018 14:40:01 +0000 (16:40 +0200)]
Merge pull request #6662 from pieterlexis/api-cryptokey-responses

API: Send correct response codes for the CryptoKey endpoints

6 years agoMerge pull request #6663 from rubenk/settings-fix-typo
Pieter Lexis [Thu, 24 May 2018 14:39:40 +0000 (16:39 +0200)]
Merge pull request #6663 from rubenk/settings-fix-typo

Fix typo in settings doc

6 years agoMerge pull request #6657 from pieterlexis/auth-4.1.3-docs
Pieter Lexis [Thu, 24 May 2018 13:27:32 +0000 (15:27 +0200)]
Merge pull request #6657 from pieterlexis/auth-4.1.3-docs

Auth 4.1.3 changelog and secpoll

6 years agoauth 4.1.3: Changelog
Pieter Lexis [Wed, 23 May 2018 10:52:00 +0000 (12:52 +0200)]
auth 4.1.3: Changelog

6 years agoMerge pull request #6659 from pieterlexis/auth-alias-tcp
Pieter Lexis [Thu, 24 May 2018 09:34:42 +0000 (11:34 +0200)]
Merge pull request #6659 from pieterlexis/auth-alias-tcp

Ensure ALIAS answers over TCP have correct name

6 years agoFix typo in settings doc
Ruben Kerkhof [Wed, 23 May 2018 21:44:52 +0000 (23:44 +0200)]
Fix typo in settings doc

6 years agoFix issue in recursor compilation doc
Ruben Kerkhof [Wed, 23 May 2018 20:29:04 +0000 (22:29 +0200)]
Fix issue in recursor compilation doc

6 years agoAPI: 404 on non-existing CryptoKey keyid
Pieter Lexis [Wed, 23 May 2018 16:18:36 +0000 (18:18 +0200)]
API: 404 on non-existing CryptoKey keyid

6 years agoALIAS: fix comment
Pieter Lexis [Wed, 23 May 2018 16:22:13 +0000 (18:22 +0200)]
ALIAS: fix comment

6 years agoAPI: correct HTTP errors for cryptokey deletions
Pieter Lexis [Wed, 23 May 2018 16:09:05 +0000 (18:09 +0200)]
API: correct HTTP errors for cryptokey deletions

6 years agoALIAS: Ensure correct name in TCP answer
Pieter Lexis [Wed, 23 May 2018 15:47:35 +0000 (17:47 +0200)]
ALIAS: Ensure correct name in TCP answer

Fixes #6654

6 years agoALIAS: Add TCP test
Pieter Lexis [Wed, 23 May 2018 15:46:20 +0000 (17:46 +0200)]
ALIAS: Add TCP test

6 years agoFix attribution
Pieter Lexis [Wed, 23 May 2018 14:05:57 +0000 (16:05 +0200)]
Fix attribution

6 years agoUpdate secpoll for auth 4.1.3
Pieter Lexis [Wed, 23 May 2018 10:38:01 +0000 (12:38 +0200)]
Update secpoll for auth 4.1.3

6 years agoMerge pull request #6641 from pieterlexis/dnsdist-centos-6-postinst
Pieter Lexis [Wed, 23 May 2018 12:44:40 +0000 (14:44 +0200)]
Merge pull request #6641 from pieterlexis/dnsdist-centos-6-postinst

dnsdist: fix RPM scriptlets

6 years agoMerge pull request #6644 from rgacogne/rec413-changelog
Pieter Lexis [Tue, 22 May 2018 16:03:12 +0000 (18:03 +0200)]
Merge pull request #6644 from rgacogne/rec413-changelog

ChangeLog and secpoll update for rec 4.1.3

6 years agoAdd #6630 to the ChangeLog for 4.1.3
Remi Gacogne [Tue, 22 May 2018 14:10:23 +0000 (16:10 +0200)]
Add #6630 to the ChangeLog for 4.1.3

6 years agoMerge pull request #6613 from pieterlexis/ixfrdist-configyaml
Pieter Lexis [Tue, 22 May 2018 13:13:16 +0000 (15:13 +0200)]
Merge pull request #6613 from pieterlexis/ixfrdist-configyaml

ixfrdist: Use yaml as config file

6 years agoUpdated test_export_zone_json and test_export_zone_text to include the IN in the...
Dennis Koster [Tue, 22 May 2018 12:29:18 +0000 (14:29 +0200)]
Updated test_export_zone_json and test_export_zone_text to include the IN in the output

6 years agoAdded IN to the output of API export function
Dennis Koster [Tue, 22 May 2018 12:14:43 +0000 (14:14 +0200)]
Added IN to the output of API export function

6 years agogmysql: Use future-proof statement for transaction isolation
Chris Hofstaedtler [Tue, 22 May 2018 12:12:41 +0000 (14:12 +0200)]
gmysql: Use future-proof statement for transaction isolation

6 years agoAPI: Remove ENTs when "replacing" new records
Chris Hofstaedtler [Tue, 22 May 2018 11:44:56 +0000 (13:44 +0200)]
API: Remove ENTs when "replacing" new records

6 years agoFix a typo and a forgotten PR in the rec 4.1.3 ChangeLog
Remi Gacogne [Tue, 22 May 2018 10:27:18 +0000 (12:27 +0200)]
Fix a typo and a forgotten PR in the rec 4.1.3 ChangeLog

6 years agoixfrdist: Don't build on SLES 12
Pieter Lexis [Tue, 22 May 2018 10:26:49 +0000 (12:26 +0200)]
ixfrdist: Don't build on SLES 12

Yaml-CPP is not in the base system.

6 years agoChangeLog for rec 4.1.3
Remi Gacogne [Tue, 22 May 2018 10:19:50 +0000 (12:19 +0200)]
ChangeLog for rec 4.1.3

6 years agoUpdate the secpoll zone for rec-4.1.3
Remi Gacogne [Tue, 22 May 2018 10:19:15 +0000 (12:19 +0200)]
Update the secpoll zone for rec-4.1.3

6 years agoMerge pull request #6638 from pieterlexis/ixfrdist-ttl
Pieter Lexis [Tue, 22 May 2018 09:58:35 +0000 (11:58 +0200)]
Merge pull request #6638 from pieterlexis/ixfrdist-ttl

ixfrdist: store TTL in stored zones

6 years agoMerge pull request #6630 from Habbie/rdynamic-ldflags
Remi Gacogne [Tue, 22 May 2018 09:37:10 +0000 (11:37 +0200)]
Merge pull request #6630 from Habbie/rdynamic-ldflags

-rdynamic is for the linker

6 years agodnsdist: fix RPM scriptlets
Pieter Lexis [Mon, 21 May 2018 20:01:57 +0000 (22:01 +0200)]
dnsdist: fix RPM scriptlets

We used the non-existing `%elif` rpm macro ¯\_(ツ)_/¯.

6 years agoixfrdist: store TTL in stored zones
Pieter Lexis [Mon, 21 May 2018 20:53:58 +0000 (22:53 +0200)]
ixfrdist: store TTL in stored zones

Closes #6635

6 years agomove check down
Peter van Dijk [Mon, 21 May 2018 18:09:26 +0000 (20:09 +0200)]
move check down

6 years agorec: Fix 'adding an integer to a string does not append to it' error
Remi Gacogne [Mon, 21 May 2018 16:38:26 +0000 (18:38 +0200)]
rec: Fix 'adding an integer to a string does not append to it' error

6 years agoDon't copy unitialized values of SuffixMatchTree
Remi Gacogne [Mon, 21 May 2018 16:23:00 +0000 (18:23 +0200)]
Don't copy unitialized values of SuffixMatchTree

6 years agoadd duplicate RRset test
Peter van Dijk [Mon, 21 May 2018 09:02:43 +0000 (11:02 +0200)]
add duplicate RRset test

6 years agoreject duplicate RRsets in patchZone
Peter van Dijk [Mon, 21 May 2018 08:37:39 +0000 (10:37 +0200)]
reject duplicate RRsets in patchZone

6 years agostubresolver: Improve locking
Aki Tuomi [Sun, 15 Apr 2018 18:33:44 +0000 (21:33 +0300)]
stubresolver: Improve locking

6 years ago-rdynamic is for the linker
Peter van Dijk [Sun, 20 May 2018 09:13:59 +0000 (11:13 +0200)]
-rdynamic is for the linker

6 years agozero the must-be-zero bits
Peter van Dijk [Fri, 18 May 2018 15:36:27 +0000 (17:36 +0200)]
zero the must-be-zero bits

6 years agoMerge pull request #6620 from Habbie/nit
Peter van Dijk [Fri, 18 May 2018 10:38:59 +0000 (12:38 +0200)]
Merge pull request #6620 from Habbie/nit

the absolute tinyest of nits

6 years agoAPI docs: zone delete returns 204
Chris Hofstaedtler [Fri, 18 May 2018 08:01:06 +0000 (10:01 +0200)]
API docs: zone delete returns 204

6 years agoixfrdist: dist and install example config
Pieter Lexis [Wed, 16 May 2018 14:08:18 +0000 (16:08 +0200)]
ixfrdist: dist and install example config

6 years agoMerge pull request #6617 from rgacogne/calidns-quiet
Peter van Dijk [Thu, 17 May 2018 22:36:55 +0000 (00:36 +0200)]
Merge pull request #6617 from rgacogne/calidns-quiet

calidns: Don't issue socket buffer or SCHED_FIFO warnings in quiet mode

6 years agothe absolute tinyest of nits
Peter van Dijk [Thu, 17 May 2018 22:32:39 +0000 (00:32 +0200)]
the absolute tinyest of nits

6 years agocalidns: Don't issue socket buffer or SCHED_FIFO warnings in quiet mode
Remi Gacogne [Thu, 17 May 2018 16:04:32 +0000 (18:04 +0200)]
calidns: Don't issue socket buffer or SCHED_FIFO warnings in quiet mode

6 years agoMerge pull request #6567 from rgacogne/rec-separate-handler-thread
Remi Gacogne [Thu, 17 May 2018 13:54:57 +0000 (15:54 +0200)]
Merge pull request #6567 from rgacogne/rec-separate-handler-thread

rec: Move carbon/webserver/control/stats handling to a separate thread

6 years agoMerge pull request #6614 from chbruyand/auth-opt-rr
Remi Gacogne [Thu, 17 May 2018 13:54:14 +0000 (15:54 +0200)]
Merge pull request #6614 from chbruyand/auth-opt-rr

auth-api: restrict creation of OPT and TSIG rrsets

6 years agoMerge pull request #6561 from mind04/presigned
Peter van Dijk [Thu, 17 May 2018 12:28:01 +0000 (14:28 +0200)]
Merge pull request #6561 from mind04/presigned

Fix some minor issues for presigned (large) bind zones

6 years agoauth-api: refactor checks of RRsets types while importing them
Charles-Henri Bruyand [Thu, 17 May 2018 09:36:55 +0000 (11:36 +0200)]
auth-api: refactor checks of RRsets types while importing them

6 years agoMerge pull request #6615 from phonedph1/patch-3
Remi Gacogne [Thu, 17 May 2018 07:43:01 +0000 (09:43 +0200)]
Merge pull request #6615 from phonedph1/patch-3

Update dq.rst

6 years agoUpdate dq.rst
phonedph1 [Thu, 17 May 2018 00:55:54 +0000 (18:55 -0600)]
Update dq.rst

I believe the returns were mixed between these two..

6 years agorec: Move doStats out of houseKeeping()
Remi Gacogne [Tue, 15 May 2018 08:30:32 +0000 (10:30 +0200)]
rec: Move doStats out of houseKeeping()

6 years agorec: Remove extra new line
Remi Gacogne [Mon, 14 May 2018 07:44:15 +0000 (09:44 +0200)]
rec: Remove extra new line

6 years agorec: Replace yet another 0 with s_distributorThreadID
Remi Gacogne [Mon, 14 May 2018 07:36:15 +0000 (09:36 +0200)]
rec: Replace yet another 0 with s_distributorThreadID

6 years agorec: Don't call the broadcast function twice in the handler thread
Remi Gacogne [Mon, 7 May 2018 13:21:31 +0000 (15:21 +0200)]
rec: Don't call the broadcast function twice in the handler thread

Also add some comments to clarify how the threads work.

6 years agorec: Set pointers to nullptr after delete in the broadcast functions
Remi Gacogne [Fri, 4 May 2018 09:02:31 +0000 (10:02 +0100)]
rec: Set pointers to nullptr after delete in the broadcast functions

6 years agorec: Fix ACL and domain map updates in the handler thread
Remi Gacogne [Thu, 3 May 2018 14:16:25 +0000 (15:16 +0100)]
rec: Fix ACL and domain map updates in the handler thread

6 years agorec: Use constants for the handler and distributor thread ids
Remi Gacogne [Thu, 3 May 2018 14:01:46 +0000 (15:01 +0100)]
rec: Use constants for the handler and distributor thread ids

6 years agorec: Move carbon/webserver/control/stats handling to a separate thread
Remi Gacogne [Thu, 3 May 2018 12:27:18 +0000 (13:27 +0100)]
rec: Move carbon/webserver/control/stats handling to a separate thread

This makes sure that no worker or distributor thread will get blocked
while waiting for a response from another thread, for example while
gathering stats or executing a command coming from the control
channel.

6 years agoMerge pull request #6566 from rgacogne/rec-queries-pipe
Remi Gacogne [Wed, 16 May 2018 15:09:16 +0000 (17:09 +0200)]
Merge pull request #6566 from rgacogne/rec-queries-pipe

rec: Use a separate, non-blocking pipe to distribute queries

6 years agoMerge pull request #6588 from rgacogne/rec-safe-load-rpz
Remi Gacogne [Wed, 16 May 2018 15:08:56 +0000 (17:08 +0200)]
Merge pull request #6588 from rgacogne/rec-safe-load-rpz

rec: Delay the loading of RPZ zones until the parsing is done, fix race

6 years agoMerge pull request #6605 from rgacogne/rec-cap-ecs-scope
Remi Gacogne [Wed, 16 May 2018 15:08:22 +0000 (17:08 +0200)]
Merge pull request #6605 from rgacogne/rec-cap-ecs-scope

rec: Make sure that the ECS scope from the auth is < to the source

6 years agoauth-api: restrict creation of OPT and TSIG rrsets
Charles-Henri Bruyand [Wed, 16 May 2018 15:02:02 +0000 (17:02 +0200)]
auth-api: restrict creation of OPT and TSIG rrsets

6 years agoixfrdist: add multi-unit file for systemd
Pieter Lexis [Wed, 16 May 2018 13:55:47 +0000 (15:55 +0200)]
ixfrdist: add multi-unit file for systemd

6 years agoixfrdist: use urandom for dns_random init
Pieter Lexis [Wed, 16 May 2018 13:46:24 +0000 (15:46 +0200)]
ixfrdist: use urandom for dns_random init

6 years agoixfrdist: move start-up message up
Pieter Lexis [Wed, 16 May 2018 13:46:02 +0000 (15:46 +0200)]
ixfrdist: move start-up message up

6 years agoixfrdist: remove unused statement
Pieter Lexis [Wed, 16 May 2018 13:27:43 +0000 (15:27 +0200)]
ixfrdist: remove unused statement

6 years agoixfrdist: remove several global vars
Pieter Lexis [Wed, 16 May 2018 13:26:22 +0000 (15:26 +0200)]
ixfrdist: remove several global vars

6 years agoixfrdist: have a configure flag to enable
Pieter Lexis [Wed, 16 May 2018 12:38:19 +0000 (14:38 +0200)]
ixfrdist: have a configure flag to enable

6 years agoixfrdist: update manpages wrt yml config
Pieter Lexis [Wed, 16 May 2018 11:41:11 +0000 (13:41 +0200)]
ixfrdist: update manpages wrt yml config