]> git.ipfire.org Git - thirdparty/unbound.git/log
thirdparty/unbound.git
2 years ago- More efficient mesh accounting per client.
George Thessalonikefs [Tue, 30 May 2023 21:34:31 +0000 (23:34 +0200)] 
- More efficient mesh accounting per client.

2 years ago- More predictable testing for cachedb.
George Thessalonikefs [Tue, 30 May 2023 21:33:48 +0000 (23:33 +0200)] 
- More predictable testing for cachedb.

2 years ago- Introduce num.query.cachedb to track cache hits for the external cache.
George Thessalonikefs [Tue, 30 May 2023 15:49:50 +0000 (17:49 +0200)] 
- Introduce num.query.cachedb to track cache hits for the external cache.

2 years ago- Fix unbound-dnstap-socket time fraction conversion for printout.
W.C.A. Wijngaards [Thu, 25 May 2023 14:27:19 +0000 (16:27 +0200)] 
- Fix unbound-dnstap-socket time fraction conversion for printout.

2 years ago- Fix unbound-dnstap-socket printout when no query is present.
W.C.A. Wijngaards [Thu, 25 May 2023 12:30:25 +0000 (14:30 +0200)] 
- Fix unbound-dnstap-socket printout when no query is present.

2 years agocould not find package netcat for docker container 889/head
Boris VANHOOF [Tue, 23 May 2023 08:11:07 +0000 (10:11 +0200)] 
could not find package netcat for docker container

2 years agofree memory in error case
Boris VANHOOF [Tue, 23 May 2023 07:23:03 +0000 (09:23 +0200)] 
free memory in error case

2 years agoremove unused function
Boris VANHOOF [Tue, 23 May 2023 07:22:35 +0000 (09:22 +0200)] 
remove unused function

2 years agotypo in comments
Boris VANHOOF [Tue, 23 May 2023 07:21:58 +0000 (09:21 +0200)] 
typo in comments

2 years ago- Fix to remove unused variables from RPZ clientip data structure.
W.C.A. Wijngaards [Fri, 19 May 2023 14:36:31 +0000 (16:36 +0200)] 
- Fix to remove unused variables from RPZ clientip data structure.

2 years ago- Fix RPZ removal of client-ip, nsip, nsdname triggers from IXFR.
W.C.A. Wijngaards [Fri, 19 May 2023 12:38:41 +0000 (14:38 +0200)] 
- Fix RPZ removal of client-ip, nsip, nsdname triggers from IXFR.

2 years ago- Fix to print debug log for ancillary data with correct IP address.
W.C.A. Wijngaards [Tue, 16 May 2023 07:21:21 +0000 (09:21 +0200)] 
- Fix to print debug log for ancillary data with correct IP address.

2 years ago- Fix #888: [FR] Use kernel timestamps for dnstap.
W.C.A. Wijngaards [Tue, 16 May 2023 06:50:38 +0000 (08:50 +0200)] 
- Fix #888: [FR] Use kernel timestamps for dnstap.

2 years ago- Fix warning in windows compile, in set_recvtimestamp.
W.C.A. Wijngaards [Thu, 11 May 2023 07:32:59 +0000 (09:32 +0200)] 
- Fix warning in windows compile, in set_recvtimestamp.

2 years ago- Fix doxygen in addr_to_nat64 header definition.
W.C.A. Wijngaards [Thu, 4 May 2023 13:53:05 +0000 (15:53 +0200)] 
- Fix doxygen in addr_to_nat64 header definition.

2 years ago- Fix to remove unused whitespace from acx_nlnetlabs.m4 and config.h.
W.C.A. Wijngaards [Thu, 4 May 2023 09:17:06 +0000 (11:17 +0200)] 
- Fix to remove unused whitespace from acx_nlnetlabs.m4 and config.h.

