]> git.ipfire.org Git - thirdparty/unbound.git/log
thirdparty/unbound.git
3 months agoChangelog comment for #1042 fast-reload-option 1042/head
W.C.A. Wijngaards [Mon, 31 Mar 2025 13:21:30 +0000 (15:21 +0200)] 
Changelog comment for #1042
- Merge #1042: Fast Reload. The unbound-control fast_reload is added.
  It reads changed config in a thread, then only briefly pauses the
  service threads, that keep running. DNS service is only interrupted
  briefly, less than a second.

3 months ago- fast-reload, fix compile of doqclient for fast reload functions.
W.C.A. Wijngaards [Mon, 31 Mar 2025 13:00:18 +0000 (15:00 +0200)] 
- fast-reload, fix compile of doqclient for fast reload functions.

3 months agoMerge branch 'master' into fast-reload-option
W.C.A. Wijngaards [Mon, 31 Mar 2025 12:54:38 +0000 (14:54 +0200)] 
Merge branch 'master' into fast-reload-option

3 months ago- fast-reload, the fast-reload command is experimental.
W.C.A. Wijngaards [Mon, 31 Mar 2025 12:28:26 +0000 (14:28 +0200)] 
- fast-reload, the fast-reload command is experimental.

3 months ago- iana portlist update.
W.C.A. Wijngaards [Mon, 31 Mar 2025 12:25:16 +0000 (14:25 +0200)] 
- iana portlist update.

