]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
5 years agorec: Cleanup the netmask trees used for the ECS index on removals 6961/head
Remi Gacogne [Wed, 12 Sep 2018 10:42:37 +0000 (12:42 +0200)] 
rec: Cleanup the netmask trees used for the ECS index on removals

5 years agoMerge pull request #6919 from zeha/pdnslog-lua
Remi Gacogne [Tue, 4 Sep 2018 08:32:15 +0000 (10:32 +0200)] 
Merge pull request #6919 from zeha/pdnslog-lua

recursor 4.1: Add pdnslog to Lua configuration scripts

5 years agorecursor: Allow pdnslog to Lua configuration files 6919/head
Chris Hofstaedtler [Mon, 3 Sep 2018 09:39:59 +0000 (11:39 +0200)] 
recursor: Allow pdnslog to Lua configuration files

5 years agoMerge pull request #6867 from pieterlexis/rec-414-backports rec-4.1.4
Pieter Lexis [Fri, 31 Aug 2018 06:50:01 +0000 (08:50 +0200)] 
Merge pull request #6867 from pieterlexis/rec-414-backports

Recursor 4.1.4 backports

5 years agoBackport #6873 6867/head
Pieter Lexis [Thu, 30 Aug 2018 08:45:39 +0000 (10:45 +0200)] 
Backport #6873

5 years agoPurge all auth/forward zone data including subtree.
phonedph1 [Thu, 23 Aug 2018 17:27:02 +0000 (17:27 +0000)] 
Purge all auth/forward zone data including subtree.

Previously this would miss purging out removed entries/data.

(cherry picked from commit b68af3ee48054ebce87aec3df89abf75a71f8c49)

5 years agoBackport #6804
Pieter Lexis [Tue, 21 Aug 2018 13:41:11 +0000 (15:41 +0200)] 
Backport #6804

5 years agoBackport #6465
Pieter Lexis [Tue, 21 Aug 2018 12:01:04 +0000 (14:01 +0200)] 
Backport #6465

5 years agoskip recursor SNMP testing in buildbot
Peter van Dijk [Wed, 25 Jul 2018 16:13:04 +0000 (18:13 +0200)] 
skip recursor SNMP testing in buildbot

(cherry picked from commit e204f700718a7a502bc98c8b65e6848e1c419975)

5 years agorec: Don't account chained queries more than once
Remi Gacogne [Tue, 10 Apr 2018 08:26:21 +0000 (10:26 +0200)] 
rec: Don't account chained queries more than once

(cherry picked from commit deca7d8f719397ce553383372ec5f80a2b94b414)

5 years agoBackport #6812
Pieter Lexis [Tue, 21 Aug 2018 10:49:04 +0000 (12:49 +0200)] 
Backport #6812

5 years agoBackport #6809
Pieter Lexis [Tue, 21 Aug 2018 10:48:54 +0000 (12:48 +0200)] 
Backport #6809

5 years agoBackport #6557
Pieter Lexis [Tue, 21 Aug 2018 10:48:38 +0000 (12:48 +0200)] 
Backport #6557

5 years agoBackport #6518
Pieter Lexis [Tue, 21 Aug 2018 10:48:18 +0000 (12:48 +0200)] 
Backport #6518

5 years agoBackport #6436
Pieter Lexis [Tue, 21 Aug 2018 10:48:00 +0000 (12:48 +0200)] 
Backport #6436

5 years agoMerge pull request #6851 from rgacogne/rec41-disable-tcp-sockets-reuseport
Pieter Lexis [Tue, 21 Aug 2018 07:55:37 +0000 (09:55 +0200)] 
Merge pull request #6851 from rgacogne/rec41-disable-tcp-sockets-reuseport

rec-4.1.x: Backport #6850: Disable only our own TCP listening socket when reuseport is enabled

5 years agodo not load Lua in the distributor thread
Peter van Dijk [Thu, 26 Jul 2018 15:05:14 +0000 (17:05 +0200)] 
do not load Lua in the distributor thread