2 years ago- Fix #885: Error: util/configlexer.c: No such file or directory,
W.C.A. Wijngaards [Thu, 4 May 2023 09:12:11 +0000 (11:12 +0200)] 
- Fix #885: Error: util/configlexer.c: No such file or directory,
  adds error messages explaining to install flex and bison.

2 years ago- Fix proxy-protocol to read header in multiple reads and check buffer size.
W.C.A. Wijngaards [Tue, 2 May 2023 12:54:51 +0000 (14:54 +0200)] 
- Fix proxy-protocol to read header in multiple reads and check buffer size.

2 years ago- Fix proxy-protocol buffer checks when writing and read from buffer.
W.C.A. Wijngaards [Tue, 2 May 2023 12:36:29 +0000 (14:36 +0200)] 
- Fix proxy-protocol buffer checks when writing and read from buffer.

2 years agoChangelog entry for #722:
George Thessalonikefs [Mon, 1 May 2023 16:30:47 +0000 (18:30 +0200)] 
Changelog entry for #722:
- Merge #722 from David 'eqvinox' Lamparter: NAT64 support.
- For #722: minor fixes, formatting, refactoring.

2 years agoMerge branch 'eqvinox-nat64'
George Thessalonikefs [Mon, 1 May 2023 16:24:05 +0000 (18:24 +0200)] 
Merge branch 'eqvinox-nat64'

2 years ago- For #722: Minor fixes, formatting and refactoring.
George Thessalonikefs [Mon, 1 May 2023 16:23:13 +0000 (18:23 +0200)] 
- For #722: Minor fixes, formatting and refactoring.

2 years ago- Fix RPZ IP responses with trigger rpz-drop on cache entries, that
W.C.A. Wijngaards [Mon, 1 May 2023 07:26:17 +0000 (09:26 +0200)] 
- Fix RPZ IP responses with trigger rpz-drop on cache entries, that
  they are dropped.

2 years agoChangelog for #860
Philip Homburg [Wed, 26 Apr 2023 15:15:59 +0000 (17:15 +0200)] 
Changelog for #860

2 years agoMerge branch '0ttl'
Philip Homburg [Wed, 26 Apr 2023 15:14:15 +0000 (17:14 +0200)] 
Merge branch '0ttl'

2 years agoRemove msg_del_for_0ttl, call msg_cache_remove directly 866/head
Philip Homburg [Wed, 26 Apr 2023 15:11:29 +0000 (17:11 +0200)] 
Remove msg_del_for_0ttl, call msg_cache_remove directly

2 years agoMerge branch 'nat64' of https://github.com/eqvinox/unbound into eqvinox-nat64
George Thessalonikefs [Wed, 26 Apr 2023 13:14:39 +0000 (15:14 +0200)] 
Merge branch 'nat64' of https://github.com/eqvinox/unbound into eqvinox-nat64

2 years ago- Fix for #882: document variable to stop doxygen warning.
W.C.A. Wijngaards [Wed, 26 Apr 2023 12:07:33 +0000 (14:07 +0200)] 
- Fix for #882: document variable to stop doxygen warning.

2 years ago- Fix for #882: small changes, date updated in Copyright for
W.C.A. Wijngaards [Wed, 26 Apr 2023 11:49:33 +0000 (13:49 +0200)] 
- Fix for #882: small changes, date updated in Copyright for
  util/timeval_func.c and util/timeval_func.h. Man page entries and
  example entry.

2 years agoMerge pull request #882 from vvfedorenko/features/dropqueuedpackets
Wouter Wijngaards [Wed, 26 Apr 2023 11:25:32 +0000 (13:25 +0200)] 
Merge pull request #882 from vvfedorenko/features/dropqueuedpackets

Features/dropqueuedpackets

2 years agostats: add query max wait time metric 882/head
Vadim Fedorenko [Fri, 21 Apr 2023 16:23:21 +0000 (09:23 -0700)] 
stats: add query max wait time metric

