thirdparty/pdns.git
24 hours agoMerge pull request #7879 from pieterlexis/rec-start-as-nonroot master
Otto Moerbeek [Wed, 19 Jun 2019 14:07:06 +0000 (16:07 +0200)]
Merge pull request #7879 from pieterlexis/rec-start-as-nonroot

Recursor: don't start as root in systemd

24 hours agoMerge pull request #7945 from pieterlexis/syncres-CNAME-cache-cleanup
Otto Moerbeek [Wed, 19 Jun 2019 14:05:43 +0000 (16:05 +0200)]
Merge pull request #7945 from pieterlexis/syncres-CNAME-cache-cleanup

rec: Clean ups in the SyncRes::doCNAMECacheLookup code

24 hours agoMerge pull request #7952 from pieterlexis/dnsdist-unused-warning
Remi Gacogne [Wed, 19 Jun 2019 13:57:45 +0000 (15:57 +0200)]
Merge pull request #7952 from pieterlexis/dnsdist-unused-warning

dnsdist: squelch unused function warning

24 hours agoutility: Remove makeUidNumeric and makeGidNumeric 7879/head
Pieter Lexis [Wed, 19 Jun 2019 13:35:28 +0000 (15:35 +0200)]
utility: Remove makeUidNumeric and makeGidNumeric

26 hours agodnsdist: squelch unused function warning 7952/head
Pieter Lexis [Wed, 19 Jun 2019 12:09:14 +0000 (14:09 +0200)]
dnsdist: squelch unused function warning

Only compile the loadTLSCertificateAndKeys fucntion when DoT and/or DoH
are enabled.

2 days agodoCNAMECacheCheck: Rename iterator variable 7945/head
Pieter Lexis [Tue, 18 Jun 2019 13:00:40 +0000 (15:00 +0200)]
doCNAMECacheCheck: Rename iterator variable

Renames `j` to `record` for clarity and dereferences it.

2 days agodoCNAMECacheCheck: Remove one level of indent
Pieter Lexis [Tue, 18 Jun 2019 12:55:22 +0000 (14:55 +0200)]
doCNAMECacheCheck: Remove one level of indent

Done by returning early when no records were found.

2 days agorec: Log only once for DNAME cache lookups
Pieter Lexis [Tue, 18 Jun 2019 12:49:51 +0000 (14:49 +0200)]
rec: Log only once for DNAME cache lookups

2 days agoMerge pull request #7811 from Habbie/circleci-dnsdist
Peter van Dijk [Tue, 18 Jun 2019 12:13:21 +0000 (14:13 +0200)]
Merge pull request #7811 from Habbie/circleci-dnsdist

dnsdist: test on circleci; support py3 in tests

2 days agoMerge pull request #7923 from Habbie/auth-4.1.9-changelog
Peter van Dijk [Tue, 18 Jun 2019 11:13:33 +0000 (13:13 +0200)]
Merge pull request #7923 from Habbie/auth-4.1.9-changelog

auth 4.1.9: changelog; secpoll; superslave setting revisionist history

2 days agoset UBSAN_OPTIONS 7811/head
Peter van Dijk [Tue, 18 Jun 2019 09:37:00 +0000 (11:37 +0200)]
set UBSAN_OPTIONS

2 days agoMerge pull request #7757 from omoerbeek/rec-qname-min
Otto Moerbeek [Tue, 18 Jun 2019 09:34:28 +0000 (11:34 +0200)]
Merge pull request #7757 from omoerbeek/rec-qname-min

Rec experimental qname minimization

2 days agoComments from pieterlexis: comment args, restructure "no ancestor found" case, zap... 7757/head
Otto Moerbeek [Tue, 18 Jun 2019 09:22:25 +0000 (11:22 +0200)]
Comments from pieterlexis: comment args, restructure "no ancestor found" case, zap newlines in trace.

2 days agoResolve merge errors.
Otto Moerbeek [Tue, 18 Jun 2019 08:30:12 +0000 (10:30 +0200)]
Resolve merge errors.