(cherry picked from commit 3fe38b4b10f1e3208eac806eb4889730f0115c90)

5 years agoonly load the Lua script in worker threads
Peter van Dijk [Thu, 26 Jul 2018 14:24:06 +0000 (16:24 +0200)] 
only load the Lua script in worker threads

(cherry picked from commit 5b388d28aef0346f1d51e39e0d3ebe3f440cdebe)

5 years agocorrect type for getRecursorThreadId
Peter van Dijk [Thu, 26 Jul 2018 14:20:26 +0000 (16:20 +0200)] 
correct type for getRecursorThreadId

(cherry picked from commit 30da2030cf0cc0c5f9d59b6e30560c381a847432)

5 years agoFix greediness issue
Charles-Henri Bruyand [Wed, 8 Aug 2018 06:15:51 +0000 (08:15 +0200)] 
Fix greediness issue

(cherry picked from commit 86bb687cc54a3949bea7f0984b81bb1e25064003)

5 years agorecursor tests: replace awk command by perl
Charles-Henri Bruyand [Thu, 26 Jul 2018 07:30:12 +0000 (09:30 +0200)] 
recursor tests: replace awk command by perl

(cherry picked from commit 1bd2b0d8c94eec1a5908256110c5396296646065)

5 years agomake rec_control respect include-dir; closes #6536
Peter van Dijk [Tue, 1 May 2018 17:16:52 +0000 (19:16 +0200)] 
make rec_control respect include-dir; closes #6536

(cherry picked from commit 14cd977426717d549120404b29f13e66c3acc044)

5 years agorec: Clarify a bit what an incomning UDP queries processing round is
Remi Gacogne [Fri, 27 Apr 2018 16:49:33 +0000 (18:49 +0200)] 
rec: Clarify a bit what an incomning UDP queries processing round is

(cherry picked from commit 78227847a6c17d890b405b057fc87e651de31604)

5 years agorec: Add a new max-udp-queries-per-round setting
Remi Gacogne [Thu, 19 Apr 2018 15:03:54 +0000 (17:03 +0200)] 
rec: Add a new max-udp-queries-per-round setting

This new setting limits the number of UDP queries we attempt to
handle after being woken up by the multiplexer and before returning
back to process other events.
Before this, we could end up trying to process queries after queries
and almost never return from handleNewUDPQuestion() to process new
events, meaning we could eventually end up never scheduling new
mthreads or handle responses from authoritative servers for a long
time, only sending responses for packetcache hits and creating new
mthreads.

(cherry picked from commit a5886e6adad3c19e3490fba1dc7e580defb83eee)

5 years agoSplit PDNS_ENABLE_UNIT_TESTS so recursor, dnsdist dont have meaningless --enable...
Chris Hofstaedtler [Tue, 3 Apr 2018 08:55:38 +0000 (10:55 +0200)] 
Split PDNS_ENABLE_UNIT_TESTS so recursor, dnsdist dont have meaningless --enable-backend-unit-tests

(cherry picked from commit 662d9972039d4bf32f70479b0139c1ecfe7d108e)

5 years agorec: Every thread listen on all TCP sockets without reuseport/distributes 6851/head
Remi Gacogne [Fri, 17 Aug 2018 10:13:16 +0000 (12:13 +0200)] 
rec: Every thread listen on all TCP sockets without reuseport/distributes

5 years agorec: Disable only our own TCP listening socket when reuseport is enabled
Remi Gacogne [Mon, 13 Aug 2018 15:12:54 +0000 (17:12 +0200)] 
rec: Disable only our own TCP listening socket when reuseport is enabled

(cherry picked from commit adb6cd72c33eadaa60db7abdddea5ff1d29cf51b)

5 years agoMerge pull request #6793 from rgacogne/rec41-gcc-8-warnings
Remi Gacogne [Wed, 1 Aug 2018 12:43:48 +0000 (14:43 +0200)] 
Merge pull request #6793 from rgacogne/rec41-gcc-8-warnings

Backport rec-4.1.x: Fix warnings reported by GCC 8.1.0

