]>
git.ipfire.org Git - thirdparty/unbound.git/log
W.C.A. Wijngaards [Thu, 25 Feb 2021 07:50:02 +0000 (08:50 +0100)]
Fix comment item.
W.C.A. Wijngaards [Wed, 24 Feb 2021 16:36:22 +0000 (17:36 +0100)]
Fix to use a simple pointer in the call of make_sock and make_sock_port.
W.C.A. Wijngaards [Thu, 18 Feb 2021 12:12:09 +0000 (13:12 +0100)]
Merge branch 'master' into dnstap-log-local-addr
W.C.A. Wijngaards [Wed, 13 Jan 2021 13:56:25 +0000 (14:56 +0100)]
- Fix for #93: dynlibmodule link fix for Windows.
W.C.A. Wijngaards [Wed, 13 Jan 2021 09:10:12 +0000 (10:10 +0100)]
Nicer changelog note for #399
- Merge #399 from xiangbao227: The lock of lruhash table should
unlocked after markdel entry.
W.C.A. Wijngaards [Wed, 13 Jan 2021 09:07:15 +0000 (10:07 +0100)]
Changelog note for #399
- Merge #399 from xiangbao227: The function rrset_cache_touch can
touch an entry to the lru while markdelling the entry in
lruhash_remove.
Wouter Wijngaards [Wed, 13 Jan 2021 09:05:50 +0000 (10:05 +0100)]
Merge pull request #399 from xiangbao227/master
I found that in function "lruhash_remove", table was locked at first ,then lru_remove the entry , then unlock the table, and then markdel entry , but in function "rrset_cache_touch" , the entry will be touched to lru again before markdelling entry in function "lruhash_remove". This may lead to core!
xiangbao227 [Wed, 13 Jan 2021 02:33:41 +0000 (10:33 +0800)]
I found that in function lruhash_remove, table was locked at first ,then lru_remove the entry , then unlock the table, and then markdel entry , but in function rrset_cache_touch , the entry will be touched to lru again before markdelling entry in function lruhash_remove. This is a bug!
W.C.A. Wijngaards [Tue, 12 Jan 2021 12:40:45 +0000 (13:40 +0100)]
And man page documentation for them.
W.C.A. Wijngaards [Tue, 12 Jan 2021 12:39:07 +0000 (13:39 +0100)]
- Fix so local zone types always_nodata and always_deny can be used
from the config file.
W.C.A. Wijngaards [Tue, 12 Jan 2021 12:35:05 +0000 (13:35 +0100)]
- Fix #397: [Feature request] add new type always_null to local-zone
similar to always_nxdomain.
W.C.A. Wijngaards [Fri, 8 Jan 2021 10:10:05 +0000 (11:10 +0100)]
- Fix clang analysis warning.
W.C.A. Wijngaards [Fri, 8 Jan 2021 10:01:06 +0000 (11:01 +0100)]
- Add comment documentation.
W.C.A. Wijngaards [Fri, 8 Jan 2021 08:55:55 +0000 (09:55 +0100)]
- For #391: more double casts in python start time calculation.
W.C.A. Wijngaards [Fri, 8 Jan 2021 08:53:52 +0000 (09:53 +0100)]
- For #391: fix indentation.
W.C.A. Wijngaards [Fri, 8 Jan 2021 08:47:46 +0000 (09:47 +0100)]
- For #391: use struct timeval* start_time for callback information.
W.C.A. Wijngaards [Fri, 8 Jan 2021 08:36:37 +0000 (09:36 +0100)]
Changelog note for #391
- Merge PR #391 from fhriley: Add start_time to reply callbacks so
modules can compute the response time.
Wouter Wijngaards [Fri, 8 Jan 2021 08:35:07 +0000 (09:35 +0100)]
Merge pull request #391 from fhriley/reply_cb_start_time
Add start_time to reply callbacks so modules can compute the response…
W.C.A. Wijngaards [Wed, 6 Jan 2021 12:42:00 +0000 (13:42 +0100)]
- Fix #387: client-subnet-always-forward seems to effectively bypass
any caching?
W.C.A. Wijngaards [Wed, 6 Jan 2021 12:19:46 +0000 (13:19 +0100)]
Changelog note for #395
- Merge PR #395 from mptre: add missing null check.
Wouter Wijngaards [Wed, 6 Jan 2021 12:19:30 +0000 (13:19 +0100)]
Merge pull request #395 from mptre/log-addr-null
add missing null check
Anton Lindqvist [Wed, 6 Jan 2021 11:35:22 +0000 (12:35 +0100)]
add missing null check
I have a unbound forward zone configured on my router for my $DAYJOB.
The address associated with the zone is only accessible when the router
is connected to a VPN. If the VPN connection is absent, trying to
resolve any domain that must be handled by the zone crashes unbound.
Turns out there's a missing NULL check in `comm_point_send_udp_msg()`.
The same routine already has `if (addr) {} else {}` branches so I guess
protecting the call to `log_addr()` using the same conditional is
reasonable
I have also committed the same fix to unbound shipped with OpenBSD[1].
[1] https://marc.info/?l=openbsd-cvs&m=
160993335615698 &w=2
W.C.A. Wijngaards [Wed, 6 Jan 2021 09:36:23 +0000 (10:36 +0100)]
- Fix #379: zone loading over HTTP appears to have buffer issues.
W.C.A. Wijngaards [Tue, 5 Jan 2021 12:43:53 +0000 (13:43 +0100)]
Changelog note for #375 and -h output.
- Merge PR #375 by fhriley: Add rpz_enable and rpz_disable commands
to unbound-control.
Wouter Wijngaards [Tue, 5 Jan 2021 12:40:32 +0000 (13:40 +0100)]
Merge pull request #375 from fhriley/disable-rpz
Add rpz_enable and rpz_disable commands to unbound-control
W.C.A. Wijngaards [Tue, 5 Jan 2021 11:48:27 +0000 (12:48 +0100)]
Fix acx_nlnetlabs.m4 for aclocal
W.C.A. Wijngaards [Tue, 5 Jan 2021 09:27:13 +0000 (10:27 +0100)]
- Fix #385: autoconf 2.70 impacts unbound build
W.C.A. Wijngaards [Mon, 4 Jan 2021 13:18:24 +0000 (14:18 +0100)]
- iana portlist updated.
W.C.A. Wijngaards [Mon, 4 Jan 2021 13:05:50 +0000 (14:05 +0100)]
- For #376: Fix that comm point event is not double removed or double
added to event map.
Frank Riley [Fri, 1 Jan 2021 22:29:32 +0000 (15:29 -0700)]
Add start_time to reply callbacks so modules can compute the response time.
George Thessalonikefs [Wed, 16 Dec 2020 16:11:41 +0000 (17:11 +0100)]
- Fix error cases when udp-connect is set and send() returns an error
(modified patch from Xin Li @delphij).
Frank Riley [Sun, 13 Dec 2020 19:35:11 +0000 (12:35 -0700)]
Add rpz_enable and rpz_disable commands to unbound-control.
W.C.A. Wijngaards [Fri, 11 Dec 2020 13:34:39 +0000 (14:34 +0100)]
- Fix missing prototypes in the code.
W.C.A. Wijngaards [Fri, 11 Dec 2020 13:07:42 +0000 (14:07 +0100)]
Changelog note for #373
- Merge PR #373 from fobser: Warning: arithmetic on a pointer to void
is a GNU extension.
Wouter Wijngaards [Fri, 11 Dec 2020 13:07:30 +0000 (14:07 +0100)]
Merge pull request #373 from fobser/void-arithmetic
Warning: arithmetic on a pointer to void is a GNU extension.
W.C.A. Wijngaards [Fri, 11 Dec 2020 13:04:01 +0000 (14:04 +0100)]
Changelog note for #335
- Merge PR #335 from fobser: Sprinkle in some static to prevent
missing prototype warnings.
Wouter Wijngaards [Fri, 11 Dec 2020 13:03:46 +0000 (14:03 +0100)]
Merge pull request #335 from fobser/static
Sprinkle in some static to prevent missing prototype warnings.
Florian Obser [Fri, 11 Dec 2020 13:00:20 +0000 (14:00 +0100)]
Warning: arithmetic on a pointer to void is a GNU extension.
W.C.A. Wijngaards [Fri, 11 Dec 2020 09:30:54 +0000 (10:30 +0100)]
- Fix to squelch permission denied and other errors from remote host,
they are logged at higher verbosity but not on low verbosity.
W.C.A. Wijngaards [Fri, 11 Dec 2020 08:33:56 +0000 (09:33 +0100)]
- Fix #371: unbound-control timeout when Unbound is not running.
W.C.A. Wijngaards [Thu, 10 Dec 2020 07:19:07 +0000 (08:19 +0100)]
Fix for #368: dnstap does not log the DNS message ID for FORWARDER_QUERY
W.C.A. Wijngaards [Wed, 9 Dec 2020 13:17:02 +0000 (14:17 +0100)]
doxygen comments fixup
W.C.A. Wijngaards [Wed, 9 Dec 2020 13:13:46 +0000 (14:13 +0100)]
Fix use after free.
W.C.A. Wijngaards [Wed, 9 Dec 2020 13:02:00 +0000 (14:02 +0100)]
Fix for tcp outgoing to have local address logged
W.C.A. Wijngaards [Wed, 9 Dec 2020 12:52:49 +0000 (13:52 +0100)]
Fix leak of socket mem on failure and fix if tcp has to wait we
do not know the interface at the time. Later when it knows the
interface we do not have 'sq' with the zone name.
W.C.A. Wijngaards [Wed, 9 Dec 2020 11:13:50 +0000 (12:13 +0100)]
Use port_if pointer instead of wrong UDP local addr
W.C.A. Wijngaards [Wed, 9 Dec 2020 11:07:16 +0000 (12:07 +0100)]
Use stored TCP address for callback.
W.C.A. Wijngaards [Wed, 9 Dec 2020 10:56:35 +0000 (11:56 +0100)]
No need for mk_local_addr, can pass the sockaddr structure.
W.C.A. Wijngaards [Wed, 9 Dec 2020 10:43:16 +0000 (11:43 +0100)]
Use calloc and freeaddrinfo
W.C.A. Wijngaards [Wed, 9 Dec 2020 10:41:07 +0000 (11:41 +0100)]
configure test for struct sockaddr_in6 sin6_len member
W.C.A. Wijngaards [Wed, 9 Dec 2020 10:37:04 +0000 (11:37 +0100)]
Remove useless tcp_read_fd member from struct
W.C.A. Wijngaards [Wed, 9 Dec 2020 10:34:39 +0000 (11:34 +0100)]
For TCP store picked outgoing interface and pass it.
W.C.A. Wijngaards [Wed, 9 Dec 2020 10:29:57 +0000 (11:29 +0100)]
For the DoH create_http_handler, also pass the socket.
W.C.A. Wijngaards [Wed, 9 Dec 2020 10:27:33 +0000 (11:27 +0100)]
Fix that it passes the actual UDP address instead of first
and pass NULL to make tcp log compile.
W.C.A. Wijngaards [Wed, 9 Dec 2020 10:27:14 +0000 (11:27 +0100)]
Fix test code function declaration.
W.C.A. Wijngaards [Wed, 9 Dec 2020 10:13:58 +0000 (11:13 +0100)]
Remove unused whitespace, add missing header change, make it compile
W.C.A. Wijngaards [Wed, 9 Dec 2020 10:00:51 +0000 (11:00 +0100)]
Import the patches from the files in the tarball in
issue #365 https://github.com/NLnetLabs/unbound/files/
5659923 /patches.tar.gz
from iruzanov. The merge conflicts are fixed, but no changes are made
to the patched code.
W.C.A. Wijngaards [Thu, 3 Dec 2020 09:27:19 +0000 (10:27 +0100)]
- iana portlist updated.
W.C.A. Wijngaards [Thu, 3 Dec 2020 09:26:37 +0000 (10:26 +0100)]
- make depend.
W.C.A. Wijngaards [Thu, 3 Dec 2020 09:14:14 +0000 (10:14 +0100)]
Code repo continues for 1.13.1 in development.
W.C.A. Wijngaards [Wed, 2 Dec 2020 15:17:26 +0000 (16:17 +0100)]
- Fix update, with write event check with streamreuse and fastopen.
W.C.A. Wijngaards [Wed, 2 Dec 2020 14:42:24 +0000 (15:42 +0100)]
- Fix for #283: fix stream reuse and tcp fast open.
W.C.A. Wijngaards [Wed, 2 Dec 2020 10:58:24 +0000 (11:58 +0100)]
- Fix on windows to ignore connection failure on UDP, unless verbose.
W.C.A. Wijngaards [Wed, 2 Dec 2020 10:51:54 +0000 (11:51 +0100)]
- Fix unbound-dnstap-socket to not use log routine from interrupt
handler and not print so frequently when invoked in sequence.
W.C.A. Wijngaards [Wed, 2 Dec 2020 09:10:27 +0000 (10:10 +0100)]
- Fix #356: deadlock when listening tcp.
W.C.A. Wijngaards [Wed, 2 Dec 2020 08:51:26 +0000 (09:51 +0100)]
- Fix #360: for the additionally reported TCP Fast Open makes TCP
connections fail, in that case we print a hint that this is
happening with the error in the logs.
W.C.A. Wijngaards [Tue, 1 Dec 2020 08:09:13 +0000 (09:09 +0100)]
- Fix #358: Squelch udp connect 'no route to host' errors on low
verbosity.
W.C.A. Wijngaards [Mon, 30 Nov 2020 11:52:04 +0000 (12:52 +0100)]
Changelog entry for rc tags 1.13.0rc3 and rc4.
W.C.A. Wijngaards [Mon, 30 Nov 2020 08:41:33 +0000 (09:41 +0100)]
- Fix assertion failure on double callback when iterator loses
interest in query at head of line that then has the tcp stream
not kept for reuse.
W.C.A. Wijngaards [Fri, 27 Nov 2020 14:08:31 +0000 (15:08 +0100)]
- Fix contrib/metrics.awk for FreeBSD awk compatibility.
W.C.A. Wijngaards [Fri, 27 Nov 2020 09:11:14 +0000 (10:11 +0100)]
- Fix compile warnings in rpz initialization.
W.C.A. Wijngaards [Fri, 27 Nov 2020 09:01:55 +0000 (10:01 +0100)]
- Fix compile warnings for windows.
W.C.A. Wijngaards [Fri, 27 Nov 2020 08:57:08 +0000 (09:57 +0100)]
- Fix when use free buffer to initialize rbtree for stream reuse.
W.C.A. Wijngaards [Fri, 27 Nov 2020 08:08:48 +0000 (09:08 +0100)]
- Fix compile warning for type cast in http2_submit_dns_response.
W.C.A. Wijngaards [Thu, 26 Nov 2020 11:23:18 +0000 (12:23 +0100)]
- Clear readagain upon decommission of pending tcp structure.
W.C.A. Wijngaards [Thu, 26 Nov 2020 11:12:52 +0000 (12:12 +0100)]
- Fix that after failed read, the readagain cannot activate.
W.C.A. Wijngaards [Thu, 26 Nov 2020 10:00:48 +0000 (11:00 +0100)]
- For #352: contrib/metrics.awk for Prometheus style metrics output.
W.C.A. Wijngaards [Thu, 26 Nov 2020 08:39:54 +0000 (09:39 +0100)]
- Fix to omit UDP receive errors from log, if verbosity low.
These happen because of udp-connect.
W.C.A. Wijngaards [Wed, 25 Nov 2020 13:03:32 +0000 (14:03 +0100)]
- tag for the 1.13.0rc2 release.
W.C.A. Wijngaards [Wed, 25 Nov 2020 12:46:28 +0000 (13:46 +0100)]
- Fix readagain and writeagain callback functions for comm point
cleanup.
W.C.A. Wijngaards [Wed, 25 Nov 2020 11:12:35 +0000 (12:12 +0100)]
- Attempt fix for libevent state in tcp reuse cases after a packet
is written.
W.C.A. Wijngaards [Wed, 25 Nov 2020 11:04:38 +0000 (12:04 +0100)]
- Fix memory leak for edns client tag opcode config element.
W.C.A. Wijngaards [Wed, 25 Nov 2020 11:02:51 +0000 (12:02 +0100)]
- Remove debug commands from reuse tests.
W.C.A. Wijngaards [Wed, 25 Nov 2020 09:22:11 +0000 (10:22 +0100)]
- Better fix for reuse tree comparison for is-tls sockets. Where
the tree key identity is preserved after cleanup of the TLS state.
W.C.A. Wijngaards [Wed, 25 Nov 2020 08:55:01 +0000 (09:55 +0100)]
- Fix udp-connect on FreeBSD, do send calls on connected UDP socket.
W.C.A. Wijngaards [Wed, 25 Nov 2020 08:41:06 +0000 (09:41 +0100)]
- with udp-connect ignore connection refused with UDP timeouts.
W.C.A. Wijngaards [Tue, 24 Nov 2020 16:06:54 +0000 (17:06 +0100)]
- Fix padding of struct regional for 32bit systems.
W.C.A. Wijngaards [Tue, 24 Nov 2020 15:58:51 +0000 (16:58 +0100)]
- Fix crash when TLS connection is closed prematurely, when
reuse tree comparison is not properly identical to insertion.
W.C.A. Wijngaards [Tue, 24 Nov 2020 14:01:44 +0000 (15:01 +0100)]
- tag for the 1.13.0rc1 release.
W.C.A. Wijngaards [Tue, 24 Nov 2020 13:16:06 +0000 (14:16 +0100)]
- Fix one port unit test for udp-connect.
W.C.A. Wijngaards [Tue, 24 Nov 2020 12:17:15 +0000 (13:17 +0100)]
- iana portlist updated.
Wouter Wijngaards [Tue, 24 Nov 2020 07:28:08 +0000 (08:28 +0100)]
- set version of main branch to 1.13.0 for upcoming release.
Wouter Wijngaards [Tue, 24 Nov 2020 07:23:24 +0000 (08:23 +0100)]
Changelog note for #283.
- Merge PR #283 : Stream reuse. This implements upstream stream
reuse for performing several queries over the same TCP or TLS
channel.
Wouter Wijngaards [Tue, 24 Nov 2020 07:21:07 +0000 (08:21 +0100)]
Merge pull request #283 from NLnetLabs/stream-reuse
Stream reuse
Wouter Wijngaards [Tue, 24 Nov 2020 07:20:07 +0000 (08:20 +0100)]
Merge branch 'master' into stream-reuse
George Thessalonikefs [Mon, 23 Nov 2020 16:37:46 +0000 (17:37 +0100)]
Changelog note for #313:
- Merge PR #313 from Ralph Dolmans: Replace edns-client-tag with
edns-client-string option.
gthess [Mon, 23 Nov 2020 16:34:42 +0000 (17:34 +0100)]
Merge pull request #313 from NLnetLabs/edns-string
Replace edns-client-tag with edns-client-string option
George Thessalonikefs [Mon, 23 Nov 2020 15:58:30 +0000 (16:58 +0100)]
Merge branch 'master' into edns-string
George Thessalonikefs [Mon, 23 Nov 2020 15:35:58 +0000 (16:35 +0100)]
Merge branch 'master' into edns-string
George Thessalonikefs [Mon, 23 Nov 2020 15:32:00 +0000 (16:32 +0100)]
- Update manpage.