]>
git.ipfire.org Git - thirdparty/unbound.git/log
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.
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.
W.C.A. Wijngaards [Fri, 16 Jul 2021 15:12:41 +0000 (17:12 +0200)]
- Insert header into testcode/readzone.c, it was missing.
George Thessalonikefs [Fri, 16 Jul 2021 12:09:15 +0000 (14:09 +0200)]
- Introduce 'http-user-agent:' and 'hide-http-user-agent:' options.
W.C.A. Wijngaards [Fri, 16 Jul 2021 12:02:55 +0000 (14:02 +0200)]
Revert "- With hide-version unbound also omits the version from http headers."
This reverts commit
9d4644b12583911be2a0c4be9a3bc47dfd95a039 .
W.C.A. Wijngaards [Fri, 16 Jul 2021 11:45:41 +0000 (13:45 +0200)]
- With hide-version unbound also omits the version from http headers.
W.C.A. Wijngaards [Fri, 16 Jul 2021 08:53:53 +0000 (10:53 +0200)]
- review fix to remove duplicate error printout.
W.C.A. Wijngaards [Fri, 16 Jul 2021 08:51:27 +0000 (10:51 +0200)]
- Fix unbound-control local_data and local_datas to print detailed
syntax errors.
W.C.A. Wijngaards [Fri, 16 Jul 2021 08:28:09 +0000 (10:28 +0200)]
- Fix spelling in localzone.h comment.
W.C.A. Wijngaards [Fri, 16 Jul 2021 08:26:45 +0000 (10:26 +0200)]
- Fix spelling in doc/unbound.doxygen comment.
W.C.A. Wijngaards [Fri, 16 Jul 2021 07:12:06 +0000 (09:12 +0200)]
- Fix for #510: in depth, use ifdefs for windows api event calls.
Wouter Wijngaards [Fri, 16 Jul 2021 07:11:21 +0000 (09:11 +0200)]
Merge pull request #510 from ndptech/master
Don't call a function which hasn't been defined
Nick Porter [Thu, 15 Jul 2021 16:55:33 +0000 (17:55 +0100)]
Don't call a function which hasn't been defined
W.C.A. Wijngaards [Tue, 6 Jul 2021 13:15:43 +0000 (15:15 +0200)]
- iana portlist update.
George Thessalonikefs [Mon, 5 Jul 2021 14:49:17 +0000 (16:49 +0200)]
- Fix clang-analysis warnings for testcode/readzone.c.
George Thessalonikefs [Mon, 5 Jul 2021 13:36:27 +0000 (15:36 +0200)]
- Fix compiler warnings for #491.
George Thessalonikefs [Sun, 4 Jul 2021 13:19:24 +0000 (15:19 +0200)]
- Fix Wunused-result compile warnings.
Tom Carpay [Fri, 2 Jul 2021 13:15:13 +0000 (15:15 +0200)]
changelog PR #491
tcarpay [Fri, 2 Jul 2021 13:11:12 +0000 (15:11 +0200)]
Merge pull request #491 from NLnetLabs/svcb
Add SVCB and HTTPS types and handling according to draft-ietf-dnsop-svcb-https
Tom Carpay [Fri, 2 Jul 2021 12:15:33 +0000 (14:15 +0200)]
rename var to remove shadow variable
Tom Carpay [Fri, 2 Jul 2021 11:37:08 +0000 (13:37 +0200)]
Merge branch 'master' into svcb
tcarpay [Fri, 2 Jul 2021 11:14:47 +0000 (13:14 +0200)]
Apply suggestions from code review
Co-authored-by: Willem Toorop <willem@nlnetlabs.nl>
Tom Carpay [Fri, 2 Jul 2021 09:21:19 +0000 (11:21 +0200)]
change test and error to be in line with new maximum svcb params (nparams >= MAX_NUMBER_OF_SVCPARAMS)
Tom Carpay [Fri, 2 Jul 2021 08:53:50 +0000 (10:53 +0200)]
fix final comment: remove superfluous assert
W.C.A. Wijngaards [Fri, 2 Jul 2021 07:42:31 +0000 (09:42 +0200)]
- Fix #506: Python Module Seems to Leak Memory if it Experiences an
Unhandled Exception.
Tom Carpay [Thu, 1 Jul 2021 14:59:48 +0000 (16:59 +0200)]
fix comments - 1