5 years agoMerge pull request #6794 from rgacogne/rec41-mtasker-container-bounds
Peter van Dijk [Wed, 25 Jul 2018 16:25:10 +0000 (18:25 +0200)] 
Merge pull request #6794 from rgacogne/rec41-mtasker-container-bounds

Backport rec-4.1.x: Allocate one more stack byte to make _GLIBCXX_ASSERTIONS happy

5 years agoFix warnings reported by GCC 8.1.0 6793/head
Remi Gacogne [Wed, 9 May 2018 15:06:40 +0000 (17:06 +0200)] 
Fix warnings reported by GCC 8.1.0

- polymorphic exceptions caught by value
- ComboAddress objects manipulated via `memset()`

(cherry picked from commit d38e2ba97a78aa9dfc894fc4e13a6f3a410dd31a)

5 years agorec: Allocate one more stack byte to make _GLIBCXX_ASSERTIONS happy 6794/head
Remi Gacogne [Wed, 6 Jun 2018 08:37:25 +0000 (10:37 +0200)] 
rec: Allocate one more stack byte to make _GLIBCXX_ASSERTIONS happy

(cherry picked from commit 5529b1b183a2b2a51784fe6ee292bdf9032e8834)

5 years agoMerge pull request #6772 from rgacogne/rec41-rec-snmp-broadcast
Remi Gacogne [Thu, 5 Jul 2018 08:25:46 +0000 (10:25 +0200)] 
Merge pull request #6772 from rgacogne/rec41-rec-snmp-broadcast

Backport #6720: rec-4.1.x: Allow the SNMP thread to retrieve statistics

5 years agoMerge pull request #6771 from rgacogne/rec41-unit-tests-thel
Remi Gacogne [Wed, 4 Jul 2018 11:36:00 +0000 (13:36 +0200)] 
Merge pull request #6771 from rgacogne/rec41-unit-tests-thel

rec: Reorder more headers to be able to build with Boost 1.67+

5 years agorec: Reorder more headers to be able to build with Boost 1.67+ 6771/head
Remi Gacogne [Wed, 4 Jul 2018 09:33:53 +0000 (11:33 +0200)] 
rec: Reorder more headers to be able to build with Boost 1.67+

5 years agorec: Add regression tests for SNMP 6772/head
Remi Gacogne [Wed, 6 Jun 2018 15:15:51 +0000 (17:15 +0200)] 
rec: Add regression tests for SNMP

(cherry picked from commit aa7a54c910f03af7c71a9bec0e4f8afda320aeb3)

5 years agorec: Allow the SNMP thread to retrieve statistics
Remi Gacogne [Wed, 6 Jun 2018 14:05:20 +0000 (16:05 +0200)] 
rec: Allow the SNMP thread to retrieve statistics

(cherry picked from commit 788eeb4c3318f5f6827943e4953941f48b2dc22a)

5 years agoMerge pull request #6642 from rgacogne/rec41-fix-error-string rec-4.1.3
Remi Gacogne [Tue, 22 May 2018 13:09:58 +0000 (15:09 +0200)] 
Merge pull request #6642 from rgacogne/rec41-fix-error-string

rec-4.1.x: Fix 'adding an integer to a string does not append to it' error

5 years agoMerge pull request #6646 from Habbie/backport-6630
Remi Gacogne [Tue, 22 May 2018 13:09:22 +0000 (15:09 +0200)] 
Merge pull request #6646 from Habbie/backport-6630

-rdynamic is for the linker

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

(cherry picked from commit f1f504545f6165b794e8fe5ddd29812610c63db9)

5 years agorec: Fix 'adding an integer to a string does not append to it' error 6642/head
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

(cherry picked from commit 1763442754e6a30dd0fc0c6a37316c2b30b9a3b8)

5 years agoMerge pull request #6595 from Habbie/rec-4.1.x-boost-L
Pieter Lexis [Fri, 18 May 2018 12:08:49 +0000 (13:08 +0100)] 
Merge pull request #6595 from Habbie/rec-4.1.x-boost-L

reorder includes to avoid Boost L conflict

