]>
git.ipfire.org Git - thirdparty/unbound.git/log
yunwei [Wed, 10 Feb 2021 01:03:38 +0000 (09:03 +0800)]
Merge pull request #1 from NLnetLabs/master
synchronize the code.
W.C.A. Wijngaards [Tue, 9 Feb 2021 09:38:55 +0000 (10:38 +0100)]
- Fix for Python 3.9, no longer use deprecated functions of
PyEval_CallObject (now PyObject_Call), PyEval_InitThreads (now
none), PyParser_SimpleParseFile (now Py_CompileString).
W.C.A. Wijngaards [Tue, 9 Feb 2021 08:16:23 +0000 (09:16 +0100)]
Changelog note for 1.13.1 release and main branch is 1.13.2 in development.
W.C.A. Wijngaards [Thu, 4 Feb 2021 08:18:40 +0000 (09:18 +0100)]
- release 1.13.1rc2 tag on branch-1.13.1 with added changes of 2 feb.
W.C.A. Wijngaards [Tue, 2 Feb 2021 16:04:29 +0000 (17:04 +0100)]
- Fix indentation of root anchor for use by windows install script.
W.C.A. Wijngaards [Tue, 2 Feb 2021 13:52:05 +0000 (14:52 +0100)]
Fixup to add to LIBS.
W.C.A. Wijngaards [Tue, 2 Feb 2021 13:31:05 +0000 (14:31 +0100)]
And autoconf.
W.C.A. Wijngaards [Tue, 2 Feb 2021 13:30:53 +0000 (14:30 +0100)]
- Fix windows dependency on libssp.dll because of default stack
protector in mingw.
W.C.A. Wijngaards [Tue, 2 Feb 2021 12:18:18 +0000 (13:18 +0100)]
- Fix dynlibmod link on rhel8 for -ldl inclusion.
W.C.A. Wijngaards [Tue, 2 Feb 2021 07:48:44 +0000 (08:48 +0100)]
- branch-1.13.1 is created, with release-1.13.1rc1 tag.
George Thessalonikefs [Mon, 1 Feb 2021 16:02:19 +0000 (17:02 +0100)]
- Hide our time traveling abilities.
George Thessalonikefs [Mon, 1 Feb 2021 15:59:19 +0000 (16:59 +0100)]
Merge branch 'master' of github.com:NLnetLabs/unbound
George Thessalonikefs [Mon, 1 Feb 2021 15:57:56 +0000 (16:57 +0100)]
- Attempt to fix NULL keys in the reuse_tcp tree; relates to #411.
W.C.A. Wijngaards [Fri, 29 Jan 2021 15:34:46 +0000 (16:34 +0100)]
- Fix for doxygen 1.8.20 compatibility.
W.C.A. Wijngaards [Thu, 28 Jan 2021 10:19:34 +0000 (11:19 +0100)]
- Fix fwd ancil test post script when not supported.
W.C.A. Wijngaards [Thu, 28 Jan 2021 08:15:45 +0000 (09:15 +0100)]
- Fix empty clause warning in edns pass for padding.
W.C.A. Wijngaards [Thu, 28 Jan 2021 08:14:19 +0000 (09:14 +0100)]
- Fix to use correct type for label count in ipdnametoaddr rpz routine.
W.C.A. Wijngaards [Thu, 28 Jan 2021 08:11:46 +0000 (09:11 +0100)]
- Fix empty clause warning in config_file nsid parse.
W.C.A. Wijngaards [Thu, 28 Jan 2021 08:07:16 +0000 (09:07 +0100)]
- Fix to use correct type for label count in rpz routine.
W.C.A. Wijngaards [Thu, 28 Jan 2021 08:04:00 +0000 (09:04 +0100)]
- Annotate that we ignore the return value of if_indextoname.
W.C.A. Wijngaards [Tue, 26 Jan 2021 16:29:22 +0000 (17:29 +0100)]
- Fix compile of unbound-dnstap-socket without dnstap installed.
George Thessalonikefs [Tue, 26 Jan 2021 14:31:50 +0000 (15:31 +0100)]
- Ignore cache blacklisting when trying to reply with expired data from
cache. (#394)
George Thessalonikefs [Tue, 26 Jan 2021 12:19:05 +0000 (13:19 +0100)]
Changelog entry for:
- Merge PR #355 from noloader: Make ICANN Update CA and DS Trust Anchor
static data.
George Thessalonikefs [Tue, 26 Jan 2021 12:18:00 +0000 (13:18 +0100)]
Merge branch 'noloader-icann-ca-trust-ds'
George Thessalonikefs [Tue, 26 Jan 2021 12:04:55 +0000 (13:04 +0100)]
Merge branch 'master' of git://github.com/noloader/unbound into noloader-icann-ca-trust-ds
George Thessalonikefs [Tue, 26 Jan 2021 12:01:33 +0000 (13:01 +0100)]
Changelog entry for:
- Merge PR #275 by Roland van Rijswijk-Deij, Add feature to return the
original instead of a decrementing TTL ('serve-original-ttl').
George Thessalonikefs [Tue, 26 Jan 2021 11:58:38 +0000 (12:58 +0100)]
Merge branch 'rijswijk-orig_ttl'
George Thessalonikefs [Tue, 26 Jan 2021 11:55:55 +0000 (12:55 +0100)]
Changelog entry for:
- Merge PR #408 from fobser: Prevent a few more yacc clashes.
George Thessalonikefs [Tue, 26 Jan 2021 11:53:55 +0000 (12:53 +0100)]
Merge branch 'fobser-yacc-clashes'
George Thessalonikefs [Mon, 25 Jan 2021 19:56:36 +0000 (20:56 +0100)]
Merge branch 'yacc-clashes' of https://github.com/fobser/unbound into fobser-yacc-clashes
George Thessalonikefs [Mon, 25 Jan 2021 18:26:19 +0000 (19:26 +0100)]
- Update example.con.in and add a testcase for PR #275.
George Thessalonikefs [Mon, 25 Jan 2021 16:39:24 +0000 (17:39 +0100)]
Merge branch 'orig_ttl' of https://github.com/rijswijk/unbound into rijswijk-orig_ttl
Willem Toorop [Mon, 25 Jan 2021 14:14:33 +0000 (15:14 +0100)]
Merge pull request #211 from NLnetLabs/features/padding
Down- and upstream padding a la RFC7830 & RFC8467
Willem Toorop [Mon, 25 Jan 2021 14:13:54 +0000 (15:13 +0100)]
Some review nits from George
Willem Toorop [Sun, 24 Jan 2021 19:17:44 +0000 (20:17 +0100)]
Test some different padding sizes
Willem Toorop [Sun, 24 Jan 2021 17:29:00 +0000 (18:29 +0100)]
padding.tdir text in single TXT RR
So the sentences are not re-ordered and the text makes sense!
Willem Toorop [Sun, 24 Jan 2021 17:12:08 +0000 (18:12 +0100)]
tdir test for padding option
Roland van Rijswijk-Deij [Fri, 22 Jan 2021 18:56:09 +0000 (18:56 +0000)]
Addressed review comment from @wcawijngaards
Roland van Rijswijk-Deij [Fri, 22 Jan 2021 16:44:56 +0000 (16:44 +0000)]
Rebase on master
Willem Toorop [Fri, 22 Jan 2021 14:14:10 +0000 (15:14 +0100)]
Changelog entry for padding option
Willem Toorop [Fri, 22 Jan 2021 14:13:01 +0000 (15:13 +0100)]
Merge branch 'master' into features/padding
Willem Toorop [Fri, 22 Jan 2021 14:10:57 +0000 (15:10 +0100)]
Move NSID Changelog entry to day of merge
W.C.A. Wijngaards [Fri, 22 Jan 2021 12:11:41 +0000 (13:11 +0100)]
Fixup if brackets.
George Thessalonikefs [Fri, 22 Jan 2021 11:39:16 +0000 (12:39 +0100)]
Merge branch 'negative_soa_ttl'
George Thessalonikefs [Fri, 22 Jan 2021 11:33:56 +0000 (12:33 +0100)]
- Updated Changelog for PR #407.
Willem Toorop [Fri, 22 Jan 2021 09:29:50 +0000 (10:29 +0100)]
Merge branch 'master' into features/padding
yunwei [Wed, 20 Jan 2021 06:12:51 +0000 (14:12 +0800)]
Update netevent.c
#386
I found the root cause of this issue. r_buffer is r->query_reply.c->buffer, used to fill the reply in the mesh_send_reply function, then call comm_point_send_reply, and then call http2_submit_dns_response to send the DOH response. However, the buffer is not cleared after use. If the query length is greater than the last response length, the next dns query in the same H2 session will encounter an error.
This is bug!!!
Clear the buffer after use.
George Thessalonikefs [Tue, 19 Jan 2021 19:09:34 +0000 (20:09 +0100)]
- Feedback for PR #407.
Willem Toorop [Tue, 19 Jan 2021 16:19:48 +0000 (17:19 +0100)]
Merge pull request #363 from NLnetLabs/features/nsid
Support for RFC5001: DNS Name Server Identifier (NSID) Option
Willem Toorop [Tue, 19 Jan 2021 16:18:26 +0000 (17:18 +0100)]
rpl tests for nsid
Florian Obser [Tue, 19 Jan 2021 16:12:14 +0000 (17:12 +0100)]
Prevent a few more yacc clashes.
Willem Toorop [Tue, 19 Jan 2021 15:18:36 +0000 (16:18 +0100)]
example.conf.in entry for nsid
George Thessalonikefs [Tue, 19 Jan 2021 11:15:18 +0000 (12:15 +0100)]
- Fix TTL of SOA record for negative answers (localzone data and
authzone) to be the minimum of the SOA TTL and the SOA.MINIMUM.
Willem Toorop [Tue, 19 Jan 2021 13:21:18 +0000 (14:21 +0100)]
Merge branch 'master' into features/nsid
W.C.A. Wijngaards [Mon, 18 Jan 2021 09:23:01 +0000 (10:23 +0100)]
- Fix declaration before statement and signed comparison warning in
dns64.
W.C.A. Wijngaards [Mon, 18 Jan 2021 07:29:52 +0000 (08:29 +0100)]
- Fix #404: DNS query with small edns bufsize fail.
W.C.A. Wijngaards [Fri, 15 Jan 2021 07:15:54 +0000 (08:15 +0100)]
Changelog entry for #402.
- Merge #402 from fobser: Implement IPv4-Embedded addresses according
to RFC6052.
Wouter Wijngaards [Fri, 15 Jan 2021 07:14:58 +0000 (08:14 +0100)]
Merge pull request #402 from fobser/dns64
Implement IPv4-Embedded addresses according to RFC6052.
Florian Obser [Thu, 14 Jan 2021 18:15:30 +0000 (19:15 +0100)]
Implement IPv4-Embedded addresses according to RFC6052.
The original algorithm assumed that any prefix length would be valid
and did not skip over bits 64 to 71 and set them to zero.
This means that only dns64 prefixes with length 32 and 96 generated
embedded addresses according to RFC6052, cf. Figure 1 in 2.2.
W.C.A. Wijngaards [Thu, 14 Jan 2021 15:50:17 +0000 (16:50 +0100)]
- Fix for #93: dynlibmodule import library is named libunbound.dll.a.
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, 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.