]>
git.ipfire.org Git - thirdparty/unbound.git/log
Thomas du Boÿs [Fri, 3 Sep 2021 07:59:15 +0000 (09:59 +0200)]
Fix subnetcache statistics
W.C.A. Wijngaards [Wed, 1 Sep 2021 14:21:10 +0000 (16:21 +0200)]
- Fix tcp fastopen failure when disabled, try normal connect instead.
W.C.A. Wijngaards [Fri, 27 Aug 2021 08:33:21 +0000 (10:33 +0200)]
- Fix #533: Negative responses get cached even when setting
cache-max-negative-ttl: 1
W.C.A. Wijngaards [Wed, 25 Aug 2021 14:19:12 +0000 (16:19 +0200)]
- Fix asynclook unit test for setup of lockchecks before log.
W.C.A. Wijngaards [Wed, 25 Aug 2021 12:51:59 +0000 (14:51 +0200)]
- Fix compile warning in libunbound for listen desetup routine.
W.C.A. Wijngaards [Wed, 25 Aug 2021 12:18:29 +0000 (14:18 +0200)]
- Fix RPZ locks. Do not unlock zones lock if requested and rpz find
zone does not find the zone. Readlock the clientip that is found
for ipbased triggers. Unlock the nsdname zone lock when done.
Unlock zone and ip in rpz nsip and nsdname callback. Unlock
authzone and localzone if clientip found in rpz worker call.
W.C.A. Wijngaards [Wed, 25 Aug 2021 11:37:50 +0000 (13:37 +0200)]
- Fix the stream wait stream_wait_count_lock and http2 buffer locks
setup and desetup from race condition.
W.C.A. Wijngaards [Wed, 25 Aug 2021 11:14:53 +0000 (13:14 +0200)]
- Fix #536: error: RPZ: name of record (drop.spamhaus.org.rpz.local.)
to insert into RPZ.
W.C.A. Wijngaards [Wed, 25 Aug 2021 08:19:48 +0000 (10:19 +0200)]
Changelog note for #401
- Merge #401: RPZ triggers. This add additional RPZ triggers,
unbound supports a full set of rpz triggers, and this now
includes nsdname, nsip and clientip triggers. Also actions
are fully supported, and this now includes the tcp-only action.
Wouter Wijngaards [Wed, 25 Aug 2021 08:14:12 +0000 (10:14 +0200)]
Merge pull request #401 from NLnetLabs/rpz-triggers
RPZ triggers
W.C.A. Wijngaards [Fri, 20 Aug 2021 13:18:39 +0000 (15:18 +0200)]
Changelog entry for #531
- Fix #531: Fix: passed to proc after free.
Wouter Wijngaards [Fri, 20 Aug 2021 13:15:41 +0000 (15:15 +0200)]
Merge pull request #531 from Shchelk/ptpaf
Fix: passed to proc after free
Shchelkunov Artem [Fri, 20 Aug 2021 13:06:12 +0000 (18:06 +0500)]
Fix: passed to proc after free
Found by static analyzer svace
Static analyzer message: Pointer 'dp' is passed to a function at
iter_hints.c:401 after the referenced memory was deallocated at
iter_hints.c:174 by passing as 3rd parameter to function 'hints_insert'
at iter_hints.c:398.
on-behalf-of: @ideco-team <github@ideco.ru>
W.C.A. Wijngaards [Fri, 20 Aug 2021 12:32:13 +0000 (14:32 +0200)]
Changelog note for #529 and nicer layout.
- Fix #529: Fix: log_assert does nothing if UNBOUND_DEBUG is
undefined.
Wouter Wijngaards [Fri, 20 Aug 2021 12:29:18 +0000 (14:29 +0200)]
Merge pull request #529 from Shchelk/next
Fix: log_assert does nothing if UNBOUND_DEBUG is undefined
Shchelkunov Artem [Fri, 20 Aug 2021 12:12:43 +0000 (17:12 +0500)]
Fix: log_assert does nothing if UNBOUND_DEBUG is undefined
Found by static analyzer svace
Static analyzer message: Integer value 'len' obtained from untrusted
source at tube.c:374 by passing as 2nd parameter to function 'read'
at tube.c:340 without checking its higher bound is used as a loop bound
at tube.c:374.
on-behalf-of: @ideco-team <github@ideco.ru>
W.C.A. Wijngaards [Wed, 18 Aug 2021 07:53:35 +0000 (09:53 +0200)]
Merge branch 'master' into rpz-triggers
W.C.A. Wijngaards [Tue, 17 Aug 2021 11:15:20 +0000 (13:15 +0200)]
- Fix sed script in ssldir split handling.
W.C.A. Wijngaards [Tue, 17 Aug 2021 11:03:33 +0000 (13:03 +0200)]
- Fix #527: not sending quad9 cert to syslog (and may be more).
W.C.A. Wijngaards [Tue, 17 Aug 2021 08:32:12 +0000 (10:32 +0200)]
- Fix that --with-ssl can use "/usr/include/openssl11" to pass the
location of a different openssl version.
W.C.A. Wijngaards [Mon, 16 Aug 2021 14:14:32 +0000 (16:14 +0200)]
- Fix to support harden-algo-downgrade for ZONEMD dnssec checks.
George Thessalonikefs [Mon, 16 Aug 2021 12:14:32 +0000 (14:14 +0200)]
Changelog note for #528:
- Merge PR #528 from fobser: Make sldns_str2wire_svcparam_buf() static.
gthess [Mon, 16 Aug 2021 12:12:50 +0000 (14:12 +0200)]
Merge pull request #528 from fobser/svcparam_static
Make sldns_str2wire_svcparam_buf() static.
Florian Obser [Mon, 16 Aug 2021 09:27:40 +0000 (11:27 +0200)]
Make sldns_str2wire_svcparam_buf() static.
The function is only used in this translation unit and prevents a "no
previous prototype" warning.
W.C.A. Wijngaards [Fri, 13 Aug 2021 13:24:53 +0000 (15:24 +0200)]
- zonemd, fix order of bogus printout string manipulation.
W.C.A. Wijngaards [Fri, 13 Aug 2021 12:43:11 +0000 (14:43 +0200)]
- Fix zonemd verification of key that is not in DNS but in the zone
and needs a chain of trust.
W.C.A. Wijngaards [Fri, 13 Aug 2021 07:27:58 +0000 (09:27 +0200)]
- Fix for #431: Squelch permission denied errors for udp connect,
and udp send, they are visible at higher verbosity settings.
W.C.A. Wijngaards [Fri, 13 Aug 2021 07:21:47 +0000 (09:21 +0200)]
- Support using system-wide crypto policies.
George Thessalonikefs [Thu, 12 Aug 2021 19:46:30 +0000 (21:46 +0200)]
- For #514: generate configure.
George Thessalonikefs [Thu, 12 Aug 2021 19:43:18 +0000 (21:43 +0200)]
Changelog note for #514:
- Merge PR #514, from ziollek: Docker environment for run tests.
gthess [Thu, 12 Aug 2021 19:30:36 +0000 (21:30 +0200)]
Merge pull request #514 from ziollek/docker_for_run_test
Docker environment for run tests
W.C.A. Wijngaards [Thu, 12 Aug 2021 14:06:02 +0000 (16:06 +0200)]
- Fix to print error from unbound-anchor for writing to the key
file, also when not verbose.
W.C.A. Wijngaards [Thu, 12 Aug 2021 13:14:22 +0000 (15:14 +0200)]
- For #519: fix comments for doxygen.
W.C.A. Wijngaards [Thu, 12 Aug 2021 13:12:55 +0000 (15:12 +0200)]
- For #519: yacc and lex. And fix python bindings, and test program
unbound-dnstap-socket.
W.C.A. Wijngaards [Thu, 12 Aug 2021 13:05:51 +0000 (15:05 +0200)]
Changelog note for #519 and example.conf edit
- Merge #519: Support for selective enabling tcp-upstream for
stub/forward zones.
- For #519: note stub-tcp-upstream and forward-tcp-upstream in
the example configuration file.
Wouter Wijngaards [Thu, 12 Aug 2021 13:03:57 +0000 (15:03 +0200)]
Merge pull request #519 from ziollek/tcp_upstream_option
Support for selective enabling tcp-upstream for stub/forward zones
W.C.A. Wijngaards [Thu, 12 Aug 2021 11:45:18 +0000 (13:45 +0200)]
Changelog note for #523
- Merge #523: fix: free() call more than once with the same pointer.
Wouter Wijngaards [Thu, 12 Aug 2021 11:45:00 +0000 (13:45 +0200)]
Merge pull request #523 from Shchelk/bugfix
fix: free() call more than once with the same pointer
W.C.A. Wijngaards [Thu, 12 Aug 2021 11:24:15 +0000 (13:24 +0200)]
Changelog note for #521
- Merge #521: Update mini_event.c.
Wouter Wijngaards [Thu, 12 Aug 2021 11:24:03 +0000 (13:24 +0200)]
Merge pull request #521 from liheng562653799/master
Update mini_event.c
W.C.A. Wijngaards [Thu, 12 Aug 2021 11:17:29 +0000 (13:17 +0200)]
- Add test tool readzone to .gitignore.
W.C.A. Wijngaards [Thu, 12 Aug 2021 08:04:20 +0000 (10:04 +0200)]
- And 1.13.2rc1 became the 1.13.2 with the fix for the python module
build. The current code repository continues with version 1.13.3.
Shchelkunov Artem [Wed, 11 Aug 2021 10:14:43 +0000 (15:14 +0500)]
fix: free() call more than once with the same pointer
liheng562653799 [Fri, 6 Aug 2021 04:00:56 +0000 (12:00 +0800)]
Update mini_event.c
When in heavy load, unbound opens many outside_network sockets for out going queries to delegation servers, which may result in a big fd(maxfd) value(for thread A 65500, for thread B 65501, for thread C ...).
There are situations when thread A has a max fd num 65500 where maxfd is of course 65500, thread B has max fd num 20 for now but maxfd is still 65501. Though linux kernel checks whether maxfd+1 passed by select syscall is really the process' maxfd+1. Linux kernel can not tell maxfd+1 passed by thread B select syscall is much bigger(65501+1 or 65500+1 after trimed by kerne) than it should be (20+1).
In this situation, when kernel do_select() for thread B, much work is wasted.
W.C.A. Wijngaards [Thu, 5 Aug 2021 15:10:56 +0000 (17:10 +0200)]
- Fix #520: Unbound 1.13.2rc1 fails to build python module.
W.C.A. Wijngaards [Thu, 5 Aug 2021 11:37:22 +0000 (13:37 +0200)]
Merge branch 'master' into rpz-triggers
Tomasz Ziolkowski [Thu, 5 Aug 2021 06:44:18 +0000 (08:44 +0200)]
Add (stub|forward)-tcp-upstream options which enable using tcp transport only for specified stub/forward zones
W.C.A. Wijngaards [Thu, 5 Aug 2021 06:37:20 +0000 (08:37 +0200)]
For 1.13.2rc1.
W.C.A. Wijngaards [Thu, 5 Aug 2021 06:36:24 +0000 (08:36 +0200)]
- Tag for 1.13.2 release.
W.C.A. Wijngaards [Wed, 4 Aug 2021 14:26:21 +0000 (16:26 +0200)]
- Fix unit test zonemd_reload for use in run_vm.
W.C.A. Wijngaards [Wed, 4 Aug 2021 12:04:31 +0000 (14:04 +0200)]
- Fix libnettle zonemd unit test.
W.C.A. Wijngaards [Wed, 4 Aug 2021 11:54:38 +0000 (13:54 +0200)]
- Fix out of sourcedir run of zonemd unit tests.
Tomasz Ziolkowski [Wed, 4 Aug 2021 11:05:21 +0000 (13:05 +0200)]
reformat
Tomasz Ziolkowski [Wed, 4 Aug 2021 10:57:55 +0000 (12:57 +0200)]
Revert changes in files managed by maintainers, move docker do contrib dir
Tomasz Ziolkowski [Wed, 4 Aug 2021 11:02:20 +0000 (13:02 +0200)]
merge master
W.C.A. Wijngaards [Wed, 4 Aug 2021 09:43:29 +0000 (11:43 +0200)]
- Fix readzone compile under debug config.
W.C.A. Wijngaards [Wed, 4 Aug 2021 09:05:51 +0000 (11:05 +0200)]
- Fix missing locks in zonemd unit test.
W.C.A. Wijngaards [Wed, 4 Aug 2021 08:58:08 +0000 (10:58 +0200)]
- Fix static analysis warnings about localzone locks that are unused.
George Thessalonikefs [Wed, 4 Aug 2021 08:51:02 +0000 (10:51 +0200)]
- Bump MAX_RESTART_COUNT to 11 from 8; in relation to #438. This allows
longer CNAME chains in Unbound.
George Thessalonikefs [Wed, 4 Aug 2021 08:46:17 +0000 (10:46 +0200)]
Changelog note for #415:
- Merge PR #415 from sibeream: Use /proc/sys/net/ipv4/ip_local_port_range
to determine available outgoing ports.
gthess [Wed, 4 Aug 2021 08:42:12 +0000 (10:42 +0200)]
Merge pull request #415 from sibeream/master
Use /proc/sys/net/ipv4/ip_local_port_range to determine available outgoing ports
W.C.A. Wijngaards [Wed, 4 Aug 2021 07:58:38 +0000 (09:58 +0200)]
- In unit test use openssl set security level to allow keys in test.
W.C.A. Wijngaards [Tue, 3 Aug 2021 12:13:37 +0000 (14:13 +0200)]
- Fix sign comparison warning on FreeBSD.
W.C.A. Wijngaards [Tue, 3 Aug 2021 12:08:30 +0000 (14:08 +0200)]
- Annotate assertion into error printout; we think it may be an
error, but the situation looks harmless.
W.C.A. Wijngaards [Tue, 3 Aug 2021 11:11:18 +0000 (13:11 +0200)]
Changelog note for #517
- Merge PR #517 from dyunwei: #420 breaks the mesh reply list
function that need to reuse the dns answer.
Wouter Wijngaards [Tue, 3 Aug 2021 11:11:01 +0000 (13:11 +0200)]
Merge pull request #517 from dyunwei/master
#420 breaks the mesh reply list function that need to reuse the dns answer.
George Thessalonikefs [Tue, 3 Aug 2021 10:20:45 +0000 (12:20 +0200)]
Merge branch 'master' of github.com:NLnetLabs/unbound
George Thessalonikefs [Tue, 3 Aug 2021 10:18:58 +0000 (12:18 +0200)]
- Listen to read or write events after the SSL handshake.
Sticky events on windows would stick on read when write was needed.
daiyunwei [Tue, 3 Aug 2021 03:40:30 +0000 (11:40 +0800)]
#420
clear the c->buffer in the comm_point_send_reply does resolve the "can't fit qbuffer in c->buffer" issue, but it breaks the mesh reply list function that need to reuse the answer. because the c->buffer is cleared in the comm_point_send_reply, it cannot be resued again. it means that it is not inappropriate to clear c->buffer in the comm_point_send_reply.
After some investigation, i found it is appropriate to clear c->buffer before use in the http2_query_read_done.
W.C.A. Wijngaards [Mon, 2 Aug 2021 14:06:36 +0000 (16:06 +0200)]
- Fix verbose printout failure in tcp reuse unit test.
W.C.A. Wijngaards [Mon, 2 Aug 2021 13:26:20 +0000 (15:26 +0200)]
- iana portlist update.
W.C.A. Wijngaards [Mon, 2 Aug 2021 13:06:26 +0000 (15:06 +0200)]
- Move ECDSA functions to use OpenSSL 3.0.0 API.
W.C.A. Wijngaards [Mon, 2 Aug 2021 12:43:51 +0000 (14:43 +0200)]
- Move RSA and DSA to use OpenSSL 3.0.0 API.
W.C.A. Wijngaards [Mon, 2 Aug 2021 11:39:48 +0000 (13:39 +0200)]
Review fixup for keyraw pkey function use.
W.C.A. Wijngaards [Mon, 2 Aug 2021 11:33:32 +0000 (13:33 +0200)]
- Prepare for OpenSSL 3.0.0 provider API usage, move the sldns
keyraw functions to produce EVP_PKEY results.
W.C.A. Wijngaards [Fri, 30 Jul 2021 11:54:43 +0000 (13:54 +0200)]
- For #515: Fix compilation with openssl 3.0.0 beta2, lib64 dir and
SSL_get_peer_certificate.
- Move acx_nlnetlabs.m4 to version 41, with lib64 openssl dir check.
W.C.A. Wijngaards [Fri, 30 Jul 2021 11:35:23 +0000 (13:35 +0200)]
- Fix #515: Compilation against openssl 3.0.0 beta2 is failing to
build unbound.
Tomasz Ziolkowski [Tue, 27 Jul 2021 10:03:51 +0000 (12:03 +0200)]
Docker environment for run tests + enhancement for ssl_handshake
George Thessalonikefs [Mon, 26 Jul 2021 14:55:32 +0000 (16:55 +0200)]
- Changelog entry for #513: Stream reuse, attempt to fix #411, #439,
#469.
gthess [Mon, 26 Jul 2021 14:54:34 +0000 (16:54 +0200)]
Merge pull request #513 from NLnetLabs/tcp_reuse_fix
Stream reuse, attempt to fix #411, #439, #469
W.C.A. Wijngaards [Mon, 26 Jul 2021 14:45:33 +0000 (16:45 +0200)]
- Fix readzone unknown type print for memory resize.
George Thessalonikefs [Mon, 26 Jul 2021 14:29:57 +0000 (16:29 +0200)]
- Fix unittcpreuse.c: properly initialise outnet.
George Thessalonikefs [Mon, 26 Jul 2021 14:11:14 +0000 (16:11 +0200)]
- Remove redundant log_assert and fix error messages.
George Thessalonikefs [Sat, 24 Jul 2021 14:16:19 +0000 (16:16 +0200)]
- stream reuse, do not explicitly wait for a free pending_tcp if a reuse
could be used.
W.C.A. Wijngaards [Mon, 26 Jul 2021 07:47:24 +0000 (09:47 +0200)]
Changelog note for #512
- Merge #512: unbound.service.in: upgrade hardening to latest
standards.
Wouter Wijngaards [Mon, 26 Jul 2021 07:47:12 +0000 (09:47 +0200)]
Merge pull request #512 from ArchangeGabriel/patch-1
unbound.service.in: upgrade hardening to latest standards
Bruno Pagani [Sun, 25 Jul 2021 03:17:18 +0000 (03:17 +0000)]
unbound.service.in: upgrade hardening to latest standards
Systemd gradually introduced new protection bits, let’s enable them.
George Thessalonikefs [Fri, 23 Jul 2021 23:15:00 +0000 (01:15 +0200)]
- Add unittest for tcp_reuse functions.
George Thessalonikefs [Fri, 23 Jul 2021 18:51:14 +0000 (20:51 +0200)]
- stream reuse, move log_assert to the correct location.
George Thessalonikefs [Fri, 23 Jul 2021 16:32:14 +0000 (18:32 +0200)]
- stream reuse, clean links on structs that are unlinked from a list.
George Thessalonikefs [Fri, 23 Jul 2021 16:25:06 +0000 (18:25 +0200)]
- Fix for #411, #439, #469: stream reuse, fix loop in the free
pending_tcp list.
George Thessalonikefs [Fri, 23 Jul 2021 16:05:57 +0000 (18:05 +0200)]
- Fix for #411, #439, #469: stream reuse, fix outnet deletion for all
non-free pending_tcp.
George Thessalonikefs [Fri, 23 Jul 2021 16:00:24 +0000 (18:00 +0200)]
- Fix for #411, #439, #469: stream reuse, fix LRU list when reuse is
already in the tree.
George Thessalonikefs [Fri, 23 Jul 2021 15:51:42 +0000 (17:51 +0200)]
- Fix for #411, #439, #469: stream reuse, fix linking when touching the
tcp_reuse LRU list.
George Thessalonikefs [Fri, 23 Jul 2021 15:50:28 +0000 (17:50 +0200)]
- More log_assert for stream reuse operations.
W.C.A. Wijngaards [Wed, 21 Jul 2021 11:58:07 +0000 (13:58 +0200)]
- Fix that ldns_zone_new_frm_fp_l counts the line number for an empty
line after a comment.
Artem Egorenkov [Thu, 17 Dec 2020 16:00:54 +0000 (17:00 +0100)]
Option --enable-linux-ip-local-port-range added to use system configured port range for libunbound on Linux
W.C.A. Wijngaards [Fri, 16 Jul 2021 15:55:10 +0000 (17:55 +0200)]
- Fix for older parsers for function call in serve expired get cached.
W.C.A. Wijngaards [Fri, 16 Jul 2021 15:48:52 +0000 (17:48 +0200)]
- Another fix from lint for ignored return value.
W.C.A. Wijngaards [Fri, 16 Jul 2021 15:46:04 +0000 (17:46 +0200)]
- Fix from lint for ignored return value.