5 years agoMerge pull request #6611 from mnordhoff/6130-rec-4.1.x
Pieter Lexis [Fri, 18 May 2018 12:08:28 +0000 (13:08 +0100)] 
Merge pull request #6611 from mnordhoff/6130-rec-4.1.x

Backport 6130 to rec-4.1.x: Update copyright years to 2018

5 years agoMerge pull request #6612 from rgacogne/backports-4.1.3
Remi Gacogne [Wed, 16 May 2018 15:04:48 +0000 (17:04 +0200)] 
Merge pull request #6612 from rgacogne/backports-4.1.3

rec: backport #6562, #6566, #6567 and #6588 to 4.1.x

5 years agoBackport #6469 6612/head
Remi Gacogne [Wed, 16 May 2018 12:46:03 +0000 (14:46 +0200)] 
Backport #6469

5 years agoBackport #6467
Remi Gacogne [Wed, 16 May 2018 12:45:52 +0000 (14:45 +0200)] 
Backport #6467

5 years agoBackport #6313
Remi Gacogne [Wed, 16 May 2018 12:45:44 +0000 (14:45 +0200)] 
Backport #6313

5 years agorec: Fix the logged delay in the RPZ retriever thread
Remi Gacogne [Wed, 11 Apr 2018 10:13:24 +0000 (12:13 +0200)] 
rec: Fix the logged delay in the RPZ retriever thread

(cherry picked from commit 7a4bed25f45636f1ef23c99093ac432ec412ddc4)

5 years agorec: Respect the AXFR timeout while connecting to the server
Remi Gacogne [Wed, 11 Apr 2018 09:33:10 +0000 (11:33 +0200)] 
rec: Respect the AXFR timeout while connecting to the server

(cherry picked from commit e07c3801fa248c5976799e5ed3bf40479173d0e6)

5 years agoadd comment
bert hubert [Wed, 11 Apr 2018 08:24:04 +0000 (10:24 +0200)] 
add comment

(cherry picked from commit d04ac1081f9157bdc7a6c2fa630c4c50bef77515)

5 years agoaj reported that we increase "dnssec-validations" counter even when running
bert hubert [Wed, 11 Apr 2018 08:15:57 +0000 (10:15 +0200)] 
aj reported that we increase "dnssec-validations" counter even when running
with process-no-validate.  This can be caused by us receiving queries for
special names ('localhost', 'version.bind') which we explicitly mark as
Insecure. This led our statistics to conclude a validation attempt had taken place.
This commit puts the update check behind 'shouldValidate()'.

(cherry picked from commit 3b54c577c8ba3a46cc4e9b7bf281b9e6eff7fb44)

5 years agorec: Add the auth-zone-queries metric counting queries to hosted zones
Remi Gacogne [Wed, 28 Feb 2018 14:46:10 +0000 (14:46 +0000)] 
rec: Add the auth-zone-queries metric counting queries to hosted zones

(cherry picked from commit e9a628a297f8bd2953d42ef4d898aeba1c371ae3)

5 years agorec: Initialize SyncRes::d_authzonequeries
Remi Gacogne [Wed, 28 Feb 2018 14:09:47 +0000 (14:09 +0000)] 
rec: Initialize SyncRes::d_authzonequeries

(cherry picked from commit 14d9aade0192562fd42009a533a9b8d714a2ac68)

5 years agorec: Count a lookup into an internal auth zone as a cache miss
Remi Gacogne [Wed, 28 Feb 2018 10:26:03 +0000 (10:26 +0000)] 
rec: Count a lookup into an internal auth zone as a cache miss

We only considered a query a cache miss if we had to do at least
one outgoing query, but having to look up into one of the internally
hosted zone (auth-zones) should count as a cache miss too.

(cherry picked from commit f7b8cffae1ff94c2e78ac6f3b3ee494735a0c23c)

5 years agoBackport #6588
Remi Gacogne [Wed, 16 May 2018 10:10:17 +0000 (12:10 +0200)] 
Backport #6588