2 days agoProper annotation for RFC link in docs.
Otto Moerbeek [Tue, 18 Jun 2019 08:23:43 +0000 (10:23 +0200)]
Proper annotation for RFC link in docs.

2 days agoMerge pull request #7871 from omoerbeek/calidns-openbsd
Otto Moerbeek [Tue, 18 Jun 2019 08:21:19 +0000 (10:21 +0200)]
Merge pull request #7871 from omoerbeek/calidns-openbsd

Adapt calidns for openbsd and other systems without rcvmmsg(2)

2 days agoQname minimizaton.
Otto Moerbeek [Tue, 16 Apr 2019 13:25:46 +0000 (15:25 +0200)]
Qname minimizaton.

2 days agoMerge pull request #7944 from pieterlexis/coverity-2019-03
Peter van Dijk [Tue, 18 Jun 2019 08:10:52 +0000 (10:10 +0200)]
Merge pull request #7944 from pieterlexis/coverity-2019-03

coverity: Fix paths from extracted tarball

2 days agoMerge pull request #7942 from rgacogne/mplexer-unit-tests-debug
Peter van Dijk [Tue, 18 Jun 2019 07:52:39 +0000 (09:52 +0200)]
Merge pull request #7942 from rgacogne/mplexer-unit-tests-debug

Add debug informations to the MPlexer unit tests, tracking a failure

2 days agocoverity: Fix paths from extracted tarball 7944/head
Pieter Lexis [Tue, 18 Jun 2019 07:48:23 +0000 (09:48 +0200)]
coverity: Fix paths from extracted tarball

It seems that in the 2019-03 version of the coverity tools, the number
of leading dirs in the tarball changed.

2 days agoMerge pull request #7934 from rgacogne/dnsdist-fix-dup-metrics
Remi Gacogne [Mon, 17 Jun 2019 15:41:42 +0000 (17:41 +0200)]
Merge pull request #7934 from rgacogne/dnsdist-fix-dup-metrics

dnsdist: Deduplicate frontends entries with carbon and prometheus

2 days agoSave errno before printing in case printing fails and clobbers it 7942/head
Remi Gacogne [Mon, 17 Jun 2019 15:34:56 +0000 (17:34 +0200)]
Save errno before printing in case printing fails and clobbers it

3 days agoMerge pull request #7928 from rgacogne/rec-validate-timeoff
Remi Gacogne [Mon, 17 Jun 2019 13:48:30 +0000 (15:48 +0200)]
Merge pull request #7928 from rgacogne/rec-validate-timeoff

rec: Better detection of Bogus zone cuts for DNSSEC validation

3 days agodnsdist: Make the frontend code dedup clearer 7934/head
Remi Gacogne [Mon, 17 Jun 2019 13:46:57 +0000 (15:46 +0200)]
dnsdist: Make the frontend code dedup clearer

3 days agoAdd debug informations to the MPlexer unit tests, tracking a failure
Remi Gacogne [Mon, 17 Jun 2019 12:27:32 +0000 (14:27 +0200)]
Add debug informations to the MPlexer unit tests, tracking a failure

3 days agorec: Add comments to clarify the no DS case when detecting zone cuts 7928/head
Remi Gacogne [Mon, 17 Jun 2019 08:40:57 +0000 (10:40 +0200)]
rec: Add comments to clarify the no DS case when detecting zone cuts

3 days agoMerge pull request #7940 from omoerbeek/include-branch-in-cherry-pick-name
Otto Moerbeek [Mon, 17 Jun 2019 08:23:54 +0000 (10:23 +0200)]
Merge pull request #7940 from omoerbeek/include-branch-in-cherry-pick-name

Append the basename of the target branch to the name of the created branch

3 days agoMerge pull request #7886 from rgacogne/smt-fixes
Remi Gacogne [Mon, 17 Jun 2019 08:19:48 +0000 (10:19 +0200)]
Merge pull request #7886 from rgacogne/smt-fixes

 SuffixMatchTree: Fix root removal, partial match of non-leaf nodes