Add new statistic value to know the size of the queue in microseconds.

Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
2 years agostats: add counter for timed out queries
Vadim Fedorenko [Mon, 17 Apr 2023 14:02:13 +0000 (07:02 -0700)] 
stats: add counter for timed out queries

Add counter `num_queries_timed_out` meaning queries that were sitting in the
socket queue and waiting to being processed too long. There is no reason
to process such queries, so let's drop it in the very beginning of the
pipeline.

Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
2 years agoconfig: add sock_queue_timeout configuration
Vadim Fedorenko [Thu, 13 Apr 2023 14:49:32 +0000 (07:49 -0700)] 
config: add sock_queue_timeout configuration

Add sock_queue_timeout config option to have queue timeout configurable.

Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
2 years agonetevent: parse and store rcv timestamp from sock
Vadim Fedorenko [Thu, 13 Apr 2023 14:11:00 +0000 (07:11 -0700)] 
netevent: parse and store rcv timestamp from sock

Add special field in comm_point to store the software receive timestamp
for every particular UDP packet. Aux data parser is updated to read
values and the whole callback is switched to use recvmsg form.

Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
2 years agotimeval_func: move all timeval manipulation to separate file
Vadim Fedorenko [Tue, 18 Apr 2023 13:50:12 +0000 (06:50 -0700)] 
timeval_func: move all timeval manipulation to separate file

There are several definitions of the same functions manipulating timeval
structures. Let's move them to separate file and arrange the code
preperly.

Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
2 years agostreamtcp, implement NOTIFY[=N] that sends a notify packet.
W.C.A. Wijngaards [Wed, 26 Apr 2023 09:57:10 +0000 (11:57 +0200)] 
streamtcp, implement NOTIFY[=N] that sends a notify packet.

2 years agoLinting change.
Vadim Fedorenko [Thu, 20 Apr 2023 15:39:55 +0000 (08:39 -0700)] 
Linting change.

Remove config parser/lexer code as it's rebuilded every time but can
break adding new config options.
Also clean up the code base to avoid mixing actual code changes and lint
issues.

Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
2 years agostreamtcp, implement IXFR=N queries, add documentation for proxy option.
W.C.A. Wijngaards [Tue, 25 Apr 2023 14:44:58 +0000 (16:44 +0200)] 
streamtcp, implement IXFR=N queries, add documentation for proxy option.

2 years ago- adjust generic proxy-protocol header for IPv6 support with ifdef.
W.C.A. Wijngaards [Tue, 25 Apr 2023 06:16:19 +0000 (08:16 +0200)] 
- adjust generic proxy-protocol header for IPv6 support with ifdef.

2 years ago- Generalise the proxy protocol code
George Thessalonikefs [Mon, 24 Apr 2023 14:15:56 +0000 (16:15 +0200)] 
- Generalise the proxy protocol code

2 years agoservices/authzone.c: remove redundant check 880/head
Ilya Shipitsin [Mon, 24 Apr 2023 09:45:41 +0000 (11:45 +0200)] 
services/authzone.c: remove redundant check

found by cppcheck

services\authzone.c:7513:12: style: Condition 'rrlist[i]' is always true [knownConditionTrueFalse]

2 years ago- Fix for #878: Invalid IP address in unbound.conf causes Segmentation
W.C.A. Wijngaards [Wed, 19 Apr 2023 07:56:31 +0000 (09:56 +0200)] 
- Fix for #878: Invalid IP address in unbound.conf causes Segmentation
  Fault on OpenBSD.

2 years agoChangelog entry for #875 and #874.
W.C.A. Wijngaards [Fri, 14 Apr 2023 09:19:25 +0000 (11:19 +0200)] 
Changelog entry for #875 and #874.
- Merge #875: change obsolete txt URL in unbound-anchor.c to point
  to RFC 7958, and Fix #874.

2 years agoMerge pull request #875 from dyunwei/master
Wouter Wijngaards [Fri, 14 Apr 2023 09:17:43 +0000 (11:17 +0200)] 
Merge pull request #875 from dyunwei/master