5 years agoBackport #6567
Remi Gacogne [Wed, 16 May 2018 10:09:47 +0000 (12:09 +0200)] 
Backport #6567

5 years agoBackport #6566
Remi Gacogne [Wed, 16 May 2018 10:05:07 +0000 (12:05 +0200)] 
Backport #6566

5 years agoBackport #6562
Remi Gacogne [Wed, 16 May 2018 10:04:46 +0000 (12:04 +0200)] 
Backport #6562

5 years agocheck if parameter has been submitted before accessing it
Charles-Henri Bruyand [Wed, 2 May 2018 14:18:50 +0000 (16:18 +0200)] 
check if parameter has been submitted before accessing it

(cherry picked from commit 46d03ec1bde4eb3241f510f300e2a302dcfe65d0)

5 years agodetails version the subtree parameters has been added
Charles-Henri Bruyand [Wed, 2 May 2018 14:17:31 +0000 (16:17 +0200)] 
details version the subtree parameters has been added

(cherry picked from commit b3cccb9d3d61161c026ff2225582dcc685d4894a)

5 years agoSkip subtree option tests against auth
Charles-Henri Bruyand [Wed, 2 May 2018 13:55:34 +0000 (15:55 +0200)] 
Skip subtree option tests against auth

(cherry picked from commit 921442337d81d1e9a4fa0e1f70f140e1f3ccf472)

5 years agorec api: add subtree option to the cache flush endpoint
Charles-Henri Bruyand [Wed, 2 May 2018 12:07:13 +0000 (14:07 +0200)] 
rec api: add subtree option to the cache flush endpoint

(cherry picked from commit d19c22a15f8e75ebc6ff22665ba8e8c2152957db)

5 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()

(cherry picked from commit 5b05b92fde73d19f8b1c5edffa359b6065f96fd2)

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

(cherry picked from commit 46b2604070c76cabd27fda3257b7f1539d3c64c4)

5 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

(cherry picked from commit 08cb9fd69a0c0df570b81a2cc1a64e15f7ac97ac)

5 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.

(cherry picked from commit d27edfeb252a2d7745cb8353a7145967b686cc1d)

5 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

(cherry picked from commit e15b5d5d00040985d5e150ab0641ca77b358d36a)

5 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

(cherry picked from commit b6904a9f1581fe5d9b9024748d34e999cf694d37)

5 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

(cherry picked from commit badb05fe4c358ab8f206f4a7842368d87bd90415)

5 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.

(cherry picked from commit b8dc631ae02733f35130af7b27ccb9342069e2d8)

5 years agorec: Delay RPZ threads creation until the Lua config has been parsed
Remi Gacogne [Wed, 9 May 2018 10:53:06 +0000 (12:53 +0200)] 
rec: Delay RPZ threads creation until the Lua config has been parsed

Otherwise if the parsing of the remaining Lua directives takes longer
than the AXFR, our zone content will be replaced by an empty zone
once the parsing finishes.

(cherry picked from commit 1bf8d12ac362eadfc88567e050cc0ef3805ef355)

5 years agoUpdate copyright years to 2018 6611/head
Pieter Lexis [Tue, 2 Jan 2018 08:57:59 +0000 (09:57 +0100)] 
Update copyright years to 2018

Also update several years to match the data in pdns/version.cc

5 years agorec: Load RPZ safely from the RPZIXFRTracker
Pieter Lexis [Tue, 8 May 2018 20:47:33 +0000 (21:47 +0100)] 
rec: Load RPZ safely from the RPZIXFRTracker

(cherry picked from commit ed517a9a2c00814b81655d2ae518fdaafb7f063d)

5 years agorec: Fix the description of several metrics in the SNMP MIB
Remi Gacogne [Mon, 7 May 2018 13:01:15 +0000 (15:01 +0200)] 
rec: Fix the description of several metrics in the SNMP MIB

(cherry picked from commit b958640c49d95f6953a0bd1c5635802db883fa2a)