3 days agoAppend the basename of the target branch to the name of the created branch. 7940/head
Otto Moerbeek [Mon, 17 Jun 2019 08:17:32 +0000 (10:17 +0200)]
Append the basename of the target branch to the name of the created branch.

Typical name will be: backport-7905-to-rec-4.2.x

3 days agoMerge pull request #7935 from appliedprivacy/patch-1
Remi Gacogne [Mon, 17 Jun 2019 08:16:31 +0000 (10:16 +0200)]
Merge pull request #7935 from appliedprivacy/patch-1

dnsdist doc: add newline to fix bullet points

3 days agoMerge pull request #7936 from appliedprivacy/patch-2
Remi Gacogne [Mon, 17 Jun 2019 08:16:06 +0000 (10:16 +0200)]
Merge pull request #7936 from appliedprivacy/patch-2

dnsdist doc typo fix

4 days agodnsdist doc typo fix 7936/head
appliedprivacy [Sat, 15 Jun 2019 17:46:54 +0000 (17:46 +0000)]
dnsdist doc typo fix

leastOustanding -> leastOutstanding

4 days agoadd newline to fix bullet points 7935/head
appliedprivacy [Sat, 15 Jun 2019 17:36:23 +0000 (17:36 +0000)]
add newline to fix bullet points

5 days agodnsdist: Deduplicate frontends entries with carbon and prometheus
Remi Gacogne [Fri, 14 Jun 2019 14:58:43 +0000 (16:58 +0200)]
dnsdist: Deduplicate frontends entries with carbon and prometheus

6 days agoSuffixMatchTree: Remove useless code duplication 7886/head
Remi Gacogne [Fri, 14 Jun 2019 12:02:27 +0000 (14:02 +0200)]
SuffixMatchTree: Remove useless code duplication

6 days agoMerge pull request #7930 from aerique/Habbie-auth-4.2.0-rc2-changelog
aerique [Fri, 14 Jun 2019 11:13:57 +0000 (13:13 +0200)]
Merge pull request #7930 from aerique/Habbie-auth-4.2.0-rc2-changelog

Changelog and secpoll for auth-4.2.0-rc2 release.

6 days agoMerge pull request #7699 from chbruyand/recursor-protobuf-logging
Remi Gacogne [Fri, 14 Jun 2019 09:47:31 +0000 (11:47 +0200)]
Merge pull request #7699 from chbruyand/recursor-protobuf-logging

all: DNSName, speeds up toString() conversion

6 days agoMerge pull request #7877 from omoerbeek/rec-dnstap-include-query-zone
Remi Gacogne [Fri, 14 Jun 2019 08:57:02 +0000 (10:57 +0200)]
Merge pull request #7877 from omoerbeek/rec-dnstap-include-query-zone

rec: set the query-zone field in the dnstap messages.

6 days agoMerge pull request #7904 from rgacogne/rec-filterpo-optims
Remi Gacogne [Fri, 14 Jun 2019 08:39:30 +0000 (10:39 +0200)]
Merge pull request #7904 from rgacogne/rec-filterpo-optims

 rec: Optimize for large number of filtering policies, empty sections

6 days agoMerge pull request #7860 from pieterlexis/dnsdist-rm-disable-tcp
Remi Gacogne [Fri, 14 Jun 2019 08:16:57 +0000 (10:16 +0200)]
Merge pull request #7860 from pieterlexis/dnsdist-rm-disable-tcp

dnsdist: disallow TCP disablement

6 days agoMerge pull request #7901 from rgacogne/rec-reuse-pb-messages
Otto Moerbeek [Fri, 14 Jun 2019 08:11:40 +0000 (10:11 +0200)]
Merge pull request #7901 from rgacogne/rec-reuse-pb-messages

rec: Reuse the outgoing query protobuf for the incoming response