Changelog entry for #874

2 years agoChangelog entry for #874 875/head
yunwei [Fri, 14 Apr 2023 08:45:11 +0000 (16:45 +0800)] 
Changelog entry for #874

unbound-anchor is compliant with RFC 7958, and the XML format remains unchanged between the old draft and RFC 7958.  Update the comments to improve clarity.

2 years ago- Show build status for branch=master.
W.C.A. Wijngaards [Thu, 13 Apr 2023 09:29:53 +0000 (11:29 +0200)] 
- Show build status for branch=master.

2 years ago- Fix build badge, from failing travis link to github ci action link.
W.C.A. Wijngaards [Thu, 13 Apr 2023 09:22:11 +0000 (11:22 +0200)] 
- Fix build badge, from failing travis link to github ci action link.

2 years ago- Fix for #870: Add test case for the qname minimisation and CNAME.
W.C.A. Wijngaards [Thu, 6 Apr 2023 08:04:04 +0000 (10:04 +0200)] 
- Fix for #870: Add test case for the qname minimisation and CNAME.

2 years ago- Fix #870: NXDOMAIN instead of NOERROR rcode when asked for existing
W.C.A. Wijngaards [Tue, 4 Apr 2023 08:06:16 +0000 (10:06 +0200)] 
- Fix #870: NXDOMAIN instead of NOERROR rcode when asked for existing
  CNAME record.

2 years agoChangelog for issue #676
Philip Homburg [Fri, 24 Mar 2023 13:54:14 +0000 (14:54 +0100)] 
Changelog for issue #676

2 years agoFix issue #676: Unencrypted query is sent when forward-tls-upstream: yes is
Philip Homburg [Fri, 24 Mar 2023 13:51:37 +0000 (14:51 +0100)] 
Fix issue #676: Unencrypted query is sent when forward-tls-upstream: yes is
used without tls-cert-bundle

Model the behavior of unbound in unbound-host: always create a SSL context

2 years agoSmall fixes from Wouter's review
Philip Homburg [Thu, 23 Mar 2023 14:15:54 +0000 (15:15 +0100)] 
Small fixes from Wouter's review

2 years agoExtra consistency check to make sure that when TLS is requested, either we
Philip Homburg [Thu, 23 Mar 2023 14:00:10 +0000 (15:00 +0100)] 
Extra consistency check to make sure that when TLS is requested, either we
set up a TLS connection or we return an error.

2 years agoTests for serve-expired in combination with new 0 TTL data.
Philip Homburg [Wed, 22 Mar 2023 14:21:19 +0000 (15:21 +0100)] 
Tests for serve-expired in combination with new 0 TTL data.

2 years agoFix issue #860: Bad interaction with 0 TTL records and serve-expired
Philip Homburg [Wed, 22 Mar 2023 09:51:56 +0000 (10:51 +0100)] 
Fix issue #860: Bad interaction with 0 TTL records and serve-expired

2 years agoChangelog for issue #851
Philip Homburg [Tue, 21 Mar 2023 12:54:27 +0000 (13:54 +0100)] 
Changelog for issue #851

2 years agoFix issue #851: reserved identifier violation
Philip Homburg [Tue, 21 Mar 2023 12:51:51 +0000 (13:51 +0100)] 
Fix issue #851: reserved identifier violation

2 years ago- iana portlist update.
W.C.A. Wijngaards [Mon, 20 Mar 2023 13:55:55 +0000 (14:55 +0100)] 
- iana portlist update.

2 years ago- Fix #812, fix #846, by using the SSL_OP_IGNORE_UNEXPECTED_EOF option
George Thessalonikefs [Fri, 17 Mar 2023 13:39:37 +0000 (14:39 +0100)] 
- Fix #812, fix #846, by using the SSL_OP_IGNORE_UNEXPECTED_EOF option
  to ignore the unexpected eof while reading in openssl >= 3.