5 years agorec: Check that the query distribution pipe has been set non-blocking
Remi Gacogne [Mon, 7 May 2018 12:57:47 +0000 (14:57 +0200)] 
rec: Check that the query distribution pipe has been set non-blocking

(cherry picked from commit d10307c547c0a4178f71dac10e86428c2877b5f6)

5 years agorec: Use a separate, non-blocking pipe to distribute queries
Remi Gacogne [Thu, 3 May 2018 11:17:50 +0000 (12:17 +0100)] 
rec: Use a separate, non-blocking pipe to distribute queries

This allows us to drop queries when a pipe goes full, thus still
distributing queries to other threads instead of blocking. It also
adds a new metric to keep track of queries dropped because the pipe
was full.

(cherry picked from commit cf8cda180674c58d7a56b528d379aceaf9641746)

5 years agoMerge pull request #6596 from Habbie/backport-6478
Remi Gacogne [Fri, 11 May 2018 07:55:40 +0000 (09:55 +0200)] 
Merge pull request #6596 from Habbie/backport-6478

Fix a warning on botan >= 2.5.0

5 years agoFix a warning on botan >= 2.5.0 6596/head
Remi Gacogne [Thu, 12 Apr 2018 12:36:09 +0000 (14:36 +0200)] 
Fix a warning on botan >= 2.5.0

(cherry picked from commit 7d9895fe11d5371f5d775d9f13a8b52f494021b1)

5 years agoreorder includes to avoid Boost L conflict 6595/head
Peter van Dijk [Thu, 10 May 2018 11:42:44 +0000 (13:42 +0200)] 
reorder includes to avoid Boost L conflict

5 years agoMerge pull request #6583 from rgacogne/backport-6574
Pieter Lexis [Thu, 10 May 2018 07:56:47 +0000 (08:56 +0100)] 
Merge pull request #6583 from rgacogne/backport-6574

Backport 6574 to 4.1.x: rec: Add _raw versions for qname / ComboAddresses to the FFI API

5 years agoMerge pull request #6586 from rgacogne/rec41-ecs-index-canon
Pieter Lexis [Thu, 10 May 2018 07:56:06 +0000 (08:56 +0100)] 
Merge pull request #6586 from rgacogne/rec41-ecs-index-canon

 rec: Use canonical ordering in the ECS index

5 years agorec: Use canonical ordering in the ECS index 6586/head
Remi Gacogne [Wed, 9 May 2018 08:28:04 +0000 (10:28 +0200)] 
rec: Use canonical ordering in the ECS index

The recursor's ECS index used the `DNSName`'s case insensitive
reverse lexicographical ordering (default) instead of the canonical
ordering one.
While quite faster, it isn't exactly right.

5 years agorec: Add unit tests for wiping the cache
Remi Gacogne [Wed, 9 May 2018 08:02:19 +0000 (10:02 +0200)] 
rec: Add unit tests for wiping the cache

(cherry picked from commit ce3697ad69dd79be40fbe1f2b00a480c84a8f17a)

5 years agorec: Add _raw versions for qname / ComboAddresses to the FFI API 6583/head
Remi Gacogne [Mon, 7 May 2018 10:03:24 +0000 (12:03 +0200)] 
rec: Add _raw versions for qname / ComboAddresses to the FFI API

(cherry picked from commit aedec560c6494e838d92e9a8106d5ff87367eb83)

6 years agoMerge pull request #6514 from rgacogne/rec41-backport-6511
Remi Gacogne [Wed, 18 Apr 2018 08:30:33 +0000 (10:30 +0200)] 
Merge pull request #6514 from rgacogne/rec41-backport-6511

rec-4.1.x: Add -rdynamic to C{,XX}FLAGS when we build with LuaJIT

6 years agorec: Add -rdynamic to C{,XX}FLAGS when we build with LuaJIT 6514/head
Remi Gacogne [Wed, 18 Apr 2018 08:04:19 +0000 (10:04 +0200)] 
rec: Add -rdynamic to C{,XX}FLAGS when we build with LuaJIT