6 days agoMerge pull request #7884 from rgacogne/rec-unittests-time-mix
Otto Moerbeek [Fri, 14 Jun 2019 08:09:10 +0000 (10:09 +0200)]
Merge pull request #7884 from rgacogne/rec-unittests-time-mix

rec: Don't mix time() and gettimeofday() in our unit tests (again)

7 days agoFix typo.
Erik Winkels [Thu, 13 Jun 2019 13:24:57 +0000 (15:24 +0200)]
Fix typo.

7 days agoMerge pull request #7926 from aerique/feature/update-secpoll-for-rec-4.1.14
aerique [Thu, 13 Jun 2019 13:24:21 +0000 (15:24 +0200)]
Merge pull request #7926 from aerique/feature/update-secpoll-for-rec-4.1.14

Update secpoll for rec-4.1.14 release.

7 days agoMerge pull request #7908 from omoerbeek/rec-4.1.14-changelog
Otto Moerbeek [Thu, 13 Jun 2019 13:23:43 +0000 (15:23 +0200)]
Merge pull request #7908 from omoerbeek/rec-4.1.14-changelog

Changelog for rec-4.1.14.

Changlelog entry for rec-4.1.14 (#7908)

7 days agocircleci: fix building docs on non-master builds
Pieter Lexis [Thu, 13 Jun 2019 11:45:36 +0000 (13:45 +0200)]
circleci: fix building docs on non-master builds

7 days agoUpdate secpoll for rec-4.1.14 release. 7926/head
Erik Winkels [Thu, 13 Jun 2019 10:31:02 +0000 (12:31 +0200)]
Update secpoll for rec-4.1.14 release.

7 days agocircleci: fix local auth docs path
Pieter Lexis [Thu, 13 Jun 2019 09:49:52 +0000 (11:49 +0200)]
circleci: fix local auth docs path

7 days agocircleci: fix make invocation to build all the docs
Pieter Lexis [Thu, 13 Jun 2019 09:35:24 +0000 (11:35 +0200)]
circleci: fix make invocation to build all the docs

7 days agocircleci: fix upload paths
Pieter Lexis [Thu, 13 Jun 2019 09:19:44 +0000 (11:19 +0200)]
circleci: fix upload paths

7 days agocircleci: Add configured SSH key for doc deployment
Pieter Lexis [Thu, 13 Jun 2019 08:40:54 +0000 (10:40 +0200)]
circleci: Add configured SSH key for doc deployment

7 days agodnsdist: circleci testing with debian buster
Peter van Dijk [Fri, 10 May 2019 11:59:40 +0000 (13:59 +0200)]
dnsdist: circleci testing with debian buster

7 days agodnsdist: make tests run on python 3
Peter van Dijk [Fri, 10 May 2019 17:01:45 +0000 (19:01 +0200)]
dnsdist: make tests run on python 3

7 days agocircleci doc builder: write ssh known_hosts in $HOME, not in .
Peter van Dijk [Wed, 12 Jun 2019 16:43:46 +0000 (18:43 +0200)]
circleci doc builder: write ssh known_hosts in $HOME, not in .

7 days agoMerge pull request #7916 from pieterlexis/circleci-docs-ssh
Pieter Lexis [Wed, 12 Jun 2019 16:09:47 +0000 (18:09 +0200)]
Merge pull request #7916 from pieterlexis/circleci-docs-ssh

Use circle-ci context to get doc host FP

7 days agoMerge pull request #7915 from rgacogne/dnsdist-error-on-unsupported-addlocals
Remi Gacogne [Wed, 12 Jun 2019 16:09:37 +0000 (18:09 +0200)]
Merge pull request #7915 from rgacogne/dnsdist-error-on-unsupported-addlocals

dnsdist: Exit when requested DoT/DoH support is not compiled in

7 days agoMerge pull request #7909 from qvr/expungebyname-stats
Remi Gacogne [Wed, 12 Jun 2019 16:09:17 +0000 (18:09 +0200)]
Merge pull request #7909 from qvr/expungebyname-stats

dnsdist: print stats from expungeByName

7 days agoMerge pull request #7905 from rgacogne/rec-tcache-key
Remi Gacogne [Wed, 12 Jun 2019 16:09:00 +0000 (18:09 +0200)]
Merge pull request #7905 from rgacogne/rec-tcache-key

rec: Compare the CacheKey type and place first then the name

7 days agoUse circle-ci context to get doc host FP 7916/head
Pieter Lexis [Wed, 12 Jun 2019 11:06:06 +0000 (13:06 +0200)]
Use circle-ci context to get doc host FP

8 days agodnsdist: Exit when requested DoT/DoH support is not compiled in 7915/head
Remi Gacogne [Wed, 12 Jun 2019 10:06:59 +0000 (12:06 +0200)]
dnsdist: Exit when requested DoT/DoH support is not compiled in

8 days agoMerge pull request #7838 from pieterlexis/circleci-docs
Pieter Lexis [Wed, 12 Jun 2019 10:05:59 +0000 (12:05 +0200)]
Merge pull request #7838 from pieterlexis/circleci-docs

build docs in circleci

8 days agoMerge remote-tracking branch 'origin/master' into circleci-docs 7838/head
Pieter Lexis [Wed, 12 Jun 2019 08:54:39 +0000 (10:54 +0200)]
Merge remote-tracking branch 'origin/master' into circleci-docs

8 days agoMerge pull request #7880 from pieterlexis/dnsdist-ignore-ipcrypt
Pieter Lexis [Wed, 12 Jun 2019 08:52:38 +0000 (10:52 +0200)]
Merge pull request #7880 from pieterlexis/dnsdist-ignore-ipcrypt

Ignore generated files for ipcrypt

8 days agodnsdist: print stats from expungeByName 7909/head
Matti Hiljanen [Wed, 12 Jun 2019 08:10:38 +0000 (11:10 +0300)]
dnsdist: print stats from expungeByName

8 days agoMerge pull request #7887 from omoerbeek/auth-blacklist-special-memory-usage auth-4.2.0-rc2
Peter van Dijk [Tue, 11 Jun 2019 15:28:00 +0000 (17:28 +0200)]
Merge pull request #7887 from omoerbeek/auth-blacklist-special-memory-usage

Simple blacklist handler for StatBag

9 days agoMerge pull request #7903 from Habbie/dnsdist-doc-nits
Remi Gacogne [Tue, 11 Jun 2019 13:35:52 +0000 (15:35 +0200)]
Merge pull request #7903 from Habbie/dnsdist-doc-nits

dnsdist: minor doc updates/fixes

9 days agorec: Compare the CacheKey type and place first then the name 7905/head
Remi Gacogne [Tue, 11 Jun 2019 12:47:53 +0000 (14:47 +0200)]
rec: Compare the CacheKey type and place first then the name

We don't care about the actual ordering, so let's do the cheapest
comparisons first then the quite expensive DNSName comparison only
if we really need to.

9 days agorec: Remove unused filter policies methods, add unit tests 7904/head
Remi Gacogne [Tue, 11 Jun 2019 10:04:02 +0000 (12:04 +0200)]
rec: Remove unused filter policies methods, add unit tests

9 days agotcpFastOpenSize should be tcpFastOpenQueueSize 7903/head
Peter van Dijk [Tue, 11 Jun 2019 09:29:17 +0000 (11:29 +0200)]
tcpFastOpenSize should be tcpFastOpenQueueSize

9 days agodocument makeIPCipherKey and fix links to it
Peter van Dijk [Tue, 11 Jun 2019 09:24:01 +0000 (11:24 +0200)]
document makeIPCipherKey and fix links to it

9 days agofix links to DNSClass overview
Peter van Dijk [Tue, 11 Jun 2019 09:19:04 +0000 (11:19 +0200)]
fix links to DNSClass overview

9 days agounhide setAllowEmptyResponse documentation
Peter van Dijk [Tue, 11 Jun 2019 09:18:52 +0000 (11:18 +0200)]
unhide setAllowEmptyResponse documentation

9 days agofix changelog formatting
Peter van Dijk [Tue, 11 Jun 2019 09:11:08 +0000 (11:11 +0200)]
fix changelog formatting

9 days agofix weird formatting of param type
Peter van Dijk [Tue, 11 Jun 2019 09:07:54 +0000 (11:07 +0200)]
fix weird formatting of param type

9 days agoMaintain blacklist inside StatBag. 7887/head
Otto Moerbeek [Tue, 11 Jun 2019 06:56:03 +0000 (08:56 +0200)]
Maintain blacklist inside StatBag.

10 days agoMerge pull request #7899 from Habbie/circleci-mssql-version
Peter van Dijk [Sun, 9 Jun 2019 21:25:28 +0000 (23:25 +0200)]
Merge pull request #7899 from Habbie/circleci-mssql-version

auth: switch circleci mssql image

10 days agoMerge pull request #7881 from mind04/soacaching
Peter van Dijk [Sun, 9 Jun 2019 21:11:16 +0000 (23:11 +0200)]
Merge pull request #7881 from mind04/soacaching

auth: detect SOA cache pollution caused by broken backends

10 days agoMerge pull request #7891 from Habbie/gsql-transactions
Peter van Dijk [Sun, 9 Jun 2019 21:10:18 +0000 (23:10 +0200)]
Merge pull request #7891 from Habbie/gsql-transactions

auth API, pdnsutil: improve backend transaction correctness

10 days agoMerge pull request #7897 from Habbie/lua-shared-ecswho
Peter van Dijk [Sun, 9 Jun 2019 21:09:34 +0000 (23:09 +0200)]
Merge pull request #7897 from Habbie/lua-shared-ecswho

auth LUA: explicitly unset ecswho if we are not setting it, fixes #7896

10 days agoauth: switch circleci mssql image 7899/head
Peter van Dijk [Sun, 9 Jun 2019 20:38:21 +0000 (22:38 +0200)]
auth: switch circleci mssql image

apparently 'Community Technology Preview' images expire, so
this switches us to a Generally Available version.

11 days agoauth LUA: explicitly unset ecswho if we are not setting it, fixes #7896 7897/head
Peter van Dijk [Sat, 8 Jun 2019 19:20:48 +0000 (21:20 +0200)]
auth LUA: explicitly unset ecswho if we are not setting it, fixes #7896

12 days agoauth: detect SOA cache pollution caused by broken backends 7881/head
Kees Monshouwer [Fri, 7 Jun 2019 07:14:29 +0000 (09:14 +0200)]
auth: detect SOA cache pollution caused by broken backends

12 days agoauth API, pdnsutil: improve backend transaction correctness 7891/head
Peter van Dijk [Fri, 7 Jun 2019 14:29:37 +0000 (16:29 +0200)]
auth API, pdnsutil: improve backend transaction correctness

12 days agorec: Reuse the outgoing query protobuf for the incoming response 7901/head
Remi Gacogne [Fri, 7 Jun 2019 16:16:52 +0000 (18:16 +0200)]
rec: Reuse the outgoing query protobuf for the incoming response

12 days agorec: Clean up RPZ zones between unit tests
Remi Gacogne [Fri, 7 Jun 2019 15:13:29 +0000 (17:13 +0200)]
rec: Clean up RPZ zones between unit tests

12 days agorec: Optimize for large number of filtering policies, empty sections
Remi Gacogne [Fri, 7 Jun 2019 14:50:40 +0000 (16:50 +0200)]
rec: Optimize for large number of filtering policies, empty sections

12 days agoMerge pull request #7807 from ahupowerdns/lmdb-sync-mode
Peter van Dijk [Fri, 7 Jun 2019 15:26:26 +0000 (17:26 +0200)]
Merge pull request #7807 from ahupowerdns/lmdb-sync-mode

Make explicit lmdbbackend synchronous option

13 days agoMerge pull request #7822 from pieterlexis/issue-7781-no-more-0.0.0
Pieter Lexis [Fri, 7 Jun 2019 13:26:15 +0000 (15:26 +0200)]
Merge pull request #7822 from pieterlexis/issue-7781-no-more-0.0.0

Use latest tag for version numbers for master builds

13 days agoreport sqlite3 extended error codes
Peter van Dijk [Fri, 7 Jun 2019 12:08:26 +0000 (14:08 +0200)]
report sqlite3 extended error codes

13 days agoSimple blacklist handler for StatBag. Not configurable but that
Otto Moerbeek [Fri, 7 Jun 2019 11:03:03 +0000 (13:03 +0200)]
Simple blacklist handler for StatBag. Not configurable but that
could easily be added if necessary.

13 days agoSuffixMatchTree: Fix partial match of non-leaf nodes
Remi Gacogne [Fri, 7 Jun 2019 10:21:00 +0000 (12:21 +0200)]
SuffixMatchTree: Fix partial match of non-leaf nodes

If we insert fr and www.domain.fr, domain.fr should not match
www.domain.fr, the leaf node, and it should not match the
intermediary domain.fr node, but it should match the fr
end-node.

13 days agoSuffixMatchTree: Fix the removal of the root
Remi Gacogne [Fri, 7 Jun 2019 10:23:48 +0000 (12:23 +0200)]
SuffixMatchTree: Fix the removal of the root

13 days agoRemove unneeded AM_CONDITIONAL line. 7871/head
Otto Moerbeek [Fri, 7 Jun 2019 09:37:02 +0000 (11:37 +0200)]
Remove unneeded AM_CONDITIONAL line.

13 days agorec: Ensure control socket can be created when running in systemd
Pieter Lexis [Thu, 6 Jun 2019 12:44:44 +0000 (14:44 +0200)]
rec: Ensure control socket can be created when running in systemd

This moves the default of the socket-dir to /var/run/pdns-recursor.

13 days agorec: Don't mix time() and gettimeofday() in our unit tests (again) 7884/head
Remi Gacogne [Fri, 7 Jun 2019 08:46:58 +0000 (10:46 +0200)]
rec: Don't mix time() and gettimeofday() in our unit tests (again)

We used to set time returned by `sr->getNow()` via `gettimeofday()`
and later the one used to compute the RRSIG validity via
`time(nullptr)`. It turns out that the second call can return a
value lesser than the first one, without the time going backward,
making our tests fail.
After this commit we base our calculations on the same time value,
so it should not fail randomly anymore.

13 days agoIgnore generated files for ipcrypt 7880/head
Pieter Lexis [Fri, 7 Jun 2019 07:36:22 +0000 (09:36 +0200)]
Ignore generated files for ipcrypt

13 days agoMerge pull request #7862 from pieterlexis/update-boost-m4
Peter van Dijk [Thu, 6 Jun 2019 23:00:43 +0000 (01:00 +0200)]
Merge pull request #7862 from pieterlexis/update-boost-m4

Update boost.m4 to the latest version

13 days agoMerge pull request #7878 from Habbie/auth-curl-m4
Peter van Dijk [Thu, 6 Jun 2019 18:05:30 +0000 (20:05 +0200)]
Merge pull request #7878 from Habbie/auth-curl-m4

auth: make configure call PDNS_CHECK_LIBCURL when needed

2 weeks agoMerge pull request #7846 from rgacogne/dnsdist-140b-changelog
Remi Gacogne [Thu, 6 Jun 2019 13:22:40 +0000 (15:22 +0200)]
Merge pull request #7846 from rgacogne/dnsdist-140b-changelog

dnsdist: Prepare ChangeLog and secpoll for 1.4.0-beta1

2 weeks agorec: ensure correct service user on debian
Pieter Lexis [Thu, 6 Jun 2019 10:58:19 +0000 (12:58 +0200)]
rec: ensure correct service user on debian