2 years ago- Fix ssl.h include brackets, instead of quotes.
W.C.A. Wijngaards [Thu, 16 Mar 2023 14:40:43 +0000 (15:40 +0100)] 
- Fix ssl.h include brackets, instead of quotes.

2 years ago- Fix unbound-dnstap-socket test program to reply the finish frame
W.C.A. Wijngaards [Tue, 14 Mar 2023 15:57:37 +0000 (16:57 +0100)] 
- Fix unbound-dnstap-socket test program to reply the finish frame
  over a TLS connection correctly.

2 years agofix memory leak in unbound-streamtcp when open_svr failed 857/head
eaglegai [Tue, 7 Mar 2023 13:49:54 +0000 (21:49 +0800)] 
fix memory leak in unbound-streamtcp when open_svr failed

==1927474== Memcheck, a memory error detector
==1927474== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==1927474== Using Valgrind-3.16.0 and LibVEX; rerun with -h for copyright info
==1927474== Command: unbound-streamtcp -f localhost
==1927474==
fatal: bad server specs 'localhost'
==1927474==
==1927474== HEAP SUMMARY:
==1927474==     in use at exit: 131,186 bytes in 4 blocks
==1927474==   total heap usage: 5 allocs, 1 frees, 132,210 bytes allocated
==1927474==
==1927474== 40 bytes in 1 blocks are still reachable in loss record 1 of 4
==1927474==    at 0x483F751: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==1927474==    by 0x1E0573: sldns_buffer_new (sbuffer.c:21)
==1927474==    by 0x11ECED: send_em (streamtcp.c:374)
==1927474==    by 0x11E6C1: main (streamtcp.c:585)
==1927474==
==1927474== 40 bytes in 1 blocks are still reachable in loss record 2 of 4
==1927474==    at 0x483F751: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==1927474==    by 0x1E0573: sldns_buffer_new (sbuffer.c:21)
==1927474==    by 0x11ECFA: send_em (streamtcp.c:375)
==1927474==    by 0x11E6C1: main (streamtcp.c:585)
==1927474==
==1927474== 65,553 bytes in 1 blocks are still reachable in loss record 3 of 4
==1927474==    at 0x483F751: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==1927474==    by 0x1E0583: sldns_buffer_new (sbuffer.c:27)
==1927474==    by 0x11ECED: send_em (streamtcp.c:374)
==1927474==    by 0x11E6C1: main (streamtcp.c:585)
==1927474==
==1927474== 65,553 bytes in 1 blocks are still reachable in loss record 4 of 4
==1927474==    at 0x483F751: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==1927474==    by 0x1E0583: sldns_buffer_new (sbuffer.c:27)
==1927474==    by 0x11ECFA: send_em (streamtcp.c:375)
==1927474==    by 0x11E6C1: main (streamtcp.c:585)
==1927474==
==1927474== LEAK SUMMARY:
==1927474==    definitely lost: 0 bytes in 0 blocks
==1927474==    indirectly lost: 0 bytes in 0 blocks
==1927474==      possibly lost: 0 bytes in 0 blocks
==1927474==    still reachable: 131,186 bytes in 4 blocks
==1927474==         suppressed: 0 bytes in 0 blocks
==1927474==
==1927474== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Signed-off-by: eaglegai <eaglegai@163.com>
2 years agofix potential memory leak in unbound-host when errors happen
eaglegai [Mon, 6 Mar 2023 14:04:06 +0000 (22:04 +0800)] 
fix potential memory leak in unbound-host when errors happen