6 years agoMerge pull request #6418 from zeha/backport-6179
Remi Gacogne [Fri, 30 Mar 2018 08:42:03 +0000 (10:42 +0200)] 
Merge pull request #6418 from zeha/backport-6179

Backport of #6179

6 years agoMerge pull request #6419 from zeha/backport-6086
Remi Gacogne [Fri, 30 Mar 2018 08:41:55 +0000 (10:41 +0200)] 
Merge pull request #6419 from zeha/backport-6086

Backport of #6086

6 years agorec: Use the SyncRes time in our unit tests when checking cache validity 6419/head
Remi Gacogne [Mon, 11 Dec 2017 12:46:13 +0000 (13:46 +0100)] 
rec: Use the SyncRes time in our unit tests when checking cache validity

This might not fix our apparently random failures, but it will at least
remove on possible cause.

6 years agoIncrease MTasker stacksize 6418/head
James Cowgill [Fri, 12 Jan 2018 21:26:03 +0000 (22:26 +0100)] 
Increase MTasker stacksize

Throwing an exception uses libgcc's stack unwinder. On mips64el
the unwinder will overflow the default stack size of 8K. In turn
the return ucontext gets overwritten, resulting in a jump into
garbage.

6 years agoMerge pull request #6410 from Habbie/rec-4.1.x-json-sorting rec-4.1.2
Peter van Dijk [Tue, 27 Mar 2018 21:55:34 +0000 (23:55 +0200)] 
Merge pull request #6410 from Habbie/rec-4.1.x-json-sorting

backport jq/sorting fixes from #6304 to rec 4.1

6 years agomake travis happy about new json sorting? 6410/head
Peter van Dijk [Sun, 4 Mar 2018 21:24:23 +0000 (22:24 +0100)] 
make travis happy about new json sorting?

(cherry picked from commit c91df3a1425e507b08c5410196833eb80672eab6)

6 years agotest: fix comments-in-forward-zones-file sorting?
Peter van Dijk [Tue, 27 Feb 2018 21:11:12 +0000 (22:11 +0100)] 
test: fix comments-in-forward-zones-file sorting?

(cherry picked from commit ffc999e4a6feb44e8a558049e313b9d676e2c71a)

6 years agoMerge pull request #6387 from pieterlexis/rec-4.1.2-backports
Pieter Lexis [Tue, 27 Mar 2018 12:26:05 +0000 (14:26 +0200)] 
Merge pull request #6387 from pieterlexis/rec-4.1.2-backports

Recursor 4.1.2 backports

6 years agoMerge pull request #6385 from rgacogne/backport-6344
Pieter Lexis [Tue, 27 Mar 2018 12:25:42 +0000 (14:25 +0200)] 
Merge pull request #6385 from rgacogne/backport-6344

Backport 6344 to rec 4.1.x: Add a new Lua FFI hook, gettag-ffi

6 years agoBackport #6172 6387/head
Pieter Lexis [Mon, 26 Mar 2018 11:00:25 +0000 (13:00 +0200)] 
Backport #6172

6 years agoBackport #6055
Pieter Lexis [Mon, 26 Mar 2018 11:00:15 +0000 (13:00 +0200)] 
Backport #6055

6 years agoBackport #6300
Pieter Lexis [Mon, 26 Mar 2018 10:59:38 +0000 (12:59 +0200)] 
Backport #6300

6 years agoBackport #6320
Pieter Lexis [Mon, 26 Mar 2018 10:59:27 +0000 (12:59 +0200)] 
Backport #6320

6 years agoBackport #6379
Pieter Lexis [Mon, 26 Mar 2018 10:59:11 +0000 (12:59 +0200)] 
Backport #6379

6 years agorec: Set the visibility of FFI functions to 'default' (external) 6385/head
Remi Gacogne [Fri, 16 Mar 2018 08:36:49 +0000 (09:36 +0100)] 
rec: Set the visibility of FFI functions to 'default' (external)

This makes the symbols usable across shared object boundary (Lua FFI)
even if the default visibility is set to hidden.

(cherry picked from commit 4d9be0eba19ee15ed2b9c45b508086b9fd31d68a)