]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 years agoFix SNMP MIB conformance entries and a title 11269/head
Otto Moerbeek [Wed, 2 Feb 2022 15:41:32 +0000 (16:41 +0100)] 
Fix SNMP MIB conformance entries and a title

3 years agoMove the pruning of the two now shared maps (failed servers and non-resolving ns...
Otto Moerbeek [Wed, 2 Feb 2022 08:06:42 +0000 (09:06 +0100)] 
Move the pruning of the two now shared maps (failed servers and non-resolving ns) to the handler thread

3 years agorename metric name, promtool says:
Otto Moerbeek [Tue, 1 Feb 2022 15:36:30 +0000 (16:36 +0100)] 
rename metric name, promtool says:
pdns_recursor_non_resolving_ns_entries metric names should not contain abbreviated units

3 years agoFix stats for failed servers (named hosts for some historic reaon) and add non-resolv...
Otto Moerbeek [Mon, 31 Jan 2022 11:36:07 +0000 (12:36 +0100)] 
Fix stats for failed servers (named hosts for some historic reaon) and add non-resolving metrics.

Also, use a safe copy to dump the maps.

3 years agoMove fail_t maps to global shared instead of thread local
Otto Moerbeek [Mon, 31 Jan 2022 10:40:16 +0000 (11:40 +0100)] 
Move fail_t maps to global shared instead of thread local

These maps are only used or modified when we're going out on the
net, so the performance impact of the locking should be relatively
low, while other threads could benefit greatly from information
learned by other threads.

Also, pruning of these data structure is cheap, so holding the lock
while pruning should be a short period of time.

3 years agoMerge pull request #11189 from omoerbeek/zonemd-rec
Otto Moerbeek [Fri, 28 Jan 2022 08:45:30 +0000 (09:45 +0100)] 
Merge pull request #11189 from omoerbeek/zonemd-rec

rec: ZONEMD validation for Zone to Cache function

3 years agoMerge pull request #11226 from omoerbeek/zonemd-tests
Otto Moerbeek [Fri, 28 Jan 2022 08:11:16 +0000 (09:11 +0100)] 
Merge pull request #11226 from omoerbeek/zonemd-tests

auth: pdnsutil zonemd-verify-file tests from github.com/verisign/zonemd-test-cases

3 years agoClarify docs as suggested by @Habbie 11189/head
Otto Moerbeek [Fri, 28 Jan 2022 07:39:54 +0000 (08:39 +0100)] 
Clarify docs as suggested by @Habbie

3 years agoFix the remaining test cases: our parser does not like a known type followed by a... 11226/head
Otto Moerbeek [Fri, 28 Jan 2022 07:19:50 +0000 (08:19 +0100)] 
Fix the remaining test cases: our parser does not like a known type followed by a generic blob

3 years agoAdd pdnsutil script and do not ignore *.sh
Otto Moerbeek [Fri, 21 Jan 2022 13:21:59 +0000 (14:21 +0100)] 
Add pdnsutil script and do not ignore *.sh

3 years agoNo colors blasting to terminal; create logs dir
Otto Moerbeek [Fri, 21 Jan 2022 12:46:23 +0000 (13:46 +0100)] 
No colors blasting to terminal; create logs dir

3 years agoMark as succeeding. pdnsutil does not validate RRSIGs
Otto Moerbeek [Fri, 21 Jan 2022 12:41:57 +0000 (13:41 +0100)] 
Mark as succeeding. pdnsutil does not validate RRSIGs

3 years agoMark as failing: we do not handle mixed TTLs
Otto Moerbeek [Fri, 21 Jan 2022 12:41:08 +0000 (13:41 +0100)] 
Mark as failing: we do not handle mixed TTLs

3 years agoMArk as failing, unknown record type SIG
Otto Moerbeek [Fri, 21 Jan 2022 12:39:42 +0000 (13:39 +0100)] 
MArk as failing, unknown record type SIG

3 years agotypo
Otto Moerbeek [Fri, 28 Jan 2022 06:30:02 +0000 (07:30 +0100)] 
typo

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
3 years agoMerge pull request #11242 from Habbie/dnsdist-upgrade-docs-1.7.1-dockercaps
Peter van Dijk [Thu, 27 Jan 2022 13:37:48 +0000 (14:37 +0100)] 
Merge pull request #11242 from Habbie/dnsdist-upgrade-docs-1.7.1-dockercaps

dnsdist upgrade guide: move docker note to 1.7.1

3 years agoMerge pull request #11241 from Habbie/lmdb-uuid
Peter van Dijk [Thu, 27 Jan 2022 13:31:52 +0000 (14:31 +0100)] 
Merge pull request #11241 from Habbie/lmdb-uuid

auth lmdb: add a UUID to newly created databases

3 years agodnsdist upgrade guide: move docker note to 1.7.1 11242/head
Peter van Dijk [Thu, 27 Jan 2022 13:03:54 +0000 (14:03 +0100)] 
dnsdist upgrade guide: move docker note to 1.7.1

3 years agoauth lmdb: add a UUID to newly created databases 11241/head
Peter van Dijk [Wed, 26 Jan 2022 12:24:25 +0000 (13:24 +0100)] 
auth lmdb: add a UUID to newly created databases

3 years agoIf no supported algo was found, we still can have ZONEMD records
Otto Moerbeek [Wed, 26 Jan 2022 09:32:08 +0000 (10:32 +0100)] 
If no supported algo was found, we still can have ZONEMD records
This fixes:
Jan 26 09:57:19 msg="No ZONEMD record, but NSEC(3) record does not deny it" subsystem="ztc" level=0 ts="1643187439.807" zone="."

3 years agoauth docs: fix rendering
Peter van Dijk [Tue, 25 Jan 2022 10:40:04 +0000 (11:40 +0100)] 
auth docs: fix rendering

3 years agoMerge pull request #11232 from Habbie/auth-4.6.0-docs-secpoll
Peter van Dijk [Tue, 25 Jan 2022 10:15:27 +0000 (11:15 +0100)] 
Merge pull request #11232 from Habbie/auth-4.6.0-docs-secpoll

auth-4.6.0: secpoll&docs

3 years agoauth-4.6.0: secpoll&docs 11232/head
Peter van Dijk [Tue, 25 Jan 2022 09:37:25 +0000 (10:37 +0100)] 
auth-4.6.0: secpoll&docs

3 years agoTweaks and typos
Otto Moerbeek [Tue, 25 Jan 2022 07:55:01 +0000 (08:55 +0100)] 
Tweaks and typos

3 years agoApply suggestions from code review
Otto Moerbeek [Tue, 25 Jan 2022 07:25:20 +0000 (08:25 +0100)] 
Apply suggestions from code review

Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
3 years agoMerge pull request #11231 from Habbie/ci-socat
Peter van Dijk [Mon, 24 Jan 2022 21:02:33 +0000 (22:02 +0100)] 
Merge pull request #11231 from Habbie/ci-socat

auth: install test deps during unit tests, so we get socat

3 years agoauth: install test deps during unit tests, so we get socat 11231/head
Peter van Dijk [Mon, 24 Jan 2022 16:19:21 +0000 (17:19 +0100)] 
auth: install test deps during unit tests, so we get socat

3 years agoInit two bools, as they may be used uninitialized if parsing fails
Otto Moerbeek [Mon, 24 Jan 2022 16:00:41 +0000 (17:00 +0100)] 
Init two bools, as they may be used uninitialized if parsing fails

3 years agoImproved storage of nsec3 info and a few tweaks
Otto Moerbeek [Mon, 24 Jan 2022 15:27:22 +0000 (16:27 +0100)] 
Improved storage of nsec3 info and a few tweaks

3 years agoProcess review comments: check pointer conversions, unify record processing plus...
Otto Moerbeek [Mon, 24 Jan 2022 12:44:05 +0000 (13:44 +0100)] 
Process review comments: check pointer conversions, unify record processing plus assorted small fixes

3 years agoProcess denial of ZONEMD in the NSEC3 case
Otto Moerbeek [Mon, 24 Jan 2022 12:18:17 +0000 (13:18 +0100)] 
Process denial of ZONEMD in the NSEC3 case

3 years agoDocs and small tweaks
Otto Moerbeek [Mon, 24 Jan 2022 10:32:19 +0000 (11:32 +0100)] 
Docs and small tweaks

3 years agoIf we do not find ZONEMD record(s) and the zone is DNSSEC validated, validate the...
Otto Moerbeek [Mon, 24 Jan 2022 09:19:51 +0000 (10:19 +0100)] 
If we do not find ZONEMD record(s) and the zone is DNSSEC validated, validate the denial of existence of ZONEMD

3 years agoRename config keywords to be more consistent and add ZONEMD to ZoneToCache unit tests
Otto Moerbeek [Mon, 24 Jan 2022 07:40:00 +0000 (08:40 +0100)] 
Rename config keywords to be more consistent and add ZONEMD to ZoneToCache unit tests

3 years agoImport of https://github.com/verisign/zonemd-test-cases
Otto Moerbeek [Fri, 21 Jan 2022 12:04:19 +0000 (13:04 +0100)] 
Import of https://github.com/verisign/zonemd-test-cases

3 years agoProper ZTC state maintainance on Lua config change
Otto Moerbeek [Fri, 21 Jan 2022 10:11:15 +0000 (11:11 +0100)] 
Proper ZTC state maintainance on Lua config change

3 years agoRework config to be better understandable: two separate config values for zonemd...
Otto Moerbeek [Wed, 19 Jan 2022 14:07:57 +0000 (15:07 +0100)] 
Rework config to be better understandable: two separate config values for zonemd and zonemdDNSSEC validation,
both having values: "ignore", "process", "required"

3 years agoMove ZoneToCache from a separate thread to the handler, so that we can resolve e...
Otto Moerbeek [Wed, 19 Jan 2022 12:34:09 +0000 (13:34 +0100)] 
Move ZoneToCache from a separate thread to the handler, so that we can resolve e.g. DS records.

Config and logic of ZoneMD wrt DNSSEC is too complex, needs more thought.

3 years agoAdd Lua config and do DNSSEC validation of ZONEMD record
Otto Moerbeek [Tue, 18 Jan 2022 11:36:42 +0000 (12:36 +0100)] 
Add Lua config and do DNSSEC validation of ZONEMD record

Missing:
 - TA/NTA/DS processing (we assume it's in the record cache for the moment)
 - Valdition of of absense of ZONEMD records by proof of non-existence
 - Details of processing of DNSSEC validation result (depending on config)

Solving the first part likely involes running the zone-to-cache tasks in a recursorThread
context.

3 years agoAdd ZONEMD config processing in Lua config
Otto Moerbeek [Tue, 18 Jan 2022 10:12:16 +0000 (11:12 +0100)] 
Add ZONEMD config processing in Lua config

3 years agoFactor out ZONEMD procesing of single DNSRecord, saves having to save a vector of...
Otto Moerbeek [Tue, 18 Jan 2022 09:25:53 +0000 (10:25 +0100)] 
Factor out ZONEMD procesing of single DNSRecord, saves having to save a vector of them

3 years agoAlso add ZONEMD processing for url and file method
Otto Moerbeek [Fri, 14 Jan 2022 13:56:50 +0000 (14:56 +0100)] 
Also add ZONEMD processing for url and file method

3 years agoImplement ZONEMD when processing zone-to-cache via AXFR
Otto Moerbeek [Fri, 14 Jan 2022 13:46:29 +0000 (14:46 +0100)] 
Implement ZONEMD when processing zone-to-cache via AXFR

3 years agoZONEMD: Refactor reading of records out of verification of records
Otto Moerbeek [Fri, 14 Jan 2022 11:55:02 +0000 (12:55 +0100)] 
ZONEMD: Refactor reading of records out of verification of records

3 years agoMerge pull request #11213 from Habbie/auth-4.5.3-secpoll-docs
Peter van Dijk [Fri, 21 Jan 2022 09:31:08 +0000 (10:31 +0100)] 
Merge pull request #11213 from Habbie/auth-4.5.3-secpoll-docs

auth-4.5.3: changelog and secpoll

3 years agoMerge pull request #11197 from rgacogne/remove-binary_function
Remi Gacogne [Fri, 21 Jan 2022 08:26:55 +0000 (09:26 +0100)] 
Merge pull request #11197 from rgacogne/remove-binary_function

Stop using the now deprecated and useless std::binary_function

3 years agoMerge pull request #11219 from mind04/pdns-cds
Peter van Dijk [Thu, 20 Jan 2022 15:42:32 +0000 (16:42 +0100)] 
Merge pull request #11219 from mind04/pdns-cds

auth: fix multiple CDS records in an AXFR

3 years agoauth-4.5.3: changelog and secpoll 11213/head
Peter van Dijk [Wed, 19 Jan 2022 10:32:34 +0000 (11:32 +0100)] 
auth-4.5.3: changelog and secpoll

3 years agoMerge pull request #11217 from rgacogne/rec-doc-typo-policy-event-filter
Peter van Dijk [Thu, 20 Jan 2022 12:45:18 +0000 (13:45 +0100)] 
Merge pull request #11217 from rgacogne/rec-doc-typo-policy-event-filter

rec: Fix a typo in the 'semantics' section of the hooks documentation

3 years agoauth: test CDS multi digest and removal 11219/head
Kees Monshouwer [Thu, 20 Jan 2022 11:00:21 +0000 (12:00 +0100)] 
auth: test CDS multi digest  and removal

3 years agoauth: test CDS with multiple keys
Kees Monshouwer [Thu, 20 Jan 2022 10:43:23 +0000 (11:43 +0100)] 
auth: test CDS with multiple keys

3 years agoauth: fix multiple CDS records in an AXFR
Kees Monshouwer [Thu, 20 Jan 2022 10:13:21 +0000 (11:13 +0100)] 
auth: fix multiple CDS records in an AXFR

3 years agorec: Fix a typo in the 'semantics' section of the hooks documentation 11217/head
Remi Gacogne [Thu, 20 Jan 2022 09:40:21 +0000 (10:40 +0100)] 
rec: Fix a typo in the 'semantics' section of the hooks documentation

3 years agoMerge pull request #11212 from omoerbeek/fix-zonemd-test-files
Otto Moerbeek [Wed, 19 Jan 2022 14:11:11 +0000 (15:11 +0100)] 
Merge pull request #11212 from omoerbeek/fix-zonemd-test-files

Add missing dir in the zonemd test file paths

3 years agoAdd missing dir in the zonemd test file paths 11212/head
Otto Moerbeek [Wed, 19 Jan 2022 08:47:42 +0000 (09:47 +0100)] 
Add missing dir in the zonemd test file paths

3 years agoMerge pull request #11207 from omoerbeek/rec-kill-no-prev-decl-warning
Otto Moerbeek [Tue, 18 Jan 2022 16:20:17 +0000 (17:20 +0100)] 
Merge pull request #11207 from omoerbeek/rec-kill-no-prev-decl-warning

rec: Kill a "no previous declaration" warning

3 years agoMerge pull request #11208 from Habbie/dnspython-2.1.0
Peter van Dijk [Tue, 18 Jan 2022 16:19:44 +0000 (17:19 +0100)] 
Merge pull request #11208 from Habbie/dnspython-2.1.0

CI: dnspython 2.2.0 breaks auth and ixfrdist testing, pin to 2.1.0

3 years agoMerge pull request #11183 from Habbie/auth-2022
Peter van Dijk [Tue, 18 Jan 2022 15:48:24 +0000 (16:48 +0100)] 
Merge pull request #11183 from Habbie/auth-2022

bump ws-auth.cc copyright year

3 years agoCI: dnspython 2.2.0 breaks auth and ixfrdist testing, pin to 2.1.0 11208/head
Peter van Dijk [Tue, 18 Jan 2022 15:40:52 +0000 (16:40 +0100)] 
CI: dnspython 2.2.0 breaks auth and ixfrdist testing, pin to 2.1.0

3 years agoMerge pull request #11199 from Habbie/ubuntu-jammy
Peter van Dijk [Tue, 18 Jan 2022 14:07:06 +0000 (15:07 +0100)] 
Merge pull request #11199 from Habbie/ubuntu-jammy

builder: add Ubuntu jammy target

3 years agoKill a "no previous declaration" warning 11207/head
Otto Moerbeek [Tue, 18 Jan 2022 13:54:22 +0000 (14:54 +0100)] 
Kill a "no previous declaration" warning

3 years agotest ubuntu jammy build target 11199/head
Peter van Dijk [Fri, 14 Jan 2022 11:12:09 +0000 (12:12 +0100)] 
test ubuntu jammy build target

3 years agoMerge pull request #11203 from omoerbeek/rec-fix-logging-include
Otto Moerbeek [Tue, 18 Jan 2022 12:32:15 +0000 (13:32 +0100)] 
Merge pull request #11203 from omoerbeek/rec-fix-logging-include

rec: Fix #include "logging.hh", it should not be conditional

3 years agoMerge pull request #11200 from omoerbeek/zonemd-build-issues
Peter van Dijk [Tue, 18 Jan 2022 11:58:53 +0000 (12:58 +0100)] 
Merge pull request #11200 from omoerbeek/zonemd-build-issues

Zonemd and sha.hh build issues

3 years agoFix #include "logging.hh", it should not be conditional 11203/head
Otto Moerbeek [Tue, 18 Jan 2022 11:41:05 +0000 (12:41 +0100)] 
Fix #include "logging.hh", it should not be conditional

3 years agoMerge pull request #11202 from Habbie/swagger-ci
Peter van Dijk [Tue, 18 Jan 2022 10:48:46 +0000 (11:48 +0100)] 
Merge pull request #11202 from Habbie/swagger-ci

CI: add forgotten collect target

3 years agoCI: add forgotten collect target 11202/head
Peter van Dijk [Tue, 18 Jan 2022 09:48:20 +0000 (10:48 +0100)] 
CI: add forgotten collect target

3 years agowhitespace 11200/head
Otto Moerbeek [Tue, 18 Jan 2022 08:56:30 +0000 (09:56 +0100)] 
whitespace

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agoevp_md_ctx_new/free was called evp_md_ctx_create/destroy in OpenSSL < 1.1
Otto Moerbeek [Tue, 18 Jan 2022 07:17:28 +0000 (08:17 +0100)] 
evp_md_ctx_new/free was called evp_md_ctx_create/destroy in OpenSSL < 1.1

3 years agoMerge pull request #11196 from rgacogne/ddist-openssl3
Remi Gacogne [Tue, 18 Jan 2022 08:27:09 +0000 (09:27 +0100)] 
Merge pull request #11196 from rgacogne/ddist-openssl3

auth, dnsdist, rec: Fix build with OpenSSL 3.0.0

3 years agoAdd ZONEMD test files to distr
Otto Moerbeek [Tue, 18 Jan 2022 06:55:04 +0000 (07:55 +0100)] 
Add ZONEMD test files to distr

3 years agoadd ubuntu jammy build target
Peter van Dijk [Fri, 14 Jan 2022 11:12:04 +0000 (12:12 +0100)] 
add ubuntu jammy build target

3 years agoMerge pull request #11194 from Habbie/swagger-syntax
Peter van Dijk [Mon, 17 Jan 2022 20:05:36 +0000 (21:05 +0100)] 
Merge pull request #11194 from Habbie/swagger-syntax

auth swagger: add a syntax test and fix a few things

3 years agoauth CI: do swagger syntax check 11194/head
Peter van Dijk [Mon, 17 Jan 2022 14:02:04 +0000 (15:02 +0100)] 
auth CI: do swagger syntax check

3 years agoStop using the now deprecated and useless std::binary_function 11197/head
Remi Gacogne [Mon, 17 Jan 2022 15:56:13 +0000 (16:56 +0100)] 
Stop using the now deprecated and useless std::binary_function

It is no longer needed since the types can now be automatically
deduced, has been deprecated in C++11 and removed in C++17.

3 years agodnsdist: Fix build with OpenSSL 3.0.0 11196/head
Remi Gacogne [Mon, 17 Jan 2022 15:13:09 +0000 (16:13 +0100)] 
dnsdist: Fix build with OpenSSL 3.0.0

3 years agoauth swagger: fix some texts in the autoprimary bits
Peter van Dijk [Mon, 17 Jan 2022 14:24:02 +0000 (15:24 +0100)] 
auth swagger: fix some texts in the autoprimary bits

3 years agoauth swagger: fix autoprimary format
Peter van Dijk [Mon, 17 Jan 2022 14:21:40 +0000 (15:21 +0100)] 
auth swagger: fix autoprimary format

3 years agoMerge pull request #11188 from rgacogne/ddist-170-changelog-secpoll
Remi Gacogne [Mon, 17 Jan 2022 12:40:57 +0000 (13:40 +0100)] 
Merge pull request #11188 from rgacogne/ddist-170-changelog-secpoll

dnsdist: ChangeLog and secpoll update for 1.7.0

3 years agoMerge pull request #11190 from omoerbeek/dnswasher-no-ipcipher
Otto Moerbeek [Fri, 14 Jan 2022 15:39:53 +0000 (16:39 +0100)] 
Merge pull request #11190 from omoerbeek/dnswasher-no-ipcipher

dnswasher: Fix compilation with !HAVE_IPCIPHER

3 years agoFix compilation with !HAVE_IPCIPHER 11190/head
Otto Moerbeek [Fri, 14 Jan 2022 14:11:48 +0000 (15:11 +0100)] 
Fix compilation with !HAVE_IPCIPHER

3 years agoMerge pull request #11171 from rgacogne/ddist-defer-rings-creation
Remi Gacogne [Fri, 14 Jan 2022 13:16:22 +0000 (14:16 +0100)] 
Merge pull request #11171 from rgacogne/ddist-defer-rings-creation

dnsdist: Defer the actual allocation of the ring buffer entries

3 years agodnsdist: ChangeLog and secpoll update for 1.7.0 11188/head
Remi Gacogne [Fri, 14 Jan 2022 13:12:37 +0000 (14:12 +0100)] 
dnsdist: ChangeLog and secpoll update for 1.7.0

3 years agoMerge pull request #11181 from Habbie/auth-4.6.0-rc1-docs-secpoll
Peter van Dijk [Fri, 14 Jan 2022 13:08:07 +0000 (14:08 +0100)] 
Merge pull request #11181 from Habbie/auth-4.6.0-rc1-docs-secpoll

auth-4.6.0-rc1: docs+secpoll

3 years agoauth-4.6.0-rc1: docs+secpoll 11181/head
Peter van Dijk [Thu, 13 Jan 2022 13:19:41 +0000 (14:19 +0100)] 
auth-4.6.0-rc1: docs+secpoll

3 years agoMerge pull request #11100 from omoerbeek/zonemd
Otto Moerbeek [Fri, 14 Jan 2022 10:48:33 +0000 (11:48 +0100)] 
Merge pull request #11100 from omoerbeek/zonemd

First part of ZONEMD support

3 years agoMerge pull request #11166 from rgacogne/ddist-load-tls-algos-only
Remi Gacogne [Fri, 14 Jan 2022 10:00:40 +0000 (11:00 +0100)] 
Merge pull request #11166 from rgacogne/ddist-load-tls-algos-only

libssl: Load only the ciphers and digests needed for TLS, not all of them

3 years agoProcess review comments on comments 11100/head
Otto Moerbeek [Fri, 14 Jan 2022 09:58:25 +0000 (10:58 +0100)] 
Process review comments on comments

3 years agoMerge pull request #11186 from omoerbeek/rec-visibility
Otto Moerbeek [Fri, 14 Jan 2022 09:43:23 +0000 (10:43 +0100)] 
Merge pull request #11186 from omoerbeek/rec-visibility

rec: Build with -fvisibility=hidden by default

3 years agoMerge pull request #11175 from omoerbeek/rec-var-names
Otto Moerbeek [Fri, 14 Jan 2022 09:43:02 +0000 (10:43 +0100)] 
Merge pull request #11175 from omoerbeek/rec-var-names

rec: Rename static, global and thread_local vars to follow naming conventions

3 years agodnsdist: Avoid a race if one is careless enough to call Rings::init() from two thread... 11171/head
Remi Gacogne [Wed, 12 Jan 2022 15:39:30 +0000 (16:39 +0100)] 
dnsdist: Avoid a race if one is careless enough to call Rings::init() from two threads at once

3 years agodnsdist: Defer the actual allocation of the ring buffer entries
Remi Gacogne [Fri, 11 Mar 2022 15:27:56 +0000 (16:27 +0100)] 
dnsdist: Defer the actual allocation of the ring buffer entries

It is a bit cumbersome to have to call `Rings::init()` when we are
ready, but it prevents allocating the default number of entries,
10k, which is quite a lot for small setups. Of course the memory
was released once the configuration had been parsed, but it might
be too late in some cases, and we would end up with a bigger reported
memory usage than our actual one since heap shrinkage seldom happens.

3 years agoMerge pull request #11184 from chbruyand/dnsdist-mac-ring-buffers
Remi Gacogne [Fri, 14 Jan 2022 08:51:17 +0000 (09:51 +0100)] 
Merge pull request #11184 from chbruyand/dnsdist-mac-ring-buffers

dnsdist: add support to store mac address in query rings

3 years agorec: Build with -fvisibility=hidden by default 11186/head
Otto Moerbeek [Fri, 14 Jan 2022 07:13:19 +0000 (08:13 +0100)] 
rec: Build with -fvisibility=hidden by default

Same as #11178, but now for rec.

3 years agoMerge pull request #11178 from rgacogne/ddist-visibility-hidden
Remi Gacogne [Thu, 13 Jan 2022 21:10:41 +0000 (22:10 +0100)] 
Merge pull request #11178 from rgacogne/ddist-visibility-hidden

dnsdist: Build with `-fvisibility=hidden` by default

3 years agoMerge pull request #11164 from rgacogne/protozero-171
Remi Gacogne [Thu, 13 Jan 2022 21:09:54 +0000 (22:09 +0100)] 
Merge pull request #11164 from rgacogne/protozero-171

Update protozero to 1.7.1

3 years agodnsdist: adds possibilty to store mac address in query rings 11184/head
Charles-Henri Bruyand [Thu, 13 Jan 2022 14:58:39 +0000 (15:58 +0100)] 
dnsdist: adds possibilty to store mac address in query rings

3 years agobump ws-auth.cc copyright year 11183/head
Peter van Dijk [Thu, 13 Jan 2022 15:18:34 +0000 (16:18 +0100)] 
bump ws-auth.cc copyright year

3 years agoMerge pull request #11167 from Habbie/various-pieter
Peter van Dijk [Thu, 13 Jan 2022 12:57:15 +0000 (13:57 +0100)] 
Merge pull request #11167 from Habbie/various-pieter

remove a few lieter dependencies, plus a doc rendering fix

3 years agodnsdist: Build with -fvisibility=hidden by default 11178/head
Remi Gacogne [Thu, 13 Jan 2022 12:00:30 +0000 (13:00 +0100)] 
dnsdist: Build with -fvisibility=hidden by default

Not marking our symbols visible by default allows the compiler to do
better optimizations, especially with Link-Time Optimizations that
several distributions are now enabling by default.
The most obvious optimization comes from dead code removal because
the compiler now knows that it cannot be used by an external shared
object, but better inlining might also occur.
Even without LTO, it reduces the final size of stripped binaries and
might improve loading times a bit.

Note that we already mark the symbols that we want to export with the
'default' visibilty, for example for Lua FFI.