==3709953== HEAP SUMMARY:
==3709953==     in use at exit: 276,541 bytes in 23 blocks
==3709953==   total heap usage: 29 allocs, 6 frees, 280,682 bytes allocated
==3709953==
==3709953== 1 bytes in 1 blocks are still reachable in loss record 1 of 23
==3709953==    at 0x4866EC0: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-arm64-linux.so)
==3709953==    by 0x48E2BC3: ub_initstate (random.c:85)
==3709953==    by 0x489B067: ub_ctx_create_nopipe (libunbound.c:114)
==3709953==    by 0x489B31F: ub_ctx_create (libunbound.c:180)
==3709953==    by 0x10E203: main (unbound-host.c:433)
==3709953==
......
==3709953== 8,192 bytes in 1 blocks are still reachable in loss record 22 of 23
==3709953==    at 0x4866EC0: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-arm64-linux.so)
==3709953==    by 0x48E427B: regional_create_custom (regional.c:94)
==3709953==    by 0x48DEA03: edns_strings_create (edns.c:57)
==3709953==    by 0x489B0F3: ub_ctx_create_nopipe (libunbound.c:157)
==3709953==    by 0x489B31F: ub_ctx_create (libunbound.c:180)
==3709953==    by 0x10E203: main (unbound-host.c:433)
==3709953==
==3709953== 262,144 bytes in 1 blocks are still reachable in loss record 23 of 23
==3709953==    at 0x486933C: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-arm64-linux.so)
==3709953==    by 0x48C826F: config_create (config_file.c:179)
==3709953==    by 0x48C85AF: config_create_forlib (config_file.c:383)
==3709953==    by 0x489B0BB: ub_ctx_create_nopipe (libunbound.c:130)
==3709953==    by 0x489B31F: ub_ctx_create (libunbound.c:180)
==3709953==    by 0x10E203: main (unbound-host.c:433)
==3709953==
==3709953== LEAK SUMMARY:
==3709953==    definitely lost: 0 bytes in 0 blocks
==3709953==    indirectly lost: 0 bytes in 0 blocks
==3709953==      possibly lost: 0 bytes in 0 blocks
==3709953==    still reachable: 276,541 bytes in 23 blocks
==3709953==         suppressed: 0 bytes in 0 blocks
==3709953==
==3709953== For lists of detected and suppressed errors, rerun with: -s
==3709953== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Signed-off-by: eaglegai <eaglegai@163.com>
2 years ago#827 review response 827/head
Christian McDonald [Fri, 24 Feb 2023 14:31:19 +0000 (09:31 -0500)] 
#827 review response

2 years ago- Fix for #852: Completion of error handling.
W.C.A. Wijngaards [Thu, 23 Feb 2023 12:38:29 +0000 (13:38 +0100)] 
- Fix for #852: Completion of error handling.

2 years agoChangelog entry for issue #825 842/head
Philip Homburg [Tue, 21 Feb 2023 08:29:39 +0000 (09:29 +0100)] 
Changelog entry for issue #825

2 years agoMerge branch 'master' into ecs-serve-expired-bug
Philip Homburg [Tue, 21 Feb 2023 08:28:13 +0000 (09:28 +0100)] 
Merge branch 'master' into ecs-serve-expired-bug

2 years agoImproved comment
Philip Homburg [Tue, 21 Feb 2023 08:27:03 +0000 (09:27 +0100)] 
Improved comment

2 years agoTest cache update from serve-expired and client-subnet-always-forward
Philip Homburg [Thu, 9 Feb 2023 13:17:39 +0000 (14:17 +0100)] 
Test cache update from serve-expired and client-subnet-always-forward

2 years agoifdef CLIENT_SUBNET
Philip Homburg [Tue, 21 Feb 2023 08:21:24 +0000 (09:21 +0100)] 
ifdef CLIENT_SUBNET

2 years agoFix issue #825: interaction between ECS and serve-expired.
Philip Homburg [Tue, 31 Jan 2023 14:16:38 +0000 (15:16 +0100)] 
Fix issue #825: interaction between ECS and serve-expired.

2 years agoChangelog entry for
George Thessalonikefs [Fri, 10 Feb 2023 15:54:44 +0000 (16:54 +0100)] 
Changelog entry for
- Clean up iterator/iterator.c::error_response_cache() and allow for
  better interaction with serve-expired, prefetch and cached error
  responses.