3 months agoReview comments for the fast reload feature (#1259)
Yorgos Thessalonikefs [Mon, 31 Mar 2025 12:02:02 +0000 (14:02 +0200)] 
Review comments for the fast reload feature (#1259)

* - fast-reload review, respip set can be null from a view.

* - fast-reload review, typos.

* - fast-reload review, keep clang static analyzer happy.

* - fast-reload review, don't forget to copy tag_actions.

* - fast-reload review, less indentation.

* - fast-reload review, don't leak respip_actions when reloading.

* - fast-reload review, protect NULL pointer dereference in get_mem
  functions.

* - fast-reload review, add fast_reload_most_options.tdir to test most
  options with high verbosity when fast reloading.

* - fast-reload review, don't skip new line on long error printouts.

* - fast-reload review, typo.

* - fast-reload review, use new_z for consistency.

* - fast-reload review, nit for unlock ordering to make eye comparison
  with the lock counterpart easier.

* - fast-reload review, in case of error the sockets are already closed.

* - fast-reload review, identation.

* - fast-reload review, add static keywords.

* - fast-reload review, update unbound-control usage text.

* - fast-reload review, updates to the man page.

3 months ago- Fix for ci test, expat is installed on the osx image.
W.C.A. Wijngaards [Thu, 27 Mar 2025 09:52:00 +0000 (10:52 +0100)] 
- Fix for ci test, expat is installed on the osx image.

3 months ago- Fix unit test dname log printout typecast.
W.C.A. Wijngaards [Thu, 27 Mar 2025 09:47:20 +0000 (10:47 +0100)] 
- Fix unit test dname log printout typecast.

3 months ago- For #1255, for ios try the latest expat version again.
Yorgos Thessalonikefs [Wed, 26 Mar 2025 15:51:46 +0000 (16:51 +0100)] 
- For #1255, for ios try the latest expat version again.

3 months ago- For #1255, for ios disable building tests that require C++11.
Yorgos Thessalonikefs [Wed, 26 Mar 2025 15:40:10 +0000 (16:40 +0100)] 
- For #1255, for ios disable building tests that require C++11.

3 months ago- For #1255, for ios use an older expat version that does not require
Yorgos Thessalonikefs [Wed, 26 Mar 2025 15:15:16 +0000 (16:15 +0100)] 
- For #1255, for ios use an older expat version that does not require
  C++11 language features.

3 months ago- Fix #1255: Multiple pinnings to vulnerable copies of libexpat.
Yorgos Thessalonikefs [Wed, 26 Mar 2025 13:58:54 +0000 (14:58 +0100)] 
- Fix #1255: Multiple pinnings to vulnerable copies of libexpat.

3 months ago- Fix #1254: `send failed: Socket is not connected` and
W.C.A. Wijngaards [Mon, 24 Mar 2025 07:54:54 +0000 (08:54 +0100)] 
- Fix #1254: `send failed: Socket is not connected` and
  `remote address is 0.0.0.0 port 53`.

3 months ago- Fix for #1253: Fix for redis cachedb backend to expect an integer
W.C.A. Wijngaards [Fri, 21 Mar 2025 13:07:22 +0000 (14:07 +0100)] 
- Fix for #1253: Fix for redis cachedb backend to expect an integer
  reply for the EXPIRE command.

3 months ago- Fix #1253: Cache entries fail to be removed from Redis cachedb
W.C.A. Wijngaards [Fri, 21 Mar 2025 11:56:21 +0000 (12:56 +0100)] 
- Fix #1253: Cache entries fail to be removed from Redis cachedb
  backend with unbound-control flush* +c.

3 months ago- Fix print of RR type NSAP-PTR, it is an unquoted string.
W.C.A. Wijngaards [Thu, 20 Mar 2025 14:51:03 +0000 (15:51 +0100)] 
- Fix print of RR type NSAP-PTR, it is an unquoted string.

3 months ago- fast-reload, fix use of WSAPoll.
W.C.A. Wijngaards [Tue, 18 Mar 2025 13:40:19 +0000 (14:40 +0100)] 
- fast-reload, fix use of WSAPoll.

3 months ago- Fix for windows compile create ssl contexts.
W.C.A. Wijngaards [Tue, 18 Mar 2025 13:01:53 +0000 (14:01 +0100)] 
- Fix for windows compile create ssl contexts.

3 months ago- Fix #1251: WSAPoll first argument cannot be NULL.
W.C.A. Wijngaards [Tue, 18 Mar 2025 12:59:53 +0000 (13:59 +0100)] 
- Fix #1251: WSAPoll first argument cannot be NULL.

3 months ago- Fix representation of types GPOS and RESINFO, add rdf type for
W.C.A. Wijngaards [Mon, 17 Mar 2025 15:38:17 +0000 (16:38 +0100)] 
- Fix representation of types GPOS and RESINFO, add rdf type for

3 months ago- Fix 'unbound-control flush_negative' when reporting removed data;
Yorgos Thessalonikefs [Sun, 16 Mar 2025 08:01:03 +0000 (09:01 +0100)] 
- Fix 'unbound-control flush_negative' when reporting removed data;
  reported by David 'eqvinox' Lamparter.

4 months agoChangelog nore for #1238 and add `--help` description.
W.C.A. Wijngaards [Fri, 28 Feb 2025 08:32:49 +0000 (09:32 +0100)] 
Changelog nore for #1238 and add `--help` description.
- Merge #1238: Prefer SOURCE_DATE_EPOCH over actual time.
  Add --help output description for the SOURCE_DATE_EPOCH variable.

4 months agoPrefer SOURCE_DATE_EPOCH over actual time (#1238)
Sefa Eyeoglu [Fri, 28 Feb 2025 08:22:19 +0000 (09:22 +0100)] 
Prefer SOURCE_DATE_EPOCH over actual time (#1238)

* Add ax_build_date_epoch from Autoconf Archive

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
* Prefer SOURCE_DATE_EPOCH over actual time

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
---------

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
4 months agoChangelog note for #1243
W.C.A. Wijngaards [Tue, 25 Feb 2025 08:37:36 +0000 (09:37 +0100)] 
Changelog note for #1243
- Merge #1243: Do not shadow tm on line 236.

4 months agoDo not shadow tm on line 236. (#1243)
Florian Obser [Tue, 25 Feb 2025 08:36:44 +0000 (09:36 +0100)] 
Do not shadow tm on line 236. (#1243)

4 months ago- Fix hash calculation for cachedb to ignore case. Previously, cached
Yorgos Thessalonikefs [Mon, 24 Feb 2025 13:47:13 +0000 (14:47 +0100)] 
- Fix hash calculation for cachedb to ignore case. Previously, cached
  records there were only relevant for same case queries (if not
  already in Unbound's internal cache).

4 months agoChangelog entry for #1241:
Yorgos Thessalonikefs [Wed, 19 Feb 2025 12:46:01 +0000 (13:46 +0100)] 
Changelog entry for #1241:
- Merge #1241: Fix infra-keep-probing for low infra-cache-max-rtt
  values.

4 months agoMerge pull request #1241 from NLnetLabs/bugfix/keep-probing-max-rtt
Yorgos Thessalonikefs [Wed, 19 Feb 2025 12:44:40 +0000 (13:44 +0100)] 
Merge pull request #1241 from NLnetLabs/bugfix/keep-probing-max-rtt

Fix infra-keep-probing for low infra-cache-max-rtt values

4 months ago- The maximum value of a probe rto was not aligned with the 1241/head
Yorgos Thessalonikefs [Wed, 19 Feb 2025 11:14:59 +0000 (12:14 +0100)] 
- The maximum value of a probe rto was not aligned with the
  (configurable) infra-cache-max-rtt value. That could result in
  infra-keep-probing not working if an infra-cache-max-rtt value was chosen
  that was below 12000 ms. This fix still uses a default value of 12000
  ms for the probe but caps it to the infra-cache-max-rtt if that is
  lower.

4 months ago- Fix static analysis report about unhandled EOF on error conditions
Yorgos Thessalonikefs [Wed, 19 Feb 2025 10:24:49 +0000 (11:24 +0100)] 
- Fix static analysis report about unhandled EOF on error conditions
  when reading anchor key files.

4 months ago- Consider reconfigurations when calculating the still_useful_timeout
Yorgos Thessalonikefs [Mon, 17 Feb 2025 14:21:18 +0000 (15:21 +0100)] 
- Consider reconfigurations when calculating the still_useful_timeout
  for servers in the infrastructure cache.

5 months ago- Fix #986: Resolving sas.com with dnssec-validation fails though
W.C.A. Wijngaards [Thu, 30 Jan 2025 15:26:31 +0000 (16:26 +0100)] 
- Fix #986: Resolving sas.com with dnssec-validation fails though
  signed delegations seem to be (mostly) correct.

5 months ago- Make the default value of module-config "validator iterator"
Yorgos Thessalonikefs [Wed, 29 Jan 2025 11:08:28 +0000 (12:08 +0100)] 
- Make the default value of module-config "validator iterator"
  regardless of compilation options. --enable-subnet would implicitly
  change the value to enable the subnetcache module by default in the
  past.

5 months agoChangelog entry for #1220:
Yorgos Thessalonikefs [Fri, 24 Jan 2025 15:56:09 +0000 (16:56 +0100)] 
Changelog entry for #1220:
- Merge #1220 from Petr Menšík, Add unbound members group access to
  control key.

5 months agoMerge pull request #1220 from InfrastructureServices/unbound-control-group-key
Yorgos Thessalonikefs [Fri, 24 Jan 2025 15:53:12 +0000 (16:53 +0100)] 
Merge pull request #1220 from InfrastructureServices/unbound-control-group-key

Add unbound members group access to control key

5 months agoChangelog entry for #1224:
Yorgos Thessalonikefs [Tue, 21 Jan 2025 16:35:00 +0000 (17:35 +0100)] 
Changelog entry for #1224:
- Merge #1224 from Theo Buehler: Do not use DSA API unless USE_DSA is
  set.

5 months agoMerge pull request #1224 from botovq/improve-use-dsa
Yorgos Thessalonikefs [Tue, 21 Jan 2025 16:33:48 +0000 (17:33 +0100)] 
Merge pull request #1224 from botovq/improve-use-dsa

Do not use DSA API unless USE_DSA is set

5 months agoChangelog note for #1229
W.C.A. Wijngaards [Tue, 21 Jan 2025 14:48:46 +0000 (15:48 +0100)] 
Changelog note for #1229
- Merge #1229: check before use daemon->shm_info.

5 months agocheck before use daemon->shm_info (#1229)
eaglegai [Tue, 21 Jan 2025 14:47:51 +0000 (22:47 +0800)] 
check before use daemon->shm_info (#1229)

fix core after the command `unbound-control stop unbound`

fix:https://github.com/NLnetLabs/unbound/issues/1228

Signed-off-by: eaglegai <eaglegai@163.com>
5 months ago- Do not open unencrypted channels next to encrypted ones on the same
Yorgos Thessalonikefs [Tue, 21 Jan 2025 14:25:53 +0000 (15:25 +0100)] 
- Do not open unencrypted channels next to encrypted ones on the same
  port.

5 months ago- Fix to check length in ATMA string to wire.
W.C.A. Wijngaards [Tue, 21 Jan 2025 11:30:30 +0000 (12:30 +0100)] 
- Fix to check length in ATMA string to wire.

5 months ago- Fix encoding of RR type ATMA.
W.C.A. Wijngaards [Tue, 21 Jan 2025 11:27:15 +0000 (12:27 +0100)] 
- Fix encoding of RR type ATMA.

5 months ago- Fix compile of interface check code when dnscrypt or quic is
W.C.A. Wijngaards [Tue, 21 Jan 2025 09:13:48 +0000 (10:13 +0100)] 
- Fix compile of interface check code when dnscrypt or quic is
  disabled.

5 months ago- Use the same interface listening port discovery code for all needed
Yorgos Thessalonikefs [Tue, 21 Jan 2025 09:04:30 +0000 (10:04 +0100)] 
- Use the same interface listening port discovery code for all needed
  protocols.
- Port to string only when needed before getaddrinfo().

5 months ago- Create the quic SSL listening context only when needed.
Yorgos Thessalonikefs [Mon, 20 Jan 2025 14:49:37 +0000 (15:49 +0100)] 
- Create the quic SSL listening context only when needed.

5 months agoChangelog entry for #1222:
Yorgos Thessalonikefs [Mon, 20 Jan 2025 14:45:11 +0000 (15:45 +0100)] 
Changelog entry for #1222:
- Merge #1222: Unique DoT and DoH SSL contexts to allow for different
  ALPN.

5 months agoUnique DoT and DoH SSL contexts to allow for different ALPN (#1222)
Yorgos Thessalonikefs [Mon, 20 Jan 2025 14:43:44 +0000 (15:43 +0100)] 
Unique DoT and DoH SSL contexts to allow for different ALPN (#1222)

5 months agoDo not use DSA API unless USE_DSA is set 1224/head
Theo Buehler [Sat, 18 Jan 2025 09:23:57 +0000 (10:23 +0100)] 
Do not use DSA API unless USE_DSA is set

Even if USE_DSA is unset, unbound ends up linking against OpenSSL
DSA API because these guards are missing.

5 months agoChangelog entry for #1221:
Yorgos Thessalonikefs [Fri, 17 Jan 2025 09:19:26 +0000 (10:19 +0100)] 
Changelog entry for #1221:
- Merge #1221: Consider auth zones when checking for forwarders.

5 months agoMerge pull request #1221 from NLnetLabs/bugfix/consider-auth-zones-when-forwarding
Yorgos Thessalonikefs [Fri, 17 Jan 2025 09:18:32 +0000 (10:18 +0100)] 
Merge pull request #1221 from NLnetLabs/bugfix/consider-auth-zones-when-forwarding

Consider auth zones when checking for forwarders

5 months ago- Use correct RFC number for resolver.arpa.
Yorgos Thessalonikefs [Wed, 15 Jan 2025 09:55:31 +0000 (10:55 +0100)] 
- Use correct RFC number for resolver.arpa.

5 months ago- Add resolver.arpa and service.arpa to the default locally served
Yorgos Thessalonikefs [Tue, 14 Jan 2025 16:18:32 +0000 (17:18 +0100)] 
- Add resolver.arpa and service.arpa to the default locally served
  zones.

5 months ago- Take configured auth zones into consideration when checking if a 1221/head
Yorgos Thessalonikefs [Tue, 14 Jan 2025 15:38:53 +0000 (16:38 +0100)] 
- Take configured auth zones into consideration when checking if a
  request needs to be forwarded.

5 months agoAdd unbound members group access to control key 1220/head
Petr Menšík [Tue, 14 Jan 2025 12:55:10 +0000 (13:55 +0100)] 
Add unbound members group access to control key

Recent openssl genrsa does not use umask for generated keys. There is no
strong reason why every member of unbound group should be able read
server key. But control key would be quite useful to be group readable
and to allow control access to whole group. Allowing access to control
by group membership, not via sudo.

5 months ago- Fix typo.
Yorgos Thessalonikefs [Mon, 13 Jan 2025 11:32:16 +0000 (12:32 +0100)] 
- Fix typo.

5 months ago- Fix #1213: Misleading error message on default access control causing
Yorgos Thessalonikefs [Mon, 13 Jan 2025 10:33:24 +0000 (11:33 +0100)] 
- Fix #1213: Misleading error message on default access control causing
  refuse.

5 months agoChangelog entry for #1214:
Yorgos Thessalonikefs [Fri, 10 Jan 2025 12:54:49 +0000 (13:54 +0100)] 
Changelog entry for #1214:
- Merge #1214: Use TCP_NODELAY on TLS sockets to speed up the TLS
  handshake.

5 months agoMerge pull request #1214 from NLnetLabs/bugfix/tls-handshake
Yorgos Thessalonikefs [Fri, 10 Jan 2025 12:53:46 +0000 (13:53 +0100)] 
Merge pull request #1214 from NLnetLabs/bugfix/tls-handshake

Use TCP_NODELAY on TLS sockets to speed up the TLS handshake.

5 months ago- Use TCP_NODELAY on TLS sockets to speed up the TLS handshake. 1214/head
Yorgos Thessalonikefs [Fri, 10 Jan 2025 11:11:59 +0000 (12:11 +0100)] 
- Use TCP_NODELAY on TLS sockets to speed up the TLS handshake.

6 months agoChangelog entry for #1174:
Yorgos Thessalonikefs [Tue, 31 Dec 2024 15:30:35 +0000 (16:30 +0100)] 
Changelog entry for #1174:
- Merge #1174: Serve expired cache update fixes. Fixes a regression bug
  with serve-expired that appeared in 1.22.0 and would not allow the
  iterator to update the cache with not-yet-validated entries resulting
  in increased outgoing traffic.

6 months agoServe expired cache update fixes (#1174)
Yorgos Thessalonikefs [Tue, 31 Dec 2024 15:28:12 +0000 (16:28 +0100)] 
Serve expired cache update fixes (#1174)

- Fixes a regression bug with serve-expired that appeared in 1.22.0
  and would not allow the iterator to update the cache with
  not-yet-validated entries resulting in increased outgoing traffic.

- Treat serve_expired_norec_ttl as a backoff timer for failed updates of expired records.
- Try to use expired answers instead of SERVFAIL if serve-expired is
  enabled even without serve-expired-client-timeout.
- Add suggestion to refresh the cached norec_ttl and expired_ttl when a
  response cannot update the usable expired entry.

6 months ago- For #1207: [FR] Support for RESINFO RRType 261 (RFC9606), add
Yorgos Thessalonikefs [Fri, 20 Dec 2024 14:04:34 +0000 (15:04 +0100)] 
- For #1207: [FR] Support for RESINFO RRType 261 (RFC9606), add
  LDNS_RR_TYPE_RESINFO similar to LDNS_RR_TYPE_TXT.

6 months agoChangelog entry for #1204:
Yorgos Thessalonikefs [Fri, 13 Dec 2024 12:43:29 +0000 (13:43 +0100)] 
Changelog entry for #1204:
- Merge #1204: ci: set persist-credentials: false for actions/checkout
  per zizmor suggestion.

6 months agoMerge pull request #1204 from NLnetLabs/zizmor-improvements
Yorgos Thessalonikefs [Fri, 13 Dec 2024 12:42:31 +0000 (13:42 +0100)] 
Merge pull request #1204 from NLnetLabs/zizmor-improvements

6 months agoset persist-credentials: false per zizmor suggestion 1204/head
Maarten Aertsen [Fri, 13 Dec 2024 12:12:03 +0000 (13:12 +0100)] 
set persist-credentials: false per zizmor suggestion

7 months ago- Fix typo in log_servfail.tdir test.
Yorgos Thessalonikefs [Tue, 3 Dec 2024 15:03:05 +0000 (16:03 +0100)] 
- Fix typo in log_servfail.tdir test.

7 months agoChangelog entry for #1187:
Yorgos Thessalonikefs [Tue, 3 Dec 2024 13:21:34 +0000 (14:21 +0100)] 
Changelog entry for #1187:
- Merge #1187: Create the SSL_CTX for QUIC before chroot and privilege
  drop.

7 months agoCreate the SSL_CTX for QUIC before chroot and privilege drop (#1187)
Yorgos Thessalonikefs [Tue, 3 Dec 2024 13:20:33 +0000 (14:20 +0100)] 
Create the SSL_CTX for QUIC before chroot and privilege drop (#1187)

Fixes #1185 by creating the SSL_CTX for QUIC before chroot and
privilege drop, just like the other SSL_CTX creations.

---------

Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
7 months ago- Safeguard alias loop while looking in the cache for expired answers.
Yorgos Thessalonikefs [Tue, 3 Dec 2024 13:10:17 +0000 (14:10 +0100)] 
- Safeguard alias loop while looking in the cache for expired answers.

7 months ago- Merge #1198: Fix log-servfail with serve expired and no useful cache
Yorgos Thessalonikefs [Tue, 3 Dec 2024 13:05:12 +0000 (14:05 +0100)] 
- Merge #1198: Fix log-servfail with serve expired and no useful cache
  contents.

7 months agoMerge pull request #1198 from NLnetLabs/bugfix/log-servfail-serve-expired
Yorgos Thessalonikefs [Tue, 3 Dec 2024 13:02:03 +0000 (14:02 +0100)] 
Merge pull request #1198 from NLnetLabs/bugfix/log-servfail-serve-expired

Fix log-servfail with serve expired and no useful cache contents

7 months ago- For #1175, the default value of serve-expired-ttl is set to 86400
Yorgos Thessalonikefs [Tue, 3 Dec 2024 12:09:51 +0000 (13:09 +0100)] 
- For #1175, the default value of serve-expired-ttl is set to 86400
  (1 day) as suggested by RFC8767.

7 months agoChangelog entry for #1189, #1197:
Yorgos Thessalonikefs [Tue, 3 Dec 2024 10:58:06 +0000 (11:58 +0100)] 
Changelog entry for #1189, #1197:
- Merge #1189: Fix the dname_str method to cause conversion errors
  when the domain name length is 255.
- Merge #1197: dname_str() fixes.

7 months agoMerge pull request #1197 from NLnetLabs/dname_str-more-tests
Yorgos Thessalonikefs [Tue, 3 Dec 2024 10:55:41 +0000 (11:55 +0100)] 
Merge pull request #1197 from NLnetLabs/dname_str-more-tests

dname_str() fixes

7 months ago- For #1193, introduce log-servfail.tdir and cleanup the log-servfail 1198/head
Yorgos Thessalonikefs [Mon, 2 Dec 2024 11:30:11 +0000 (12:30 +0100)] 
- For #1193, introduce log-servfail.tdir and cleanup the log-servfail
  setting from other tests.

7 months ago- Fix #1193: log-servfail fails to log host SERVFAIL responses in
Yorgos Thessalonikefs [Mon, 2 Dec 2024 11:28:11 +0000 (12:28 +0100)] 
- Fix #1193: log-servfail fails to log host SERVFAIL responses in
  Unbound 1.19.2 on Ubuntu 24.04.1 LTS, by not considering cached
  failures when trying to reply with expired data.

7 months ago- For #1189, homogenize the input buffer size for dname_str(). 1197/head
Yorgos Thessalonikefs [Mon, 2 Dec 2024 10:53:56 +0000 (11:53 +0100)] 
- For #1189, homogenize the input buffer size for dname_str().

7 months ago- For #1189, add unit tests for dname_str() and debug check the input
Yorgos Thessalonikefs [Mon, 2 Dec 2024 09:03:35 +0000 (10:03 +0100)] 
- For #1189, add unit tests for dname_str() and debug check the input
  buffer size.

7 months agoFix the dname_str method to cause conversion errors when the domain name length is 255 1189/head
wenxuan70 [Sun, 24 Nov 2024 09:53:23 +0000 (17:53 +0800)] 
Fix the dname_str method to cause conversion errors when the domain name length is 255

7 months ago- For #1175, update serve-expired tests.
Yorgos Thessalonikefs [Fri, 22 Nov 2024 15:14:02 +0000 (16:14 +0100)] 
- For #1175, update serve-expired tests.

7 months ago- Fix #1175: serve-expired does not adhere to secure-by-default
Yorgos Thessalonikefs [Fri, 22 Nov 2024 14:30:51 +0000 (15:30 +0100)] 
- Fix #1175: serve-expired does not adhere to secure-by-default
  principle. The default value of serve-expired-client-timeout
  is set to 1800 as suggested by RFC8767.

7 months ago- Fix comparison to help static analyzer.
Yorgos Thessalonikefs [Wed, 20 Nov 2024 09:53:45 +0000 (10:53 +0100)] 
- Fix comparison to help static analyzer.

7 months agoChangelog entry for #1169:
Yorgos Thessalonikefs [Tue, 19 Nov 2024 16:01:34 +0000 (17:01 +0100)] 
Changelog entry for #1169:
- Merge #1169 from Sergey Kacheev, fix: lock-free counters for
  auth_zone up/down queries.

7 months agoMerge pull request #1169 from sakateka/lock-free-az-counters
Yorgos Thessalonikefs [Tue, 19 Nov 2024 16:00:01 +0000 (17:00 +0100)] 
Merge pull request #1169 from sakateka/lock-free-az-counters

fix: lock-free counters for auth_zone up/down queries

7 months agofix: lock-free counters for auth_zone up/down queries 1169/head
Sergey Kacheev [Tue, 29 Oct 2024 14:21:52 +0000 (17:21 +0300)] 
fix: lock-free counters for auth_zone up/down queries

7 months ago- Fix for #1183: release nsec3 hashes per test file.
W.C.A. Wijngaards [Fri, 15 Nov 2024 09:47:27 +0000 (10:47 +0100)] 
- Fix for #1183: release nsec3 hashes per test file.

7 months ago- Fix #1183: the data being used is released in method
W.C.A. Wijngaards [Fri, 15 Nov 2024 09:37:35 +0000 (10:37 +0100)] 
- Fix #1183: the data being used is released in method
  nsec3_hash_test_entry.

7 months ago- Complete fix for max-global-quota to 200.
Yorgos Thessalonikefs [Fri, 8 Nov 2024 16:34:28 +0000 (17:34 +0100)] 
- Complete fix for max-global-quota to 200.

7 months ago- More descriptive text for 'harden-algo-downgrade'.
Yorgos Thessalonikefs [Fri, 8 Nov 2024 12:56:04 +0000 (13:56 +0100)] 
- More descriptive text for 'harden-algo-downgrade'.

8 months ago- Increase the default of max-global-quota to 200 from 128 after
Yorgos Thessalonikefs [Wed, 6 Nov 2024 15:28:37 +0000 (16:28 +0100)] 
- Increase the default of max-global-quota to 200 from 128 after
  operational feedback. Still keeping the possible amplification
  factor (CAMP related issues) in the hundreds.

8 months agoChangelog entry for:
Yorgos Thessalonikefs [Tue, 5 Nov 2024 11:20:25 +0000 (12:20 +0100)] 
Changelog entry for:
- Fix SETEX check during Redis (re)initialization.

8 months ago- Fix SETEX check during Redis (re)initialization.
Yorgos Thessalonikefs [Tue, 5 Nov 2024 11:17:38 +0000 (12:17 +0100)] 
- Fix SETEX check during Redis (re)initialization.

8 months ago- Fix to log redis timeout error string on failure.
W.C.A. Wijngaards [Tue, 5 Nov 2024 10:41:41 +0000 (11:41 +0100)] 
- Fix to log redis timeout error string on failure.

8 months ago- Fix for the serve expired DNSSEC information fix, it would not allow
W.C.A. Wijngaards [Tue, 5 Nov 2024 09:39:27 +0000 (10:39 +0100)] 
- Fix for the serve expired DNSSEC information fix, it would not allow
  current delegation information be updated in cache. The fix allows
  current delegation and validation recursion information to be
  updated, but as a consequence no longer has certain expired
  information around for later dnssec valid expired responses.

8 months agoChangelog note for #1167
W.C.A. Wijngaards [Mon, 4 Nov 2024 12:26:27 +0000 (13:26 +0100)] 
Changelog note for #1167
- Merge #1167: Makefile.in: fix occasional parallel build failures
  around bison rule.

8 months agoMakefile.in: fix occasional parallel build failures around bison rule (#1167)
Sergei Trofimovich [Mon, 4 Nov 2024 12:26:05 +0000 (12:26 +0000)] 
Makefile.in: fix occasional parallel build failures around bison rule (#1167)

Without the change `make -j16 --shuffle` occasinally fails to build as:

    $ make -j16 --shuffle
    ...
    bison -y -d -o util/configparser.c ./util/configparser.y
    ...
    /libtool --tag=CC --mode=compile gcc -I.  -I...-openssl-3.3.2-dev/include -I...-libevent-2.1.12-dev/include -I...-expat-2.6.3-dev/include -DSRCDIR=. -g -O2 -flto -fPIE -pthread  -o configparser.lo -c util/configparser.c
    ...
    util/configparser.c:755:3: error: expected ',' or '}' at end of input
  755 |   YYSYMBOL_server_low_rtt = 626,           /* server_low_rtt  */
      |   ^

The build failure happens due to this `Makefile.in` rule:

    util/configparser.c util/configparser.h:  $(srcdir)/util/configparser.y
        @-if test ! -d util; then $(INSTALL) -d util; fi
        $(YACC) -d -o util/configparser.c $(srcdir)/util/configparser.y

For GNU make that means that each of the targets will attempt the rule
execution when the file is missing: one for .c file and another for .h
file:

    https://www.gnu.org/software/make/manual/html_node/Multiple-Targets.html

The workaround is to only run $(YACC) for .c target and use .c as a
pre-requisite for an .h file.

Before the change the build fails about every 10-th run.
After the change no build failures after 100 successful builds.

8 months ago- Fix redis that during a reload it does not fail if the redis
W.C.A. Wijngaards [Mon, 4 Nov 2024 09:14:26 +0000 (10:14 +0100)] 
- Fix redis that during a reload it does not fail if the redis
  server does not connect or does not respond. It still logs the
  errors and if the server is up checks expiration features.

8 months ago- Fix redis that during a reload it does not fail if the redis
W.C.A. Wijngaards [Mon, 4 Nov 2024 09:14:13 +0000 (10:14 +0100)] 
- Fix redis that during a reload it does not fail if the redis
  server does not connect or does not respond. It still logs the
  errors and if the server is up checks expiration features.

8 months agoChangelog entry for #1157:
Yorgos Thessalonikefs [Fri, 1 Nov 2024 15:27:06 +0000 (16:27 +0100)] 
Changelog entry for #1157:
- Merge #1157 from Liang Zhu, Fix heap corruption when calling
  ub_ctx_delete in Windows.

8 months agoFix heap corruption when calling ub_ctx_delete in Windows (#1157)
Liang Zhu [Fri, 1 Nov 2024 15:26:05 +0000 (08:26 -0700)] 
Fix heap corruption when calling ub_ctx_delete in Windows (#1157)