2 years ago- Clean up iterator/iterator.c::error_response_cache() and allow for
George Thessalonikefs [Fri, 10 Feb 2023 15:51:07 +0000 (16:51 +0100)] 
- Clean up iterator/iterator.c::error_response_cache() and allow for
  better interaction with serve-expired, prefetch and cached error
  responses.

2 years ago- Add testcase for refreshing expired error responses.
George Thessalonikefs [Thu, 9 Feb 2023 11:44:01 +0000 (12:44 +0100)] 
- Add testcase for refreshing expired error responses.

2 years ago- Fix to git ignore the library symbol file that configure can create.
W.C.A. Wijngaards [Thu, 9 Feb 2023 11:08:27 +0000 (12:08 +0100)] 
- Fix to git ignore the library symbol file that configure can create.

2 years ago- Fix consistency of unit test without roundrobin answers for the
W.C.A. Wijngaards [Thu, 9 Feb 2023 10:46:33 +0000 (11:46 +0100)] 
- Fix consistency of unit test without roundrobin answers for the
  cnametooptout unit test.

2 years agoChangelog entry for
George Thessalonikefs [Thu, 9 Feb 2023 09:52:56 +0000 (10:52 +0100)] 
Changelog entry for
- Allow TTL refresh of expired error responses.

2 years ago- Allow TTL refresh of expired error responses.
George Thessalonikefs [Thu, 9 Feb 2023 09:47:46 +0000 (10:47 +0100)] 
- Allow TTL refresh of expired error responses.

2 years ago- Fix unit tests for spurious empty messages.
W.C.A. Wijngaards [Thu, 9 Feb 2023 09:38:55 +0000 (10:38 +0100)] 
- Fix unit tests for spurious empty messages.

2 years ago- Fix to ignore entirely empty responses, and try at another authority.
W.C.A. Wijngaards [Thu, 9 Feb 2023 08:56:40 +0000 (09:56 +0100)] 
- Fix to ignore entirely empty responses, and try at another authority.
  This turns completely empty responses, a type of noerror/nodata into
  a servfail, but they do not conform to RFC2308, and the retry can
  fetch improved content.

2 years ago- Fix #841: Unbound won't build with aaaa-filter-iterator.patch.
W.C.A. Wijngaards [Wed, 8 Feb 2023 10:36:52 +0000 (11:36 +0100)] 
- Fix #841: Unbound won't build with aaaa-filter-iterator.patch.

2 years agoset modinfo to null last
Christian McDonald [Wed, 1 Feb 2023 20:17:59 +0000 (15:17 -0500)] 
set modinfo to null last

2 years ago- Add duration variable for speed_local.test.
George Thessalonikefs [Mon, 30 Jan 2023 10:33:58 +0000 (11:33 +0100)] 
- Add duration variable for speed_local.test.

2 years agoFix copyright date
R. Christian McDonald [Sat, 28 Jan 2023 19:02:51 +0000 (14:02 -0500)] 
Fix copyright date

2 years agoRegenerate configure for the fix acx_nlnetlabs.m4 for -Wstrict-prototypes.
W.C.A. Wijngaards [Thu, 26 Jan 2023 09:59:16 +0000 (10:59 +0100)] 
Regenerate configure for the fix acx_nlnetlabs.m4 for -Wstrict-prototypes.

2 years ago- Fix acx_nlnetlabs.m4 for -Wstrict-prototypes.
W.C.A. Wijngaards [Thu, 26 Jan 2023 09:54:38 +0000 (10:54 +0100)] 
- Fix acx_nlnetlabs.m4 for -Wstrict-prototypes.

2 years agoFix #833: [FR] Ability to set the Redis password.
George Thessalonikefs [Mon, 23 Jan 2023 10:38:57 +0000 (11:38 +0100)] 
Fix #833: [FR] Ability to set the Redis password.

2 years ago- Fix #835: [FR] Ability to use Redis unix sockets.
W.C.A. Wijngaards [Mon, 23 Jan 2023 09:10:23 +0000 (10:10 +0100)] 
- Fix #835: [FR] Ability to use Redis unix sockets.

2 years ago- Add #835: [FR] Ability to use Redis unix sockets.
W.C.A. Wijngaards [Mon, 23 Jan 2023 09:09:28 +0000 (10:09 +0100)] 
- Add #835: [FR] Ability to use Redis unix sockets.

2 years agoChangelog note for #819, generate configparser.c and comment syntax change.
W.C.A. Wijngaards [Fri, 20 Jan 2023 15:19:20 +0000 (16:19 +0100)] 
Changelog note for #819, generate configparser.c and comment syntax change.
- Merge #819: Added new static zone type block_a to suppress all A
  queries for specific zones.

2 years agoMerge pull request #819 from pavel-odintsov/pavel/suppress_a
Wouter Wijngaards [Fri, 20 Jan 2023 15:18:05 +0000 (16:18 +0100)] 
Merge pull request #819 from pavel-odintsov/pavel/suppress_a

Added new static zone type block_a to suppress all A queries for specific zones

2 years agocleanup callbacks that might have been registered by Python script
R. Christian McDonald [Thu, 19 Jan 2023 21:30:47 +0000 (16:30 -0500)] 
cleanup callbacks that might have been registered by Python script

2 years agoMerge branch 'NLnetLabs:master' into rcm-python-reloading
R. Christian McDonald [Thu, 19 Jan 2023 21:28:12 +0000 (16:28 -0500)] 
Merge branch 'NLnetLabs:master' into rcm-python-reloading

2 years ago- Fix test for new default.
W.C.A. Wijngaards [Thu, 19 Jan 2023 15:06:30 +0000 (16:06 +0100)] 
- Fix test for new default.

2 years ago- Set default for harden-unknown-additional to no. So that it does
W.C.A. Wijngaards [Thu, 19 Jan 2023 14:45:10 +0000 (15:45 +0100)] 
- Set default for harden-unknown-additional to no. So that it does
  not hamper future protocol developments.

2 years ago- Add harden-unknown-additional option. Default on and it removes
W.C.A. Wijngaards [Thu, 19 Jan 2023 13:59:18 +0000 (14:59 +0100)] 
- Add harden-unknown-additional option. Default on and it removes
  unknown records from the authority section and additional section.
  Thanks to Xiang Li, from NISL Lab, Tsinghua University.

2 years ago- Set max-udp-size default to 1232. This is the same default value as
W.C.A. Wijngaards [Thu, 19 Jan 2023 13:16:17 +0000 (14:16 +0100)] 
- Set max-udp-size default to 1232. This is the same default value as
  the default value for edns-buffer-size. It restricts client edns
  buffer size choices, and makes unbound behave similar to other DNS
  resolvers. The new choice, down from 4096 means it is harder to get
  large responses from Unbound. Thanks to Xiang Li, from NISL Lab,
  Tsinghua University.

2 years ago- Fix not following cleared RD flags potentially enables amplification
W.C.A. Wijngaards [Wed, 18 Jan 2023 12:18:47 +0000 (13:18 +0100)] 
- Fix not following cleared RD flags potentially enables amplification
  DDoS attacks, reported by Xiang Li and Wei Xu from NISL Lab,
  Tsinghua University. The fix stops query loops, by refusing to send
  RD=0 queries to a forwarder, they still get answered from cache.

2 years agoeliminate unnecessary Python reloading which causes memory leaks
Christian McDonald [Fri, 13 Jan 2023 21:39:28 +0000 (16:39 -0500)] 
eliminate unnecessary Python reloading which causes memory leaks

2 years ago- Improve documentation for #826, describe the large collisions amount.
W.C.A. Wijngaards [Fri, 13 Jan 2023 10:22:47 +0000 (11:22 +0100)] 
- Improve documentation for #826, describe the large collisions amount.