W.C.A. Wijngaards
8ee0bca833
- Fix stat_values.tdir test to have less test failures.
2026-08-11 10:07:38 +02:00
W.C.A. Wijngaards
c58e6add2b
- Fix #1492 from zacek: Data race in log_init() on
...
key_created/log_lock when calling ub_ctx_create()
concurrently from multiple threads.
2026-08-11 09:42:30 +02:00
W.C.A. Wijngaards
93a56205cf
- Fix #1489 from jplesnik: Replace removed Python 2 C API
...
macros for SWIG 4.5.0 compatibility.
2026-08-07 08:57:32 +02:00
W.C.A. Wijngaards
709f622658
Note issue number in Changlog entry.
2026-08-06 17:15:55 +02:00
akhanin-dnsf and GitHub
307fc6f062
- Fix bounds check in packed_rr_to_string, it checked the ( #1488 )
...
assembled rr length against the output string length
dest_len, instead of against the size of the rr buffer it
writes into. Callers in cachedump.c and remote.c pass a
dest_len larger than that buffer.
- Unit test for packed_rr_to_string.
2026-08-06 17:04:05 +02:00
W.C.A. Wijngaards
8b33c5d7ff
- Fix #1487 : regression in 1.26.0, ipsecmod is now always
...
partly enabled.
2026-08-06 09:46:18 +02:00
W.C.A. Wijngaards
36bd52afb9
Fix typo in Changelog.
2026-08-06 09:08:33 +02:00
W.C.A. Wijngaards
b7d13ff12b
- Fix ##1485: the list_forwards command omits port numbers.
...
The list_forwards and list_stubs commands for
unbound-control print port and tls auth name.
2026-08-06 09:08:17 +02:00
W.C.A. Wijngaards
bdfcfb861f
- Fix to set makedist.sh to not wget config.sub and
...
config.guess from git repo. The fetch times out, and the
version from libtoolize is much more recent now than
that it was when the wget was added.
2026-08-04 10:04:34 +02:00
W.C.A. Wijngaards
b444deffd2
Note 1.26.0 release.
2026-08-04 10:01:59 +02:00
W.C.A. Wijngaards
ff28b7e5cf
- For #1483 : The failure reason when an NSEC NXDOMAIN is
...
encountered when looking for an insecure delegation, is
fixed to mention the NSEC records, instead of nonexistent
NSEC3 records, that it attempted.
2026-07-31 09:53:47 +02:00
W.C.A. Wijngaards
79b84bbc91
- Fix #1482 : DNS-over-QUIC doesn't work with simple config.
...
That fixes interface-automatic for use with doq service.
2026-07-30 08:24:42 +02:00
W.C.A. Wijngaards
cbfc3b0342
- Tag for 1.26.0rc1. The repo continues with version 1.26.1.
2026-07-28 09:45:59 +02:00
W.C.A. Wijngaards
a45da353d3
- Fix to call OPENSSL_cleanup on exit when that is defined.
2026-07-24 17:04:38 +02:00
W.C.A. Wijngaards
c21e3ee929
Changelog note for #1479
...
- Merge #1479 from psumbera: Fix pthread detection on
Solaris 11.4.
2026-07-24 15:35:55 +02:00
8a38bed262
Fix pthread detection on Solaris 11.4 ( #1479 )
...
AX_PTHREAD requires _REENTRANT to confirm that pthread support is enabled.
Solaris 11.4 headers no longer use the macro, and GCC 16 therefore no
longer defines it for -pthread.
Detect XPG7 support in the target headers and require _REENTRANT only on
older Solaris releases. The existing pthread compile and link test remains
the final capability check.
This follows the canonical Autoconf Archive change:
https://github.com/autoconf-archive/autoconf-archive/pull/341
Regenerate configure with Autoconf 2.71.
Tested on Solaris 11.4 with GCC 15.2 and GCC 16.1. The Autoconf Archive
change was also tested on Solaris 11.3.
Co-authored-by: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE >
2026-07-24 15:34:18 +02:00
W.C.A. Wijngaards
7cc7a43ff6
Changelog note for #1481 .
...
- Fix #1481 : Fix to use tls-port after referral if
tls-upstream is set.
2026-07-24 15:32:20 +02:00
W.C.A. Wijngaards
9bd8df0149
- Fix to use tls-port after referral if tls-upstream is set.
2026-07-24 15:31:06 +02:00
W.C.A. Wijngaards
8f7411057f
- Fix sign of comparison warning in shared ports setup.
2026-07-24 14:44:44 +02:00
W.C.A. Wijngaards
ca1fe4f82a
- Fix to guard access to shared ports interface array during
...
set up, for analyzer.
2026-07-24 14:38:46 +02:00
W.C.A. Wijngaards
e183c2c506
- Fix unused variable warnings in shared_ports_fetch_random
...
and shared_ports_return_port when compiled without threads.
2026-07-24 14:37:17 +02:00
W.C.A. Wijngaards
52b18fc6f5
Changelog entry for #1480
...
- Merge #1480 from petrvaganoff: authzone: fix memory leak in
xfer_set_masters() error path.
2026-07-24 12:25:34 +02:00
Petr Vaganov and GitHub
e6d00725c2
authzone: fix memory leak in xfer_set_masters() error path ( #1480 )
...
Added memory deallocation for the `file` and `host` fields of the
`auth_master` node in the event of a URL/allocation error, and
unlinked the partially created node from the masters list by
resetting the link that pointed to it.
Signed-off-by: Petr Vaganov <petrvaganoff@gmail.com >
2026-07-24 12:24:49 +02:00
W.C.A. Wijngaards
e597711824
- Fix lock test protect for auth zone change.
...
- Fix to lock shared_ports structure during initialisation.
- Fix to lock anchor structure when file is set for it in
2026-07-24 12:13:09 +02:00
W.C.A. Wijngaards
e1e646c6fc
- Fix to allow test fake sha1 on systems with possible sha1
...
support.
- Fix to use sha256 for unbound-anchor unit test.
- Fix unbound-anchor check for return value of
X509_NAME_get_text_by_NID of the emailaddress.
2026-07-24 11:50:15 +02:00
W.C.A. Wijngaards
fc3b5b4f63
- Update generated man pages.
2026-07-24 10:03:41 +02:00
W.C.A. Wijngaards
1e904a3ce5
- set code repository version to 1.26.0.
2026-07-24 09:45:49 +02:00
W.C.A. Wijngaards
79e100a7fb
- Fix #1477 : respip + dns64: dns64 uses A records modified by
...
respip instead of original A records. Adds local-zone types
block_a_wdata and block_aaaa_wdata, that are like block_a
and block_aaaa, and uses local-data if present.
2026-07-24 09:29:17 +02:00
W.C.A. Wijngaards
a65d3d7283
- Unit test for block_a and block_aaaa.
2026-07-24 09:03:45 +02:00
W.C.A. Wijngaards
3b8766aa43
Changelog note for #1433
...
- Merge #1433 from jisakiel: Add new static zone type
block_aaaa to suppress AAAA queries.
2026-07-24 08:53:30 +02:00
c8b3c89a39
Add new static zone type block_aaaa to suppress AAAA queries ( #1433 )
...
Following d5b9a790f lead for block_a - this would allow suppressing AAAA queries instead for sticking to IPV4.
Co-authored-by: Jisakiel <jisakiel@users.noreply.github.com >
2026-07-24 08:52:20 +02:00
W.C.A. Wijngaards
a05d460e66
- Fix mesh cycle detection for configuration with respip CNAME
...
loop and tagged clients. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-07-23 16:28:45 +02:00
W.C.A. Wijngaards
5eb362a6c0
- Fix that the aggressive negative cache does not insert NSEC
...
records with overreaching next owner name. Also the result
is not above the trust anchor's bailiwick. Also RRSIGS are
not considered valid when an NSEC next owner name is not
under the signer zone name. Thanks to Qifan Zhang, Palo
Alto Networks, for the report.
2026-07-23 16:17:59 +02:00
W.C.A. Wijngaards
0735cb28d1
- Fix that for NSEC3 proofs the NSEC3 zone, as the b32.name is
...
checked to be the same as the signer name. Also RRSIGs are
not considered valid when an NSEC3 is not b32.signerzone.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-07-23 15:54:59 +02:00
W.C.A. Wijngaards
737c28e836
Changelog entry for #1478
...
- Merge #1478 from petrvaganoff: pythonmod: add check return
value after ftell().
2026-07-23 10:22:53 +02:00
Petr Vaganov and GitHub
1bab2dfafa
pythonmod: add check return value after ftell() ( #1478 )
...
Variable 'flen', which might receive a negative value at pythonmod.c:493
by calling function 'ftell', is used without checking at pythonmod.c:508
by calling function 'fread'.
Found by the static analyzer Svace (ISP RAS).
Signed-off-by: Petr Vaganov <petrvaganoff@gmail.com >
2026-07-23 10:22:02 +02:00
W.C.A. Wijngaards
22e2c5b6d1
- Updated credits for Xuanchao Xie in 22 july changelog.
2026-07-23 10:01:10 +02:00
W.C.A. Wijngaards
914dbfea4e
- iana portlist update.
2026-07-22 14:12:34 +02:00
W.C.A. Wijngaards
cf5e6e89a5
- Fix error in log printout in fix for CVE-2026-50248, when the
...
primary name is bogus.
2026-07-22 12:16:49 +02:00
W.C.A. Wijngaards
4941edf275
- Unit test for CVE-2026-56416.
2026-07-22 12:06:00 +02:00
W.C.A. Wijngaards
b08723ef97
- Unit test for CVE-2026-55973.
2026-07-22 12:04:35 +02:00
W.C.A. Wijngaards
c163fbc505
- Unit test for CVE-2026-55717.
2026-07-22 12:03:48 +02:00
W.C.A. Wijngaards
eed3f1ab38
- Unit test for CVE-2026-50248.
2026-07-22 12:00:19 +02:00
W.C.A. Wijngaards
63501f51bb
- Unit test for CVE-2026-50243.
2026-07-22 11:59:36 +02:00
W.C.A. Wijngaards
1ae2570bda
- Unit test for CVE-2026-46582.
2026-07-22 11:58:18 +02:00
W.C.A. Wijngaards
9ad825b267
- Unit test for CVE-2026-50045.
2026-07-22 11:57:13 +02:00
W.C.A. Wijngaards
3d5e6c0692
- Unit test for CVE-2026-44690.
2026-07-22 11:56:08 +02:00
W.C.A. Wijngaards
23e19ca6fc
- Unit test for CVE-2026-44687.
2026-07-22 11:55:09 +02:00
W.C.A. Wijngaards
9f757aa9f3
- Unit test for CVE-2026-42955.
2026-07-22 11:54:00 +02:00
W.C.A. Wijngaards
1df6c170ff
Changelog entry for 1.25.2.
...
- Set the repository to 1.25.3, it continues with the previous
changes.
2026-07-22 11:38:48 +02:00
W.C.A. Wijngaards
7a95bedc26
Fix conflict merge fixup.
2026-07-22 11:36:06 +02:00
W.C.A. Wijngaards
ae685bc33d
Move repo to version 1.25.3.
2026-07-22 11:34:48 +02:00
W.C.A. Wijngaards
91ac449bcd
Merge branch 'branch-1.25.2'
2026-07-22 11:33:54 +02:00
W.C.A. Wijngaards
c33ad1b1a2
rerun autoconf.
2026-07-22 10:21:21 +02:00
W.C.A. Wijngaards
84d9682dd0
- Fix CVE-2026-56444, Degradation of resolution service when
...
'discard-timeout' and 'serve-expired-client-timeout' are combined in
unusual configuration. Thanks to Qifan Zhang, Palo Alto Networks,
for the report. In addition, thanks to Xin Wang, Jiapeng Li,
and Jiajia Liu, Northwestern Polytechnical University, for also
reporting this issue. In addition, thanks to Haruki Oyama (Waseda
University), for also reporting this issue.
2026-07-22 10:19:50 +02:00
W.C.A. Wijngaards
4b1635e194
- Fix CVE-2026-56416, Possible heap buffer overflow when validator
...
canonicalizes RDATA that contains domain name. Thanks to Qifan
Zhang, Palo Alto Networks, for the report.
2026-07-22 10:19:28 +02:00
W.C.A. Wijngaards
aac261cbb3
- Fix CVE-2026-55991, Remote DNS-over-QUIC (DoQ) flow-control
...
assertion failure in libngtcp2. Thanks to Qifan Zhang, Palo Alto
Networks, for the report. In addition, thanks to Xuanchao Xie,
for also reporting this issue.
2026-07-22 10:19:02 +02:00
W.C.A. Wijngaards
ae1b3810cc
- Fix CVE-2026-55990, Packet of death for a DNSCrypt misconfigured
...
Unbound. Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-07-22 10:18:41 +02:00
W.C.A. Wijngaards
96f8755520
- Fix CVE-2026-55973, 'dns-error-reporting: yes' leads to stack buffer
...
overflow. Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-07-22 10:18:16 +02:00
W.C.A. Wijngaards
2ce2ca3691
- Fix CVE-2026-55717, 'serve-expired-client-timeout' and 'response-ip'
...
CNAME redirect could lead to a crash. Thanks to Qifan Zhang, Palo
Alto Networks, for the report. In addition, thanks to Xin Wang,
Jiapeng Li, and Jiajia Liu, Northwestern Polytechnical University,
for also reporting this issue.
2026-07-22 10:17:32 +02:00
W.C.A. Wijngaards
c29ff70f6a
- Fix CVE-2026-55708, Privacy/configuration issue when adding local
...
data in views through 'unbound-control'. Thanks to Qifan Zhang,
Palo Alto Networks, for the report.
2026-07-22 10:17:10 +02:00
W.C.A. Wijngaards
8a15ffee62
- Fix CVE-2026-54478, DNS Cookie bypass when combined with
...
proxy-protocol use. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-07-22 10:16:42 +02:00
W.C.A. Wijngaards
8c702de175
- Fix CVE-2026-52863, Memory corruption could lead to crash and
...
denial of service. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-07-22 10:16:03 +02:00
W.C.A. Wijngaards
804cff4c15
- Fix CVE-2026-50252, Possible cache poisoning attack by mapping
...
source port population per thread. Thanks to Inbal Schussheim and
Amit Klein, Hebrew University, for the report.
2026-07-22 10:15:31 +02:00
W.C.A. Wijngaards
e180b06298
- Fix CVE-2026-50251, Attacker supplied 0.0.0.0/:: glue triggers
...
defensive full-cache flush. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-07-22 10:15:02 +02:00
W.C.A. Wijngaards
3530c81e29
- Fix CVE-2026-50248, BOGUS configured primary hostname accepted for
...
XFR in auth/rpz zones. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-07-22 10:14:35 +02:00
W.C.A. Wijngaards
02b16de1ae
- Fix CVE-2026-50243, 'response-ip'/'rpz' can rewrite BOGUS answers
...
instead of returning SERVFAIL. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-07-22 10:14:04 +02:00
W.C.A. Wijngaards
1ad8d4c395
- Fix CVE-2026-50046, Possible heap use-after-free in an error path
...
when a DoT forwarded query is jostled out. Thanks to Qifan Zhang,
Palo Alto Networks, for the report.
2026-07-22 10:13:36 +02:00
W.C.A. Wijngaards
364ac737f7
- Fix CVE-2026-50045, 'max-global-quota' reset by DNSSEC validation
...
restarts. Thanks to Kunjie Shang, University of Science and
Technology of China, for the report.
2026-07-22 10:13:14 +02:00
W.C.A. Wijngaards
f7637a4f18
- Fix CVE-2026-44690, Cross-zone wildcard cache poisoning via
...
RRSIG.labels manipulation. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-07-22 10:12:38 +02:00
W.C.A. Wijngaards
1e1940383a
- Fix CVE-2026-44687, Off-by-one error in 'harden-below-nxdomain'
...
logic can shadow a stub/forward zone by a legitimate parent's
NXDOMAIN. Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-07-22 10:12:03 +02:00
W.C.A. Wijngaards
f52a9e864b
- Fix CVE-2026-44621, Libunbound applications configured with
...
'unwanted-reply-threshold' could eventually be abruptly
terminated. Thanks to Qifan Zhang, Palo Alto Networks, for the
report.
2026-07-22 10:11:26 +02:00
W.C.A. Wijngaards
13ec8d0f26
- Fix CVE-2026-42955, Extra fix for CVE-2026-40622 to also clamp
...
the TTL of A/AAAA records disallowing a one-time 'ghost domain'
delegation renewal via glue records. Thanks to Qifan Zhang, Palo
Alto Networks, for the report.
2026-07-22 10:11:04 +02:00
W.C.A. Wijngaards
27f22b8808
- Fix CVE-2026-41637, Degradation of resolution service from
...
improperly accounted client-terminated DNS-over-QUIC queries. Thanks
to Qifan Zhang, Palo Alto Networks, for the report.
2026-07-22 10:10:24 +02:00
W.C.A. Wijngaards
f54e0791ba
- Fix CVE-2026-40691, Packet of death for DNSCrypt over TCP. Thanks
...
to Qifan Zhang, Palo Alto Networks, for the report. In addition,
thanks to Trung Nguyen (@everping) of CyStack, for also reporting
this issue.
2026-07-22 10:09:50 +02:00
W.C.A. Wijngaards
01dfd2f466
- Fix CVE-2026-32665, Remote DNS-over-QUIC denial of
...
service due to `quic-size` budget bypass. Thanks to N0zoM1z0
(https://github.com/N0zoM1z0 ) for the report. In addition, thanks to
Kunta Chu, Kaihua Wang, and Jianjun Chen from Tsinghua University,
for also reporting this issue. In addition, thanks to Qifan Zhang,
Palo Alto Networks, for also reporting this issue. In addition,
thanks to Xuanchao Xie, for also reporting this issue.
2026-07-22 10:09:26 +02:00
W.C.A. Wijngaards
f157c691bb
- Fix CVE-2026-14586, Assertion in libngtcp2 when under pressure
...
in high concurrency DNS-over-QUIC environments. Thanks to Kunta
Chu, Kaihua Wang, and Jianjun Chen from Tsinghua University,
for the report.
2026-07-22 10:08:48 +02:00
W.C.A. Wijngaards
fea0ff550b
- Fix CVE-2026-46582, A wildcard replay, as another piece of data,
...
triggers poisoning in the serve expired reply path. Thanks to
Qifan Zhang, Palo Alto Networks, for the report.
2026-07-22 10:07:52 +02:00
W.C.A. Wijngaards
87d59bfced
Set version to 1.25.2
2026-07-22 10:06:30 +02:00
W.C.A. Wijngaards
25b2543e5e
Changelog note for #1476
...
- Merge #1476 from petrvaganoff: ipsecmod: fix possible deref
on null after reply_find_answer_rrset().
2026-07-21 11:57:14 +02:00
Petr Vaganov and GitHub
7133e0d32a
ipsecmod: fix possible deref on null after reply_find_answer_rrset() ( #1476 )
...
Return value of a function 'reply_find_answer_rrset' is dereferenced at
ipsecmod.c:438 without checking for NULL, but it is usually checked for
this function (10/12).
Found by the static analyzer Svace (ISP RAS).
Signed-off-by: Petr Vaganov <petrvaganoff@gmail.com >
2026-07-21 11:56:29 +02:00
W.C.A. Wijngaards
fac7584830
- Fix #1474 : DoQ responses are never padded - pad-responses
...
does not apply to comm_doq (RFC 9250 §5.4 MUST).
2026-07-20 10:14:26 +02:00
W.C.A. Wijngaards
87f9258fb4
Changelog entry for #1475
...
- Merge #1475 from petrvaganoff: ipsecmod: fix deref on null
in ipsecmod-whitelist after OOM.
2026-07-20 10:05:45 +02:00
Petr Vaganov and GitHub
a2fe5356b5
ipsecmod: fix deref on null in ipsecmod-whitelist after OOM ( #1475 )
...
DEREF_OF_NULL.RET.STAT Return value of a function 'rbtree_create'
is dereferenced at ipsecmod-whitelist.c:105 without checking for
NULL, but it is usually checked for this function (5/6).
In ipsecmod_whitelist_apply_cfg(), the return value of rbtree_create()
is not checked for NULL before being used.
Found by the static analyzer Svace (ISP RAS).
Signed-off-by: Petr Vaganov <petrvaganoff@gmail.com >
2026-07-20 10:04:47 +02:00
W.C.A. Wijngaards
ad9b12a863
- Fix unit test for malformed svcb for test on Windows.
2026-07-09 09:52:09 +02:00
W.C.A. Wijngaards
61ca4111a1
Changelog note and explanation comment for #1383
...
- Merge #1383 from jdek: Fix randomness generation on
macOS/iOS under chroot.
2026-07-09 09:21:56 +02:00
J. Dekker and GitHub
71a971d70c
- Fix randomness generation on macOS/iOS under chroot ( #1383 )
...
SecRandomCopyBytes() has existed since macOS 10.7 (2011) and iOS 2.0 (2008), and is the primary API for cryptographic random numbers.
2026-07-09 09:19:42 +02:00
W.C.A. Wijngaards
ba4f8478e6
Add changelog note for #1087 , remove copyright line as discussed, and
...
compile fixes for newer local_zones_lookup, unused variable warnings
fixed, and also manual page description of the feature.
- Merge #1087 : Overload `local_data_remove` to support removing
specific records.
2026-07-02 15:04:51 +02:00
R. Christian McDonald and GitHub
374a18cc5b
Overload local_data_remove to support removing specific records ( #1087 )
...
Here we overload the `local_data_remove` control command to support
deleting specific records. Curently, this command deletes all records
for a given zone. The modification works by attempting to parse the
command argument first as a complete record and then as just a domain
name, if the first attempt failed.
This preserves the command's behavior, while also supporting removing
specific records from the zone tree.
Signed-off-by: R. Christian McDonald <rcm@rcm.sh >
2026-07-02 14:55:54 +02:00
W.C.A. Wijngaards
f35561287a
- iana portlist updated.
2026-06-30 12:38:33 +02:00
W.C.A. Wijngaards
672b9659cf
- Fix #1469 : dohclient: DoH POST missing content-length → :status
...
400 from strict resolvers (Cloudflare, Mullvad).
2026-06-30 12:14:00 +02:00
W.C.A. Wijngaards
1978add0cd
- Merge #1467 : daemon: fix DEREF_AFTER_NULL.EX.COND on
...
worker_init. This fixes error handling if the worker
stat_timer allocation has an out of memory error. That
makes the server not crash later, attempting to use it.
2026-06-26 13:44:27 +02:00
Petr Vaganov and GitHub
6cbcea3ac7
daemon: fix DEREF_AFTER_NULL.EX.COND on worker_init ( #1467 )
...
Found by the static analyzer Svace (ISP RAS).
After having been compared to a NULL value at worker.c:2216,
pointer 'worker->stat_timer' is passed in call to function
'worker_restart_timer' at worker.c:2319,where it is
dereferenced at worker.c:2029.
Fix that stat_timer creation failure in worker_init does
not continue with a NULL timer that causes a crash later.
Signed-off-by: Petr Vaganov <petrvaganoff@gmail.com >
2026-06-26 13:42:29 +02:00
W.C.A. Wijngaards
65e23d4b6f
- Merge #1465 from dag-erling: Add libunbound/remote.h. Add
...
a shared header containing prototypes for functions that
both ends of a remote control connection need to implement.
2026-06-25 11:16:01 +02:00
Dag-Erling Smørgrav and GitHub
fbe41cdef9
Add libunbound/remote.h ( #1465 )
...
Add a shared header containing prototypes for functions that both ends
of a remote control connection need to implement.
2026-06-25 11:14:37 +02:00
W.C.A. Wijngaards
01a95108b3
- Fix warning about file_string_matches in unbound-checkconf.
2026-06-19 09:30:46 +02:00
W.C.A. Wijngaards
f75d11821f
- Fix to update github ci actions/checkout to v7.
2026-06-19 09:25:39 +02:00
W.C.A. Wijngaards
6aa5cfc903
- Fix for #1457 : fix thread setname for thread start of
...
dnstap, and fast_reload.
2026-06-19 08:37:23 +02:00
Yorgos Thessalonikefs
f6931c794e
- Fix memory leak on DNAME 0TTL records.
2026-06-17 17:30:21 +02:00
W.C.A. Wijngaards
4c5082ad05
- Fix that fast_reload does not terminate the server if
...
random init for DNS cookies fails. The data is only random
generated if cookies are enabled, and the random data
is necessary. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-06-17 16:15:15 +02:00
W.C.A. Wijngaards
5fb892a097
- Fix that fast_reload does not terminate the server
...
on config read failure after malloc failure. Thanks to
Qifan Zhang, Palo Alto Networks, for the report.
2026-06-17 16:10:48 +02:00
W.C.A. Wijngaards
55e9532d16
- Fix after malloc failure for stats, then it drains the pipe
...
so the internal messaging stays correct. Also it does
not exit the server if stats pipe communication fails.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-17 16:05:45 +02:00
W.C.A. Wijngaards
fff6657cea
- Fix that fast_reload does not terminate the server
...
on malloc failure for dnstap, or if gethostname fails.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-17 16:02:21 +02:00
W.C.A. Wijngaards
45d1e75caf
- Fix to check for malloc failure in rpz response create,
...
for nodata and nxdomain, so it does not crash later.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-17 15:59:29 +02:00
W.C.A. Wijngaards
b806f16c8b
- Fix to check the return value of auth_xfer_create
...
during fast_reload auth-zone add and change processing.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-17 15:57:30 +02:00
W.C.A. Wijngaards
8d3348c71b
- Fix that malloc failure during edns subnet addrtree
...
insert is checked, so it does not crash later. Thanks to
Qifan Zhang, Palo Alto Networks, for the report.
2026-06-17 15:55:33 +02:00
W.C.A. Wijngaards
e2cc14681e
- Fix that malloc failure for rpz_strip_nsdname is
...
checked and handled, so that it does not crash later.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-17 15:53:28 +02:00
W.C.A. Wijngaards
5ae979bb6e
- Fix that on malloc failure during accept of TCP, the
...
socket is not left to cause a read event loop. It uses
slow-accept to delay accepting new connections, if
that fails it drops the new connections. When the tcp
connection usage is full, it waits for 50msec, to allow
existing queries to be resolved. Thanks to Qifan Zhang,
Palo Alto Networks, for the report.
2026-06-17 15:37:04 +02:00
W.C.A. Wijngaards
8f2fbd66fc
- Fix that malloc failure for ngtcp2_conn_server_new
...
cleans up reference that older ngtcp2 versions can leave.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-17 15:33:06 +02:00
W.C.A. Wijngaards
b5909d8d22
- Fix that malloc failure in doq connection setup, does
...
not crash in doq connection delete later. Thanks to Qifan
Zhang, Palo Alto Networks, for the report.
2026-06-17 15:29:48 +02:00
W.C.A. Wijngaards
fa8e94f155
- Fix that malloc failure for new_local_rrset for RPZ qname
...
trigger RR insert does not crash. It does not link a
partial RRset, and logs an error on failure, and cleans
up the dname allocation. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-06-17 15:26:56 +02:00
W.C.A. Wijngaards
cb5683aeae
- Fix that malloc failure in dns64_inform_super does
...
not set up a half-built reply for cache store, that could
lead to a crash. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-06-17 15:23:25 +02:00
W.C.A. Wijngaards
c9715724ec
- Fix that unbound-control auth_zone_reload stops the
...
server answering from the zone after a failure to read.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-17 15:20:22 +02:00
W.C.A. Wijngaards
78d9cfffd8
- Fix that malloc failure in auth-zone insert rr does
...
not create an empty node and does not cause an infinite
loop. Thanks to Qifan Zhang, Palo Alto Networks, for
the report.
2026-06-17 15:16:21 +02:00
W.C.A. Wijngaards
b47b1d048d
- Fix that unbound-checkconf checks if an auth-zone download
...
can overwrite another file, by filename collision.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-17 15:11:42 +02:00
W.C.A. Wijngaards
740952fb82
- Fix to remove debug from auth_transfer_limit test.
2026-06-17 11:38:24 +02:00
W.C.A. Wijngaards
5c550f4548
- Fix that after fast_reload the disown of the auth zone
...
transfer task cleans the chunk list. Also fix the
auth_transfer_limit test to use a forwarder for each type
of failure, so the one is not blocked by the other waiting.
2026-06-17 11:37:06 +02:00
W.C.A. Wijngaards
3d78cb8d9a
- Fix for #1462 : Fix that auth primary host name lookup
...
allows CNAMEs.
2026-06-16 11:13:47 +02:00
W.C.A. Wijngaards
1ab75c0043
- Fix after malloc failure the rrset_insert_rr in
...
localzone processing, during RPZ qname trigger processing,
the RRset retains its previous data correcly. Thanks to
Qifan Zhang, Palo Alto Networks, for the report.
2026-06-16 10:59:37 +02:00
W.C.A. Wijngaards
bebc8d516b
- Fix incorrect cleanup after an allocation failure for
...
a delegation point in a region. Thanks to Qifan Zhang,
Palo Alto Networks, for the report.
2026-06-16 10:56:36 +02:00
W.C.A. Wijngaards
a7debe7ff6
- Fix that after shared memory cannot be created, from
...
`shm-enable`, the server does not crash. Thanks to Qifan
Zhang, Palo Alto Networks, for the report.
2026-06-16 10:53:40 +02:00
W.C.A. Wijngaards
215e3920ef
- Fix that after malloc failure in find_tag_datas, the
...
local_alias is cleaned up. Thanks to Qifan Zhang, Palo
Alto Networks, for the report.
2026-06-16 10:51:49 +02:00
W.C.A. Wijngaards
aabf28aef5
- Fix incorrect cleanup after an allocation failure for
...
a delegation point. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-06-16 10:49:50 +02:00
W.C.A. Wijngaards
aa09835c90
- Fix for neater solution to clear log thread id after
...
worker init failure. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-06-16 10:48:17 +02:00
W.C.A. Wijngaards
9b9e13b665
- Fix that libunbound pipe functions fail with error after
...
an event base is set. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-06-16 10:44:41 +02:00
W.C.A. Wijngaards
f72e11ef5b
- Fix locking in libunbound ub_ctx_set_event call.
...
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-16 10:42:39 +02:00
W.C.A. Wijngaards
a45e54555d
- Fix that dnscrypt configuration does not crash, due to
...
inconsistency between secret and public keys. Also
duplicate files are skipped. Thanks to Qifan Zhang, Palo
Alto Networks, for the report.
2026-06-16 10:40:10 +02:00
W.C.A. Wijngaards
4693c00c9f
- Fix that after malloc failure in RPZ load a half built
...
list does not crash later. The newly created RRset is
linked after creation has succeeded. Thanks to Qifan Zhang,
Palo Alto Networks, for the report.
2026-06-16 10:35:41 +02:00
W.C.A. Wijngaards
8fe23e0297
- Fix that for a zonefile only zone, if that file does not
...
exist on server start, the server continues to start with
a warning log message. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-06-16 10:26:25 +02:00
W.C.A. Wijngaards
8557788699
- Fix that after malloc failure a half-built local_alias does
...
not crash the server. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-06-16 10:12:19 +02:00
W.C.A. Wijngaards
81a19ebeb3
- Fix that a signed wildcard NSEC, is checked before use,
...
so it does not allow insecure DS proofs inappropriately.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-16 10:09:00 +02:00
W.C.A. Wijngaards
299df5ec77
- Fix that dns64 does not ignore the forward-no-cache and
...
`stub-no-cache` options. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-06-16 09:52:46 +02:00
W.C.A. Wijngaards
6f9b6db7be
- Fix that auth-zone, and RPZ zones, do not allow out-of-zone
...
records. These are records that are not under the zone apex.
The out-of-zone records are dropped from the zone contents.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-16 09:48:10 +02:00
W.C.A. Wijngaards
96f15b9160
- Fix that a half-written trust anchor file does not crash
...
the server at runtime. It unlinks a wrong file from the list.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-16 09:45:10 +02:00
W.C.A. Wijngaards
159384c2a9
- Fix that when SVCB records cannot be written out, and
...
are written in unknown format, that the zone read allows
such unknown format SVCB records. Thanks to Qifan Zhang,
Palo Alto Networks, for the report.
2026-06-16 09:36:33 +02:00
W.C.A. Wijngaards
621fc91453
- Fix to disallow $INCLUDE for secondary zones. Start up
...
of server continues if a secondary zone fails to load.
Failed loads clear the zone data, so there is no partial
zone. Thanks to Qifan Zhang, Palo Alto Networks, for
the report.
2026-06-16 09:30:52 +02:00
W.C.A. Wijngaards
543c49f76c
- Fix that dns64 bypasses rpz-passthru rule during
...
synthesis. This restricted more than necessary. Thanks to
Qifan Zhang, Palo Alto Networks, for the report.
2026-06-15 16:50:42 +02:00
W.C.A. Wijngaards
d0a760a587
- Fix misconfigured ipsecmod hook causing path name
...
similarity with other file. The ipsecmod is changed for
exec of the hook. The ipsecmod hook, if a script, has to
start now with a line like `#!/bin/sh`. Thanks to Qifan
Zhang, Palo Alto Networks, for the report.
2026-06-15 16:45:53 +02:00
W.C.A. Wijngaards
f68cca4097
- Fix DNAME synthesis from cache that keeps use of 0TTL
...
entries in a sliding window. It did not surpass RRSIG
expiry. Thanks to Qifan Zhang, Palo Alto Networks, for
the report.
2026-06-15 16:39:34 +02:00
W.C.A. Wijngaards
3129357874
- Fix log of an aliased qname, to not use freed region
...
memory. Thanks to Qifan Zhang, Palo Alto Networks, for
the report.
2026-06-15 16:34:17 +02:00
W.C.A. Wijngaards
fc09352df6
- Fix that fast_reload does not terminate the server for
...
errors in config, for key files. Thanks to Qifan Zhang,
Palo Alto Networks, for the report.
2026-06-15 16:31:37 +02:00
W.C.A. Wijngaards
06da5d45a3
- Fix integer overflow for very high values of
...
`sock-queue-timeout`. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-06-15 16:28:30 +02:00
W.C.A. Wijngaards
69524cadad
- Fix erroneous DNS error report values after bogus AAAA
...
query caused error information that was not cleared by
a successful A subquery. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-06-15 16:26:35 +02:00
W.C.A. Wijngaards
98e95d80e6
- Fix integer overflow in infra-cache-max-rtt calculation.
...
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-15 16:22:50 +02:00
W.C.A. Wijngaards
2f8aa8a43a
- Fix for fast_reload that removes an auth zone while its
...
lookups are in progress, for a primary name. Also after the
change, it no longer picks up the old results. Thanks to
Qifan Zhang, Palo Alto Networks, for the report.
2026-06-15 16:18:56 +02:00
W.C.A. Wijngaards
56e60e37ae
- Fix that fast_reload when a zonemd verification lookup
...
it in progress with subnet loaded, deregisters the
callback. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-06-15 16:16:50 +02:00
W.C.A. Wijngaards
8f5348ab47
- Fix that misconfigured iter-scrub-ns: 0 causes request
...
failures. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-06-15 16:04:24 +02:00
W.C.A. Wijngaards
c5d693b21c
- Fix buffer overflow when configured with lower than
...
default size and http transfer. Thanks to Qifan Zhang,
Palo Alto Networks, for the report.
2026-06-15 16:01:51 +02:00
W.C.A. Wijngaards
27e3ac55b9
- Fix assertion failure for long HTTP header that fills
...
buffer. Thanks to Qifan Zhang, Palo Alto Networks, for
the report.
2026-06-15 15:54:37 +02:00
W.C.A. Wijngaards
7879218773
Fix comment.
2026-06-15 15:53:00 +02:00
W.C.A. Wijngaards
1354624ba4
- Fix perform a full transfer every number of incremental
...
transfers, to stop increasing memory usage, for auth-zone
and rpz zones. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-06-15 15:51:03 +02:00
W.C.A. Wijngaards
153f8d5353
- Fix to add max-transfer-size and max-transfer-time that
...
limit auth-zone and rpz transfer amount and time taken.
Default is disabled. This hardens against unbounded
transfers. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-06-15 15:45:03 +02:00
W.C.A. Wijngaards
a1cecf7462
- Fix that for auth-zone and rpz zones the allow-notify
...
addresses and netblocks are available from start, and
fix the probe step skip.
2026-06-12 11:48:14 +02:00
W.C.A. Wijngaards
e2dac8a00a
- Fix compile for OpenSSL 1.0.2 and before in server cleanup.
2026-06-11 17:31:19 +02:00
W.C.A. Wijngaards
ecd41bef27
- Fix #1437 : Fix compile with OpenSSL 4.0.1.
2026-06-11 17:31:01 +02:00
W.C.A. Wijngaards
fd2131687a
- Fix for #1306 : configure checks if the ngtcp2_crypto_ossl
...
header file is available, and prints an error otherwise.
2026-06-11 11:43:46 +02:00
W.C.A. Wijngaards
316b9ab4fc
- Fix for #1306 : configure detects specifically the call to
...
SSL_set_quic_tls_early_data_enabled and
SSL_set_quic_early_data_enabled, so the correct one is used.
2026-06-11 11:04:50 +02:00
W.C.A. Wijngaards
d45daaf313
- Fix warnings with gcc in compat/inet_pton.c.
2026-06-10 16:43:41 +02:00
W.C.A. Wijngaards
db1c6d6557
- Fix pythonmod script read for numeric overflow.
2026-06-10 11:24:02 +02:00
W.C.A. Wijngaards
e7a713a525
- Fix unit test for ecs to check for malloc success.
2026-06-09 16:41:37 +02:00
Alex Band and GitHub
39e67508c9
change mailing list to forum
2026-06-08 21:48:04 +02:00
W.C.A. Wijngaards
3eab974ca2
- Fix that dns64 cleans up the allocated message if the adjust
...
routines fail, and checks if there is a reply before cache
store, also unbound checks if A and AAAA are malformed
for auth-zones. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-06-03 14:56:20 +02:00
W.C.A. Wijngaards
b1d1dcb3b6
- Fix that dump_cache has a larger buffer for records,
...
and it checks that an owner name does not collide with BADRR
on the input, and changes verbosity on the log of failure in
rrset to string. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-06-03 14:51:16 +02:00
W.C.A. Wijngaards
10cb62aca2
- Fix that validation canonicalization of domain names
...
in rdata checks for buffer bounds. Thanks to Qifan Zhang,
Palo Alto Networks, for the report.
2026-06-03 14:48:06 +02:00
W.C.A. Wijngaards
6da73aba38
- Fix fast_reload for when a ZONEMD lookup is in progress.
...
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-03 14:42:47 +02:00
W.C.A. Wijngaards
1b1b9626ee
- Fix negative cache NSEC3 nodata proof, to use the correct
...
message size. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-06-03 14:40:17 +02:00
W.C.A. Wijngaards
8bc074043a
- Fix PROXYv2 header read and consume, it checks the header
...
size. Thanks to Qifan Zhang, Palo Alto Networks for
the report.
2026-06-03 14:37:37 +02:00
W.C.A. Wijngaards
04a6322aa4
- Fix ipset module to use larger domain name buffers, and
...
check buffer lengths. Thanks to Qifan Zhang, Palo Alto
Networks for the report.
2026-06-03 14:35:06 +02:00
W.C.A. Wijngaards
5748f518d1
- Fix that quotation and escaping works the same in auth-zone
...
url content, as in the zonefile read. Thanks to Qifan Zhang,
Palo Alto Networks for the report.
2026-06-03 14:32:14 +02:00
W.C.A. Wijngaards
d05eff4d54
- Fix parse of svcbparam ech, it had incorrect length. Thanks
...
to Qifan Zhang, Palo Alto Networks for the report.
2026-06-03 14:05:48 +02:00
Yorgos Thessalonikefs
4544eaa4cc
- Fix const as reported by newest compiler warnings.
2026-06-03 14:00:04 +02:00
W.C.A. Wijngaards
5d0770d0ad
- Fix negative cache to work with NSEC3 records without salt.
...
Thanks to Xin Wang, Jiapeng Li, and Jiajia Liu, Northwestern
Polytechnical University, for the report.
2026-06-03 13:56:31 +02:00
W.C.A. Wijngaards
7f4beb846e
- Fix that the processing of class responses does not have
...
a heap use-after-free. That could happen if at least two
distinct classes are configured for resolution. Thanks
to Qifan Zhang, Palo Alto Networks for the report.
In addition, thanks to Xin Wang, Jiapeng Li, and Jiajia
Liu, Northwestern Polytechnical University, for also
reporting this.
2026-06-03 12:14:30 +02:00
W.C.A. Wijngaards
8e8c04e1b9
- Fix unit test to check for new icannbundle.pem.
2026-05-29 12:10:40 +02:00
W.C.A. Wijngaards
bf0da2ed21
- Update icannbundle.pem certificates in unbound-anchor. It
...
has the public keys for 2009 to 2029 and for 2025 to 2045.
2026-05-29 12:10:07 +02:00
W.C.A. Wijngaards
670ece06df
- iana portlist updated.
2026-05-29 11:54:40 +02:00
W.C.A. Wijngaards
9e41903be8
- Fix header_seen detection for trust anchor files, so that it
...
detects the id line.
2026-05-29 11:54:03 +02:00
W.C.A. Wijngaards
57f92cc97e
- Fix #1457 : race condition causes segfault when starting
...
threads.
2026-05-28 09:34:04 +02:00
W.C.A. Wijngaards
c0741ccc68
- Fix analyzer warning in mesh_new_client.
2026-05-27 16:03:15 +02:00
W.C.A. Wijngaards
fb2745024a
- Fix that validator caps number of ANY RRsets it can
...
validate, and the wait timer is shortened. Thanks to Qifan
Zhang, Palo Alto Networks, for the report.
2026-05-27 13:38:10 +02:00
W.C.A. Wijngaards
0c15ddd133
- Fix ipset module for name too long checks, race conditions
...
on local name buffer, and for socket close race condition.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-05-27 13:34:32 +02:00
W.C.A. Wijngaards
b53504049c
- Fix that dns64 with subnetcache does not write ECS scoped
...
answers to global cache. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-05-27 13:31:11 +02:00
W.C.A. Wijngaards
a5324e58eb
- Fix, in depth, for respip rewrite of dns64 responses. Thanks
...
to Qifan Zhang, Palo Alto Networks, for the report.
2026-05-27 13:28:41 +02:00
W.C.A. Wijngaards
963cd68535
- Fix manual to document ratelimit, that it is for target
...
nameservers for a domain, and keeps queries limited. Thanks
to Qifan Zhang, Palo Alto Networks, for the report.
2026-05-27 13:24:44 +02:00
W.C.A. Wijngaards
047df73887
- Fix to decrement the per-netblock tcp connection limits, so
...
it keeps usable. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-05-27 13:20:35 +02:00
W.C.A. Wijngaards
d2e1ea7d19
- Fix to reset the tcp-timeout before applying a load based
...
reduction. Thanks to Qifan Zhang, Palo Alto Networks, for the
report.
2026-05-27 13:17:35 +02:00
W.C.A. Wijngaards
fbbe95ba5b
- Fix that msgencode insert_query has the correct assertion,
...
for a local_alias. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-05-27 12:20:04 +02:00
W.C.A. Wijngaards
758c649611
- Fix that the ratelimit is decremented on successful
...
referrals. Thanks to Qifan Zhang, Palo Alto Networks, for
the report.
2026-05-27 12:16:23 +02:00
W.C.A. Wijngaards
a23f95f620
- Fix to limit the DSNS per-label walk in the iterator. Thanks
...
to Qifan Zhang, Palo Alto Networks, for the report.
2026-05-27 12:12:39 +02:00
W.C.A. Wijngaards
5363570df0
- Fix for autotrust state-file line overflow, that can give
...
hold-down bypass. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-05-27 12:09:01 +02:00
W.C.A. Wijngaards
368857a45b
- Fix for mesh new client and mesh new callback to rollback the
...
added address, tcp mesh state and callback when there is a failure
to initialize. This fixes the mesh accounting of reply addresses.
Thanks to Xin Wang, Jiapeng Li, and Jiajia Liu, Northwestern
Polytechnical University, for the report
2026-05-26 16:20:11 +02:00
W.C.A. Wijngaards
40b16d0565
- Fix for signed same-owner CNAME and ordinary RRset responses.
...
Thanks to Xin Wang and Jiajia Liu, Northwestern Polytechnical
University, for the report.
2026-05-20 16:30:37 +02:00
W.C.A. Wijngaards
08e901a1ac
- Fix cleaning up DoH session. The same query can be on multiple
...
streams in a session. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-05-20 15:04:12 +02:00
W.C.A. Wijngaards
bc703c9129
- Fix lame server detection, for selfpointed glue records.
...
Thanks to Shuhan Zhang, Dan Li, and Baojun Liu from Tsinghua
University for the report.
2026-05-20 15:01:42 +02:00
W.C.A. Wijngaards
9ce52de6c1
- Fix in depth for serve-expired responses from cachedb, that it
...
does not store bogus. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-05-20 14:58:26 +02:00
W.C.A. Wijngaards
b3aa262477
Remove the debug file.
2026-05-20 12:43:08 +02:00
W.C.A. Wijngaards
25e112c674
- Unit test for CVE-2026-44390.
2026-05-20 12:42:04 +02:00
W.C.A. Wijngaards
0d2282d551
- Unit test for CVE-2026-42960.
2026-05-20 12:40:32 +02:00
W.C.A. Wijngaards
b5f21f4165
- Unit test for CVE-2026-40622.
2026-05-20 12:37:17 +02:00
W.C.A. Wijngaards
d357935f66
- Unit test for CVE-2026-42959.
2026-05-20 12:35:38 +02:00
W.C.A. Wijngaards
9d2e0f1c02
- Unit test for CVE-2026-42944.
2026-05-20 12:34:16 +02:00
W.C.A. Wijngaards
b46ff5c18e
- Unit test for CVE-2026-33278.
2026-05-20 12:32:43 +02:00
W.C.A. Wijngaards
f597105800
- Tag for 1.25.1 release, it contains the security fixes on 1.25.0.
...
the code repository continues with in addition the previous fixes,
for 1.25.2.
2026-05-20 11:31:53 +02:00
W.C.A. Wijngaards
3692517a41
Merge branch 'branch-1.25.1'
2026-05-20 11:19:56 +02:00
W.C.A. Wijngaards
75b6dba593
- Fix CVE-2026-44608, Use after free and crash in RPZ code. Thanks
...
to Qifan Zhang, Palo Alto Networks, for the report.
2026-05-20 10:22:52 +02:00
W.C.A. Wijngaards
138fb48eac
Changelog entry.
...
- Fix CVE-2026-44390, Unbounded name compression in certain cases
causes degradation of service. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-05-20 10:22:10 +02:00
W.C.A. Wijngaards
dae7a37974
- Fix CVE-2026-44390, Unbounded name compression in certain cases
...
causes degradation of service. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-05-20 10:21:26 +02:00
W.C.A. Wijngaards
8ae4b4545d
- Fix CVE-2026-42960, Possible cache poisoning attack while following
...
delegation. Thanks to TaoFei Guo from Peking University, Yang Luo
and JianJun Chen, Tsinghua University, for the report.
2026-05-20 10:20:45 +02:00
W.C.A. Wijngaards
c343fff3a4
- Fix CVE-2026-42923, Degradation of service with unbounded NSEC3
...
hash calculations. Thanks to Qifan Zhang, Palo Alto Networks, for
the report.
2026-05-20 10:20:02 +02:00
W.C.A. Wijngaards
a794c87578
- Fix CVE-2026-42534, Jostle logic bypass degrades resolution
...
performance. Thanks to Qifan Zhang, Palo Alto Networks, for the
report.
2026-05-20 10:19:08 +02:00
W.C.A. Wijngaards
ef5ca84360
- Fix CVE-2026-41292, Parsing a long list of incoming EDNS options
...
degrades performance. Thanks to GitHub user 'N0zoM1z0', also Qifan
Zhang from Palo Alto Networks, for the report.
2026-05-20 10:18:23 +02:00
W.C.A. Wijngaards
8d8fa42266
- Fix CVE-2026-40622, "Ghost domain name" variant. Thanks to Qifan
...
Zhang, Palo Alto Networks, for the report.
2026-05-20 10:16:18 +02:00
W.C.A. Wijngaards
a587535c5d
- Fix CVE-2026-32792, Packet of death with DNSCrypt. Thanks to Andrew
...
Griffiths from 'calif.io' for the report.
2026-05-20 10:15:30 +02:00
W.C.A. Wijngaards
94d5babaee
- Fix CVE-2026-42959, Crash during DNSSEC validation of malicious
...
content. Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-05-20 10:14:32 +02:00
W.C.A. Wijngaards
fe946ba4e9
- Fix CVE-2026-42944, Heap overflow and crash with multiple nsid,
...
cookie, padding EDNS options. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-05-20 10:13:55 +02:00
W.C.A. Wijngaards
6a31e470f8
- Fix CVE-2026-33278, Possible remote code execution during DNSSEC
...
validation. Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-05-20 10:13:08 +02:00
W.C.A. Wijngaards
e577695aeb
Set version to 1.25.1 for release.
2026-05-20 10:11:15 +02:00
W.C.A. Wijngaards
a58bd6cb1e
- Fix for mixed class referrals, the resolver uses the query
...
class. Thanks to Xin Wang and Jiajia Liu, Northwestern
Polytechnical University, for the report.
2026-05-18 16:42:39 +02:00
W.C.A. Wijngaards
4bad944ae4
- Fix DNSKEY size calculation for noncanonical RSA DNSKEYs
...
with leading zeroes for n. Thanks to Xin Wang and Jiajia Liu,
Northwestern Polytechnical University, for the report.
2026-05-15 16:22:59 +02:00
W.C.A. Wijngaards
594182f109
- Fix DNSSEC validation with libnettle for noncanonical RSA
...
DNSKEYs with leading zeroes for n. Thanks to Xin Wang and
Jiajia Liu, Northwestern Polytechnical University, for
the report.
2026-05-15 16:20:52 +02:00
W.C.A. Wijngaards
53c261cb33
- Fix for allocation-failure hardening of rrset cache wildcard
...
storage and canonical NSEC owner replacement. Thanks to Xin
Wang and Jiajia Liu, Northwestern Polytechnical University,
for the report.
2026-05-15 16:00:58 +02:00
W.C.A. Wijngaards
8703d9a5be
- Fix that for dns64 answers, the AAAA query is checked to be
...
DNSSEC validated, when DNSSEC is enabled. This improves
the RFC6147 conformance of Unbound. Thanks to Xin Wang
and Jiajia Liu, Northwestern Polytechnical University, for
the report. In addition, thanks to Qifan Zhang, Palo Alto
Networks, for reporting it.
2026-05-15 15:43:18 +02:00
W.C.A. Wijngaards
aa9f1e68ff
- Fix val_find_DS for robustness, to check the result of
...
packet_rrset_copy_region before using it. Thanks to Xin Wang
and Jiajia Liu, Northwestern Polytechnical University, for
the report.
2026-05-15 14:27:18 +02:00
W.C.A. Wijngaards
84a4f556b1
Merge branch 'master' of github.com:NLnetLabs/unbound
2026-05-15 08:42:40 +02:00
W.C.A. Wijngaards
5b166dbf0a
- Fix man page entry for so-sndbuf, it is for responses sent out.
2026-05-15 08:42:27 +02:00
Yorgos Thessalonikefs
9e2233b821
- Fix another comment for EDNS fallback buffer size.
2026-05-14 13:11:17 +02:00
Yorgos Thessalonikefs
13716dc8be
- Fix comment and verbose logging for EDNS fallback buffer size.
2026-05-11 20:39:38 +02:00
W.C.A. Wijngaards
8ada1bd88d
- Fix to relax assertions after the TTL 0 handling change.
...
This relaxes an assertion in cachedb (it fails instead),
and for packet_rrset_copy_region.
2026-05-08 10:09:41 +02:00
W.C.A. Wijngaards
9c80bb9fb0
- Fix to clean up log ids after a failure to start a worker thread.
2026-05-07 14:42:29 +02:00
W.C.A. Wijngaards
33e2863862
- Fix for Heap Out-of-Bounds Write via size_t-to-int Truncation
...
in setup_if() - outside_network_create(). This fixes that
large values for num_ports do not overflow and create
invalid references after integer truncation. Thanks
to Karnakar Reddy (@karnakarreddi) for the report.
2026-05-07 14:40:48 +02:00
W.C.A. Wijngaards
027e23a11d
- iana portlist updated.
2026-05-01 11:25:49 +02:00
W.C.A. Wijngaards
62e8db1c6a
- Fix windows 64bit build for libssp dependency.
2026-04-29 15:06:09 +02:00
W.C.A. Wijngaards
581b2f31bc
- tag for 1.25.0. The code repository continues with 1.25.1 in
...
development.
2026-04-29 12:10:23 +02:00
W.C.A. Wijngaards
25fe602024
- For #1441 : Fix type of ipv6 addr struct.
2026-04-23 09:37:30 +02:00
W.C.A. Wijngaards
df0e86de49
Changelog entry for #1441 .
...
- Merge #1441 : Fix buffer overrun in
doq_repinfo_retrieve_localaddr().
2026-04-23 09:35:44 +02:00
Fothsid and GitHub
e49b550cf3
Fix buffer overrun in doq_repinfo_retrieve_localaddr() ( #1441 )
2026-04-23 09:35:23 +02:00
W.C.A. Wijngaards
07c96792f2
- Fix doxygen comment syntax.
2026-04-21 13:44:55 +02:00
W.C.A. Wijngaards
84ab430e11
- Set version number to 1.25.0 of code repository.
2026-04-21 13:27:55 +02:00
W.C.A. Wijngaards
53499e4a88
- Fix handling of wildcard CNAMEs in the chain of trust.
...
An improper wildcard in the chain of trust would send
the retries to the wrong upstream. Also it could label
the step in the chain of trust as secure, when it was not.
Thanks to Qifan Zhang, Palo Alto Networks for the report.
2026-04-21 13:24:40 +02:00
W.C.A. Wijngaards
8a25a97687
- Fix that a DNAME with an unsigned CNAME is checked for
...
the correct match. This stops that for certain zone
configurations an unchecked unsigned CNAME could get
secure status. Thanks to Qifan Zhang, Palo Alto Networks
for the report.
2026-04-21 13:19:13 +02:00
W.C.A. Wijngaards
c112bcf2fd
- Fix that signatures are not allowed with revoked dnskeys.
...
Thanks to Qifan Zhang, Palo Alto Networks for the report.
2026-04-21 13:07:34 +02:00
W.C.A. Wijngaards
9de549c498
- Fix that upstream TLS connections are not reused as TLS
...
connections for a different name, at the same IP. This
checks that the tls name is correct when reusing the
upstream connections. Thanks to TaoFei Guo from Peking
University and JianJun Chen from Tsinghua University for
the report.
2026-04-21 11:59:05 +02:00
W.C.A. Wijngaards
84c645e7b3
- Fix for missing bounds check for decompressing dnames
...
for downloaded authority zones. This fixes that the server
could end up with malformed zone content after receiving
truncated packet contents from an AXFR. In addition, the
domain names in the SOA rdata are checked before the
authority code picks up the zone serial.
Thanks to Halil Oktay for the report.
2026-04-21 10:32:37 +02:00
W.C.A. Wijngaards
197a425c7d
- Fix for iterator RCODE handling of YXDOMAIN. This fixes
...
that the server only accepts YXDOMAIN answers that contain
a DNAME record. This stops bad answers, and checks that
the authoritative server gives correct replies.
Thanks to Qifan Zhang, Palo Alto Networks for the report.
2026-04-21 10:09:02 +02:00
W.C.A. Wijngaards
311054728d
- Fix EDNS extended RCODE reflection. This fixes that
...
the server does not echo extended rcode values after class
chaos queries. Thanks to Qifan Zhang, Palo Alto Networks
for the report.
2026-04-21 09:58:19 +02:00
W.C.A. Wijngaards
6d74856212
- Fix for the Jiggle Attack. The server is fixed to answer
...
with errors for error cases, and does not stay silent.
In addition, the error replies do not contain parts of the
incoming query. This is more conformant, stops reflection
and stops it as a covert channel. Thanks to Yuqi Qiu and
Xiang Li, Nankai University (AOSP Lab) for the report.
In addition, thanks to Qifan Zhang, Palo Alto Networks, for
noting the fingerprinting possibility, that is also fixed
with this.
2026-04-21 09:54:17 +02:00
W.C.A. Wijngaards
d489e6027e
- Add test case for malformed SVCB records. Thanks to
...
Qifan Zhang, Palo Alto Networks for the additional test.
2026-04-21 09:41:53 +02:00
W.C.A. Wijngaards
e1d146d6b0
- Fix test with https zone for libressl.
2026-04-20 16:10:33 +02:00
W.C.A. Wijngaards
eb2fe8df8d
- Fix unused variable warning when compiled without ssl.
2026-04-20 12:24:55 +02:00
W.C.A. Wijngaards
86a8be75f0
- Fix compile warnings for thread setname routine, and test compile.
2026-04-20 12:24:28 +02:00
W.C.A. Wijngaards
52fc5ee374
- Fix pthread_setname detection to fail on warnings.
2026-04-17 17:13:14 +02:00
W.C.A. Wijngaards
82359c8fb1
- Update generated configure, with autoconf.
2026-04-17 17:00:09 +02:00
W.C.A. Wijngaards
c996671a1f
- Update generated man pages.
2026-04-17 16:32:02 +02:00
Yorgos Thessalonikefs
e233a1ef65
Changelog entry for #1400 :
...
- Merge #1400 : Support pthread_setname_np.
2026-04-17 16:23:53 +02:00
Yorgos Thessalonikefs
06ff9f20d0
Merge branch 'features/pthread-setname'
2026-04-17 16:22:04 +02:00
W.C.A. Wijngaards
af209a12ea
- Fix subnet store of servfail to not leak memory.
2026-04-17 13:48:38 +02:00
W.C.A. Wijngaards
84ac7e1b58
- Fix ttl comparisons in rdata_copy for 32bit signed or unsigned.
2026-04-17 13:27:41 +02:00
W.C.A. Wijngaards
24d502763c
- Fix to increase size of the buffer for the win_svc reportev log
...
function.
2026-04-17 11:05:31 +02:00
W.C.A. Wijngaards
99c61c19ac
- Fix compat/gmtime_r old style definition syntax.
2026-04-17 11:05:15 +02:00
W.C.A. Wijngaards
cb05e9d525
- Fix compat/chacha_private sigma and tau definitions to use
...
nonstring attribute.
2026-04-17 11:04:51 +02:00
W.C.A. Wijngaards
abddd4e270
- Update github ci cross platform to use
...
cross-platform-actions/action@v1.0.0.
- Fix github ci to speed up with parralel build, for windows ci.
2026-04-17 10:41:24 +02:00
W.C.A. Wijngaards
656b412492
- Update github ci to use actions/checkout@v6.
2026-04-17 10:13:06 +02:00
W.C.A. Wijngaards
f15a46fcd4
- Fix to compile the shm code when there is no shmget.
2026-04-17 09:42:35 +02:00
W.C.A. Wijngaards
8d434bf744
- Fix setup of ssl context copy, to check for the tls service
...
pem option for stat calls.
2026-04-17 09:34:06 +02:00
W.C.A. Wijngaards
13b269d398
- Fix setup of ssl context copy of the tls service pem option,
...
from a clang analyzer warning.
2026-04-17 09:29:10 +02:00
Yorgos Thessalonikefs
7aff88881a
- Fix cleaning up DoH session. The same query can be on multiple
...
streams in a session.
2026-04-16 11:01:07 +02:00
W.C.A. Wijngaards
b97bd3a1fc
- Fix configure, autoconf for #1406 .
2026-04-16 10:55:57 +02:00
Yorgos Thessalonikefs
6aa5ad85f4
Changelog entry for #1406 :
...
- Merge #1406 : Introduce new 'tls-protocols' configuration option.
2026-04-16 10:53:01 +02:00
42b19c20c1
Introduce new 'tls-protocols' configuration option ( #1406 )
...
- Introduce new 'tls-protocols' configuration option that specifies
which of the supported TLS protocols will be used.
This change invalidates some previous changes:
- TLSv1.2 is again enabled by default, but can be selectively turned off if
desired (related to #1303 ).
- The biefly introduced (not yet released) 'tls-use-system-versions'
configuration option, that addressed #1346 , is reverted in favor of
'tls-protocols'.
- The briefly introduced (not yet released) '--enable-system-tls'
configure option, related to #1401 , is no longer needed with the new
option and the current default.
- Review comment for checking out of memory condition
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com >
2026-04-16 10:38:24 +02:00
W.C.A. Wijngaards
db1fe8b475
- Fix to shorten RRSIG count in scrubber, this protects against
...
an overly large number of RRSIGs. It can be configured with
`iter-scrub-rrsig: 8`, it has default 8. Thanks to Yuxiao Wu,
Tsinghua University for the report.
2026-04-15 11:41:28 +02:00
W.C.A. Wijngaards
f4f964f4fb
- Fix RFC7766 compliance when client sends EOF over TCP. It stops
...
pending replies and closes. Thanks to Yuxiao Wu, Tsinghua
University for the report.
2026-04-15 11:29:07 +02:00
W.C.A. Wijngaards
a2272860de
- iana portlist updated.
2026-04-14 15:36:33 +02:00
W.C.A. Wijngaards
95083d4377
- Fix clang analyzer warning for subnetmod, when return_msg is
...
NULL for update cache, like when it stores servfail status.
2026-04-14 15:36:00 +02:00
W.C.A. Wijngaards
5ce0bf5281
- Fix #1017 : memory corruption related core dumps.
...
When alloc_reg_obtain has an empty list, return a new allocation.
2026-04-14 15:34:59 +02:00
Yorgos Thessalonikefs
6a0d5e2cb1
- Update the documentation of 'max-query-restarts' in the man page.
2026-04-13 18:07:01 +02:00
W.C.A. Wijngaards
330d5211c9
- Fix for EDNS client subnet so that it does not store SERVFAIL in
...
the global cache after a failed lookup, such as timeouts. A failure
entry is stored in the subnet cache, for the query name, for a
couple of seconds. Queries can continue to use the subnet cache
during that time.
2026-04-10 15:45:28 +02:00
Yorgos Thessalonikefs
2dc28a249a
- Fix unused variable warning.
2026-04-07 18:03:20 +02:00
W.C.A. Wijngaards
c5f14dc880
Changelog comment for #1408
...
- Merge #1408 : Fix shared memory stats with threads.
2026-03-30 16:15:32 +02:00
a2ace114de
Fix shared memory stats with threads ( #1408 )
...
* - stats-shm-volley, with mesh_time_median the additions add up to the correct
average that is used.
* - stats-shm-volley, the stat interval is selected with offset.
* - stats-shm-volley, stat totals in separate struct. The first thread zeroes
it, and the last thread copies it.
* - stats-shm-volley, the array is inited for a new round if one or more
* - stats-shm-volley, the array is inited for a new round if one or more
threads are not responsive for stat collection.
* - stats-shm-volley review, typos and slightly more detailed text for comments.
---------
Co-authored-by: Yorgos Thessalonikefs <yorgos@nlnetlabs.nl >
2026-03-30 16:13:11 +02:00
W.C.A. Wijngaards
2e9b880718
- Fix defense in depth for service callback with empty packet.
2026-03-27 15:42:45 +01:00
W.C.A. Wijngaards
a0ec6cd946
- Fix test code to allow empty hex answer packets from testbound.
2026-03-27 15:39:27 +01:00
W.C.A. Wijngaards
ea36979c40
- Fix to allow the control-interface config to use ip@port notation.
2026-03-27 14:29:15 +01:00
W.C.A. Wijngaards
315077b9e6
- Fix to check for invalid http content length and chunk size,
...
and to check the RR rdata field lengths when decompressing and
inserting RRs from an authority zone transfer. This stops
large memory use and heap buffer-overflow read errors. Thanks
to Haruto Kimura (Stella) for the report.
2026-03-24 08:45:52 +01:00
W.C.A. Wijngaards
535d899bef
- Fix for testcode pktview to check buffer size and log errors.
2026-03-20 15:57:46 +01:00
W.C.A. Wijngaards
8656cfd4c8
- Fix to add tls-service-key to memory printout for fast_reload.
2026-03-13 16:49:34 +01:00
W.C.A. Wijngaards
8f44ddb7de
- Fix detection of http listening port in fast_reload.
2026-03-13 16:37:41 +01:00
W.C.A. Wijngaards
4484dc3954
- For #278 : fast_reload can reload tls-service-key, tls-service-pem
...
and tls-cert-bundle changes. It checks the modification time of
the tls-service-key and tls-service-pem files for update.
2026-03-13 16:25:42 +01:00
W.C.A. Wijngaards
eb3bba0724
- iana portlist updated.
2026-03-13 12:05:33 +01:00
W.C.A. Wijngaards
2eff1d8ab5
- Fix #278 : DoT: complete unbound restart required on certificate
...
renew. Fix so that a reload checks if the files have changed, and
if so, reload the contexts. Also for DoH, DoQ and outgoing DoT.
2026-03-13 11:42:34 +01:00
Yorgos Thessalonikefs
4672fa5b53
- Fix to ignore out-of-zone DNAME records for CNAME synthesis. Thanks
...
to Yuxiao Wu, Yiyi Wang, Zhang Chao, Baojun Liu, and Haixin Duan from
Tsinghua University.
2026-03-13 11:28:32 +01:00
W.C.A. Wijngaards
18029fc44f
Changelog comment for #1418
...
- Merge #1418 : Apply cache TTL policy to DNAME and synthesized
CNAME on wire path.
2026-03-09 13:54:37 +01:00
Arunabha Das and GitHub
5c6f56f8f1
Apply cache TTL policy to DNAME and synthesized CNAME on wire path ( #1418 )
...
When the scrubber synthesizes a CNAME from a DNAME (authority omits CNAME),
apply cache-min-ttl/cache-max-ttl to both DNAME and synthesized CNAME in
msg_parse so they stay equal and respect config (RFC 6672).
- iterator/iter_scrub.c: In synth_cname_rrset(), clamp TTL to [MIN_TTL,
MAX_TTL] when !SERVE_ORIGINAL_TTL and write back to both synth CNAME
and DNAME rrset. Removes FIXME.
2026-03-09 13:53:52 +01:00
W.C.A. Wijngaards
9af29c3ed1
- Fix compile failure in unbound-checkconf for older gcc compiler.
2026-03-09 09:18:43 +01:00
Yorgos Thessalonikefs
76ef8c5803
- Constrain the explicit macros for remote.c:fr_atomic_copy_cfg().
2026-03-06 17:27:21 +01:00
Yorgos Thessalonikefs
94ef1a8fee
- Warn for unused 'nodefault' local-zone configuration in
...
unbound-checkconf (related to #1416 ).
2026-03-06 17:05:57 +01:00
Yorgos Thessalonikefs
683241a2f5
- Document the suggestion for a higher value for 'outgoing-range';
...
helps when the request list is full.
2026-03-06 17:01:41 +01:00
W.C.A. Wijngaards
92ab54641e
Changelog entry for #1415
...
- Merge #1415 : Add lock unlock for view in memory error handling.
2026-03-06 08:58:33 +01:00
Andy Warner and GitHub
da3812953a
Add lock unlock for view in memory error handling ( #1415 )
...
view->lock would be skipped during an out of memory error bailout.
2026-03-06 08:57:54 +01:00
W.C.A. Wijngaards
1bd7c8dfee
- Update generated man pages.
2026-03-05 12:15:54 +01:00
W.C.A. Wijngaards
8f96ae7acf
- Fix for DNS Rebinding Bypass via SVCB/HTTPS Records in Unbound.
...
Thanks to Kunta Chu, School of Software, Tsinghua University,
Taofei Guo, Peking University, and Jianjun Chen, Institute for
Network Sciences and Cyberspace, Tsinghua University for the
report. The private-address option is fixed to also elide
SVCB and HTTPS records that match the filter.
2026-03-05 09:47:13 +01:00
Yorgos Thessalonikefs
c4f8e60c85
- For #1411 : Introduce a failing case in the rpl test so that it only
...
passes with the fix in place.
2026-03-04 13:22:42 +01:00
W.C.A. Wijngaards
a296b248b0
- For #1411 : Fix that the lookup for DNAME uses flag. Fix assertion
...
in expired calc debug routine.
2026-03-03 17:44:31 +01:00
W.C.A. Wijngaards
1ef131299a
For #1411 , fix up doc/Changelog.
2026-03-03 08:55:56 +01:00
Arunabha Das and GitHub
5b58a872ef
Allow synthesized DNAME TTL=0 to be served from cache within grace period ( #1411 )
...
* Allow synthesized DNAME TTL=0 to be served from cache within grace period
Addresses doc/TODO: cache TTL=0 packets properly for synthesis.
- rrset_cache_lookup: allow TTL=0 DNAME within 1s grace for synthesis
- synth_dname_msg: support PACKED_RRSET_UPSTREAM_0TTL, return TTL=0 to client
Reduces recursion when authoritative servers return DNAME with TTL=0 (RFC 2308).
Client response still correctly returns TTL=0.
Note: Test with proper TTL=0 DNSSEC RRSIGs omitted - requires ldns-signzone
to generate valid signatures for TTL=0 RRsets.
* Add iter_dname_ttl0.rpl replay test for DNAME TTL=0
Tests signed DNAME with TTL=0 and RRSIG Original TTL=0 (RFC 4034).
Verifies end-to-end handling of TTL=0 DNAME responses.
2026-03-03 08:51:31 +01:00
W.C.A. Wijngaards
94b04d6d46
- Update generated man pages.
2026-02-27 14:33:55 +01:00
W.C.A. Wijngaards
f1a65eb4e8
For #1409 : Changelog entry and more text.
2026-02-27 13:55:25 +01:00
Daisuke HIGASHI and GitHub
38e1e3eec3
Documentation CNAME in redirect-type local-zone ( #1409 )
2026-02-27 13:37:56 +01:00
W.C.A. Wijngaards
bff3d762ff
- Fix validator to set unchecked when validation recursion
...
requests are passed. The edns subnet module checks if validation
is needed for a cache response, and set the validator to protect
the cache with validation for non-subnet lookups.
2026-02-25 10:59:33 +01:00
Yorgos Thessalonikefs
fb322f3e87
- Fixed some typos reported in #1395 by rezky_nightky.
2026-02-23 16:17:40 +01:00
Yorgos Thessalonikefs
2feee13735
- Fix to disallow cache lookup/store in external cachedb when a
...
forwarder/stub forbids it with the no-cache option.
2026-02-23 14:35:50 +01:00
W.C.A. Wijngaards
1d36696462
- Fix to make the cachedb_val_expired.crpl succeed.
2026-02-23 12:52:10 +01:00
W.C.A. Wijngaards
aa4e2a9e69
- Fix to have cachedb not return expired bogus data as non-bogus.
2026-02-23 12:45:14 +01:00
W.C.A. Wijngaards
8e04d04949
- For #1405 : local-zone always_refuse also blocks queries of type DS.
2026-02-17 15:36:08 +01:00
W.C.A. Wijngaards
c5627dbd52
- Fix to remove unused conditional from cookie timestamp at
...
worker env.
2026-02-17 11:15:15 +01:00
W.C.A. Wijngaards
014ed9c5ff
- Fix that cachedb aggressive negative responses have the RA flag set.
2026-02-16 16:35:37 +01:00
Yorgos Thessalonikefs
16e1e6d375
- Fix #1404 : Priming the root key fails after loading ipfire.org RPZ
...
zones. Fixed by including the ZONEMD RRtype in the list of types to
ignore for RPZ zones. Analysis and patch provided by ummeegge.
2026-02-16 13:37:19 +01:00
W.C.A. Wijngaards
1a9a4e4ca1
- Fix #1403 : Inconsistency between do-nat64 and do-not-query-address
...
during retries.
2026-02-11 16:01:30 +01:00
W.C.A. Wijngaards
f7f638e18f
- Update generated man pages.
2026-02-09 16:11:17 +01:00
W.C.A. Wijngaards
c956aea93d
Changelog note and documentation for #1401 .
...
- Merge #1401 : Add a new build-time option for system TLS.
The --enable-system-tls flag enables the
tls-use-system-policy-versions setting by default.
2026-02-09 16:05:28 +01:00
Petr Menšík and GitHub
4556a4f490
Add a new build-time option for system TLS ( #1401 )
...
We want to use crypto-policy provided configuration always in our
builds. Allow changing the default of tls-use-system-policy-versions at
build time by a simple configure parameter.
2026-02-09 15:57:16 +01:00
Yorgos Thessalonikefs
1cdddf0fe9
- Fix #1389 : [FR] replacement with ECC-GOST12 according to RFC9558.
...
Patch contributed by Igor V. Ruzanov, available in
contrib/gost12.patch.
2026-02-06 14:39:23 +01:00
Yorgos Thessalonikefs
18fec256b7
- Support pthread_setname_np, and variants, to set the name on spawned
...
threads for easier debugging/monitoring.
2026-02-06 14:17:04 +01:00
W.C.A. Wijngaards
567c70dada
Fix attribution of fix.
2026-02-04 14:17:56 +01:00
W.C.A. Wijngaards
8b4b2a88f7
- Fix local privilege escalation on Windows. Thanks to Hao Huang
...
for the report. The OpenSSL init calls are set to not load
the openssl.cnf file when compiled for Windows.
2026-02-04 11:54:11 +01:00
Yorgos Thessalonikefs
faf40c97fc
- Eagerly remove .skip mark files in between mini_tdir.sh runs in case
...
there has been a change on the environment.
2026-02-03 15:08:59 +01:00
W.C.A. Wijngaards
daa016e3e4
- Add test for allow-notify with a host name.
2026-01-27 13:49:33 +01:00
W.C.A. Wijngaards
039f69e735
- Fix to not skip allow-notify hostname lookups when there are only
...
urls.
2026-01-26 16:16:38 +01:00
W.C.A. Wijngaards
b39009e487
Merge branch 'master' of github.com:NLnetLabs/unbound
2026-01-26 15:17:26 +01:00
W.C.A. Wijngaards
933769ee73
- Fix that allow-notify entries with hostnames are copied after IPv4
...
and IPv6 lookup.
2026-01-26 15:16:43 +01:00
Yorgos Thessalonikefs
57bff79627
- Update generated man pages.
2026-01-23 18:04:25 +01:00
Yorgos Thessalonikefs
1b5559d534
Changelog entry for #1396 :
...
- Merge #1396 : Log Linux thread ID.
- On Linux systems log the system-wide unique thread ID instead of
Unbound's internal thread counter.
- Introduce the 'log-thread-id' configuration option to manage logging
the system-wide Linux thread ID for easier debugging with system
tools.
2026-01-23 17:46:14 +01:00
Yorgos Thessalonikefs and GitHub
9d271c5343
Merge pull request #1396 from NLnetLabs/features/thread-id
2026-01-23 17:42:30 +01:00
Yorgos Thessalonikefs
74cc49e6c4
- Introduce the 'log-thread-id' configuration option to manage logging
...
the system-wide Linux thread ID for easier debugging with system
tools.
2026-01-23 17:15:14 +01:00
Yorgos Thessalonikefs
d414ebf0c7
- On Linux systems log the system-wide unique thread ID instead of
...
Unbound's internal thread counter.
2026-01-23 17:08:55 +01:00
W.C.A. Wijngaards
9b123d1b78
- Fix http test tool petal to not print errors when there is no
...
error.
2026-01-22 14:19:35 +01:00
W.C.A. Wijngaards
37b71261a2
- Fix that fast reload copies the iter_scrub_ns, iter_scrub_cname
...
and max_global_quota options.
2026-01-22 09:42:56 +01:00
W.C.A. Wijngaards
4426db4d3d
- Merge #1388 : QNX Porting support for unbound.
2026-01-21 13:13:01 +01:00
nnarayanamurthy and GitHub
fe10bc7682
QNX Porting support for unbound branch-1.24.1 ( #1388 )
...
* qnx Porting support for version release-1.24.1
* updating __QNXNTO__ with __QNX__
2026-01-21 13:12:13 +01:00
W.C.A. Wijngaards
67d2eae28c
- Merge #1392 : Include "V" (version) option in synopsis.
2026-01-19 09:09:47 +01:00
David H. Gutteridge and GitHub
9010a7075e
Include "V" (version) option in synopsis ( #1392 )
2026-01-19 09:09:12 +01:00
W.C.A. Wijngaards
cc6dbc9f38
- Fix documentation for requestlist.overwritten and
...
requestlist.exceeded, it explains which query was dropped.
2026-01-15 09:35:04 +01:00
W.C.A. Wijngaards
4198343dbe
Compile fixup for #1381 .
2026-01-08 14:19:06 +01:00
W.C.A. Wijngaards
08600d68e8
Changelog note for #1381 , and man page explanation.
...
- Merge #1381 : Do not initialize quic_table unless it is enabled.
2026-01-08 14:16:54 +01:00
Petr Menšík and GitHub
18e098285e
Do not initialize quic_table unless it is enabled ( #1381 )
...
* Do not initialize quic_table unless it is enabled
Fedora in FIPS mode might fail to initialize ngtcp2 library, because
some ciphers desired are not available.
Make it possible to skip initialization by setting explicitly quic_port
to 0. Unless we have some listeners for port 853 configured, skip its
initialization as well.
Related: https://pagure.io/freeipa/issue/9877
* Fix typo in logged function name
2026-01-08 14:12:32 +01:00
Yorgos Thessalonikefs
f1b35bab4b
Changelog entry for #1391 :
...
- Merge #1391 from Götz Görisch: Fix documentation to adhere to
RFC5952.
2026-01-06 18:21:34 +01:00
Yorgos Thessalonikefs and GitHub
84ed77238d
Merge pull request #1391 from GoetzGoerisch/docs
...
Fix documentation to adhere to RFC 5952
2026-01-06 18:19:47 +01:00
Goetz Goerisch
adb0374a4d
Fix documentation to adhere to RFC 5952
...
Update the text representations of IPv6 addresses.
2026-01-06 16:10:37 +01:00
W.C.A. Wijngaards
b0b634558b
- Fix edns subnet, that scope zero queries, when there is a
...
subquery without subnet, and the forward-no-cache or
stub-no-cache option is set, it is not stored in cache due to
the forward or stub option.
This has the changelog entry and test.
2026-01-06 09:33:00 +01:00
W.C.A. Wijngaards
8546247292
- Fix edns subnet, that scope zero queries, when there is a
...
subquery without subnet, and the forward-no-cache or
stub-no-cache option is set, it is not stored in cache due to
the forward or stub option.
2026-01-06 09:32:21 +01:00
Yorgos Thessalonikefs
44659cb3bf
- Use the same EDE removal logic when encoding errors as when encoding
...
replies.
2025-12-31 16:22:15 +01:00
Yorgos Thessalonikefs
a1ac2d0252
- Update the unbound-anchor man page to note write permissions of the
...
generated file if it is to be used with Unbound's
auto-trust-anchor-file option.
2025-12-31 14:05:42 +01:00
Yorgos Thessalonikefs
5c7a26b615
- Mark "THROWAWAY" and "(DNSSEC) LAME" responses clearly as Unbound's
...
categorization in the log output.
2025-12-30 13:15:37 +01:00
Yorgos Thessalonikefs
09d352b917
- More specific wording in the unbound.conf man page for stub-first
...
and forward-first options.
2025-12-24 14:57:44 +01:00
W.C.A. Wijngaards
c0522043f0
- Fix http2 drop handling to clear the postpone_drop state so that
...
other streams on the http2 session are not affected by a drop,
and can clean up properly if also dropped. Fix http2 send reply
so that when there is a send failure is does not recurse into
the mesh functions and also does not drop the connection due to
the condition of one stream.
2025-12-03 14:41:10 +01:00
W.C.A. Wijngaards
b858801feb
- Fix to remove http2 stream mesh state when mesh new request is
...
dropping the new request.
2025-12-02 15:31:53 +01:00
W.C.A. Wijngaards
588db09928
- Fix header comment about EDE reference in validator/val_sigcrypt.h.
2025-12-01 16:04:41 +01:00
W.C.A. Wijngaards
5c66c48a1b
- Fix to add EDNS CO flag to testbound and debug message log.
2025-12-01 15:29:41 +01:00
Yorgos Thessalonikefs
83336477c6
- For #1375 , there is no DNSTAP environment if it wasn't configured.
2025-11-28 15:20:21 +01:00
Yorgos Thessalonikefs
e3e5eb66cf
- Tag for 1.24.2 release.
...
The repository continues with version 1.24.3.
2025-11-26 13:54:25 +01:00
Yorgos Thessalonikefs
00d3b97dbb
Merge branch 'branch-1.24.2'
2025-11-26 13:50:49 +01:00
Yorgos Thessalonikefs
f6269baa60
- Additional fix for CVE-2025-11411 (possible domain hijacking attack),
...
to include YXDOMAIN and non-referral nodata answers in the mitigation as
well, reported by TaoFei Guo from Peking University, Yang Luo and JianJun
Chen from Tsinghua University.
2025-11-26 11:09:40 +01:00
Yorgos Thessalonikefs
19154c6e58
- Set version to 1.24.2.
2025-11-26 10:58:06 +01:00
W.C.A. Wijngaards
0f43b0ea6c
Changelog note for #1375 , and lock for lockchecks and ifdef for compile fix.
...
- Merge #1375 : Copy DNSTAP changes from daemon to workers after
fast_reload.
2025-11-13 15:45:27 +01:00
smeddlep and GitHub
e6d92f458f
Copy DNSTAP changes from daemon to workers after fast_reload ( #1375 )
...
- On fast_reload, the identity and version strings are always freed and
reallocated as part of dt_apply_cfg(). Add fr_worker_pickup_dnstap_changes()
to copy any changes from daemon to workers.
2025-11-13 15:42:44 +01:00
W.C.A. Wijngaards
a31b9d50e2
Changelog note for #1374
...
- Merge #1374 : Mesh reply counters.
This adds the statistics num.queries.replyaddr_limit and
requestlist.current.replies.
2025-11-13 09:34:45 +01:00
Robert Edmonds and GitHub
fceb4e8585
Mesh reply counters ( #1374 )
...
* Statistics counter for number of queries dropped by limit on reply addresses
Request list entries can be associated with multiple pending "reply
addresses". Basically each request list entry keeps its own list of
clients that should receive the response once the recursion is finished.
This requires keeping allocations around for each client, and there is
a global limit on the number of *additional* reply addresses that can
be allocated. (Each new request list entry seems to get its own initial
reply address which is not counted against the limit.)
This commit adds a statistics counter "num_queries_replyaddr_limit" that
counts the number of incoming client queries that have been dropped due
to the restriction on allocating additional reply addresses. This allows
distinguishing these drops from other kinds of drops.
* Statistics counter for number of mesh reply entries
Request list entries can be associated with multiple pending "reply
addresses". Since there is a limit on the number of additional reply
addresses that can be allocated which can cause incoming queries to be
dropped if exceeded, it would be nice to be able to track this number.
This commit basically exports the mesh_area's internal counter
`num_reply_addrs` as "threadX.requestlist.current.replies" /
"total.requestlist.current.replies".
2025-11-13 09:33:05 +01:00
W.C.A. Wijngaards
98f4257890
- iana portlist updated.
2025-11-12 11:49:21 +01:00
W.C.A. Wijngaards
0a15118aff
- Fix that when discard timeout drops packet, they are accounted as
...
less reply addresses in use in the mesh area.
2025-11-12 11:49:04 +01:00
W.C.A. Wijngaards
e887a79a92
- Fix configure test for nonstring attribute so that it does not
...
accept when the compiler prints a warning about an unknown
attribute.
2025-11-06 15:03:17 +01:00
W.C.A. Wijngaards
f9b9050ab8
- Fix configure test for noreturn attribute so it compiles without
...
warning.
2025-11-06 15:00:08 +01:00
W.C.A. Wijngaards
94735384fd
- Fix add comment to worker_handle_request function that explain it.
2025-11-06 14:32:56 +01:00
W.C.A. Wijngaards
5dab0609e5
- Fix dns64 log output to log the default instead of a null string.
2025-11-04 10:19:03 +01:00
Yorgos Thessalonikefs
024c921dbf
- Fix #1366 : Infra cache does not work correctly for NAT64, by
...
moving the NAT64 synthesis from the iterator when selecting a target
address, to the delegation point itself when adding target
addresses.
2025-11-01 15:10:27 +01:00
Yorgos Thessalonikefs
1a808e2978
- Fix typo; spotted by T3rm1.
2025-10-28 14:42:20 +01:00
Yorgos Thessalonikefs
56ded934de
- Fix #1165 , document the possible circular dependency when using
...
host names instead of IP addresses for name servers in stub/forward
zones and log a warning when spotted in the configuration.
2025-10-27 14:01:10 +01:00
Yorgos Thessalonikefs
98952f11d1
Changelog entry for #1331 :
...
- Merge #1331 from Jitka Plesníková: Replace deprecated $function by
new $action, for SWIG.
2025-10-27 09:59:35 +01:00
Yorgos Thessalonikefs and GitHub
cb4b3de62f
Merge pull request #1331 from jplesnik/master
...
Replace deprecated $function by new $action
2025-10-27 09:57:59 +01:00
Yorgos Thessalonikefs
c8dcfc0853
- For #1364 , use OPENSSL_VERSION_TEXT instead of OPENSSL_VERSION_NUMBER
...
for part of the configure script. OPENSSL_VERSION_TEXT is more
consistent across versions.
2025-10-24 15:43:22 +02:00
Yorgos Thessalonikefs
2bb28fdf12
- Fix unused attribute warning in redis.c when threads are not
...
supported.
2025-10-24 14:44:58 +02:00
Yorgos Thessalonikefs
6ad26909dd
- Note Havard Eidnes for his suggestions on the mailing list.
2025-10-24 14:26:08 +02:00
Yorgos Thessalonikefs
9602973c86
- unbound.conf man page updates to include a preview of the section
...
clauses and some reformatting around the use of "clause", "option"
and "attributes".
2025-10-24 14:23:53 +02:00
Yorgos Thessalonikefs
713b1783d4
- Tag for 1.24.1 release.
...
The repository continues with version 1.24.2.
2025-10-22 12:49:29 +02:00
Yorgos Thessalonikefs
e06b7eb3f1
Merge branch 'branch-1.24.1'
2025-10-22 12:44:59 +02:00
Yorgos Thessalonikefs
a33f0638e1
- Fix CVE-2025-11411 (possible domain hijacking attack), reported by Yuxiao Wu,
...
Yunyi Zhang, Baojun Liu and Haixin Duan from Tsinghua University.
2025-10-22 10:54:57 +02:00
Yorgos Thessalonikefs
bbeee42e25
- Set version to 1.24.1.
2025-10-22 10:50:18 +02:00
Yorgos Thessalonikefs
1cb9595a42
- Update the unbound.conf online man page link and some text
...
reformatting in README.md.
2025-10-20 14:34:40 +02:00
Wouter Wijngaards and GitHub
aa21e38b3a
Fix for analysis and ports workflows iOS, Windows ( #1361 )
...
* - Remove SDK_VERSION and only run failed jobs, echo windows config.log
* Use commented out to fix syntax of ci.
* - Turn off succeeded tests, only link libssp for cross compile, use
no-shared for openssl ios.
* - Remove iPhone armv7s, and iPhoneSimulator i386 from ios ci.
The lib system does not provide symbols for it on the new macos
runner.
- Fix to exclude libssp for windows compiles.
2025-10-15 16:12:39 +02:00
W.C.A. Wijngaards
964848b94a
- Fix unbound.conf man page entry for root-hints to say it can
...
be used without strongly recommending it.
2025-10-15 15:40:47 +02:00
Yorgos Thessalonikefs
a4dd321fd8
- Remove extra gpg instructions from makedist.sh output.
2025-10-15 14:59:48 +02:00
Yorgos Thessalonikefs
d23a28a693
- ci: don't fail fast for the analysis_port workflow.
2025-10-15 14:10:20 +02:00
W.C.A. Wijngaards
5423c0a8e9
Update ios ci with older sdk version to use.
2025-10-15 13:41:36 +02:00
W.C.A. Wijngaards
6a5385f291
- Fix to update openssl version in ios ci.
2025-10-15 12:25:44 +02:00
W.C.A. Wijngaards
16f3478048
- Add extended dns error code for invalid query type to definition
...
list.
2025-10-15 11:39:58 +02:00
W.C.A. Wijngaards
c8860a5fb6
- Fix to reply with SERVFAIL when the wait-limit is exceeded.
2025-10-15 11:36:29 +02:00
W.C.A. Wijngaards
735c96aac7
- Fix to drop UDP for discard-timeout, but not stream connections.
2025-10-15 11:04:22 +02:00
W.C.A. Wijngaards
a75ea01a15
- Fix #1358 Enabling FIPS in OpenSSL causes unit test to fail.
2025-10-10 09:17:08 +02:00
Yorgos Thessalonikefs
21f02a0865
- Note clearly that 'wait-limit: 0' disables all wait limits.
...
- 'wait-limit-cookie: 0' can now disable cookie validated wait
limits.
2025-10-03 16:44:44 +02:00
Yorgos Thessalonikefs
e017d66fc1
- Note 'respip' and 'dns64' module order in the unbound.conf
...
man page.
2025-10-03 11:27:26 +02:00
W.C.A. Wijngaards
adaf5dab49
- Fix that https is set up as enabled when the port is listed in
...
interface-automatic-ports. Also for the set up of quic it is
enabled when listed there.
2025-10-02 10:16:06 +02:00
W.C.A. Wijngaards
feeebc95f8
- Fix for #1344 : Fix that respip and dns64 can be enabled at the
...
same time, the client info is copied for attach_sub and add_sub
calls. That makes respip work on dns64 synthesized answers, and
also makes RPZ work with DNS64. The order for the modules is
module-config: "respip dns64 validator iterator".
2025-09-30 11:28:15 +02:00
W.C.A. Wijngaards
187aa52859
- Fix #1344 : module conf 'respip dns64 validator cachedb iterator'
...
is not known to work.
2025-09-29 16:11:50 +02:00
W.C.A. Wijngaards
f1fea8dc46
- Fix #1353 : auth-zone can not use empty label for $ORIGIN when
...
http download.
2025-09-29 14:24:31 +02:00
Yorgos Thessalonikefs
0c01257d1d
Changelog entry for #1351 :
...
- Merge #1351 : ac_cv_func_malloc_0_nonnull for malloc(0) check.
2025-09-29 13:14:07 +02:00
W.C.A. Wijngaards
50a11ebcc8
- Rebuild configure script from its sources.
2025-09-29 13:13:15 +02:00
Yorgos Thessalonikefs and GitHub
1e2dc657a1
ac_cv_func_malloc_0_nonnull for malloc(0) check ( #1351 )
...
- For #1339 , use the standard variable ac_cv_func_malloc_0_nonnull for
the malloc(0) check during configure; patch from Helmut Grohne.
2025-09-29 13:12:27 +02:00
Yorgos Thessalonikefs
843124852f
Changelog entry for #1349 :
...
- Merge #1349 : Fix #1346 : [FR] Please allow back TLS 1.2.
2025-09-29 12:10:34 +02:00
W.C.A. Wijngaards
5e2fdff8e5
- Fix fr_atomic_copy_cfg.
2025-09-29 12:08:30 +02:00
499a3a7a61
Fix #1346 : [FR] Please allow back TLS 1.2. ( #1349 )
...
* 'tls-use-system-policy-versions' is introduced to allow Unbound to use
any system available TLS version when serving TLS.
* Apply suggestions from code review
---------
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com >
2025-09-29 12:03:56 +02:00
W.C.A. Wijngaards
2024c1d050
- Neaten up the change in acx_nlnetlabs.m4 to version 49.
2025-09-29 11:40:14 +02:00
W.C.A. Wijngaards
6cd595a816
- Fix modstack_call_init to use the original string when it has
...
changed, to call modstack_config with. And skip the changed name
in the string correctly. Thanks to Jan Komissar.
2025-09-29 11:31:50 +02:00
W.C.A. Wijngaards
74cf81e9a7
- Rebuild configure script from its sources.
2025-09-29 10:02:54 +02:00
Yorgos Thessalonikefs
35f6fd47fb
- Test for nonstring attribute in configure and add
...
nonstring attribute annotations.
2025-09-26 16:23:55 +02:00
Alex Band and GitHub
270e099aab
Update Mastodon shield
2025-09-25 21:39:39 +02:00
Yorgos Thessalonikefs
64645e1401
- Avoid calling mesh_detect_cycle_found() when there is no mesh state
...
to begin with.
2025-09-24 14:30:24 +02:00
Yorgos Thessalonikefs
421d317a64
- For #1350 , same CAP_NET_ADMIN change for unbound_portable.service.in
...
as well.
2025-09-23 17:42:41 +02:00
Yorgos Thessalonikefs
0b8ed987de
Changelog entry for #1350 :
...
- Merge #1350 from Maryse47: unbound.service.in: allow CAP_NET_ADMIN.
2025-09-23 17:37:59 +02:00
Yorgos Thessalonikefs and GitHub
9511797487
Merge pull request #1350 from Maryse47/patch-1
...
unbound.service.in: allow CAP_NET_ADMIN and drop CAP_NET_RAW (redundant now).
2025-09-23 17:37:09 +02:00
Yorgos Thessalonikefs
0b7bb75152
- For #1352 , align with the current Python<3 code.
2025-09-23 17:31:55 +02:00
Yorgos Thessalonikefs
88c688ec10
Changelog entry for #1352 :
...
- Merge #1352 from Petr Vaganov: pythonmod: fix HANDLE_LEAK on
pythonmod_init.
2025-09-23 17:15:16 +02:00
Maryse47 and GitHub
81fd1dc71c
unbound.service.in: drop CAP_NET_RAW
...
CAP_NET_RAW is unnecessary after CAP_NET_ADMIN was added
2025-09-23 17:13:31 +02:00
Yorgos Thessalonikefs and GitHub
69217cf675
Merge pull request #1352 from petrvaganoff/dev-52227
...
pythonmod: fix HANDLE_LEAK on pythonmod_init
2025-09-23 17:13:30 +02:00
Petr Vaganov
7c28f1b99c
pythonmod: fix HANDLE_LEAK on pythonmod_init
...
Found by the static analyzer Svace (ISP RAS).
Handle 'script_py' is created at pythonmod.c:436
by calling function 'fopen' and lost at pythonmod.c:457,465.
Signed-off-by: Petr Vaganov <petrvaganoff@gmail.com >
2025-09-23 19:51:46 +05:00
Maryse47 and GitHub
fa6340cfa5
unbound.service.in: allow CAP_NET_ADMIN
...
Allowing CAP_NET_ADMIN is necessary for SO_SNDBUFFORCE and SO_RCVBUFFORCE calls.
2025-09-23 13:00:50 +02:00
Yorgos Thessalonikefs
e471e15774
- unbound.conf manpage: explicitly mention RFC6891.
2025-09-19 15:49:07 +02:00
Yorgos Thessalonikefs
ec3db03121
Changelog entry for #1337 :
...
- Merge #1337 : 0 TTL cached replies and some TTL behavior changes.
2025-09-19 15:01:30 +02:00
Yorgos Thessalonikefs
e2bf773089
Merge branch 'features/no-ttl-zero-cacherep'
2025-09-19 14:56:04 +02:00
Yorgos Thessalonikefs
3017a0aa52
- Update README.man with clearer text.
2025-09-19 10:03:10 +02:00
W.C.A. Wijngaards
8419e9780e
- Fix to remove configure~ from release tarballs.
2025-09-19 09:46:34 +02:00
W.C.A. Wijngaards
c429c4ab96
- Tag for 1.24.0 release. Includes the fixes below after rc1.
...
The repository continues with version 1.24.1.
2025-09-18 10:57:37 +02:00
bc61034f60
code review: use proper roundrobin index
...
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com >
2025-09-17 12:19:20 +02:00
Yorgos Thessalonikefs
2dd821c257
- Too many quotes for the EDE message debug printout.
2025-09-17 11:27:16 +02:00
W.C.A. Wijngaards
713b5db537
- Fix to print warning for when so-sndbuf setsockopt is not granted.
2025-09-15 16:11:27 +02:00
Yorgos Thessalonikefs
c3a8d5251f
- Small debug output improvement when attaching an EDE.
2025-09-15 12:06:49 +02:00
Yorgos Thessalonikefs
73e408f1d0
A few changes for TTL processing:
...
- Cached messages that reach 0 TTL are considered expired. This prevents
Unbound itself from issuing replies with TTL 0 and possibly causing a
thundering herd at the last second. Upstream replies of TTL 0 still
get the usual pass-through but they are not considered for caching
from Unbound or any of its caching modules.
- 'serve-expired-reply-ttl' is changed and is now capped by the original
TTL value of the record to try and make some sense when replying
with expired records.
- TTL decoding was updated to adhere to RFC8767 section 4 where a set
high-order bit means the value is positive instead of 0.
2025-09-15 10:03:35 +02:00
Yorgos Thessalonikefs
d521135f66
Merge branch 'master' into features/no-ttl-zero-cacherep
2025-09-12 15:24:06 +02:00
W.C.A. Wijngaards
d71ead5598
- Update contrib/aaaa-filter-iterator.patch so it applies on 1.24.0.
2025-09-11 13:23:51 +02:00
W.C.A. Wijngaards
cdbfadfb7b
- version set to 1.24.0 for release.
...
- tag for 1.24.0rc1.
2025-09-11 09:03:40 +02:00
W.C.A. Wijngaards
4267de87b5
- Fix #1332 : CNAME chains are sometimes not followed when RPZs add a
...
local CNAME rewrite.
2025-09-09 12:34:11 +02:00
Yorgos Thessalonikefs
dd6200065f
- Update man pages.
2025-09-08 14:50:27 +02:00
Yorgos Thessalonikefs
a72177e73c
- Update documentation for using "SET ... EX" in Redis.
...
- Document max buffer sizes for Redis commands.
2025-09-08 14:49:12 +02:00
Jitka Plesnikova
1d3d78dff5
Replace deprecated $function by new $action
...
The long-deprecated $function was removed from future SWIG 4.4.0.
It can be safely replaced by $action.
2025-09-08 10:11:49 +02:00
W.C.A. Wijngaards
5588f66bdb
- For #1328 : make depend.
2025-09-03 14:04:24 +02:00
W.C.A. Wijngaards
85e916e7e0
- Fix indentation in tcp-mss option parsing.
2025-09-02 17:12:14 +02:00
W.C.A. Wijngaards
af96824642
- Fix #1324 : Memory leak in 'msgparse.c' in
...
'parse_edns_options_from_query(...)'.
2025-09-02 17:10:42 +02:00
W.C.A. Wijngaards
8faa95354d
- Fix #1235 : Outdated Python2 code in
...
unbound/pythonmod/examples/log.py.
2025-09-02 12:54:03 +02:00
W.C.A. Wijngaards
c57c39833e
- Fix for #1324 : Fix to free edns options scratch in ratelimit case.
2025-09-01 09:28:29 +02:00
Yorgos Thessalonikefs
44da5eee66
- Limit the number of consecutive reads on an HTTP/2 session.
...
Thanks to Gal Bar Nahum for exposing the possibility of infinite
reads on the session.
2025-08-29 15:35:32 +02:00
W.C.A. Wijngaards
74bc8c9e77
- Fix setup_listen_sslctx warning for nettle compile.
2025-08-28 14:19:52 +02:00
W.C.A. Wijngaards
0c558cb805
- Fix unbound-control dump_cache for double unlock of lruhash table.
...
Changelog entry.
2025-08-27 16:55:55 +02:00
W.C.A. Wijngaards
533291dce9
- Fix unbound-control dump_cache for double unlock of lruhash table.
2025-08-27 16:55:38 +02:00
W.C.A. Wijngaards
e613e27f35
- Fix ports workflow to install expat for macos.
2025-08-26 14:41:13 +02:00
W.C.A. Wijngaards
f2f36a2733
- Fix that the zone acquired timestamp is set after the
...
zonefile is read.
2025-08-22 14:06:51 +02:00
W.C.A. Wijngaards
78d9bcacb6
- Fix #1319 : [FR] zone status for Unbound auth-zones.
2025-08-22 12:40:00 +02:00
W.C.A. Wijngaards
c170ed1b30
- Fix sha1 enable environment variable in test code on windows.
2025-08-22 10:04:57 +02:00
W.C.A. Wijngaards
ebfa09e04f
- For #1318 : Fix compile warnings for DoH compile on windows.
2025-08-22 10:04:00 +02:00
W.C.A. Wijngaards
65be1d0ec3
- Fix for #1317 : Fix contrib/unbound.service comment path for
...
systemd network configuration.
2025-08-21 15:49:42 +02:00
W.C.A. Wijngaards
ca36e21f71
- Fix #1317 : Unbound starts too early. Add
...
Wants=network-online.target under [Unit] in unbound.service.
2025-08-21 15:14:42 +02:00
W.C.A. Wijngaards
458c793012
- Fix to check for extraneous command arguments for unbound-control,
...
when the command takes no arguments but there are arguments present.
Changelog note for the fix.
2025-08-21 10:00:41 +02:00
W.C.A. Wijngaards
1341905de8
- Fix to check for extraneous command arguments for unbound-control,
...
when the command takes no arguments but there are arguments present.
2025-08-21 09:47:24 +02:00
W.C.A. Wijngaards
1d877400ea
- Fix cache_lookup subnet print to not print messages without rrsets
...
and perform in-depth check on node in the addrtree.
2025-08-15 16:04:34 +02:00
W.C.A. Wijngaards
8fd4b91afc
- Fix cache_lookup subnet print to not print messages without rrsets
...
and perform in-depth check on node in the addrtree.
2025-08-15 16:04:23 +02:00
W.C.A. Wijngaards
523710f371
- Fix cache_lookup subnet printout to wipe zero part of the prefix.
...
Changelog entry.
2025-08-15 14:07:05 +02:00
W.C.A. Wijngaards
13bb78a740
- Fix cache_lookup subnet printout to wipe zero part of the prefix.
2025-08-15 14:06:54 +02:00
W.C.A. Wijngaards
1e37f86ef5
- unbound-control cache_lookup +t allows tld and root names. And
...
subnet cache contents are printed.
Changelog, documentation and unit test.
2025-08-15 13:03:31 +02:00
W.C.A. Wijngaards
81345fe1e3
- unbound-control cache_lookup +t allows tld and root names. And
...
subnet cache contents are printed.
2025-08-15 13:03:00 +02:00
W.C.A. Wijngaards
40877f46e5
- Fix to decouple file descriptor activity and cache lookups in
...
dump_cache.
Changelog note.
2025-08-14 12:20:22 +02:00
W.C.A. Wijngaards
991108af8d
- Fix to decouple file descriptor activity and cache lookups in
...
dump_cache.
2025-08-14 12:20:10 +02:00
W.C.A. Wijngaards
4f790bd65e
- Fix to increase responsiveness of dump_cache.
2025-08-14 11:25:40 +02:00
W.C.A. Wijngaards
d122ae6490
- Fix to unlock cache_lookup message for malformed records.
2025-08-13 12:02:41 +02:00
W.C.A. Wijngaards
651a71fa76
- Fix to remove debug from cache_lookup.
2025-08-13 11:59:53 +02:00
W.C.A. Wijngaards
2f7890eb6e
- unbound-control cache_lookup <domains> prints the cached rrsets
...
and messages for those.
Changelog and information.
2025-08-13 11:36:47 +02:00
W.C.A. Wijngaards
fad747308f
- unbound-control cache_lookup <domains> prints the cached rrsets
...
and messages for those.
2025-08-13 11:31:42 +02:00
W.C.A. Wijngaards
d55f20fdcc
- Fix that unbound-control dump_cache releases the cache locks
...
every so often, so that the server stays responsive.
Changelog entry for it.
2025-08-12 12:00:01 +02:00
W.C.A. Wijngaards
19b289feec
- Fix that unbound-control dump_cache releases the cache locks
...
every so often, so that the server stays responsive.
2025-08-12 11:59:48 +02:00
W.C.A. Wijngaards
752a3f7f52
- Fix to whitespace in dname_str.
2025-08-07 16:19:10 +02:00
W.C.A. Wijngaards
3ec5d78ac9
- Fix that edns-subnet failure to create a subquery errors as
...
servfail, and not formerror.
2025-08-07 16:09:47 +02:00
W.C.A. Wijngaards
08d59c9a78
- Fix dname_str for printout of long names. Thanks to Jan Komissar
...
for the fix.
2025-08-07 09:45:02 +02:00
W.C.A. Wijngaards
cdcc0337d1
- Fix edns subnet, so that the subquery without subnet is stored in
...
global cache if the querier used 0.0.0.0/0 and the name and address
do not receive subnet treatment. If the name and address are
configured for subnet, it is stored in the subnet cache.
2025-08-06 12:08:44 +02:00
W.C.A. Wijngaards
305adf12bf
- Fix edns subnet, so that the subquery without subnet is stored in
...
global cache if the querier used 0.0.0.0/0 and the name and address
do not receive subnet treatment. If the name and address are
configured for subnet, it is stored in the subnet cache.
2025-08-06 12:01:42 +02:00
W.C.A. Wijngaards
3d7e847a5e
- Fix to use assertions for consistency checks in #1309 reclaimed
2025-08-05 16:20:01 +02:00
W.C.A. Wijngaards
da6b735ed9
- Fix #1309 : incorrectly reclaimed tcp handler can cause data
...
corruption and segfault.
2025-08-05 15:46:54 +02:00
W.C.A. Wijngaards
5758427d86
- Fix testbound test program to accurately output packets from hex.
2025-08-01 10:34:12 +02:00
W.C.A. Wijngaards
4f12148af4
- Fix redis cachedb module gettimeofday init failure.
...
Changelog note for the fix.
2025-07-28 09:33:42 +02:00
W.C.A. Wijngaards
f8f4779f1f
- Fix redis cachedb module gettimeofday init failure.
2025-07-28 09:32:55 +02:00
W.C.A. Wijngaards
da9ab59e10
- Redis checks for server down and throttles reconnects.
...
And unit test for redis reconnect interval.
2025-07-24 11:06:00 +02:00
W.C.A. Wijngaards
424f86466a
- Redis checks for server down and throttles reconnects.
2025-07-24 11:05:25 +02:00
W.C.A. Wijngaards
910288c0d1
- iana portlist updated.
2025-07-17 14:50:29 +02:00
W.C.A. Wijngaards
b6e52c0a52
- Fix #1303 : [FR] Disable TLSv1.2.
2025-07-17 14:50:13 +02:00
W.C.A. Wijngaards
b58af78b63
- Fix to not set rlimits in the unit tests.
2025-07-17 11:40:31 +02:00
W.C.A. Wijngaards
a1150078f2
- Add unit tests for non-ecs aggregation.
2025-07-16 11:46:04 +02:00
W.C.A. Wijngaards
f49e6ccecd
- Fix for RebirthDay Attack CVE-2025-5994, reported by Xiang Li
...
from AOSP Lab Nankai University.
- Tag for 1.23.1 with the release of 1.23.0 and the CVE fix, the
repository continues with the previous fixes, with 1.23.2.
2025-07-16 11:40:32 +02:00
W.C.A. Wijngaards
ad0e0fc290
Merge branch 'branch-1.23.1'
2025-07-16 11:34:44 +02:00
W.C.A. Wijngaards
5bf82f2464
- Fix RebirthDay Attack CVE-2025-5994, reported by Xiang Li from AOSP
...
Lab Nankai University.
2025-07-16 10:02:01 +02:00
W.C.A. Wijngaards
20f862de51
- Set version to 1.23.1.
2025-07-16 10:00:39 +02:00
Yorgos Thessalonikefs
46823f7bc3
- Update man page templates from rst.
2025-07-12 17:37:54 +02:00
Yorgos Thessalonikefs
dd3ac53ff1
- For #1289 : add num.valops in the unbound-control man page.
2025-07-12 17:35:16 +02:00
Yorgos Thessalonikefs
1a6052fcac
- For #1289 : test num.valops in existing stat_values.tdir.
2025-07-12 17:33:43 +02:00
Yorgos Thessalonikefs
6689f0b4da
Changelog entry for #1289 :
...
- Merge #1289 from Roland van Rijswijk-Deij: Add extra statistic to
track the number of signature validation operations.
Adds 'num.valops' to extended statistics.
2025-07-12 16:35:02 +02:00
44ac818f87
Add extra statistic to track the number of signature validation operations ( #1289 )
...
* Add extra statistic to track the number of signature validation operations performed by the validator module
* Move validation operation statistic to mesh as suggested
* Fix NULL pointer dereference in case the mesh is not used (and is `NULL`)
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com >
* Fix NULL pointer dereference on qstate and qstate->env in unit test situation
---------
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com >
2025-07-12 16:29:38 +02:00
W.C.A. Wijngaards
b4e12030e7
- For #1301 : configure cant find SSL_is_quic in OpenSSL 3.5.1.
2025-07-11 15:58:50 +02:00
W.C.A. Wijngaards
9fe92d1119
- Fix detection of SSL_CTX_set_tmp_ecdh function.
2025-07-11 15:47:59 +02:00
W.C.A. Wijngaards
6ba2d6840b
- Fix to improve dnstap discovery on Fedora.
2025-07-08 09:29:27 +02:00
W.C.A. Wijngaards
1de9d6ec66
- Fix layout of comm_point_udp_ancil_callback.
2025-07-03 15:57:49 +02:00
W.C.A. Wijngaards
cb919d5126
- For #1300 : implement sock-queue-timeout for FreeBSD as well.
2025-07-03 15:54:33 +02:00
W.C.A. Wijngaards
444c839474
- Fix #1300 : Is 'sock-queue-timeout' a linux only feature.
2025-07-03 14:10:46 +02:00
W.C.A. Wijngaards
0276bcbceb
Changelog note for #1299
...
- Generate ltmain.sh and configure again.
2025-07-02 10:57:23 +02:00
Jose Luis Duran and GitHub
41c55ffac1
Fix typos ( #1299 )
2025-07-02 10:50:49 +02:00
Yorgos Thessalonikefs
4200d23882
- For #1247 , replay test (added tcp_transport to
...
outnet_serviced_query).
2025-06-25 14:02:47 +02:00
Yorgos Thessalonikefs
e2814fe165
- For #1247 , turn off fetch-policy for delegation when looking into
...
parent side name servers that may not update the addresses and hit
NXNS limits.
2025-06-25 13:59:17 +02:00
Yorgos Thessalonikefs
ca153f4657
- Fix #1247 : forward-first: ssl handshake failed on root nameservers.
2025-06-25 13:56:50 +02:00
Yorgos Thessalonikefs
ee607c0f72
Changelog entry for #1293 :
...
- Fix #1293 : EDE 6 is attached to insecure cached answers when client
sends the CD bit.
2025-06-20 14:11:22 +02:00
Yorgos Thessalonikefs
2d90d5d729
- Fix #1293 : EDE 6 is attached to insecure cached answers when client sends
...
the CD bit.
2025-06-20 14:09:30 +02:00
W.C.A. Wijngaards
ce72770f61
- Fix rrset cache create allocation failure case.
2025-06-19 16:27:13 +02:00
W.C.A. Wijngaards
de93a636da
Changelog note for #1297
...
- Merge #1297 : edns-subnet: fix NULL_AFTER_DEREF on subnetmod.
2025-06-19 16:24:54 +02:00
Kostya and GitHub
d3f88d008f
edns-subnet: fix NULL_AFTER_DEREF on subnetmod ( #1297 )
...
Found by static analyzer svace.
Static analyzer message: Redundant comparison with a NULL value at subnetmod.c:236 for pointer 'sn_env->subnet_msg_cache',
which was dereferenced at slabhash.c:228 by passing as 1st parameter to function 'slabhash_setmarkdel' at subnetmod.c:235.
Moved usage of sn_env->subnet_msg_cache in slabhash_setmarkdel after checking.
Signed-off-by: Konstantin Kamanin <bewflast@gmail.com >
2025-06-19 16:24:21 +02:00
W.C.A. Wijngaards
a1d68cdc96
- Fix #1296 : DNS over QUIC depends on a very outdated version of
...
ngtcp2. Fixed so it works with ngtcp2 1.13.0 and OpenSSL 3.5.0.
2025-06-19 14:39:45 +02:00
Yorgos Thessalonikefs
9201c75013
- Fix for consistent use of local zone CNAME alias for configured auth
...
zones. Now it also applies to downstream configured auth zones.
2025-06-17 15:03:29 +02:00
W.C.A. Wijngaards
f066d6d453
- Fix #1295 : Windows 32-bit binaries download seems to be missing dll
...
dependency.
2025-06-16 14:26:54 +02:00
W.C.A. Wijngaards
a04bd5da29
- Fix to check control-interface addresses in unbound-checkconf.
2025-06-16 12:43:31 +02:00
W.C.A. Wijngaards
e4cf7aeccf
- Fix header return value description for skip_pkt_rrs and
...
parse_edns_from_query_pkt.
2025-06-12 12:17:01 +02:00
W.C.A. Wijngaards
a8aa1dbbe1
- Fix conditional expressions with parentheses for bitwise and.
2025-06-11 16:42:43 +02:00
W.C.A. Wijngaards
9f29292839
- Fix bitwise operators in conditional expressions with parentheses.
2025-06-11 15:46:31 +02:00
W.C.A. Wijngaards
1cc1e0b89e
- iana portlist updated.
2025-06-05 11:11:56 +02:00
W.C.A. Wijngaards
565bce670c
- Fix comment for the dname_remove_label_limit_len function.
2025-06-05 11:11:32 +02:00
W.C.A. Wijngaards
c0563f43b0
- Fix unbound-anchor certificate file read for line ends and end of
...
file.
2025-06-05 11:09:53 +02:00
Yorgos Thessalonikefs
81f3de4da2
- Small man page corrections for the 'disable-dnssec-lame-check' option.
2025-06-03 14:12:27 +02:00
W.C.A. Wijngaards
ff7dfd52a2
- Fix #1288 : [FR] Improve fuzzing of unbound by adapting the netbound
...
program.
2025-05-21 12:41:54 +02:00
Yorgos Thessalonikefs
342a0f48e3
- Add more checks about respip in unbound-checkconf.
...
Also fixes #310 : unbound-checkconf not reporting RPZ configuration
error.
2025-05-20 16:21:02 +02:00
Yorgos Thessalonikefs
71ac59e6f4
Changelog entry for #1285 :
...
- Merge #1285 : RST man pages.
2025-05-20 12:23:32 +02:00
Yorgos Thessalonikefs and GitHub
6662f71732
RST man pages ( #1285 )
...
Introduce restructuredText man pages to sync the online and source code man page documentation.
The templated man pages (*.in) are still part of the repo but generated with docutils from their .rst counterpart.
Documentation on how to generate those (mainly for core developers) are in README.man.
2025-05-20 12:20:20 +02:00
W.C.A. Wijngaards
32644937b0
- Fix for cname chain length with qtype ANY and qname minimisation.
...
Thanks to Jim Greenwood from Nominet for the report.
2025-05-19 13:17:21 +02:00
W.C.A. Wijngaards
1634beb4a0
- Fix config of slab values when there is no config file.
2025-05-15 14:34:18 +02:00
W.C.A. Wijngaards
1ef7b4a246
- Adjusted so-sndbuf default to 4m.
2025-05-13 15:31:05 +02:00
W.C.A. Wijngaards
03772d10fb
- Change default for so-sndbuf to 1m, to mitigate a cross-layer
...
issue where the UDP socket send buffers are exhausted waiting
for ARP/NDP resolution. Thanks to Reflyable for the report.
2025-05-13 15:04:32 +02:00
Yorgos Thessalonikefs
9152c914af
- Fix #1282 : log-destaddr fail on long ipv6 addresses.
2025-05-13 11:02:58 +02:00
Yorgos Thessalonikefs
a35ac5d82e
- Fix #1284 : NULL pointer deref in az_find_nsec_cover() (latent bug)
...
by adding a log_assert() to safeguard future development.
2025-05-13 11:00:23 +02:00
W.C.A. Wijngaards
21e3278400
- Fix #1283 : Unsafe usage of atoi() while parsing the configuration
...
file.
2025-05-12 14:57:42 +02:00
Yorgos Thessalonikefs
8e1deede08
Changelog entry for #1280 :
...
- Merge #1280 : Fix auth nsec3 code. Fixes NSEC3 code to not break on
broken auth zones that include unsigned out of zone (above apex)
data. Could lead to hang while trying to prove a wildcard answer.
2025-05-12 14:29:11 +02:00
Yorgos Thessalonikefs and GitHub
4e23523d1a
Fix auth nsec3 code ( #1280 )
...
- Fix NSEC3 code to not break on broken auth zones that include unsigned
out of zone (above apex) data. Could lead to hang while trying to
prove a wildcard answer.
Reported by Dmitrii Kuvaiskii from Amazon Web Services.
- Tests for NSEC3 auth zones with out of zone data.
2025-05-12 14:26:47 +02:00
W.C.A. Wijngaards
8190526250
- Fix #1281 : forward-zone "name: ." conflicts with auth-zone "name: ."
...
in 1.23.0, but worked in 1.22.0.
2025-05-09 16:01:41 +02:00
Yorgos Thessalonikefs
5dd14e2644
- Sync unbound and unbound-checkconf log output for unknown modules.
2025-05-05 14:47:12 +02:00
Yorgos Thessalonikefs
b50faccb1d
Changelog entry for #1276 :
...
- Merge #1276 : Auto-configure '-slabs' values.
2025-04-29 15:23:07 +02:00
fcc21885e4
Auto-configure '-slabs' values ( #1276 )
...
- Auto-configure '-slabs' values to a power of 2 value close to num-threads
by default for multi-threaded environments.
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com >
2025-04-29 15:21:47 +02:00
W.C.A. Wijngaards
a904a3a2c2
- Fix dnstap to use protoc.
2025-04-29 12:43:56 +02:00
W.C.A. Wijngaards
c253c8367a
- Fix for parallel build of dnstap protoc-c output.
2025-04-29 12:38:41 +02:00
Yorgos Thessalonikefs
0f95fae445
Changelog entry for #1275 :
...
- Merge #1275 : Use macros for the fr_check_changed* functions.
2025-04-28 15:50:03 +02:00
Yorgos Thessalonikefs and GitHub
e5bbc36ae0
Use macros for the fr_check_changed* functions ( #1275 )
2025-04-28 15:48:45 +02:00
W.C.A. Wijngaards
c88fa02c18
- Fix #1272 : assertion failure testcode/unitverify.c:202.
2025-04-25 11:12:28 +02:00
W.C.A. Wijngaards
e794234ac8
- Tag for 1.23.0rc2. This became the release of 1.23.0 on 24 April
...
2025. The code repository continues with 1.23.1 in development.
2025-04-24 10:17:45 +02:00
W.C.A. Wijngaards
db53ebb798
Merge branch 'branch-1.23.0'
2025-04-24 10:14:02 +02:00
W.C.A. Wijngaards
fe835f9d52
- Increase default to num-queries-per-thread: 2048, when unbound is
...
compiled with libevent. It makes saturation of the task queue more
resource intensive and less practical. Thanks to Shiming Liu,
Network and Information Security Lab, Tsinghua University for the
report.
2025-04-16 12:03:08 +02:00
Yorgos Thessalonikefs
30c13d0351
Changelog entry for #1265 :
...
- Merge #1265 : Fix WSAPoll.
2025-04-11 15:10:46 +02:00
Yorgos Thessalonikefs
d6e8ac1289
Fix WSAPoll ( #1265 )
...
* Fix calling WSAPoll.
* fast_reload: explicitly set tcp_wouldblock on Windows when there is no
command to read from the fast_reload thread.
* For poll(), also check for ENOMEM (Linux).
* Remove ifdefs for ENOMEM.
* Some systems return EAGAIN for poll.
2025-04-11 15:09:07 +02:00
Yorgos Thessalonikefs
9c99b404a1
Changelog entry for #1265 :
...
- Merge #1265 : Fix WSAPoll.
2025-04-11 15:07:25 +02:00
Yorgos Thessalonikefs and GitHub
75e8fd7539
Fix WSAPoll ( #1265 )
...
* Fix calling WSAPoll.
* fast_reload: explicitly set tcp_wouldblock on Windows when there is no
command to read from the fast_reload thread.
* For poll(), also check for ENOMEM (Linux).
* Remove ifdefs for ENOMEM.
* Some systems return EAGAIN for poll.
2025-04-11 15:05:52 +02:00
W.C.A. Wijngaards
16ee7cf944
- Fix for print of connection type in log-replies for dot and doh.
2025-04-10 09:33:51 +02:00
W.C.A. Wijngaards
38026a21ee
Merge branch 'master' into branch-1.23.0
2025-04-09 14:20:22 +02:00
W.C.A. Wijngaards
4f06e658d1
- Fix #1264 : unbound 1.22.0 leaks memory when doing DoH.
2025-04-09 14:13:58 +02:00
W.C.A. Wijngaards
fca3ae0535
- Fix to detect if atomic_store links in configure.
2025-04-09 11:06:25 +02:00
W.C.A. Wijngaards
66b3abc803
Merge branch 'branch-1.23.0' of github.com:NLnetLabs/unbound into branch-1.23.0
2025-04-08 15:43:05 +02:00
W.C.A. Wijngaards
922c5c3ab3
- Fix fast_reload to print chroot with config file name.
2025-04-08 15:42:56 +02:00
Yorgos Thessalonikefs
f9d740dfdc
- Update to the manpage for the fast_reload part.
2025-04-08 15:34:51 +02:00
W.C.A. Wijngaards
5eb1382fc0
- Tag for 1.23.0rc1.
2025-04-08 08:37:30 +02:00
Yorgos Thessalonikefs
e94e140f49
- More explicit text about memory usage during fast_reload.
2025-04-07 16:56:38 +02:00
Yorgos Thessalonikefs
db6505eb8b
Changelog entry for #902 :
...
- Merge #902 : DNS Error Reporting (RFC 9567). Introduces new
configuration option 'dns-error-reporting' and new statistics for
'num.dns_error_reports'.
2025-04-07 10:28:37 +02:00
a616437338
DNS Error Reporting (RFC 9567) ( #902 )
...
* v1 EDER poc
* remove superfluous edns_list_get_option function
* create an EDER configurable
* Hackathon 114
* Fixes for version -04
* Generated configparser and configlexer are not versioned in master anymore
* Remove NOERROR DNS Error Reporting; not part of final RFC.
* Use assigned IANA EDNS0 Option Code for Report-Channel.
* Fix buffer protection and agent domain validity
* Use DNS Error Reporting instead of the eder nickname
* Update documentation.
* Fix typo.
* Bail out early if ede is not present.
* Forget previous EDNS options from upstream; this is what was
implicitly happening but not deterministacally.
* Don't report LDNS_EDE_OTHER and bail early if there is no reporting
agent.
* Only do DNS error reporting when a client asked for something that
went wrong.
* Add an error reporting agent in the parent that should be ignored.
* review feedback.
* fixup for fast reload
* Add 'num.dns_error_reports' to stats and test for it.
---------
Co-authored-by: TCY16 <tom@nlnetlabs.nl >
Co-authored-by: Yorgos Thessalonikefs <yorgos@nlnetlabs.nl >
2025-04-07 10:25:10 +02:00
W.C.A. Wijngaards
eb390dd038
- Fix to update common.sh for speed of kill_pid.
2025-04-04 11:55:42 +02:00
W.C.A. Wijngaards
4074a5b2ba
- Fix test to speed up common.sh script kill_pid.
2025-04-04 11:37:42 +02:00
W.C.A. Wijngaards
a7e618b9c2
Fix typo in Changelog entry.
2025-04-04 11:00:16 +02:00
Yorgos Thessalonikefs
349721a39d
Changelog entry for #1019 :
...
- Merge #1019 : Redis read-only replica support.
Introduces new 'redis-replica-*' options for the Redis cache backend.
2025-04-04 10:58:59 +02:00
W.C.A. Wijngaards
ed71f72baa
- Fix redis_replicat test for unused option defaults and log printout.
2025-04-04 10:57:53 +02:00
W.C.A. Wijngaards
0e5d26807d
- Fix nettle compile for warnings and ticket keys.
2025-04-04 10:30:22 +02:00
90243a694a
Redis read-only replica support ( #1019 )
...
* Set version to 1.19.1 for point release.
* Initial work for Redis read-only replica support.
* Test for Redis replica.
* Documentation for the Redis replica timeouts.
* redis replica, rewrite set_timeout()
* clean merge.
* Add new options for fast reload.
* Apply suggestions from code review
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com >
* some more typos
---------
Co-authored-by: W.C.A. Wijngaards <wouter@nlnetlabs.nl >
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com >
2025-04-04 10:20:47 +02:00
W.C.A. Wijngaards
7fb6f9d613
- Fix comment name in the rpz nsdname test.
2025-04-04 08:58:54 +02:00
W.C.A. Wijngaards
7fb05c01c2
- Fix mesh_copy_client_info to omit null contents from copy.
2025-04-04 08:57:24 +02:00
W.C.A. Wijngaards
cb5a019d9f
- Fix parameter unused warning in net_help.c.
2025-04-03 15:21:16 +02:00
W.C.A. Wijngaards
53ecdb25ef
- Fix test for stat_values for wait limit defaults for localhost.
2025-04-03 14:50:30 +02:00
W.C.A. Wijngaards
9939d5cdb0
- Fix ub_event and include dnstap and win_svc headers.
2025-04-03 10:59:41 +02:00
W.C.A. Wijngaards
5f91d5f74c
- Fix wait-limit-netblock and wait-limit-cookie-netblock config parse
...
to allow two arguments.
2025-04-03 09:53:27 +02:00
W.C.A. Wijngaards
c2ca679f5c
- Fix #1263 : Exempt loopback addresses from wait-limit.
2025-04-03 09:45:36 +02:00
W.C.A. Wijngaards
ba18abcd35
- Fix that ub_event has the facility to deal with callbacks for
...
fast reload, doq, windows-stop and dnstap.
- Fix fast reload test to check if pid exists before acting on it.
2025-04-02 16:25:58 +02:00
W.C.A. Wijngaards
a7704ad49f
- Fix unbound-control test so it counts the new flush_negative output,
...
also answers the _ta probe from testns and prints command output
and skip a thread specific test when no threads are available.
2025-04-02 15:52:20 +02:00
Yorgos Thessalonikefs
8b38fe5ab6
- For #1262 , ifdef is no longer needed.
2025-04-02 11:53:50 +02:00
Yorgos Thessalonikefs
fcdb0bbf91
Changelog entry for #1262 :
...
- Merge #1262 from markyang92, fix build with
'gcc-15 -Wbuiltin-declaration-mismatch' error in compat/malloc.c.
2025-04-02 11:52:04 +02:00
Yorgos Thessalonikefs and GitHub
b738b354bd
Merge pull request #1262 from markyang92/master
...
fix build with gcc-15 -Wbuiltin-declaration-mismatch error in compat/malloc.c
2025-04-02 11:49:49 +02:00
mark.yang
1c58ce0791
fix build with gcc-15 -Wbuiltin-declaration-mismatch error
...
See more details: http://errors.yoctoproject.org/Errors/Details/850313
../git/compat/malloc.c:9:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch]
9 | void *malloc ();
| ^~~~~~
../git/compat/malloc.c:5:1: note: 'malloc' is declared in header '<stdlib.h>'
4 | #include "config.h"
+++ |+#include <stdlib.h>
5 | #undef malloc
../git/compat/malloc.c: In function 'rpl_malloc_unbound':
../git/compat/malloc.c:23:10: error: too many arguments to function 'malloc'; expected 0, have 1
23 | return malloc (n);
| ^~~~~~ ~
../git/compat/malloc.c:9:7: note: declared here
9 | void *malloc ();
| ^~~~~~
* Seeing that there is '#undef malloc', it appears they don't want to
use the malloc from stdlib.h.
Therefore, we need to correctly define the parameters for malloc.
Signed-off-by: mark.yang <mark.yang@lge.com >
2025-04-02 15:25:42 +09:00
W.C.A. Wijngaards
a7106fc58d
- Enable the auth_tls.tdir and auth_tls_failcert.tdir tests.
2025-04-01 14:44:25 +02:00
W.C.A. Wijngaards
17f95ffac1
- Fix escape more characters when printing an RR type with an unquoted
...
string.
2025-04-01 13:53:29 +02:00
W.C.A. Wijngaards
0ca76b05e0
- Skip the unit tests for auth_tls.tdir and auth_tls_failcert.tdir.
2025-03-31 16:04:07 +02:00
218f5cfc92
Fast Reload Option ( #1042 )
...
* - fast-reload, add unbound-control fast_reload
* - fast-reload, make a thread to service the unbound-control command.
* - fast-reload, communication sockets for information transfer.
* - fast-reload, fix compile for unbound-dnstap-socket.
* - fast-reload, set nonblocking communication to keep the server thread
responding to DNS requests.
* - fast-reload, poll routine to test for readiness, timeout fails connection.
* - fast-reload, detect loop in sock_poll_timeout routine.
* - fast-reload, send done and exited notification.
* - fast-reload, defines for constants in ipc.
* - fast-reload, ipc socket recv and send resists partial reads and writes and
can continue byte by byte. Also it can continue after an interrupt.
* - fast-reload, send exit command to thread when done.
* - fast-reload, output strings for client on string list.
* - fast-reload, add newline to terminal output.
* - fast-reload, send client string to remote client.
* - fast-reload, better debug output.
* - fast-reload, print queue structure, for output to the remote client.
* - fast-reload, move print items to print queue from fast_reload_thread struct.
* - fast-reload, keep list of pending print queue items in daemon struct.
* - fast-reload, comment explains in_list for printq to print remainder.
* - fast-reload, unit test testdata/fast_reload_thread.tdir that tests the
thread output.
* - fast-reload, fix test link for fast_reload_printq_list_delete function.
* - fast-reload, reread config file from disk.
* - fast-reload, unshare forwards, making the structure locked, with an rwlock.
* - fast-reload, for nonthreaded, the unbound-control commands forward,
forward_add and forward_delete should be distributed to other processes,
but when threaded, they should not be distributed to other threads because
the structure is not thread specific any more.
* - fast-reload, unshared stub hints, making the structure locked, with an rwlock.
* - fast-reload, helpful comments for hints lookup function return value.
* - fast-reload, fix bug in fast reload printout, the strlist appendlist routine,
and printout time statistics after the reload is done.
* - fast-reload, keep track of reloadtime and deletestime and print them.
* - fast-reload, keep track of constructtime and print it.
* - fast-reload, construct new items.
* - fast-reload, better comment.
* - fast-reload, reload the config and swap trees for forwards and stub hints.
* - fast-reload, in forwards_swap_tree set protection of trees with locks.
* - fast-reload, in hints_swap_tree also swap the node count of the trees.
* - fast-reload, reload ipc to stop and start threads.
* - fast-reload, unused forward declarations removed.
* - fast-reload, unit test that fast reload works with forwards and stubs.
* - fast-reload, fix clang analyzer warnings.
* - fast-reload, small documentation entry in unbound-control -h output.
* - fast-reload, printout memory use by fast reload, in bytes.
* - fast-reload, compile without threads.
* - fast-reload, document fast_reload in man page.
* - fast-reload, print ok when done successfully.
* - fast-reload, option for fast-reload commandline, +v verbosity option,
with timing and memory use output.
* - fast-reload, option for fast-reload commandline, +p does not pause threads.
* - fast-reload, option for fast-reload commandline, +d drops mesh queries.
* - fast-reload, fix to poll every thread with nopause to make certain that
resources are not held by the threads and can be deleted.
* - fast-reload, fix to use atomic store for config variables with nopause.
* - fast-reload, reload views.
* - fast-reload, when tag defines are different, it drops the queries.
* - fast-reload, fix tag define check.
* - fast-reload, document that tag change causes drop of queries.
* - fast-reload, fix space in documentation man page.
* - fast-reload, copy respip client information to query state, put views tree
in module env for lookup.
* - fast-reload, nicer respip view comparison.
* - fast-reload, respip global set is in module env.
* - fast-reload, document that respip_client_info acl info is copied.
* - fast-reload, reload the respip_set.
* - fast-reload, document no pause and pick up of use_response_ip boolean.
* - fast-reload, fix test compile.
* - fast-reload, reload local zones.
* Update locking management for iter_fwd and iter_hints methods. (#1054 )
fast reload, move most of the locking management to iter_fwd and
iter_hints methods. The caller still has the ability to handle its
own locking, if desired, for atomic operations on sets of different
structs.
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com >
* - fast-reload, reload access-control.
* - fast-reload, reload access control interface, such as interface-action.
* - fast-reload, reload tcp-connection-limit.
* - fast-reload, improve comments on acl_list and tcl_list swap tree.
* - fast-reload, fixup references to old tcp connection limits in open tcp
connections.
* - fast-reload, fixup to clean tcp connection also for different linked order.
* - fast-reload, if no tcp connection limits existed, no need to remove
references for that.
* - fast-reload, document more options that work and do not work.
* - fast-reload, reload auth_zone and rpz data.
* - fast-reload, fix auth_zones_get_mem.
* - fast-reload, fix compilation of testbound for the new comm_timer_get_mem
reference in remote control.
* - fast-reload, change use_rpz with reload.
* - fast-reload, list changes in auth zones and stop zonemd callbacks for
deleted auth zones.
* - fast-reload, note xtree is not swapped, and why it is not swapped.
* - fast-reload, for added auth zones, pick up zone transfer and zonemd tasks.
* - fast-reload, unlock xfr when done with transfer pick up.
* - fast-reload, unlock z when picking up the xfr for it during transfer task
pick up.
* - fast-reload, pick up task changes for added, deleted and modified auth zones.
* - fast-reload, remove xfr of auth zone deletion without tasks.
* - fast-reload, pick up zone transfer config.
* - fast-reload, the main worker thread picks up the transfer tasks and also
performs setup of the xfer struct.
* - fast-reload, keep writelock on newzone when auth zone changes.
* - fast-reload, change cachedb_enabled setting.
* - fast-reload, pick up edns-strings config.
* - fast-reload, note that settings are not updated.
* - fast-reload, pick up dnstap config.
* - fast-reload, dnstap options that need to be loaded without +p.
* - fast-reload, fix auth zone reload
* - fast-reload, remove debug for auth zone test.
* - fast-reload, fix auth zone reload with zone transfer.
* - fast-reload, fix auth zone reload lock order.
* - fast-reload, remove debug from fast reload test.
* - fast-reload, remove unused function.
* - fast-reload, fix the worker trust anchor probe timer lock acquisition in
the probe answer callback routine for trust anchor probes.
* - fast-reload, reload trust anchors.
* - fast-reload, fix trust anchor reload lock on autr global data and test
for trust anchor reload.
* - fast-reload, adjust cache sizes.
* - fast-reload, reload cache sizes when changed.
* - fast-reload, reload validator env changes.
* - fast-reload, reload mesh changes.
* - fast-reload, check for incompatible changes.
* - fast-reload, improve error text for incompatible change.
* - fast-reload, fix check config option compatibility.
* - fast-reload, improve error text for nopause change.
* - fast-reload, fix spelling of incompatible options.
* - fast-reload, reload target-fetch-policy, outbound-msg-retry, max-sent-count
and max-query-restarts.
* - fast-reload, check nopause config change for target-fetch-policy.
* - fast-reload, reload do-not-query-address, private-address and capt-exempt.
* - fast-reload, check nopause config change for do-not-query-address,
private-address and capt-exempt.
* - fast-reload, check fast reload not possible due to interface and
outgoing-interface changes.
* - fast-reload, reload nat64 settings.
* - fast-reload, reload settings stored in the infra structure.
* - fast-reload, fix modstack lookup and remove outgoing-range check.
* - fast-reload, more explanation for config parse failure.
* - fast-reload, reload worker outside network changes.
* - fast-reload, detect incompatible changes in network settings.
* fast-reload, commit test files.
* - fast-reload, fix warnings for call types in windows compile.
* - fast-reload, fix warnings and comm_point_internal for tcp wouldblock calls.
* - fast-reload, extend lock checks for repeat thread ids.
* - fast-reload, additional test cases, cache change and tag changes.
* - fast-reload, fix documentation for auth_zone_verify_zonemd_with_key.
* - fast-reload, fix copy_cfg type casts and memory leak on config parse failure.
* - fast-reload, fix use of WSAPoll.
* Review comments for the fast reload feature (#1259 )
* - fast-reload review, respip set can be null from a view.
* - fast-reload review, typos.
* - fast-reload review, keep clang static analyzer happy.
* - fast-reload review, don't forget to copy tag_actions.
* - fast-reload review, less indentation.
* - fast-reload review, don't leak respip_actions when reloading.
* - fast-reload review, protect NULL pointer dereference in get_mem
functions.
* - fast-reload review, add fast_reload_most_options.tdir to test most
options with high verbosity when fast reloading.
* - fast-reload review, don't skip new line on long error printouts.
* - fast-reload review, typo.
* - fast-reload review, use new_z for consistency.
* - fast-reload review, nit for unlock ordering to make eye comparison
with the lock counterpart easier.
* - fast-reload review, in case of error the sockets are already closed.
* - fast-reload review, identation.
* - fast-reload review, add static keywords.
* - fast-reload review, update unbound-control usage text.
* - fast-reload review, updates to the man page.
* - fast-reload, the fast-reload command is experimental.
* - fast-reload, fix compile of doqclient for fast reload functions.
* Changelog comment for #1042
- Merge #1042 : Fast Reload. The unbound-control fast_reload is added.
It reads changed config in a thread, then only briefly pauses the
service threads, that keep running. DNS service is only interrupted
briefly, less than a second.
---------
Co-authored-by: Yorgos Thessalonikefs <yorgos@nlnetlabs.nl >
2025-03-31 15:25:24 +02:00
W.C.A. Wijngaards
914cef75f9
- iana portlist update.
2025-03-31 14:25:16 +02:00
W.C.A. Wijngaards
f76365754e
- Fix for ci test, expat is installed on the osx image.
2025-03-27 10:52:00 +01:00
W.C.A. Wijngaards
aa77d02336
- Fix unit test dname log printout typecast.
2025-03-27 10:47:20 +01:00
Yorgos Thessalonikefs
23273d76a5
- For #1255 , for ios try the latest expat version again.
2025-03-26 16:51:46 +01:00
Yorgos Thessalonikefs
94a84d3387
- For #1255 , for ios disable building tests that require C++11.
2025-03-26 16:40:10 +01:00
Yorgos Thessalonikefs
d91c857e22
- For #1255 , for ios use an older expat version that does not require
...
C++11 language features.
2025-03-26 16:15:16 +01:00
Yorgos Thessalonikefs
d03e4b1884
- Fix #1255 : Multiple pinnings to vulnerable copies of libexpat.
2025-03-26 14:58:54 +01:00
W.C.A. Wijngaards
376f2ade2a
- Fix #1254 : send failed: Socket is not connected and
...
`remote address is 0.0.0.0 port 53`.
2025-03-24 08:54:54 +01:00
W.C.A. Wijngaards
0eabc8d0f1
- Fix for #1253 : Fix for redis cachedb backend to expect an integer
...
reply for the EXPIRE command.
2025-03-21 14:07:22 +01:00
W.C.A. Wijngaards
a42fb99508
- Fix #1253 : Cache entries fail to be removed from Redis cachedb
...
backend with unbound-control flush* +c.
2025-03-21 12:56:21 +01:00
W.C.A. Wijngaards
eccf52e39d
- Fix print of RR type NSAP-PTR, it is an unquoted string.
2025-03-20 15:51:03 +01:00
W.C.A. Wijngaards
30b9cb5f81
- Fix for windows compile create ssl contexts.
2025-03-18 14:01:53 +01:00
W.C.A. Wijngaards
b0d20e2d28
- Fix #1251 : WSAPoll first argument cannot be NULL.
2025-03-18 13:59:53 +01:00
W.C.A. Wijngaards
13afde2cad
- Fix representation of types GPOS and RESINFO, add rdf type for
2025-03-17 16:38:17 +01:00
Yorgos Thessalonikefs
71bb60e586
- Fix 'unbound-control flush_negative' when reporting removed data;
...
reported by David 'eqvinox' Lamparter.
2025-03-16 09:02:20 +01:00
W.C.A. Wijngaards
5c84bb573f
Changelog nore for #1238 and add --help description.
...
- Merge #1238 : Prefer SOURCE_DATE_EPOCH over actual time.
Add --help output description for the SOURCE_DATE_EPOCH variable.
2025-02-28 09:32:49 +01:00
Sefa Eyeoglu and GitHub
d9f1dae540
Prefer SOURCE_DATE_EPOCH over actual time ( #1238 )
...
* Add ax_build_date_epoch from Autoconf Archive
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
* Prefer SOURCE_DATE_EPOCH over actual time
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
---------
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2025-02-28 09:22:19 +01:00
W.C.A. Wijngaards
a3d750b7d8
Changelog note for #1243
...
- Merge #1243 : Do not shadow tm on line 236.
2025-02-25 09:37:36 +01:00
Florian Obser and GitHub
c371be3f9f
Do not shadow tm on line 236. ( #1243 )
2025-02-25 09:36:44 +01:00
Yorgos Thessalonikefs
c5c5486261
- Fix hash calculation for cachedb to ignore case. Previously, cached
...
records there were only relevant for same case queries (if not
already in Unbound's internal cache).
2025-02-24 14:47:13 +01:00
Yorgos Thessalonikefs
1894c0a150
Changelog entry for #1241 :
...
- Merge #1241 : Fix infra-keep-probing for low infra-cache-max-rtt
values.
2025-02-19 13:46:01 +01:00
Yorgos Thessalonikefs and GitHub
edb20a2ad2
Merge pull request #1241 from NLnetLabs/bugfix/keep-probing-max-rtt
...
Fix infra-keep-probing for low infra-cache-max-rtt values
2025-02-19 13:44:40 +01:00
Yorgos Thessalonikefs
bcf162abd7
- The maximum value of a probe rto was not aligned with the
...
(configurable) infra-cache-max-rtt value. That could result in
infra-keep-probing not working if an infra-cache-max-rtt value was chosen
that was below 12000 ms. This fix still uses a default value of 12000
ms for the probe but caps it to the infra-cache-max-rtt if that is
lower.
2025-02-19 12:14:59 +01:00
Yorgos Thessalonikefs
5e1f35b59b
- Fix static analysis report about unhandled EOF on error conditions
...
when reading anchor key files.
2025-02-19 11:24:49 +01:00
Yorgos Thessalonikefs
72828ff81c
- Consider reconfigurations when calculating the still_useful_timeout
...
for servers in the infrastructure cache.
2025-02-17 15:21:18 +01:00
W.C.A. Wijngaards
01cea4d5be
- Fix #986 : Resolving sas.com with dnssec-validation fails though
...
signed delegations seem to be (mostly) correct.
2025-01-30 16:26:31 +01:00
Yorgos Thessalonikefs
35dbbcb2f5
- Make the default value of module-config "validator iterator"
...
regardless of compilation options. --enable-subnet would implicitly
change the value to enable the subnetcache module by default in the
past.
2025-01-29 12:08:28 +01:00
Yorgos Thessalonikefs
911509fd59
Changelog entry for #1220 :
...
- Merge #1220 from Petr Menšík, Add unbound members group access to
control key.
2025-01-24 16:56:09 +01:00
Yorgos Thessalonikefs and GitHub
b48958c983
Merge pull request #1220 from InfrastructureServices/unbound-control-group-key
...
Add unbound members group access to control key
2025-01-24 16:53:12 +01:00
Yorgos Thessalonikefs
cc55beefc8
Changelog entry for #1224 :
...
- Merge #1224 from Theo Buehler: Do not use DSA API unless USE_DSA is
set.
2025-01-21 17:35:00 +01:00
Yorgos Thessalonikefs and GitHub
a2bf32bb4e
Merge pull request #1224 from botovq/improve-use-dsa
...
Do not use DSA API unless USE_DSA is set
2025-01-21 17:33:48 +01:00
W.C.A. Wijngaards
d9b863ed76
Changelog note for #1229
...
- Merge #1229 : check before use daemon->shm_info.
2025-01-21 15:48:46 +01:00
eaglegai and GitHub
073c7301eb
check before use daemon->shm_info ( #1229 )
...
fix core after the command `unbound-control stop unbound`
fix:https://github.com/NLnetLabs/unbound/issues/1228
Signed-off-by: eaglegai <eaglegai@163.com >
2025-01-21 15:47:51 +01:00
Yorgos Thessalonikefs
f822042cd0
- Do not open unencrypted channels next to encrypted ones on the same
...
port.
2025-01-21 15:26:40 +01:00
W.C.A. Wijngaards
5f58ced71e
- Fix to check length in ATMA string to wire.
2025-01-21 12:30:30 +01:00
W.C.A. Wijngaards
207ae97ff9
- Fix encoding of RR type ATMA.
2025-01-21 12:27:15 +01:00
W.C.A. Wijngaards
9a0de14aa1
- Fix compile of interface check code when dnscrypt or quic is
...
disabled.
2025-01-21 10:13:48 +01:00
Yorgos Thessalonikefs
048c193243
- Use the same interface listening port discovery code for all needed
...
protocols.
- Port to string only when needed before getaddrinfo().
2025-01-21 10:04:30 +01:00
Yorgos Thessalonikefs
d62fff2c7c
- Create the quic SSL listening context only when needed.
2025-01-20 15:49:37 +01:00
Yorgos Thessalonikefs
3f839cebc3
Changelog entry for #1222 :
...
- Merge #1222 : Unique DoT and DoH SSL contexts to allow for different
ALPN.
2025-01-20 15:45:11 +01:00
Yorgos Thessalonikefs and GitHub
e4483bbbd1
Unique DoT and DoH SSL contexts to allow for different ALPN ( #1222 )
2025-01-20 15:43:44 +01:00
Theo Buehler
8672b34fca
Do not use DSA API unless USE_DSA is set
...
Even if USE_DSA is unset, unbound ends up linking against OpenSSL
DSA API because these guards are missing.
2025-01-18 10:40:43 +01:00
Yorgos Thessalonikefs
1d428f2d54
Changelog entry for #1221 :
...
- Merge #1221 : Consider auth zones when checking for forwarders.
2025-01-17 10:19:26 +01:00
Yorgos Thessalonikefs and GitHub
9882a395ab
Merge pull request #1221 from NLnetLabs/bugfix/consider-auth-zones-when-forwarding
...
Consider auth zones when checking for forwarders
2025-01-17 10:18:32 +01:00
Yorgos Thessalonikefs
394588818f
- Use correct RFC number for resolver.arpa.
2025-01-15 10:55:31 +01:00
Yorgos Thessalonikefs
f52b2a6ea2
- Add resolver.arpa and service.arpa to the default locally served
...
zones.
2025-01-14 17:18:32 +01:00
Yorgos Thessalonikefs
b2fec3be11
- Take configured auth zones into consideration when checking if a
...
request needs to be forwarded.
2025-01-14 16:38:53 +01:00
Petr Menšík
f4881bd81a
Add unbound members group access to control key
...
Recent openssl genrsa does not use umask for generated keys. There is no
strong reason why every member of unbound group should be able read
server key. But control key would be quite useful to be group readable
and to allow control access to whole group. Allowing access to control
by group membership, not via sudo.
2025-01-14 14:35:09 +01:00
Yorgos Thessalonikefs
c3b5bff311
- Fix typo.
2025-01-13 12:32:16 +01:00
Yorgos Thessalonikefs
62a0e03801
- Fix #1213 : Misleading error message on default access control causing
...
refuse.
2025-01-13 11:33:24 +01:00
Yorgos Thessalonikefs
716f3df385
Changelog entry for #1214 :
...
- Merge #1214 : Use TCP_NODELAY on TLS sockets to speed up the TLS
handshake.
2025-01-10 13:54:49 +01:00
Yorgos Thessalonikefs and GitHub
7e4f7ec5be
Merge pull request #1214 from NLnetLabs/bugfix/tls-handshake
...
Use TCP_NODELAY on TLS sockets to speed up the TLS handshake.
2025-01-10 13:53:46 +01:00
Yorgos Thessalonikefs
7559d26c93
- Use TCP_NODELAY on TLS sockets to speed up the TLS handshake.
2025-01-10 12:11:59 +01:00
Yorgos Thessalonikefs
eb36c880de
Changelog entry for #1174 :
...
- Merge #1174 : Serve expired cache update fixes. Fixes a regression bug
with serve-expired that appeared in 1.22.0 and would not allow the
iterator to update the cache with not-yet-validated entries resulting
in increased outgoing traffic.
2024-12-31 16:30:35 +01:00
Yorgos Thessalonikefs and GitHub
fff9f62a1e
Serve expired cache update fixes ( #1174 )
...
- Fixes a regression bug with serve-expired that appeared in 1.22.0
and would not allow the iterator to update the cache with
not-yet-validated entries resulting in increased outgoing traffic.
- Treat serve_expired_norec_ttl as a backoff timer for failed updates of expired records.
- Try to use expired answers instead of SERVFAIL if serve-expired is
enabled even without serve-expired-client-timeout.
- Add suggestion to refresh the cached norec_ttl and expired_ttl when a
response cannot update the usable expired entry.
2024-12-31 16:28:12 +01:00
Yorgos Thessalonikefs
e57e537c85
- For #1207 : [FR] Support for RESINFO RRType 261 (RFC9606), add
...
LDNS_RR_TYPE_RESINFO similar to LDNS_RR_TYPE_TXT.
2024-12-20 15:04:34 +01:00
Yorgos Thessalonikefs
71d821fde9
Changelog entry for #1204 :
...
- Merge #1204 : ci: set persist-credentials: false for actions/checkout
per zizmor suggestion.
2024-12-13 13:43:29 +01:00
Yorgos Thessalonikefs and GitHub
df5ab5624d
Merge pull request #1204 from NLnetLabs/zizmor-improvements
2024-12-13 13:42:31 +01:00
Maarten Aertsen
eb08dc617a
set persist-credentials: false per zizmor suggestion
2024-12-13 13:12:03 +01:00
Yorgos Thessalonikefs
ded4c82ced
- Fix typo in log_servfail.tdir test.
2024-12-03 16:03:05 +01:00
Yorgos Thessalonikefs
e82a691efe
Changelog entry for #1187 :
...
- Merge #1187 : Create the SSL_CTX for QUIC before chroot and privilege
drop.
2024-12-03 14:21:34 +01:00
61d7250b96
Create the SSL_CTX for QUIC before chroot and privilege drop ( #1187 )
...
Fixes #1185 by creating the SSL_CTX for QUIC before chroot and
privilege drop, just like the other SSL_CTX creations.
---------
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com >
2024-12-03 14:20:33 +01:00
Yorgos Thessalonikefs
b4a9c8bb05
- Safeguard alias loop while looking in the cache for expired answers.
2024-12-03 14:10:17 +01:00
Yorgos Thessalonikefs
be92752368
- Merge #1198 : Fix log-servfail with serve expired and no useful cache
...
contents.
2024-12-03 14:05:12 +01:00
Yorgos Thessalonikefs and GitHub
1512945c79
Merge pull request #1198 from NLnetLabs/bugfix/log-servfail-serve-expired
...
Fix log-servfail with serve expired and no useful cache contents
2024-12-03 14:02:03 +01:00
Yorgos Thessalonikefs
9de159b96b
- For #1175 , the default value of serve-expired-ttl is set to 86400
...
(1 day) as suggested by RFC8767.
2024-12-03 13:09:51 +01:00
Yorgos Thessalonikefs
bd2e66de1e
Changelog entry for #1189 , #1197 :
...
- Merge #1189 : Fix the dname_str method to cause conversion errors
when the domain name length is 255.
- Merge #1197 : dname_str() fixes.
2024-12-03 11:58:06 +01:00
Yorgos Thessalonikefs and GitHub
9770e855d2
Merge pull request #1197 from NLnetLabs/dname_str-more-tests
...
dname_str() fixes
2024-12-03 11:55:41 +01:00
Yorgos Thessalonikefs
c124f67f33
- For #1193 , introduce log-servfail.tdir and cleanup the log-servfail
...
setting from other tests.
2024-12-02 12:30:11 +01:00
Yorgos Thessalonikefs
c55490c1e6
- Fix #1193 : log-servfail fails to log host SERVFAIL responses in
...
Unbound 1.19.2 on Ubuntu 24.04.1 LTS, by not considering cached
failures when trying to reply with expired data.
2024-12-02 12:28:11 +01:00
Yorgos Thessalonikefs
f46acec35f
- For #1189 , homogenize the input buffer size for dname_str().
2024-12-02 11:53:56 +01:00
Yorgos Thessalonikefs
1cd2fb3b9d
- For #1189 , add unit tests for dname_str() and debug check the input
...
buffer size.
2024-12-02 10:03:35 +01:00
wenxuan70
06fb30d0a0
Fix the dname_str method to cause conversion errors when the domain name length is 255
2024-11-24 17:53:23 +08:00
Yorgos Thessalonikefs
9e3c50ec9e
- For #1175 , update serve-expired tests.
2024-11-22 16:14:02 +01:00
Yorgos Thessalonikefs
eefdbb341f
- Fix #1175 : serve-expired does not adhere to secure-by-default
...
principle. The default value of serve-expired-client-timeout
is set to 1800 as suggested by RFC8767.
2024-11-22 15:32:34 +01:00
Yorgos Thessalonikefs
e75da7d954
- Fix comparison to help static analyzer.
2024-11-20 10:53:45 +01:00
Yorgos Thessalonikefs
9a3a1bc221
Changelog entry for #1169 :
...
- Merge #1169 from Sergey Kacheev, fix: lock-free counters for
auth_zone up/down queries.
2024-11-19 17:01:34 +01:00
Yorgos Thessalonikefs and GitHub
c1e9d7be7f
Merge pull request #1169 from sakateka/lock-free-az-counters
...
fix: lock-free counters for auth_zone up/down queries
2024-11-19 17:00:01 +01:00
Sergey Kacheev
2c72a4970b
fix: lock-free counters for auth_zone up/down queries
2024-11-19 18:55:31 +03:00
W.C.A. Wijngaards
4cf7fae50c
- Fix for #1183 : release nsec3 hashes per test file.
2024-11-15 10:47:27 +01:00
W.C.A. Wijngaards
a2ac980737
- Fix #1183 : the data being used is released in method
...
nsec3_hash_test_entry.
2024-11-15 10:37:35 +01:00
W.C.A. Wijngaards
c88eed83d9
- ttl-zero-cacherep, unit test for ttl zero for a cache response.
2024-11-11 17:08:38 +01:00
W.C.A. Wijngaards
50fcf71f04
- ttl-zero-cacherep, Responses in the last second of their cache TTL,
...
get an extra second. That makes the TTL not 0, since they are from
cache and can be cached by the client.
2024-11-11 15:43:10 +01:00
Yorgos Thessalonikefs
733d5f7161
- Complete fix for max-global-quota to 200.
2024-11-08 17:34:28 +01:00
Yorgos Thessalonikefs
fe288a9b06
- More descriptive text for 'harden-algo-downgrade'.
2024-11-08 13:56:04 +01:00
Yorgos Thessalonikefs
fd1a1d5fa0
- Increase the default of max-global-quota to 200 from 128 after
...
operational feedback. Still keeping the possible amplification
factor (CAMP related issues) in the hundreds.
2024-11-06 16:28:37 +01:00
Yorgos Thessalonikefs
3c4b87636a
Changelog entry for:
...
- Fix SETEX check during Redis (re)initialization.
2024-11-05 12:20:25 +01:00
Yorgos Thessalonikefs
36d8c6e778
- Fix SETEX check during Redis (re)initialization.
2024-11-05 12:18:55 +01:00
W.C.A. Wijngaards
60fd77b8f9
- Fix to log redis timeout error string on failure.
2024-11-05 11:41:41 +01:00
W.C.A. Wijngaards
d5e91d181b
- Fix for the serve expired DNSSEC information fix, it would not allow
...
current delegation information be updated in cache. The fix allows
current delegation and validation recursion information to be
updated, but as a consequence no longer has certain expired
information around for later dnssec valid expired responses.
2024-11-05 10:39:27 +01:00
W.C.A. Wijngaards
7985d17b57
Changelog note for #1167
...
- Merge #1167 : Makefile.in: fix occasional parallel build failures
around bison rule.
2024-11-04 13:26:27 +01:00
Sergei Trofimovich and GitHub
46cfbf313d
Makefile.in: fix occasional parallel build failures around bison rule ( #1167 )
...
Without the change `make -j16 --shuffle` occasinally fails to build as:
$ make -j16 --shuffle
...
bison -y -d -o util/configparser.c ./util/configparser.y
...
/libtool --tag=CC --mode=compile gcc -I. -I...-openssl-3.3.2-dev/include -I...-libevent-2.1.12-dev/include -I...-expat-2.6.3-dev/include -DSRCDIR=. -g -O2 -flto -fPIE -pthread -o configparser.lo -c util/configparser.c
...
util/configparser.c:755:3: error: expected ',' or '}' at end of input
755 | YYSYMBOL_server_low_rtt = 626, /* server_low_rtt */
| ^
The build failure happens due to this `Makefile.in` rule:
util/configparser.c util/configparser.h: $(srcdir)/util/configparser.y
@-if test ! -d util; then $(INSTALL) -d util; fi
$(YACC) -d -o util/configparser.c $(srcdir)/util/configparser.y
For GNU make that means that each of the targets will attempt the rule
execution when the file is missing: one for .c file and another for .h
file:
https://www.gnu.org/software/make/manual/html_node/Multiple-Targets.html
The workaround is to only run $(YACC) for .c target and use .c as a
pre-requisite for an .h file.
Before the change the build fails about every 10-th run.
After the change no build failures after 100 successful builds.
2024-11-04 13:26:05 +01:00
W.C.A. Wijngaards
533c3b0514
- Fix redis that during a reload it does not fail if the redis
...
server does not connect or does not respond. It still logs the
errors and if the server is up checks expiration features.
2024-11-04 10:14:26 +01:00
W.C.A. Wijngaards
5f3f214da5
- Fix redis that during a reload it does not fail if the redis
...
server does not connect or does not respond. It still logs the
errors and if the server is up checks expiration features.
2024-11-04 10:14:13 +01:00
Yorgos Thessalonikefs
11b8157a98
Changelog entry for #1157 :
...
- Merge #1157 from Liang Zhu, Fix heap corruption when calling
ub_ctx_delete in Windows.
2024-11-01 16:27:06 +01:00
Liang Zhu and GitHub
1c24cd79cc
Fix heap corruption when calling ub_ctx_delete in Windows ( #1157 )
2024-11-01 16:26:05 +01:00
Yorgos Thessalonikefs
d34fb3ed77
Changelog entry for #1170 :
...
- Merge #1170 from Melroy van den Berg, Fix chroot manpage
description.
2024-11-01 16:12:07 +01:00
Melroy van den Berg and GitHub
c37833c943
Fix chroot manpage description ( #1170 )
2024-11-01 16:10:57 +01:00
Yorgos Thessalonikefs
8a6a4bd7f3
- Add test case for #1159 .
...
- Some clean up for stat_values.test.
2024-11-01 15:57:52 +01:00
Yorgos Thessalonikefs
d23523e528
- Merge #1159 : Stats for discard-timeout and wait-limit.
2024-11-01 15:54:24 +01:00
Wouter Wijngaards and GitHub
75967e7f5e
Stats for discard-timeout and wait-limit ( #1159 )
...
* - Stats num.queries_discard_timeout and num.queries_wait_limit are used
instead of the mesh dropped that of requests exceeded.
2024-11-01 15:52:58 +01:00
Yorgos Thessalonikefs
f5580f0a63
- Fix #1163 : Typos in unbound.conf documentation.
2024-10-25 21:25:16 +02:00
W.C.A. Wijngaards
0e2b2743d8
Add changelog entry for tag for 1.22.0rc1.
2024-10-17 10:57:07 +02:00
W.C.A. Wijngaards
018be1d089
- Tag for 1.22.0 release. This did not contain the 1154 fix
...
from 16 oct. The code repository continues with
version 1.22.1 in development.
2024-10-17 10:48:58 +02:00
W.C.A. Wijngaards
9a63db344e
- Fix #1154 : Tag Incorrectly Applying for Other Interfaces
...
Using the Same IP. This fix is not for 1.22.0.
2024-10-16 15:56:33 +02:00
W.C.A. Wijngaards
0076736fc4
- Fix for dnstap with dnscrypt and dnstap without dnsoverquic.
2024-10-16 11:52:49 +02:00
Yorgos Thessalonikefs
f8e45ed696
- Fix for dnsoverquic and dnstap to use the correct dnstap
...
environment.
2024-10-16 11:02:31 +02:00
W.C.A. Wijngaards
2a28c7389c
- Fix dnsoverquic to extend the number of streams when one is closed.
2024-10-14 13:53:55 +02:00
W.C.A. Wijngaards
114edf2c38
- Fix to display warning if quic-port is set but dnsoverquic is not
...
enabled when compiled.
2024-10-14 11:34:26 +02:00
W.C.A. Wijngaards
e0c93e300b
- Fix contrib/aaaa-filter-iterator.patch for change in call
...
signature for cache_fill_missing.
2024-10-11 11:42:30 +02:00
W.C.A. Wijngaards
bd1813b126
- Fix harden-unverified-glue for AAAA cache_fill_missing lookups.
2024-10-11 09:03:11 +02:00
W.C.A. Wijngaards
1b7e14dc39
- Fix to disable detection of quic configured ports when quic is
...
not compiled in.
2024-10-11 08:51:14 +02:00
W.C.A. Wijngaards
8b7782e8fc
- Fix add reallocarray to alloc stats unit test, and disable
...
override of strdup in unbound-host, and the result of config
get option is freed properly.
2024-10-10 10:43:23 +02:00
W.C.A. Wijngaards
e0201435a4
- Fix cookie_file test sporadic fails for time change during
...
the test.
2024-10-10 09:45:48 +02:00
W.C.A. Wijngaards
66fb3ff670
- Fix for dnstap compile of doqclient with doq disabled.
2024-10-09 15:52:33 +02:00
W.C.A. Wijngaards
36461ea73d
Changelog entry and unit test for fix of NSEC TTL and prefetch ttl.
...
- Fix to limit NSEC TTL for messages from cachedb. Fix to limit the
prefetch ttl for messages after a CNAME with short TTL.
2024-10-09 15:29:23 +02:00
W.C.A. Wijngaards
5679c8b1df
- Fix to limit NSEC TTL for messages from cachedb. Fix to limit the
...
prefetch ttl for messages after a CNAME with short TTL.
2024-10-09 15:28:55 +02:00
W.C.A. Wijngaards
a4d8c0c43b
Changelog note for #871
...
- Merge #871 : DNS over QUIC. This adds `quic-port: 853` and
`quic-size: 8m` that enable dnsoverquic, and the counters
`num.query.quic` and `mem.quic` in the statistics output.
The feature needs to be enabled by compiling with libngtcp2,
with `--with-libngtcp2=path` and libngtcp2 needs openssl+quic,
pass that with `--with-ssl=path` to compile unbound as well.
2024-10-09 10:35:45 +02:00
3d89c26d32
DNSoverQUIC ( #871 )
...
* - dnsoverquic, configure --with-libngtcp2 option.
* - dnsoverquic, create comm_point for doq and receive cmsg local address.
* - dnsoverquic, less obtrusive debug.
* - dnsoverquic, log and fix local port number. Neater subroutines and ifdefs.
* - dnsoverquic, add testcode/doqclient.
* - dnsoverquic, review fixes on doqclient.
* - dnsoverquic, fix unit test testbound link.
* - dnsoverquic, parse query in doqclient.
* - dnsoverquic, link with libngtcp2_crypto_openssl and code for doqclient.
* - dnsoverquic, random routine for doqclient and fix ngaddr allocation, and
check ub_initstate return.
* - dnsoverquic, fix doqclient free of allocated ngaddr addresses.
* - dnsoverquic, enable debug output with -v for doqclient.
* - dnsoverquic, create and set TLS object and TLS context in doqclient.
* - dnsoverquic, work on quic tls context in doqclient.
* - dnsoverquic, set default dnsoverquic port to the standardized 853 port.
* - dnsoverquic, remove debug comment.
* - dnsoverquic, dns-over-quic quic-port: 853 config option.
* - dnsoverquic, log type of interface created at start of unbound.
* - dnsoverquic, log type of no tls https as https when interface is created.
* - dnsoverquic, setup client quic tls methods.
* - dnsoverquic, event work in doqclient.
* - dnsoverquic, explain in documentation that QUIC uses UDP.
* - dnsoverquic, make doqclient exit.
* - dnsoverquic, doqclient cleanup run routine.
* - dnsoverquic, doqclient code nicer.
* - dnsoverquic, doqclient read and timer.
* - dnsoverquic, doqclient write work.
* - dnsoverquic, review fixes.
* - dnsoverquic, detect openssl quic support at configure time.
* - dnsoverquic, do not allow QUIC on port 53 to stop confusion of DoQ and DNS.
* - dnsoverquic, in doqclient, when idle close is returned, drop the connection
without calling ngtcp2_conn_write_connection_close.
* - dnsoverquic, in doqclient, log callbacks.
* - dnsoverquic, in doqclient add extend_max_local_streams_bidi callback.
* - dnsoverquic, in doqclient add client query lists.
* - dnsoverquic, in doqclient, code cleaner, log text nicer.
* - dnsoverquic, in doqclient, work on write_streams.
* - dnsoverquic, in doqclient, use signed int for stream_id, work on the
ngtcp2_recv_stream_data callback.
* - dnsoverquic, in doqclient, print result and fixes for recv data.
* - dnsoverquic, in doqclient, add the event callbacks to fptr wlist.
* - dnsoverquic, in doqclient, when already expired, use zero timeout timer.
* - dnsoverquic, in doqclient, ignore unused return codes from
ngtcp2_conn_writev_stream.
* - dnsoverquic, add doqclient event functions to the unbound-dnstap-socket
test tool for linking.
* - dnsoverquic, in doqclient, fix multiple operands for the commandline.
neater dns message output.
* - dnsoverquic, in doqclient, store packet when write blocks and try later.
* - dnsoverquic, in doqclient, limit number of packets and number of bytes sent.
* - dnsoverquic, in doqclient, better size estimate for outgoing packet.
* - dnsoverquic, in doqclient, fix that already written next packet is not
counted for data length to send.
* - dnsoverquic, in doqclient, early data transmission and session resumption.
* - dnsoverquic, send version negotiation packet.
* - dnsoverquic, send retry and accept the connection.
* - dnsoverquic, storage structures.
* - dnsoverquic, doq connection setup.
* - dnsoverquic, neater code layout for new conn. Fix verbosity of log print.
* - dnsoverquic, doq conn callback functions.
* - dnsoverquic, doq_fill_rand routine in header file.
* - dnsoverquic, keep track of connection ids.
* - dnsoverquic, get_new_connection_id callback.
* - dnsoverquic, create doq_conid tree.
* - dnsoverquic, settings for server connection.
* - dnsoverquic, tls context.
* - dnsoverquic, sendmsg error handling.
* - dnsoverquic, neat code.
* - dnsoverquic, track doq connection last error.
* - dnsoverquic, neater packet address parameters.
* - dnsoverquic, fix uninitialized bytes in msg control in doq sendmsg, and
fix tree cleanup of conid tree.
* - dnsoverquic, better usage text for doqclient.
* - dnsoverquic, neat code.
* - dnsoverquic, connection receive packet handling.
* - dnsoverquic, debug output.
* - dnsoverquic, debug switched meaning of scid and dcid gives
ERR_TRANSPORT_PARAM.
* - dnsoverquic, remove debug output.
* - dnsoverquic, connection delete routine and error from connection read in
more detail with less clutter.
* - dnsoverquic, write to stream, and receive stream data, log packet.
* - dnsoverquic, alpn set up.
* - dnsoverquic, connection close.
* - dnsoverquic, doq_table and locks.
* - dnsoverquic, fix tests.
* - dnsoverquic, better locking.
* - dnsoverquic, doq_stream.
* - dnsoverquic, remove compile warning.
* - dnsoverquic, doq_stream receive data.
* - dnsoverquic, fixes for locks and keep length bytes allocated.
* - dnsoverquic, lock connection on initial insertion.
* - dnsoverquic, reply information, and reply buffer.
* - dnsoverquic, reply info from cache, local-zone and recursion lookups.
* - dnsoverquic, spelling in comment about buffer storage.
* - dnsoverquic, stream write list and doqclient fixes to exit and printout.
* - dnsoverquic, doqclient -q option for short printout.
* - dnsoverquic, unit test with local data reply.
* - dnsoverquic, write connection and write event is set.
* - dnsoverquic, neater logging for write event connection stream writes.
* - dnsoverquic, log remote connection when the streams are written for it.
* - dnsoverquic, better threaded use, threads can write to doq connections at
the same time.
* - dnsoverquic, unit test for the calculation of connection size with a query.
* - dnsoverquic, use less memory per connection.
* - dnsoverquic, remove unit test output.
* - dnsoverquic, add MSG_DONTWAIT so that there is no mistakenly blocking
socket operations.
* - dnsoverquic, doqclient logs address on connection failures.
* - dnsoverquic, compat code for clock get time routine.
* - dnsoverquic, use skip_test for doq unit test.
* - dnsoverquic, fixes for proxyprotocol, use remote_addr and set proxyprotocol
disabled on the doq connection.
* - dnsoverquic, doqclient sets log identity to its name, instead of "unbound".
* - dnsoverquic, handle blocked udp packet writes.
* - dnsoverquic, fix function documentation for verbose_print_addr from
services/listen_dnsport.c.
* - dnsoverquic, fix doq_conn lock protection. The checklock allows to set
the output file name, and doqclient uses that. Print place of lock_protect.
* - dnsoverquic, neater buffer clear when write of blocked packet fails, make
sure that memory area does not overlap for blocked packet addresses when
write of blocked packet fails, and size blocked packet buffer to the pkt buf.
* - dnsoverquic, move lock check after the test to test script in doq test.
* - dnsoverquic, the doq test uses valgrind when enabled.
* - dnsoverquic, git ignore the doqclient test.
* - dnsoverquic, limit the buffer for packets to max packet size with some more.
* - dnsoverquic, spelling fix.
* - dnsoverquic, timer work, structure and adds and deletes.
* - dnsoverquic, timer_tree uses table.lock.
* - dnsoverquic, fix timer tree remove and spelling in header file comment.
* - dnsoverquic, fix testbound for timer compare function linkage.
* - dnsoverquic, timer set add debug output.
* - dnsoverquic, doq_conn_check_timer function.
* - dnsoverquic, doq_done_setup_timer_and_write function.
* - dnsoverquic, fix that doq conn is not deleted whilst editing write and timer.
* - dnsoverquic, Fix #861 make ERROR netevent.h:1073:32: error: field 'blocked_pkt_pi' has incomplete type
* - dnsoverquic, timer element has timeout setup when socket callback complete.
* - dnsoverquic, fix unit test compile.
* - dnsoverquic, timer callback routine, handle timeout and close and delete the
connection if necessary.
* - dnsoverquic, timer pickup stops at current time.
* - dnsoverquic, timer comparable with the event base time.
* - dnsoverquic, erase marked time when timer disabled.
* - dnsoverquic, fix timer to set correctly and lock popped write connection
early, before it is modified.
* - dnsoverquic, fix to unlock connection lock when it is unlinked and deleted.
* - dnsoverquic, fix to unlock connection lock when it is deleted because it is
a duplicate connection.
* - dnsoverquic, fix that doq timer is not disabled when not set.
* - dnsoverquic, quic-size: 8m maximum number of bytes for QUIC buffers.
* - dnsoverquic, flex and bison.
* - dnsoverquic, quic-size turn away new connections when full.
* - dnsoverquic, doqclient outputs stream reset information.
* - dnsoverquic, detect stream close and reset.
* - dnsoverquic, free stream buffers when data is acked and stream is closed.
* - dnsoverquic, delete stream when closed. Unlink it. Allow stream_id 4 as first.
* - dnsoverquic, stats output for mem.quic and num.query.quic.
* - dnsoverquic, review fix.
* - dnsoverquic, fix when compiled without ngtcp2.
* - dnsoverquic, fix to detect ngtcp2_crypto_quictls for openssl crypto, after
change in libngtcp2.
* - dnsoverquic, fix for newer ngtcp2 versions. detect ngtcp2_ccerr_default,
ngtcp2/ngtcp2_crypto_quictls.h, struct ngtcp2_pkt_hd.tokenlen,
struct ngtcp2_settings.tokenlen and struct ngtcp2_version_cid.
* - dnsoverquic, fix for newer ngtcp2 version, detect number of arguments for
ngtcp2_conn_shutdown_stream.
* - dnsoverquic, fix for newer ngtcp2.
* - dnsoverquic, use the functions from util/timeval_func.h.
* - dnsoverquic, fix in doqclient only write transport parameters once.
* - dnsoverquic, debug log output removed.
* - dnsoverquic, fix in doqclient to work with renamed NGTCP2_CC_ALGO_BBR_V2
from ngtcp2.
* - dnsoverquic, fix to check in doq_server_socket_create that tls-service-key
and tls-service-pem have a value.
* - dnsoverquic, fix to error when doq_server_socket_create fails.
* - dnsoverquic, improve linebreaks in configparser additions.
* - dnsoverquic, fix port from interface pickup after main branch change.
* Fix getting user data from SSL, fix calloc warning.
* Fix fwrite return value check in doqclient
* - timeval_substruct from timeval_func.h
- lock_protect also for HAVE_NGTCP2_CCERR_DEFAULT
- fix doq logging for inet_ntop failures
* - memset for consistency
- no value returned from msghdr_get_ecn when S_SPLINT_S is defined
* - dnsoverquic, rerun autoconf.
---------
Co-authored-by: Yorgos Thessalonikefs <yorgos@nlnetlabs.nl >
2024-10-09 10:32:03 +02:00
W.C.A. Wijngaards
dcf7afd722
- Fix #1128 : Cannot override tcp-upstream and tls-upstream with
...
forward-tcp-upstream and forward-tls-upstream.
2024-10-08 15:29:03 +02:00
W.C.A. Wijngaards
e67171612b
- Fix #1149 : unbound-control-setup hangs sometimes depending on
...
the openssl version.
2024-10-08 11:54:07 +02:00
Yorgos Thessalonikefs
a1b25f0296
- The fix for CVE-2024-8508 was part of 1.21.1, a security point release
...
on 1.21.0. The code repository continues with this fix and the version
number 1.22.0.
2024-10-03 18:19:01 +02:00
Yorgos Thessalonikefs
490585bf29
Merge branch 'release-1.21.1'
2024-10-03 18:14:01 +02:00
Yorgos Thessalonikefs
b7c61d7cc2
- Fix CVE-2024-8508, unbounded name compression could lead to denial of
...
service.
2024-10-03 17:41:20 +02:00
Yorgos Thessalonikefs
01883fb017
- Set version to 1.21.1
2024-10-03 14:11:57 +02:00
W.C.A. Wijngaards
5bb3b9cc83
- Fix unbound dnstap socket test program analyzer warnings about
...
unused variable assignments and variable initialization.
2024-09-30 16:36:01 +02:00
W.C.A. Wijngaards
3a1b79f6a1
- Fix negative cache NSEC3 parameter compares for zero length NSEC3
...
salt.
2024-09-30 09:25:51 +02:00
W.C.A. Wijngaards
84eeb9b97c
- Fix #1144 : [FR] log timestamps in ISO8601 format with timezone.
...
This adds the option `log-time-iso: yes` that logs in ISO8601
format.
2024-09-25 11:16:46 +02:00
Yorgos Thessalonikefs
d88eeb4c32
Changelog entry for #1143 :
...
- Merge #1143 : Fix cache update when serve expired is used. Expired
records are favored over resolution and validation failures when
serve-expired is used.
2024-09-24 16:49:34 +02:00
Yorgos Thessalonikefs and GitHub
2e398d51ba
Fix cache update when serve expired is used ( #1143 )
...
- Fix cache update when serve expired is used in order to not evict
still usable expired records. Modules are forbidden to update the
cache if their answer is DNSSEC unchecked or bogus and a valid
(expired) entry already exists. Bogus replies from the validator are
also discarded in favor of existing (expired) valid replies.
- serve-expired-ttl-reset should try to keep expired records in the
cache in case they are reset.
2024-09-24 16:47:04 +02:00
Yorgos Thessalonikefs
24ebca7df6
- More clear text for prefetch and minimal-responses in the
...
unbound.conf man page.
2024-09-24 15:10:21 +02:00
Yorgos Thessalonikefs
7f4a61e6fc
- Attempt to further fix doh_downstream_buffer_size.tdir flakiness.
2024-09-24 12:21:03 +02:00
Yorgos Thessalonikefs
db719d404f
- Fix doxygen warnings by commenting out CLANG_ASSISTED_PARSING,
...
CLANG_ADD_INC_PATHS, CLANG_OPTIONS and CLANG_DATABASE_PATH; they were
already disabled.
2024-09-23 15:31:32 +02:00
W.C.A. Wijngaards
a35a0c49da
- Fix dns64 with prefetch that the prefetch is stored in cache.
2024-09-23 12:19:43 +02:00
W.C.A. Wijngaards
5e9b6296b7
- Add redis-command-timeout: 20 and redis-connect-timeout: 200,
...
that can set the timeout separately for commands and the
connection set up to the redis server. If they are not
specified, the redis-timeout value is used.
2024-09-17 13:10:34 +02:00
W.C.A. Wijngaards
606e262fdd
Changelog comment for #1140 .
...
- Merge #1140 : Fix spelling mistake in comments.
2024-09-16 12:15:04 +02:00
Tochus and GitHub
819764663b
Fix spelling mistake in comments ( #1140 )
...
I noticed a spelling mistake in the comments. The term “chain of trust” was incorrectly written as “chainoftrust”. This change corrects the spelling to “chain of trust” which is the correct term used in English.
2024-09-16 12:14:28 +02:00
Yorgos Thessalonikefs
6bf2b2ac56
- Fix and add comments in testdata/val_negcache_ttl.rpl.
2024-09-11 12:16:02 +02:00
W.C.A. Wijngaards
5767b0933f
- Add unit test for ttl limit for aggressive nsec.
2024-09-10 10:17:31 +02:00
W.C.A. Wijngaards
24e0f0ab7e
- Fix to limit NSEC and NSEC3 TTL when aggressive nsec is
...
enabled (RFC9077).
2024-09-10 10:13:48 +02:00
Yorgos Thessalonikefs
d3fdbba877
- Fix comment to not trigger doxygen unknown command.
2024-09-06 16:03:20 +02:00
Yorgos Thessalonikefs
c36ce2a390
- Fix alloc-size and calloc-transposed-args compiler warnings.
2024-09-06 16:01:30 +02:00
W.C.A. Wijngaards
7ecff4113c
- Fix config file read for dnstap-sample-rate.
2024-09-05 09:35:54 +02:00
W.C.A. Wijngaards
99824bc0e6
Changelog note for #1135
...
- Merge #1135 : Add new IANA trust anchor.
2024-09-02 09:25:44 +02:00
9f09c36401
Add new IANA trust anchor ( #1135 )
...
Signed-off-by: Keelan Cannoo <keelan.cannoo@cyberstorm.mu >
Co-authored-by: Keelan10 <keelan.cannoo@cyberstorm.mu >
2024-09-02 09:24:55 +02:00
W.C.A. Wijngaards
a887284703
- Fix for #1132 , comment about adjusted copy of reference check.
2024-08-30 08:56:00 +02:00
W.C.A. Wijngaards
fb198b96f1
Changelog note for #1132 and fix for #1132 .
...
- Merge #1132 : b.root renumbering.
- Fix for #1132 , adjusted unit test for change in the test file.
2024-08-30 08:51:56 +02:00
Loganaden Velvindron and GitHub
30bf996f39
b.root renumbering ( #1132 )
...
https://b.root-servers.org/news/2023/05/16/new-addresses.html
Worked together with Jaykishan Muktawoa <jay@cyberstorm.mu >
2024-08-30 08:48:31 +02:00
W.C.A. Wijngaards
52154e658a
- Fix to print port number in logs for auth zone transfer activities.
2024-08-29 13:04:03 +02:00
W.C.A. Wijngaards
c06d3646a9
- Unit test for auth zone transfer TLS, and TLS failure.
2024-08-29 10:40:31 +02:00
W.C.A. Wijngaards
42d421a305
- Fix that stub-zone and forward-zone clauses do not exhaust memory
...
for long content.
2024-08-28 13:16:29 +02:00
W.C.A. Wijngaards
b5951ce1fa
- Fix that when rpz is applied the message does not get picked up by
...
the validator. That stops validation failures for the message.
2024-08-28 10:51:22 +02:00
W.C.A. Wijngaards
6b37309705
- Fix #1130 : Loads of logs: "validation failure: key for validation
...
<domain>. is marked as invalid because of a previous" for
non-DNSSEC signed zone.
2024-08-27 17:00:27 +02:00
W.C.A. Wijngaards
dc274fef9b
- Fix documentation for cache_fill_missing function.
2024-08-23 13:19:15 +02:00
W.C.A. Wijngaards
db1167c8b3
- Fix #1127 : error: "memory exhausted" when defining more than 9994
...
local-zones.
2024-08-23 09:22:07 +02:00
W.C.A. Wijngaards
1e0cf1e86b
- Merge patch to fix for glue that is outside of zone, with
...
`harden-unverified-glue`, from Karthik Umashankar (Microsoft).
Enabling this option protects the Unbound resolver against bad
glue, that is unverified out of zone glue, by resolving them.
It uses the records as last resort if there is no other working
glue.
2024-08-23 08:56:48 +02:00
W.C.A. Wijngaards
348df52e05
Enable ci back after debug.
2024-08-21 14:20:04 +02:00
W.C.A. Wijngaards
6b3266aaf8
- Fix for char signedness warnings on NetBSD.
2024-08-21 14:15:23 +02:00
W.C.A. Wijngaards
4f52461e81
- Add cross platform netbsd to github ci.
2024-08-21 14:03:11 +02:00
W.C.A. Wijngaards
06d5031d22
- Add cross platform openbsd to github ci.
2024-08-21 13:50:55 +02:00
W.C.A. Wijngaards
12119e2d3e
ci for freebsd nicer, with libevent, faster without static compile, and
...
with grouped output, also the pkg install is conditional on the platform.
2024-08-21 13:37:42 +02:00
W.C.A. Wijngaards
19d53d5663
Fix for freebsd ci.
2024-08-21 13:24:54 +02:00
W.C.A. Wijngaards
04e6f9e03b
- Add cross platform freebsd to github ci.
2024-08-21 13:20:00 +02:00
W.C.A. Wijngaards
3d350fa73d
- Add iter-scrub-ns, iter-scrub-cname and max-global-quota
...
configuration options.
2024-08-20 14:08:52 +02:00
W.C.A. Wijngaards
015b2b0daf
- Fix #1126 : unbound-control-setup hangs while testing for openssl
...
presence starting from version 1.21.0.
2024-08-19 15:51:47 +02:00
W.C.A. Wijngaards
5fa84d50bf
- Tag for release 1.21.0, the repository continues with 1.21.1
...
in development.
2024-08-15 11:01:41 +02:00
W.C.A. Wijngaards
79e4c57851
- Fix spelling for the cache-min-negative-ttl entry in the
...
example.conf.
2024-08-09 14:04:25 +02:00
W.C.A. Wijngaards
5abdd09095
- Fix that for windows the module startup is called and sets up
...
the module-config.
2024-08-08 16:14:09 +02:00
W.C.A. Wijngaards
158c1defe3
- Set version number to 1.21.0 for release.
2024-08-08 09:30:53 +02:00
W.C.A. Wijngaards
b4519012dc
- Fix CacheFlush issues with limit on NS RRs. Thanks to Yehuda Afek,
...
Anat Bremler-Barr, Shoham Danino and Yuval Shavitt (Tel-Aviv
University and Reichman University).
2024-08-08 09:28:44 +02:00
W.C.A. Wijngaards
ed883238fd
- Fix CAMP issues with global quota. Thanks to Huayi Duan, Marco
...
Bearzi, Jodok Vieli, and Cagin Tanir from NetSec group, ETH Zurich.
2024-08-08 09:27:45 +02:00
W.C.A. Wijngaards
0f2f6025e7
- Fix that alloc stats for forwards and hints are printed, and when
...
alloc stats is enabled, the unit test for unbound control waits for
reloads to complete.
2024-08-02 15:51:40 +02:00
W.C.A. Wijngaards
3cbf554e3b
Changelog note for #1090
...
- Merge #1090 : Cookie secret file. Adds
`cookie-secret-file: "unbound_cookiesecrets.txt"` option to store
cookie secrets for EDNS COOKIE secret rollover. The remote control
add_cookie_secret, activate_cookie_secret and drop_cookie_secret
commands can be used for rollover, the command print_cookie_secrets
shows the values in use.
2024-08-02 13:36:06 +02:00
ad21dbd1c2
Cookie secret file ( #1090 )
...
* - cookie-secret-file, define struct.
* - cookie-secret-file, add config option, create, read and delete struct.
* - cookie-secret-file, check cookie secrets for cookie validation.
* - cookie-secret-file, unbound-control add_cookie_secret, drop_cookie_secret,
activate_cookie_secret and print_cookie_secrets.
* - cookie-secret-file, test and fix locks, renew writes a fresh cookie,
staging cookies get a fresh cookie and spelling in error message.
* - cookie-secret-file, remove unused variable from cookie file unit test.
* Remove unshare and faketime dependencies for cookie_file test; documentation nits.
---------
Co-authored-by: Yorgos Thessalonikefs <yorgos@nlnetlabs.nl >
2024-08-02 13:32:08 +02:00
W.C.A. Wijngaards
50cf55bdac
Update changelog.
...
- Fix testbound for alloc stats strdup in util/alloc.c.
2024-08-02 08:59:47 +02:00
W.C.A. Wijngaards
6106528a50
- Fix testbound for alloc stats strdup in util/alloc.c.
2024-08-02 08:58:22 +02:00
W.C.A. Wijngaards
befa7d8cd8
- Fix that alloc stats has strdup checks, it stops debuggers from
...
complaining about mismatch at free time.
2024-08-02 08:54:54 +02:00
W.C.A. Wijngaards
92be76fb89
- Fix that the worker mem report with alloc stats does not attempt
...
to print memory use of forwards and hints if they have been
deleted already.
2024-08-01 17:15:07 +02:00
W.C.A. Wijngaards
9a6b6765cc
- Fix dnstap test program, cleans up to have clean memory on exit,
...
for tap_data_free, does not delete NULL items. Also it does not try
to free the tail, specifically in the free of the list since that
picked up the next item in the list for its loop causing invalid
free. Added internal unit test to unbound-dnstap-socket for that.
2024-08-01 16:12:04 +02:00
W.C.A. Wijngaards
03b511b1a2
- Fix for #1114 : Fix that cache fill for forward-host names is
...
performed, so that with nonzero target-fetch-policy it fetches
forwarder addresses and uses them from cache. Also updated that
delegation point cache fill routines use CDflag for AAAA message
lookups, so that its negative lookup stops a recursion since the
cache uses the bit for disambiguation for dns64 but the recursion
uses CDflag for the AAAA target lookups, so the check correctly
stops a useless recursion by its cache lookup.
2024-07-31 11:42:44 +02:00
W.C.A. Wijngaards
6af28bed08
- Fix to document parameters of auth_zone_verify_zonemd_with_key.
2024-07-30 13:47:53 +02:00
W.C.A. Wijngaards
f094f4ea3c
- Add root key 38696 from 2024 for DNSSEC validation. It is added
...
to the default root keys in unbound-anchor. The content can be
inspected with `unbound-anchor -l`.
2024-07-25 11:42:22 +02:00
Yorgos Thessalonikefs
c717debace
- For #935 and #1104 , clarify RPZ order and semantics.
2024-07-24 01:54:02 +02:00
Yorgos Thessalonikefs
7d4d21764a
- Cleanup ede.tdir test.
2024-07-23 20:22:25 +02:00
W.C.A. Wijngaards
83e6977f06
- Fix link of unbound-dnstap-socket without openssl.
2024-07-23 15:06:54 +02:00
W.C.A. Wijngaards
671e11552c
- Fix link of dnstap without openssl.
2024-07-23 14:56:21 +02:00
W.C.A. Wijngaards
c4541e634b
- Fix uninitialized variable warning in create_tcp_accept_sock.
2024-07-23 10:42:36 +02:00
W.C.A. Wijngaards
30da725e67
- Fix to have empty definition when not supported for weak attribute.
2024-07-23 10:02:39 +02:00
W.C.A. Wijngaards
8de5ae3552
- Fix compile when the compiler does not support the noreturn
...
attribute.
2024-07-23 09:55:31 +02:00
W.C.A. Wijngaards
5bea29b01c
- For #1110 : Test for fallthrough attribute in configure and add
...
fallthrough attribute annotations.
2024-07-23 09:47:42 +02:00
Wouter Wijngaards and GitHub
89c9eafa44
Merge pull request #1110 from r-barnes/patch-1
...
Make fallthrough explicit for libworker.c
2024-07-23 09:44:28 +02:00
Yorgos Thessalonikefs
3512eaec48
- Fix #1106 : ratelimit-below-domain logs the wrong FROM address.
2024-07-23 09:07:06 +02:00
Richard Barnes and GitHub
f9bd35dcfa
Make fallthrough explicit for libworker.c
...
The code currently doesn't compile with LLVM's `-Wimplicit-fallthrough` flag, but the attribute works for both GCC (>=7) and LLVM.
2024-07-22 16:37:38 -07:00
W.C.A. Wijngaards
3af4e44646
- Fix dnstap wakeup, a running wakeup timer is left to expire and not
...
increased, a timer is started when the dtio thread is sleeping,
the timer set disabled when the dtio thread goes to sleep, and
after sleep the thread checks to see if there are messages to log
immediately.
2024-07-19 16:16:02 +02:00
W.C.A. Wijngaards
c3dd6a2dbd
- Add dnstap-sample-rate that logs only 1/N messages, for high volume
...
server environments. Thanks Dan Luther.
2024-07-19 10:04:40 +02:00
W.C.A. Wijngaards
8fca3e7c5b
- For #1103 : Fix to drop mesh state reference for the http2 stream
...
associated with the reply, not the currently active stream. And
it does not remove it twice on a mesh_send_reply call. The reply
h2_stream is NULL when not in use, for more initialisation.
2024-07-16 14:23:10 +02:00
W.C.A. Wijngaards
8947c2c764
- For #1103 : fix to also drop mesh state reference when the discard
...
limit is reached, when there is an error making a new recursion
state and when the connection is dropped with is_drop.
2024-07-15 14:51:20 +02:00
W.C.A. Wijngaards
b1e3319a11
Merge branch 'master' of github.com:NLnetLabs/unbound
2024-07-12 16:41:58 +02:00
W.C.A. Wijngaards
d52f501d90
- For #1103 : fix to also drop mesh state reference when a h2 reply is
...
dropped.
2024-07-12 16:41:46 +02:00
Yorgos Thessalonikefs
7083d58c6b
- For #1102 : clearer text for using interface-* options for the
...
loopback interface.
2024-07-12 16:29:44 +02:00
W.C.A. Wijngaards
3adb9c8f92
- Fix #1103 : unbound 1.20.0 segmentation fault with nghttp2.
2024-07-12 16:11:29 +02:00
Yorgos Thessalonikefs
51425b2388
- Add RPZ tag tests in acl_interface.tdir.
2024-07-12 15:38:12 +02:00
W.C.A. Wijngaards
d43760a8cd
- For #773 : In contrib/unbound.service.in set unbound to start after
...
network-online.target. Also for contrib/unbound_portable.service.in.
2024-07-10 14:05:43 +02:00
Yorgos Thessalonikefs
ea3e327006
- Update list of known EDE codes.
2024-07-09 15:58:30 +02:00
W.C.A. Wijngaards
be09350eca
- Fix shadowed error string variable in validator dnskey handling.
2024-07-08 16:50:16 +02:00
W.C.A. Wijngaards
169acfc546
- Fixup algo_needs_reason string buffer length.
2024-07-08 15:38:27 +02:00
W.C.A. Wijngaards
bed7cc2a90
- Fix that validation reason failure that uses string print uses
...
separate buffer that is passed, from the scratch validation buffer.
2024-07-08 15:29:20 +02:00
Yorgos Thessalonikefs
02f4446833
- Don't check for message TTL changes if the RRsets remain the same.
2024-07-05 19:58:19 +02:00
W.C.A. Wijngaards
c8a2289542
- Fix for #1099 : Fix to check for deleted RRset when the contents
...
is updated and fetched after it is stored, and also check for a
changed RRset.
2024-07-05 17:54:46 +02:00
W.C.A. Wijngaards
b53d90053e
- Fix #1099 : Unbound core dump on SIGSEGV.
2024-07-05 17:18:01 +02:00
W.C.A. Wijngaards
978b0696d3
- Fix neater printout.
2024-07-05 14:11:26 +02:00
W.C.A. Wijngaards
ec5f86b4eb
- Fix for neater printout for error for missing DS response.
2024-07-05 08:49:52 +02:00
W.C.A. Wijngaards
ec2f45c6fd
- Fix to print details about the failure to lookup a DNSKEY record
...
when validation fails due to the missing DNSKEY. Also for key prime
and DS lookups.
2024-07-04 14:51:18 +02:00
W.C.A. Wijngaards
6b319c97ee
- Fix compile warnings in fptr_wlist.c.
2024-07-03 16:42:52 +02:00
W.C.A. Wijngaards
6eb3992c9e
- Fix to remove unneeded linebreak in fptr_wlist.c.
2024-07-03 15:51:22 +02:00
W.C.A. Wijngaards
94a94fd8c8
- Fix to use modstack_init in zonemd unit test.
2024-07-03 15:49:13 +02:00
W.C.A. Wijngaards
36f9d1a2a9
- Add unit test skip files and bison and flex output to gitignore.
2024-07-03 14:59:39 +02:00
W.C.A. Wijngaards
d3a2264272
Changelog entry for #144 and #1098
...
- Fix #144 : Port ipset to BSD pf tables.
2024-07-03 14:53:42 +02:00
Wouter Wijngaards and GitHub
92b6c2a7b9
Merge pull request #1098 from NLnetLabs/ipset-pf-support
...
Ipset pf support
2024-07-03 14:49:16 +02:00
W.C.A. Wijngaards
a335e601e4
ipset-pf-support, move startup and destartup to the front of the module
...
func block functions, modstack call deinit function names, and detect
module change when no startup functions are needed.
2024-07-03 13:53:44 +02:00
a19009df1d
Apply suggestions from code review
...
Co-authored-by: Yorgos Thessalonikefs <yorgos@nlnetlabs.nl >
2024-07-03 13:08:51 +02:00
Yorgos Thessalonikefs
96f8a94c19
- Fix for repeated use of a DNAME record: first overallocate and then
...
move the exact size of the init value to avoid false positive heap
overflow reads from address sanitizers.
2024-07-03 10:08:44 +02:00
W.C.A. Wijngaards
2fe4e2ec3e
- Fix compile warning in worker pthread id printout.
2024-07-02 09:44:58 +02:00
W.C.A. Wijngaards
e54928a628
- Fix unused variable warning in do_cache_remove.
2024-07-02 09:33:22 +02:00
W.C.A. Wijngaards
538434186e
- Fix to remove unused include from the readzone test program.
2024-07-02 09:31:34 +02:00
W.C.A. Wijngaards
65e7253d19
ipset-pf-support, simplification of code.
2024-07-02 09:08:27 +02:00
W.C.A. Wijngaards
03ac902296
- ipset-pf-support, fix to skip unit test if no pf dev.
2024-07-01 17:11:20 +02:00
W.C.A. Wijngaards
97ad1df343
ipset-pf-support, fix to log error on failure to open pf.
2024-07-01 17:06:11 +02:00
W.C.A. Wijngaards
2279cde8f7
ipset-pf-support, fix to remove unused include, free at end, adjust
...
qname for comparison.
2024-07-01 17:02:49 +02:00
W.C.A. Wijngaards
ff653a7ef8
Call module init init again, and new function startup and destartup.
...
NULL can be used if the function is not used. Open shared ports during
reload. Deinit is called during reload.
2024-07-01 16:10:07 +02:00
W.C.A. Wijngaards
fd11cd9182
ipset-pf-support, fix compilation, close of pf socket.
2024-07-01 14:54:45 +02:00
W.C.A. Wijngaards
3953f827fb
Merge branch 'master' of https://github.com/madroach/unbound into ipset-pf-support
2024-07-01 14:36:33 +02:00
W.C.A. Wijngaards
7fbc061846
- Fix ip-ratelimit-cookie setting, it was not applied.
2024-06-27 14:51:58 +02:00
Yorgos Thessalonikefs
70f73a33b3
- Explicitly set the RD bit for the mesh query flags when prefetching.
...
These queries have no waiting client but they need to be treated as
recursive.
2024-06-26 15:51:58 +02:00
Yorgos Thessalonikefs
b67fbb69e7
- Fix pkg-config availability check in dnstap/dnstap.m4 and
...
systemd.m4.
- autoconf.
2024-06-21 14:34:12 +02:00
Yorgos Thessalonikefs
902c79608c
- Fix #1092 : Ubuntu 22.04 Jammy fails to compile unbound 1.20.0; by
...
adding helpful text for the Python interpreter version and allowing
the default pkg-config unavailability error message to be shown.
- autoconf.
2024-06-19 15:27:50 +02:00
W.C.A. Wijngaards
08050dc939
- Fix #1091 : Build fails with OpenSSL >= 3.0 built with
...
OPENSSL_NO_DEPRECATED.
2024-06-17 12:28:45 +02:00
W.C.A. Wijngaards
9603924bb4
- Add unit test for validation of repeated use of a DNAME record.
2024-06-07 11:56:19 +02:00
W.C.A. Wijngaards
4c2da2b979
- Fix validation for repeated use of a DNAME record.
2024-06-06 15:28:21 +02:00
W.C.A. Wijngaards
1974732d19
- Fix typos for 'the the' in text.
2024-06-06 09:35:57 +02:00
W.C.A. Wijngaards
3cad5818a1
- Fix memory leak in setup of dsa sig.
2024-06-06 09:30:09 +02:00
Yorgos Thessalonikefs
ad12109191
- Merge #1080 : AddressSanitizer detection in tdir tests and memory leak
...
fixes.
2024-06-04 17:34:58 +02:00
Yorgos Thessalonikefs
f611220eb8
- Skip unbound-dnstap-socket unit test when not compiled with
...
--enable-debug.
2024-06-04 16:59:58 +02:00
W.C.A. Wijngaards
86fe9cbce5
- Fix to squelch connection reset by peer errors from log. And fix
...
that the tcp read errors are labeled as initial for the first calls.
2024-06-03 12:14:51 +02:00
Yorgos Thessalonikefs
ac609fcbfc
- Fix memory leak on exit for unbound-dnstap-socket; creates false negatives
...
during testing.
2024-05-31 12:11:17 +02:00
Yorgos Thessalonikefs
486985fbdf
- Fix memory leak when reload_keep_cache is used and num-threads changes.
2024-05-31 12:09:35 +02:00
Yorgos Thessalonikefs
caab100207
- Enable AddressSanitizer error detection in tdir tests.
2024-05-31 12:08:43 +02:00
W.C.A. Wijngaards
4b30e88eec
- Fix for #1079 : fix RPZ taglist in iterator callback that no client
...
info is like no taglist intersection.
2024-05-30 12:44:26 +02:00
W.C.A. Wijngaards
b6c7ea563f
- Fix #1079 : tags from tagged rpz zones are no longer honored after
...
upgrade from 1.19.3 to 1.20.0.
2024-05-30 12:11:30 +02:00
W.C.A. Wijngaards
910d7cf446
Changelog note for #1078 .
...
- Merge #1078 : Only check old pid if no username.
2024-05-29 14:45:01 +02:00
Wouter Wijngaards and GitHub
cd485f2036
Merge pull request #1078 from vopatek/master
...
Only check old pid if no username
2024-05-29 14:44:31 +02:00
Martin Vopatek
8ff1baf585
Only check old pid if no username
...
Do as the comment says and only check old pid if there is no username
configured.
2024-05-29 14:16:18 +02:00
Yorgos Thessalonikefs
5fc4673901
- Update patch to remove 'command' shell builtin and update error
...
text.
2024-05-27 17:17:48 +02:00
Michael Tokarev and Yorgos Thessalonikefs
faf3d358dc
unbound-control-setup: check openssl
...
Before doing anything, check if openssl binary (which we will use)
is available, and print a useful error message if it is not found.
2024-05-27 16:35:34 +02:00
Yorgos Thessalonikefs
f5a2160ba3
- Fix unused variable warning on compilation with no thread support.
2024-05-27 14:56:52 +02:00
W.C.A. Wijngaards
0c0c36f015
- Fix spelling of tcp-idle-timeout docs, from Michael Tokarev.
2024-05-27 14:36:35 +02:00
W.C.A. Wijngaards
47956de897
- Fix to enable that SERVFAIL is cached, for a short period, for more
...
cases. In the cases where limits are exceeded.
2024-05-27 13:53:16 +02:00
Yorgos Thessalonikefs
b30c869a59
Changelog entry for #1059 :
...
- Fix #1059 : Intermittent DNS blocking failure with local-zone and
always_nxdomain. Addition of local_zones dynamically via
unbound-control was not finding the zone's parent correctly.
2024-05-24 15:24:52 +02:00
Yorgos Thessalonikefs and GitHub
6f030e9672
Proper parent identification for dynamically entered local zones ( #1076 )
...
- Fix #1059 : Intermittent DNS blocking failure with local-zone and
always_nxdomain. Addition of local_zones dynamically via
unbound-control was not finding the zone's parent correctly.
2024-05-24 15:21:40 +02:00
W.C.A. Wijngaards
7107d3c9e7
- Fix #1064 : Unbound 1.20 Cachedb broken?
...
Add unit test for validation status commit.
2024-05-24 09:06:48 +02:00
W.C.A. Wijngaards
fbdc06ebc4
- Fix for #1064 : Fix that cachedb expired messages are considered
...
insecure, and thus can be served to clients when dnssec is enabled.
2024-05-21 17:06:18 +02:00
W.C.A. Wijngaards
d149e755fd
- Fix for parse end of forward-zone, stub-zone and view.
2024-05-21 12:04:57 +02:00
W.C.A. Wijngaards
86ee8ccd12
- Fix to print a parse error when config is read with no name for
...
a forward-zone, stub-zone or view.
2024-05-21 11:54:18 +02:00
W.C.A. Wijngaards
8d6a1ba811
Changelog note for #1073 .
...
- Merge #1073 : fix null pointer dereference issue in function
ub_ctx_set_fwd.
2024-05-21 11:52:47 +02:00
Wouter Wijngaards and GitHub
9ccb8d5f20
Merge pull request #1073 from xiaoxiaoafeifei/master
...
fix null pointer dereference issue in function ub_ctx_set_fwd
2024-05-21 11:51:52 +02:00
zhailiangliang
8e43e2574c
fix null pointer dereference issue in function ub_ctx_set_fwd of file libunbound/libunbound.c
2024-05-21 08:40:35 +00:00
Yorgos Thessalonikefs
2e70506763
Changelog entry for #1069 :
...
- Merge #1069 : Fix unbound-control stdin commands for multi-process
Unbounds.
2024-05-17 10:31:20 +02:00
7f184c8ca8
Fix unbound-control stdin commands for multi-process Unbounds ( #1069 )
...
- Fix unbound-control commands that read stdin in multi-process
operation (local_zones_remove, local_zones, local_datas_remove,
local_datas, view_local_datas_remove, view_local_datas). They will
be properly distributed to all processes. dump_cache and load_cache
are no longer supported in multi-process operation.
- Remove testdata/remote-threaded.tdir. testdata/09-unbound-control.tdir
now checks both single and multi process/thread operation.
---------
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com >
2024-05-17 10:25:24 +02:00
W.C.A. Wijngaards
da2b307aa3
- Fix #1071 : [FR] Clear both in-memory and cachedb module cache with
...
`unbound-control flush*` commands.
2024-05-16 16:56:58 +02:00
Yorgos Thessalonikefs
739a88ceed
Changelog entry for #1070 :
...
- Merge #1070 : Fix rtt assignement for low values of
infra-cache-max-rtt.
2024-05-16 13:43:24 +02:00
Yorgos Thessalonikefs and GitHub
3ff5c7a74d
Fix rtt assignement for low values of infra-cache-max-rtt ( #1070 )
...
* Fix rtt assignement for still useful servers when a low value for
infra-cache-max-rtt is configured.
2024-05-16 13:42:32 +02:00
Yorgos Thessalonikefs
1048c4a28c
- Add missing common functions to tdir tests.
2024-05-15 11:20:36 +02:00
W.C.A. Wijngaards
7de009f99a
- Fix when the mesh jostle is exceeded that nameserver targets are
...
marked as resolved, so that the lookup is not stuck on the
requestlist.
2024-05-10 09:50:35 +02:00
W.C.A. Wijngaards
95669855fb
- Fix to squelch udp connect errors in the log at low verbosity about
...
invalid argument for IPv6 link local addresses.
2024-05-08 16:40:41 +02:00
W.C.A. Wijngaards
56e7cade28
The code repository continues with version 1.20.1.
2024-05-08 11:10:53 +02:00
W.C.A. Wijngaards
c085a53268
- Fix for #1062 : declaration before statement, avoid print of null,
...
and redundant check for array size.
And changelog note for merge of #1062 .
2024-05-07 14:05:21 +02:00
Wouter Wijngaards and GitHub
49569b81aa
Merge pull request #1062 from xiaoxiaoafeifei/master
...
Fix potential overflow bug while parsing port in function cfg_mark_ports
2024-05-07 14:02:21 +02:00
zhailiangliang
4497e8a154
Fix potential overflow bug while parsing port in function cfg_mark_ports
2024-05-07 11:35:52 +00:00
W.C.A. Wijngaards
b9525c5fd4
- Set version number to 1.20.0 for release.
2024-05-01 10:15:12 +02:00
W.C.A. Wijngaards
c3206f4568
- Fix for the DNSBomb vulnerability CVE-2024-33655. Thanks to Xiang Li
...
from the Network and Information Security Lab of Tsinghua University
for reporting it.
2024-05-01 10:10:58 +02:00
W.C.A. Wijngaards
9abed3fc83
- Fix doxygen comment for errinf_to_str_bogus.
2024-04-29 13:42:26 +02:00
Yorgos Thessalonikefs
63a6b7b255
- Cleanup unnecessary strdup calls for EDE strings.
2024-04-29 10:15:19 +02:00
W.C.A. Wijngaards
15dc8e8a3f
- Man page entry for unbound-checkconf -q.
2024-04-26 14:54:25 +02:00
Yorgos Thessalonikefs
cd4a017e96
- Fix #876 : [FR] can unbound-checkconf be silenced when configuration
...
is valid?
2024-04-26 14:50:39 +02:00
W.C.A. Wijngaards
82c0207fa6
- Add unit tests for cachedb and subnet cache expired data.
2024-04-26 13:33:26 +02:00
W.C.A. Wijngaards
7c5e765b3b
- Fix cachedb with serve-expired-client-timeout disabled. The edns
...
subnet module deletes global cache and cachedb cache when it
stores a result, and serve-expired is enabled, so that the global
reply, that is older than the ecs reply, does not return after
the ecs reply expires.
2024-04-26 13:32:15 +02:00
W.C.A. Wijngaards
f456d97a34
- Fix doc unit test for out of directory build.
2024-04-25 17:06:06 +02:00
W.C.A. Wijngaards
8b490b1540
- Fix to disable fragmentation on systems with IP_DONTFRAG,
...
with a nonzero value for the socket option argument.
2024-04-25 12:53:05 +02:00
W.C.A. Wijngaards
b3951e5885
Changelog note for #1041 and #1038 .
...
- Merge #1041 : Stub and Forward unshare. This has one structure
for them and fixes #1038 : fatal error: Could not initialize
thread / error: reading root hints.
2024-04-25 11:12:27 +02:00
Wouter Wijngaards and GitHub
ced9762b14
Merge pull request #1041 from NLnetLabs/stubfwd-unshare
...
Stub and Forward unshare
2024-04-25 11:11:00 +02:00
9b9bba9f02
Update locking management for iter_fwd and iter_hints methods. ( #1054 )
...
fast reload, move most of the locking management to iter_fwd and
iter_hints methods. The caller still has the ability to handle its
own locking, if desired, for atomic operations on sets of different
structs.
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com >
2024-04-25 11:05:58 +02:00
W.C.A. Wijngaards
07859a9ef3
- Fix configure flto check error, by finding grep for it.
2024-04-25 10:53:35 +02:00
W.C.A. Wijngaards
cb74467acb
- Fix ci workflow for macos for moved install locations.
2024-04-24 16:31:44 +02:00
Yorgos Thessalonikefs
62dad42152
- Merge #1053 : Remove child delegations from cache when grandchild
...
delegations are returned from parent.
2024-04-23 14:24:07 +02:00
Yorgos Thessalonikefs
3ec74d1e3a
- When a granchild delegation is returned, remove any cached child delegations
...
up to parent to not cause delegation invalidation because of an
expired child delegation that would never be updated. Most likely to
happen without qname-minimisation. Reported by Roland van Rijswijk-Deij.
2024-04-22 15:46:06 +02:00
W.C.A. Wijngaards
52aff65e35
- Fix edns subnet to sort rrset references when storing messages
...
in the cache. This fixes a race condition in the rrset locks.
2024-04-22 13:44:42 +02:00
W.C.A. Wijngaards
5994fb3db5
- Add checklock feature verbose_locking to trace locks and unlocks.
2024-04-22 13:42:35 +02:00
Yorgos Thessalonikefs
0dbcb45d28
Changelog entry for #1049 :
...
- Merge #1049 from Petr Menšík: Py_NoSiteFlag is not needed since
Python 3.8
2024-04-15 14:49:14 +02:00
Yorgos Thessalonikefs and GitHub
d71f257215
Merge pull request #1049 from InfrastructureServices/python3.12-Py_NoSiteFlag-warning
...
Py_NoSiteFlag is not needed since Python 3.8
2024-04-15 14:47:45 +02:00
Petr Mensik
b11d234f77
Py_NoSiteFlag is not needed since Python 3.8
...
Python since 3.12 prints warning about Py_NoSiteFlag is deprecated. It
seems that variable is not needed since Python 3.8, since it sets in
such cases directly config.site_import variable few moments later.
Move using deprecated variable to versions before that flag in config
could be used only.
This should fix warning like:
pythonmod/pythonmod.c: In function 'pythonmod_init':
pythonmod/pythonmod.c:359:7: warning: 'Py_NoSiteFlag' is deprecated [-Wdeprecated-declarations]
359 | Py_NoSiteFlag = 1;
| ^~~~~~~~~~~~~
In file included from /usr/include/python3.12/Python.h:48,
from pythonmod/pythonmod.c:54:
/usr/include/python3.12/cpython/pydebug.h:14:37: note: declared here
14 | Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_NoSiteFlag;
| ^~~~~~~~~~~~~
https://docs.python.org/3/c-api/init.html#c.Py_NoSiteFlag
2024-04-15 13:52:41 +02:00
W.C.A. Wijngaards
0d4c5aa421
- Fix configure, autoconf for #1048 .
2024-04-15 12:17:56 +02:00
W.C.A. Wijngaards
9e60f93b84
Changelog note for #1048 .
...
- Fix #1048 : Update ax_pkg_swig.m4 and ax_pthread.m4.
2024-04-15 12:15:54 +02:00
Wouter Wijngaards and GitHub
9d63e8f093
Merge pull request #1048 from InfrastructureServices/configure-m4-refresh
...
Update ax_pkg_swig.m4 and ax_pthread.m4
2024-04-15 12:15:26 +02:00
Petr Mensik
4c40253df7
Update ax_pkg_swig.m4 and ax_pthread.m4
...
Use vanilla m4 files with known source. Prepared for possible removal at
build time if the system already has autoconf-archive source present.
Switch to AX_PKG_SWIG macro for versioned or unversioned swig detection.
2024-04-15 11:54:46 +02:00
W.C.A. Wijngaards
491b56d051
- Fixup cachedb to not refetch when serve-expired-client-timeout is
...
used.
2024-04-12 14:22:18 +02:00
W.C.A. Wijngaards
4d530920e0
- Fixup unit test for cachedb server expired client timeout with
...
a check if response if from upstream or from cachedb.
2024-04-12 11:51:00 +02:00
W.C.A. Wijngaards
08fb9a9209
- Fix cachedb for serve-expired with serve-expired-client-timeout.
2024-04-12 11:26:53 +02:00
W.C.A. Wijngaards
04ff2672b5
- Fix to not reply serve expired unless enabled for cachedb.
2024-04-10 17:06:01 +02:00
W.C.A. Wijngaards
d47849a26e
- Fix cachedb for serve-expired with serve-expired-reply-ttl.
2024-04-10 17:01:57 +02:00
W.C.A. Wijngaards
63ee97d0fd
- Fix makefile dependencies for fake_event.c.
2024-04-10 14:04:39 +02:00
W.C.A. Wijngaards
bd74a32b79
- Extended test for cachedb serve expired.
2024-04-10 13:08:23 +02:00
W.C.A. Wijngaards
b990be88ef
- Add test for cachedb serve expired.
2024-04-10 12:36:21 +02:00
W.C.A. Wijngaards
cccf5e73c0
- Fixup compile without cachedb.
2024-04-10 11:33:52 +02:00
W.C.A. Wijngaards
f3f85e5a11
- Fixup compile without cachedb.
2024-04-10 11:29:10 +02:00
W.C.A. Wijngaards
d55511f1dd
- Fixup compile without cachedb.
2024-04-10 11:27:08 +02:00
W.C.A. Wijngaards
d98c7b9ae3
- Implement cachedb-check-when-serve-expired: yes option, default
...
is enabled. When serve expired is enabled with cachedb, it first
checks cachedb before serving the expired response.
2024-04-10 11:21:28 +02:00
Yorgos Thessalonikefs
a30221c5bb
- Merge #1043 from xiaoxiaoafeifei: Add loongarch support; updates
...
config.guess(2024-01-01) and config.sub(2024-01-01), verified
with upstream.
2024-04-09 17:00:59 +02:00
zhailiangliang
411e843fc4
Add loongarch support:
...
1. update config.guess(2024-01-01) and config.sub(2024-01-01)
2. add loongarch to little endian support
2024-04-09 11:15:14 +08:00
Yorgos Thessalonikefs
8575d5b35c
- Fix #595 : unbound-anchor cannot deal with full disk; it will now
...
first write out to a temp file before replacing the original one,
like Unbound already does for auto-trust-anchor-file.
2024-04-08 14:15:03 +02:00
W.C.A. Wijngaards
ba16e41160
- Fix comment syntax for view function views_find_view.
2024-04-05 16:11:29 +02:00
Yorgos Thessalonikefs
708d5229ae
- Merge #1027 : Introduce 'cache-min-negative-ttl' option.
2024-04-05 11:44:37 +02:00
Yorgos Thessalonikefs
fb4a7d65d7
- Fix #369 : dnstap showing extra responses; for client responses
...
right from the cache when replying with expired data or
prefetching.
2024-04-03 15:18:13 +02:00
W.C.A. Wijngaards
d7353e6e99
- fast-reload, helpful comments for hints lookup function return value.
2024-04-03 13:55:57 +02:00
W.C.A. Wijngaards
48113cfaba
- fast-reload, unshared stub hints, making the structure locked, with an rwlock.
2024-04-03 13:55:57 +02:00
W.C.A. Wijngaards
c0b5754ef7
- fast-reload, for nonthreaded, the unbound-control commands forward,
...
forward_add and forward_delete should be distributed to other processes,
but when threaded, they should not be distributed to other threads because
the structure is not thread specific any more.
2024-04-03 13:55:57 +02:00
W.C.A. Wijngaards
f2fb498c69
- fast-reload, unshare forwards, making the structure locked, with an rwlock.
2024-04-03 13:55:54 +02:00
Yorgos Thessalonikefs
91e8e0e511
- Fix #1035 : Potential Bug while parsing port from the "stub-host"
...
string; also affected forward-zones and remote-control host
directives.
2024-04-03 13:37:57 +02:00
W.C.A. Wijngaards
dfff8d23cf
- For #1040 : adjust error text and disallow negative ports in other
...
parts of cfg_mark_ports.
2024-04-03 10:16:18 +02:00
W.C.A. Wijngaards
103d9a68fa
Changelog note for #1040
...
- Fix #1040 : fix heap-buffer-overflow issue in function cfg_mark_ports
of file util/config_file.c.
2024-04-03 10:03:04 +02:00
Wouter Wijngaards and GitHub
a814fe8c5f
Merge pull request #1040 from xiaoxiaoafeifei/master
...
fix heap-buffer-overflow issue in function cfg_mark_ports of file util/config_file.c
2024-04-03 10:02:45 +02:00
zhailiangliang
193401e754
fix heap-buffer-overflow issue in function cfg_mark_ports of file util/config_file.c
2024-04-03 15:40:58 +08:00
W.C.A. Wijngaards
e1aeabde44
- Fix for crypto related failures to have a better error string.
2024-03-28 09:58:57 +01:00
W.C.A. Wijngaards
6d1e61173b
- Fix #1034 : DoT forward-zone via unbound-control.
2024-03-28 09:58:03 +01:00
W.C.A. Wijngaards
6f82b5be4a
- Fix that the server does not chown the pidfile.
2024-03-27 14:52:25 +01:00
W.C.A. Wijngaards
192f1b0e2b
- Fix that when the server truncates the pidfile, it does not follow
...
symbolic links.
2024-03-27 14:07:54 +01:00
W.C.A. Wijngaards
238a796e38
- Fix to add unit test for lruhash space that exercises the routines.
2024-03-27 13:33:46 +01:00
W.C.A. Wijngaards
fe393ac355
- Fix comment in lruhash space function.
2024-03-27 12:30:00 +01:00
W.C.A. Wijngaards
3ea078baf6
- Fix for #1032 , add safeguard to make table space positive.
2024-03-27 11:49:20 +01:00
W.C.A. Wijngaards
eb3e1ae24f
- Fix #1032 : The size of subnet_msg_cache calculation mistake cause
...
memory usage increased beyond expectations.
2024-03-27 11:45:34 +01:00
W.C.A. Wijngaards
c2b20c585e
- Fix name of unit test for subnet cache response.
2024-03-27 11:43:55 +01:00
Yorgos Thessalonikefs
07561964fc
- For #831 : Format text, use exclamation icon and explicit label
...
names.
2024-03-25 22:02:08 +01:00
Yorgos Thessalonikefs
ce8c1ce5b0
Changelog entry for #831
...
- Merge #831 from Pierre4012: Improve Windows NSIS installer
script (setup.nsi).
2024-03-25 16:46:25 +01:00
Pierre4012 and GitHub
ef60dcac31
Improve Windows NSIS installer script (setup.nsi) ( #831 )
...
* Improve Windows NSIS installer script (setup.nsi)
Two improvements of installer script :
- avoid error message when Unbound is running,
- add "DisplayVersion" in registry thus Windows package manager (Winget) can handle Unbound.
* Update setup.nsi ask user to stop unbound service + DisplayVersion in Windows registry
2024-03-25 16:43:49 +01:00
W.C.A. Wijngaards
73bd5a19aa
- Fix localdata and rpz localdata to match CNAME only if no direct
...
type match is available.
2024-03-19 10:21:10 +01:00
W.C.A. Wijngaards
fef974ca5c
- Fix rpz so that rpz CNAME can apply after rpz CNAME. And fix that
...
clientip and nsip can give a CNAME.
2024-03-19 09:32:53 +01:00
W.C.A. Wijngaards
8dbf46913b
- Fix rpz for qtype CNAME after nameserver trigger.
2024-03-18 14:36:29 +01:00
W.C.A. Wijngaards
e46b188fe8
- Add rpz unit test for nsip action override.
2024-03-18 14:11:43 +01:00
W.C.A. Wijngaards
e6b1f9a4c3
- Fix rpz that copies the cname override completely to the temp
...
region, so there are no references to the rpz region.
2024-03-18 13:52:59 +01:00
W.C.A. Wijngaards
39cfc8c1c0
- Fix rpz, it follows iterator CNAMEs for nsip and nsdname and sets
...
the reply query_info values, that is better for debug logging.
2024-03-18 12:45:00 +01:00
W.C.A. Wijngaards
79e25e192c
- Fix that rpz CNAME content is limited to the max number of cnames.
2024-03-18 11:25:29 +01:00
Yorgos Thessalonikefs
792089f523
Merge branch 'features/makedist-persist-windir'
2024-03-15 17:22:00 +01:00
Yorgos Thessalonikefs
34636caa2d
- For windows build, persist the openssl and expat directories for
...
repeated builds while debugging.
2024-03-15 16:59:46 +01:00
W.C.A. Wijngaards
2993437eaa
- Fix that addrinfo is not kept around but copied and freed, so that
...
log-destaddr uses a copy of the information, much like NSD does.
2024-03-15 13:39:49 +01:00
W.C.A. Wijngaards
0bcc8c0211
- The code repository continues with version 1.19.4.
2024-03-14 10:33:13 +01:00
W.C.A. Wijngaards
4b54d8e15e
- Fix rpz for cname override action after nsdname and nsip triggers.
2024-03-13 17:14:14 +01:00
W.C.A. Wijngaards
afe52595a9
- Fix to unify codepath for local alias for rpz cname action override.
2024-03-13 16:12:48 +01:00
W.C.A. Wijngaards
4f417262e3
- Fix rpz that the rpz override is taken in case of clientip triggers.
...
Fix that the clientip passthru action is logged. Fix that the
clientip localdata action is logged. Fix rpz override action cname
for the clientip trigger.
2024-03-13 16:04:58 +01:00
W.C.A. Wijngaards
1db3b38104
- Fix #1029 : rpz trigger clientip and action rpz-passthru not working
...
as expected.
2024-03-13 13:45:04 +01:00
Yorgos Thessalonikefs
bc47f50926
Changelog entry for #1028 :
...
- Merge #1028 : Clearer documentation for tcp-idle-timeout and
edns-tcp-keepalive-timeout.
2024-03-12 14:52:57 +01:00
Yorgos Thessalonikefs and GitHub
e36b5a099c
Clearer documentation for tcp-idle-timeout and edns-tcp-keepalive-timeout ( #1028 )
...
* - Clearer documentation for tcp-idle-timeout and
edns-tcp-keepalive-timeout.
* - Address review comment.
2024-03-12 14:52:00 +01:00
Yorgos Thessalonikefs
025881d0e9
- Introduce 'cache-min-negative-ttl' option to bound the minimum TTL for
...
negative answers overriding 'cache-min-ttl'.
2024-03-12 11:24:59 +01:00
W.C.A. Wijngaards
320d0a5f1b
- Fix #1021 Inconsistent Behavior with Changing rpz-cname-override
...
and doing a unbound-control reload.
2024-03-11 16:31:58 +01:00
W.C.A. Wijngaards
d382210fce
Update doc/Changelog to note the fixes included in 1.19.3rc2.
2024-03-11 12:30:24 +01:00
W.C.A. Wijngaards
7b62767e16
- Fix unbound-control-setup.cmd to have CA v3 basicConstraints,
...
like unbound-control-setup.sh has.
2024-03-08 17:18:05 +01:00
W.C.A. Wijngaards
6568841bb0
- Fix doc test so it ignores but outputs unsupported doxygen options.
2024-03-08 16:43:24 +01:00
W.C.A. Wijngaards
e361f6b284
- Fix qname minimisation for reply with a DNAME for qtype CNAME that
...
answers it.
2024-03-08 16:33:17 +01:00
Yorgos Thessalonikefs
53766917ef
- Update doc/unbound.doxygen with 'doxygen -u'. Fixes option
...
deprecation warnings and updates with newer defaults.
2024-03-08 16:13:36 +01:00
W.C.A. Wijngaards
2a255076f5
- Fix validator classification of qtype DNAME for positive and
...
redirection answers, and fix validator signature routine for dealing
with the synthesized CNAME for a DNAME without previously
encountering it and also for when the qtype is DNAME.
2024-03-08 14:10:06 +01:00
W.C.A. Wijngaards
fb080e7853
- Remove unused portion from iter_dname_ttl unit test.
2024-03-08 09:51:37 +01:00
W.C.A. Wijngaards
0818841038
- Fix TTL of synthesized CNAME when a DNAME is used from cache.
2024-03-08 09:47:59 +01:00
W.C.A. Wijngaards
939baebfe7
- Fix unbound-control-setup.cmd to use 3072 bits so that certificates
...
are long enough for newer OpenSSL versions.
2024-03-08 09:07:36 +01:00
W.C.A. Wijngaards
326ba26522
- Version set to 1.19.3 for release. After 1.19.2 point release with
...
security fix for CVE-2024-1931, Denial of service when trimming
EDE text on positive replies. The code repo includes the fix and
is for version 1.19.3.
2024-03-07 11:06:42 +01:00
W.C.A. Wijngaards
ec0b510f1c
- Fix for #1022 : Fix ede prohibited in access control refused answers.
2024-03-05 13:39:29 +01:00
W.C.A. Wijngaards
be626f7c53
- Fix edns subnet replies for scope zero answers to not get stored
...
in the global cache, and in cachedb, when the upstream replies
without an EDNS record.
2024-03-04 13:20:13 +01:00
W.C.A. Wijngaards
3096e4930e
- Move github workflows to use checkoutv4.
2024-02-28 11:44:52 +01:00
Yorgos Thessalonikefs
33bdf44a04
- Document the suspend argument for process_ds_response().
2024-02-23 14:34:33 +01:00
W.C.A. Wijngaards
ccbe31c21f
- Fix trim of EDE text from large udp responses from spinning cpu.
2024-02-22 16:22:31 +01:00
Yorgos Thessalonikefs
c6746499c1
Changelog entry for #1010 :
...
- Merge #1010 : Mention REFUSED has the TC bit set with unmatched
allow_cookie acl in the manpage. It also fixes the code to match the
documentation about clients with a valid cookie that bypass the
ratelimit regardless of the allow_cookie acl.
2024-02-20 15:33:18 +01:00
Willem Toorop and GitHub
e1229e375f
Mention REFUSED has the TC bit set with unmatched allow_cookie acl in the manpage ( #1010 )
...
* Mention REFUSED with TC with unmatched allow_cookie acl in manpage
Also moved the part about bypassing ip-ratelimit to the ip-ratelimit
description as it will be bypassed with a valid DNS-Cookie regardless of the
allow_cookie acl.
* Apply suggestions from code review
* Update doc/unbound.conf.5.in
* DNS-Cookies should bypass ip-ratelimit setting
2024-02-20 15:29:34 +01:00
W.C.A. Wijngaards
be27499d39
- These fixes are part of the 1.19.1 release, that is a security
...
point release on 1.19.0, the code repository continues with these
fixes, with version number 1.19.2.
2024-02-13 14:03:30 +01:00
W.C.A. Wijngaards
56a2b564ef
Merge commit '92f2a1ca690a44880f4c4fa70a4b5a4b029aaf1c'
2024-02-13 13:58:09 +01:00
W.C.A. Wijngaards
9a00877af9
Merge commit '882903f2fa800c4cb6f5e225b728e2887bb7b9ae'
2024-02-13 13:57:56 +01:00
W.C.A. Wijngaards
92f2a1ca69
- Fix CVE-2023-50868, NSEC3 closest encloser proof can exhaust CPU.
2024-02-13 13:02:43 +01:00
W.C.A. Wijngaards
882903f2fa
- Fix CVE-2023-50387, DNSSEC verification complexity can be exploited to
...
exhaust CPU resources and stall DNS resolvers.
2024-02-13 13:02:08 +01:00
W.C.A. Wijngaards
54d86dd73b
- Fix documentation for access-control in the unbound.conf man page.
2024-02-08 14:36:18 +01:00
Yorgos Thessalonikefs
b496714caa
- autoconf.
2024-02-07 10:51:16 +01:00
Yorgos Thessalonikefs
3f5175584b
- For #1006 : fix logic error introduced by previous fix.
2024-02-07 10:49:28 +01:00
Yorgos Thessalonikefs
11fff226f3
- autoheader, autoconf.
2024-02-07 10:42:39 +01:00
Yorgos Thessalonikefs
93490a0fc1
- Fix #1006 : Can't find protobuf-c package since #999 .
2024-02-07 10:38:52 +01:00
W.C.A. Wijngaards
0585c3e5fd
Autoconf and changelog note for #999
...
- Merge #999 : Search for protobuf-c with pkg-config.
2024-01-30 16:24:41 +01:00
Wouter Wijngaards and GitHub
0b74f2a007
Merge pull request #999 from NickCao/master
...
Search for protobuf-c with pkg-config
2024-01-30 16:23:43 +01:00
Nick Cao
59d98b9ef6
Search for protobuf-c with pkg-config
2024-01-26 17:52:24 -05:00
Yorgos Thessalonikefs
3522451600
- Update message TTL when using cached RRSETs. It could result in
...
non-expired messages with expired RRSETs (non-usable messages by
Unbound).
2024-01-23 10:10:37 +01:00
Yorgos Thessalonikefs
fe03bacd6c
- Update error printout for duplicate trust anchors to include the
...
trust anchor name (relates to #920 ).
2024-01-22 15:54:36 +01:00
W.C.A. Wijngaards
1f46d5945b
- Fix for #997 : Print details for SSL certificate failure.
2024-01-22 09:40:36 +01:00
W.C.A. Wijngaards
585d73bf7c
For analysis workflow, clean up the script to use OpenSSL Configure
...
without change.
2024-01-17 16:23:18 +01:00
W.C.A. Wijngaards
9e84cebfdb
- workflow for analysis, cleanup of windows compile with msys2 perl.
2024-01-17 16:20:22 +01:00
W.C.A. Wijngaards
d1a2bd67da
- Fix warning for windres on resource files due to redefinition.
2024-01-17 16:19:56 +01:00
W.C.A. Wijngaards
7708429d35
For workflow, set perl interpreter for build.
2024-01-17 15:08:56 +01:00
W.C.A. Wijngaards
6045911d95
- Fix for workflow
2024-01-17 14:58:44 +01:00
W.C.A. Wijngaards
1b212aa073
For workflow, look for pacman.
2024-01-17 14:56:10 +01:00
W.C.A. Wijngaards
4d48166835
For workflow, use msys2 perl.
2024-01-17 14:53:23 +01:00
W.C.A. Wijngaards
437bac370a
In workflow, use strawberry perl to run configure script.
2024-01-17 14:40:57 +01:00
W.C.A. Wijngaards
546062d3a3
For workflow, change path separator.
2024-01-17 14:36:35 +01:00
W.C.A. Wijngaards
576b93c99f
For windows runner, look at perl contents.
2024-01-17 14:30:48 +01:00
W.C.A. Wijngaards
180275c4e0
Fix to install with cpanmin a missing perl module for the windows workflow.
2024-01-17 14:07:57 +01:00
W.C.A. Wijngaards
379e4b68f5
Fix for workflow to install perl module.
2024-01-17 14:03:30 +01:00
W.C.A. Wijngaards
74b4d81992
- Update workflow for ports to use newer openssl on windows compile.
2024-01-17 13:45:59 +01:00
W.C.A. Wijngaards
fea8f0d5fd
Changelog note for #993
...
- Merge #993 : Update b.root-servers.net also in example config file.
2024-01-16 16:44:15 +01:00
Wouter Wijngaards and GitHub
0e5dab5eaf
Merge pull request #993 from InfrastructureServices/b.root-servers.net-conf
...
Update b.root-servers.net also in example config file
2024-01-16 16:44:02 +01:00
W.C.A. Wijngaards
c550bc154f
- Fix to link with libssp for libcrypto and getaddrinfo check for
...
only header. Also update crosscompile to remove ssp for 32bit.
2024-01-16 16:40:14 +01:00
Petr Mensik
40fcb91206
Update b.root-servers.net also in example config file
...
Addition to commit a8739bad76 , which
updated only address specified in code. But addresses provided in
example configuration were not updated, I think they should be updated
too.
2024-01-16 16:14:13 +01:00
W.C.A. Wijngaards
c8554ff48c
- Fix to link with -lcrypt32 for OpenSSL 3.2.0 on Windows.
2024-01-15 16:44:27 +01:00
W.C.A. Wijngaards
3d95cef08c
Changelog note for #988 .
...
- Merge #988 : Fix NLnetLabs#981: dump_cache truncates large records.
2024-01-09 08:41:52 +01:00
Wouter Wijngaards and GitHub
9cd724cf5e
Merge pull request #988 from dyunwei/master
...
Fix NLnetLabs#981: dump_cache truncates large records.
2024-01-09 08:41:30 +01:00
dyunwei
eb7eb5ce68
Fix NLnetLabs#981: dump_cache truncates large records.
2024-01-09 14:17:31 +08:00
W.C.A. Wijngaards
418eeb642c
- Fix unit test for #987 change in udp1xxx retry packet send.
2024-01-05 14:11:55 +01:00
W.C.A. Wijngaards
8ac56d004d
Changelog note for #987
...
- Merge #987 : skip edns frag retry if advertised udp payload size is
not smaller.
2024-01-05 13:47:30 +01:00
Wouter Wijngaards and GitHub
52a76583c5
Merge pull request #987 from borisVanhoof/skip_edns_frag_retry
...
skip edns frag retry if advertised udp payload size is not smaller
2024-01-05 13:47:15 +01:00
sahnalys12
b1d02cc94f
skip edns frag retry if advertised udp payload size is not smaller
...
If serviced query is in UDP_EDNS_FRAG mode, and EDNS_ADVERTISED_SIZE
is 1232 (the default) or more, then the retry will have the same edns
udp payload size with the same result.
2024-01-05 12:16:23 +01:00
W.C.A. Wijngaards
b9b488b6d3
- Remove unneeded newlines and improve indentation in remote control
...
code.
2024-01-04 17:06:15 +01:00
W.C.A. Wijngaards
9a2d0238a8
- Fix #983 : Sha1 runtime insecure change was incomplete.
2024-01-03 13:33:43 +01:00
W.C.A. Wijngaards
5cc21690eb
Changelog note for #985 .
...
- Merge #985 : Add DoH and DoT to dnstap message.
2024-01-03 10:37:44 +01:00
Wouter Wijngaards and GitHub
f80f65d58c
Merge pull request #985 from k-akashi/dnstap_dot_doh
...
Add DoH and DoT to dnstap message
2024-01-03 10:36:38 +01:00
W.C.A. Wijngaards
df284fbe65
Changelog note for #979 and #980 .
...
- Merge #980 : DoH: reject non-h2 early. To fix #979 : Improve errors
for non-HTTP/2 DoH clients.
2024-01-03 10:04:06 +01:00
Wouter Wijngaards and GitHub
b632ebf129
Merge pull request #980 from jsha/reject-non-h2
...
DoH: reject non-h2 early
2024-01-03 09:59:15 +01:00
k-akashi
4b9cd8e81d
Add DoH and DoT to dnstap message
2023-12-27 07:26:21 +09:00
Yorgos Thessalonikefs
6c82f4ae9b
- Update example.conf with cookie options.
2023-12-22 11:42:20 +01:00
Jacob Hoffman-Andrews
87644fa46b
DoH: reject non-h2 early
...
Previously, non-h2 connections would be accepted, and then error out
with a verbose message "http2: session_recv from ____ failed,
error: Received bad client magic byte string". Instead, we can detect
absence of h2 support at connection time and reject with a clearer
verbose message.
2023-12-13 16:58:44 -08:00
W.C.A. Wijngaards
22dc376392
Fixup doc/Changelog.
2023-12-08 17:17:23 +01:00
W.C.A. Wijngaards
4ef1fb5a24
- Fix root_zonemd unit test, it checks that the root ZONEMD verifies,
...
now that the root has a valid ZONEMD.
2023-12-08 17:15:35 +01:00
Yorgos Thessalonikefs
be6fd80a1c
- Merge PR #973 : Use the origin (DNAME) TTL for synthesized CNAMEs as per RFC 6672.
2023-12-08 09:23:26 +01:00
W.C.A. Wijngaards
c48a467b8e
Changelog note for #975
...
- Merge #975 : Fixed some syntax errors in rpl files.
2023-12-07 12:11:03 +01:00
Wouter Wijngaards and GitHub
557edbb84a
Merge pull request #975 from NLnetLabs/testdata-syntax
...
Fixed some syntax errors in rpl files.
2023-12-07 12:10:40 +01:00
Philip Homburg
0cfc6e6d95
Fixed some syntax errors in rpl files.
2023-12-07 11:38:01 +01:00
W.C.A. Wijngaards
2978106991
- Fix #974 : doc: default number of outgoing ports without libevent.
2023-12-07 09:41:03 +01:00
Yorgos Thessalonikefs
8517f49745
- Use the origin (DNAME) TTL for syntesized CNAMEs as per RFC 6672.
2023-12-06 23:40:01 +01:00
W.C.A. Wijngaards
6c76b4e2f8
- Fix tests to use new common.sh functions, wait_logfile and
...
kill_from_pidfile.
2023-12-06 16:32:06 +01:00
W.C.A. Wijngaards
c91bd60051
- Update test script file common.sh.
2023-12-06 16:14:24 +01:00
W.C.A. Wijngaards
a8739bad76
- Updated IPv4 and IPv6 address for b.root-servers.net in root hints.
2023-12-06 13:25:58 +01:00
W.C.A. Wijngaards
2b97442f2e
- iana portlist update.
2023-12-06 13:22:35 +01:00
W.C.A. Wijngaards
5997355e22
- Fix to sync the tests script file common.sh.
2023-12-06 11:58:14 +01:00
W.C.A. Wijngaards
d8bd9845cc
- Fix dnstap that assertion failed on logging other than UDP and TCP
...
traffic. It lists it as TCP traffic.
2023-12-05 13:14:08 +01:00
W.C.A. Wijngaards
3d1bc143af
- Fix #969 : [FR] distinguish Do53, DoT and DoH in the logs.
2023-12-05 10:05:51 +01:00
W.C.A. Wijngaards
72a25f825c
Changelog note for #971
...
- Merge #971 : fix 'WARNING: Message has 41 extra bytes at end'.
2023-12-05 09:09:42 +01:00
Wouter Wijngaards and GitHub
c4e0354876
Merge pull request #971 from dukeartem/master
...
fix 'WARNING: Message has 41 extra bytes at end'
2023-12-05 09:09:23 +01:00
Artem and GitHub
389e820878
fix 'WARNING: Message has 41 extra bytes at end'
2023-12-05 09:43:15 +03:00
Yorgos Thessalonikefs
a2f0186427
- Merge #968 : Replace the obsolescent fgrep with grep -F in tests.
2023-11-27 16:47:13 +01:00
W.C.A. Wijngaards
58d670a258
- Fix #964 : config.h.in~ backup file in release tar balls.
2023-11-27 16:04:33 +01:00
Yorgos Thessalonikefs
ca88669435
- Replace the obsolescent fgrep with grep -F in tests.
2023-11-24 15:51:17 +01:00
Yorgos Thessalonikefs
15a9b0f2be
- Use 127.0.0.1 explicitly in tests to avoid delays and errors on newer
...
systems.
2023-11-24 15:34:25 +01:00
W.C.A. Wijngaards
197bf15402
- Fix unit test parse of origin syntax.
2023-11-09 15:26:46 +01:00
W.C.A. Wijngaards
0bae242cbf
- The repository continues with 1.19.1.
2023-11-08 10:59:25 +01:00
W.C.A. Wijngaards
3352b1090e
- Set version number to 1.19.0.
...
- Tag for 1.19.0rc1 release.
2023-11-02 08:40:20 +01:00
W.C.A. Wijngaards
c4d17dd231
- Fix compilation without openssl, remove unused function warning.
2023-11-01 17:09:37 +01:00
W.C.A. Wijngaards
5f78f67e39
- Fix SSL compile failure for other missing definitions in
...
log_crypto_err_io_code_arg.
2023-11-01 14:20:52 +01:00
W.C.A. Wijngaards
b1d99bb6b6
- Fix SSL compile failure for definition in log_crypto_err_io_code_arg.
2023-11-01 14:14:02 +01:00
George Thessalonikefs
8914e9fd03
- Mention flex and bison in README.md when building from repository
...
source.
2023-11-01 13:57:06 +01:00
George Thessalonikefs
8d1d728d88
- Fix #941 : dnscrypt doesn't work after upgrade to 1.18 with
...
suggestion by dukeartem to also fix the udp_ancil with dnscrypt.
2023-10-31 22:41:06 +01:00
George Thessalonikefs
59c14c747a
Changelog entry for #930
...
- Merge #930 from Stuart Henderson: add void to
log_ident_revert_to_default declaration.
2023-10-30 12:18:01 +01:00
Yorgos Thessalonikefs and GitHub
ccdf29a5f8
Merge pull request #930 from sthen/patch-1
...
add void to log_ident_revert_to_default declaration
2023-10-30 11:53:39 +01:00
W.C.A. Wijngaards
a7e079ea16
- autoconf.
2023-10-30 10:44:23 +01:00
George Thessalonikefs
a97bed9d22
- Clearer configure text for missing protobuf-c development libraries.
2023-10-24 16:34:12 +02:00
W.C.A. Wijngaards
0ce68e97a7
Changelog entry for #951 .
...
- Merge #951 : Cachedb no store. The cachedb-no-store: yes option is
used to stop cachedb from writing messages to the backend storage.
It reads messages when data is available from the backend. The
default is no.
2023-10-20 17:01:13 +02:00
Wouter Wijngaards and GitHub
3f66230874
Merge pull request #951 from NLnetLabs/cachedb-no-store
...
Cachedb no store
2023-10-20 17:00:13 +02:00
W.C.A. Wijngaards
35d0a8a843
- Fix to print detailed errors when an SSL IO routine fails via
...
SSL_get_error.
2023-10-19 11:17:32 +02:00
George Thessalonikefs
44c3d4d2dc
- Changelog entry for:
...
Merge #955 from buevsan: fix ipset wrong behavior.
- Update testdata/ipset.tdir test for ipset fix.
2023-10-18 15:11:38 +02:00
Yorgos Thessalonikefs and GitHub
167772fbca
Merge pull request #955 from buevsan/fix-ipset
...
fix ipset wrong behavior
2023-10-18 15:08:08 +02:00
George Thessalonikefs
2f0b11673a
- Update the dns64_lookup.rpl test for the DNS64 fallback patch.
2023-10-18 12:59:54 +02:00
George Thessalonikefs
c5aa6a2286
- Changelog entry for DNS64 patches from Daniel Gröber.
2023-10-18 12:16:35 +02:00
George Thessalonikefs
d5522c3480
Fixes for dns64 fallback to plain AAAA when no A records:
...
- Cleanup if condition.
- Rename variable for readability.
2023-10-18 12:03:40 +02:00
Daniel Gröber via Unbound-users and George Thessalonikefs
c1e5e6781e
dns64: Fall back to plain AAAA query with synthall but no A records
...
Networks which only have tunneled IPv6 access but still want to go
IPv6-only internally can use unbound's DNS64 module together with the
dns64-synthall or dns64-ignore-aaaa options to direct most traffic (any
dualstack domain) to their NAT64.
There is only one problem with this setup, currently domains with only AAAA
records will fail to resolve.
To allow for this use-case arrange for the A sub-query to make the AAAA
super query advance along the module stack when no records are returned.
Signed-off-by: Daniel Gröber <dxld@darkboxed.org >
2023-10-18 12:03:40 +02:00
George Thessalonikefs
dd086e5bfd
Fixes for dns64 readability refactoring:
...
- Move declarations to the top for C90 compliance.
- Save cycles by not calling (yet) unneeded functions.
- Possible use of uninitialised value.
- Consistent formatting.
2023-10-18 12:03:40 +02:00
Daniel Gröber via Unbound-users and George Thessalonikefs
213bb7c6ed
dns64: Fix misleading indentation
...
Signed-off-by: Daniel Gröber <dxld@darkboxed.org >
2023-10-18 12:03:40 +02:00
Daniel Gröber via Unbound-users and George Thessalonikefs
0c88f98a3b
dns64: Refactor handle_event checks for readability
...
No functional change intended.
Signed-off-by: Daniel Gröber <dxld@darkboxed.org >
2023-10-18 12:03:40 +02:00
Alexander V. Buev
23ae0a9838
fix ipset wrong behavior
...
Issue description:
If local zone directive is assigned as following:
"local-zone domain.com ipset"
then any answers for query with names such as
"anytext1domain.com" or "example2domain.com"
will be added to ipset.
This commit fixes this issue.
2023-10-17 18:35:42 +03:00
W.C.A. Wijngaards
0f78bea4a3
- Fix #954 : Inconsistent RPZ handling for A record returned along with
...
CNAME.
2023-10-17 16:47:04 +02:00
George Thessalonikefs
4b627bd29e
- Update pymod tests for the new Python script variable.
2023-10-16 16:32:09 +02:00
George Thessalonikefs
e4510c76e5
- For multi Python module setups, clean previously parsed module
...
functions in __main__'s dictionary, if any, so that only current
module functions are registered.
2023-10-16 16:03:11 +02:00
George Thessalonikefs
122dd6c11e
- Expose the configured listening and outgoing interfaces, if any, as
...
a list of strings in the Python 'config_file' class instead of the
current Swig object proxy; fixes #79 .
2023-10-16 15:53:47 +02:00
George Thessalonikefs
63a5280f8f
- Expose the script filename in the Python module environment 'mod_env'
...
instead of the config_file structure which includes the linked list
of scripts in a multi Python module setup; fixes #79 .
2023-10-16 15:47:18 +02:00
George Thessalonikefs
07149f576a
- Better fix for infinite loop when reading multiple lines of input on
...
a broken remote control socket, by treating a zero byte line the
same as transmission end. Addesses #947 and #948 .
2023-10-13 14:58:16 +02:00
dbd2a43ab1
Apply suggestions from code review
...
Co-authored-by: Yorgos Thessalonikefs <george@nlnetlabs.nl >
2023-10-13 13:46:52 +02:00
W.C.A. Wijngaards
4a211a9117
- cachedb-no-store, example conf and man page documentation.
2023-10-13 11:37:18 +02:00
W.C.A. Wijngaards
18ebe165ba
Merge branch 'master' into cachedb-no-store
2023-10-12 14:51:12 +02:00
W.C.A. Wijngaards
908e1cb11a
Changelog note for #944 .
...
- Merge #944 : Disable EDNS DO.
Disable the EDNS DO flag in upstream requests. This can be helpful
for devices that cannot handle DNSSEC information. But it should not
be enabled otherwise, because that would stop DNSSEC validation. The
DNSSEC validation would not work for Unbound itself, and also not
for downstream users. Default is no. The option
is disable-edns-do: no
2023-10-12 14:05:31 +02:00
Wouter Wijngaards and GitHub
5c6c57ed89
Merge pull request #944 from NLnetLabs/disable-edns-do
...
Disable EDNS DO
2023-10-12 14:04:29 +02:00
W.C.A. Wijngaards
47094fd83f
Merge branch 'master' into cachedb-no-store
2023-10-11 13:51:34 +02:00
W.C.A. Wijngaards
67153f897e
- Fix for #949 : Fix pythonmod/ubmodule-tst.py for Python 3.x.
2023-10-11 13:47:28 +02:00
W.C.A. Wijngaards
f2528dc3ac
- Fix that cachedb does not warn when serve-expired is disabled about
...
use of serve-expired-reply-ttl and serve-expired-client-timeout.
2023-10-11 13:29:56 +02:00
W.C.A. Wijngaards
935bc162e1
- cachedb-no-store, unit test cachedb_no_store.tdir.
2023-10-11 12:01:55 +02:00
W.C.A. Wijngaards
d5954aff08
- Fix #949 : "could not create control compt".
2023-10-11 11:59:26 +02:00
George Thessalonikefs
e98b89651e
- Fix #850 : [FR] Ability to use specific database in Redis, with new
...
redis-logical-db configuration option.
2023-10-11 11:44:55 +02:00
George Thessalonikefs
516f90abdb
- Fix infinite loop when reading multiple lines of input on a broken
...
remote control socket. Addesses #947 and #948 .
2023-10-10 15:17:48 +02:00
W.C.A. Wijngaards
c09320c651
- Fix that printout of EDNS options shows the EDNS cookie option by
...
name.
2023-10-09 12:36:54 +02:00
W.C.A. Wijngaards
6d0812b567
- Fix edns subnet so that queries with a source prefix of zero cause
...
the recursor send no edns subnet option to the upstream.
2023-10-09 12:21:22 +02:00
b05154218c
Update doc/unbound.conf.5.in
...
Co-authored-by: Yorgos Thessalonikefs <george@nlnetlabs.nl >
2023-10-06 16:40:34 +02:00
c8ae3de610
Update validator/validator.c
...
Co-authored-by: Yorgos Thessalonikefs <george@nlnetlabs.nl >
2023-10-06 16:39:33 +02:00
W.C.A. Wijngaards
ae96aa0a6d
- cachedb-no-store, implement cachedb-no-store: yes configuration option.
2023-10-06 13:22:10 +02:00
W.C.A. Wijngaards
1e85749e6e
Merge branch 'master' into disable-edns-do
2023-10-05 15:57:41 +02:00
W.C.A. Wijngaards
b624ed5050
- disable-edns-do, validator init prints warning when disable-edns-do is
...
turned on, but there are trust anchors, and then turns off disable-edns-do.
2023-10-05 14:33:22 +02:00
W.C.A. Wijngaards
b865aca03a
- Fix #946 : Forwarder returns servfail on upstream response noerror no
...
data.
2023-10-04 18:16:22 +02:00
W.C.A. Wijngaards
2e7714e80c
- disable-edns-do, unbound-checkconf warns about disable-edns-do and DNSSEC
...
validation that is enabled, and suggests to turn one off.
2023-10-04 15:28:52 +02:00
W.C.A. Wijngaards
39df4f0923
- disable-edns-do, queriers receive no EDNS in response if the
...
disable-edns-do option is enabled and they set the DO flag. And unit test
for that.
2023-10-04 13:54:05 +02:00
W.C.A. Wijngaards
eff3e01ec3
Merge branch 'master' into disable-edns-do
2023-10-04 13:34:47 +02:00
George Thessalonikefs
13d4504dfc
- Merge #881 : Generalise the proxy protocol code.
2023-10-03 14:51:50 +02:00
George Thessalonikefs
9342bf685e
- Fix misplaced comment.
2023-10-02 16:13:23 +02:00
George Thessalonikefs
f804c087e4
proxy-protocol, review comments:
...
- more generic switch statement for address families;
- comment the protocol values as such in their definitions;
- less hardcoded values for address family and protocol combinations.
2023-09-29 17:31:52 +02:00
W.C.A. Wijngaards
0102360e92
root-zonemd-test, add test for ZONEMD usage from the root zone,
...
currently with the unsupported algorithm.
2023-09-29 16:03:08 +02:00
W.C.A. Wijngaards
ca481322d4
Merge branch 'master' into disable-edns-do
2023-09-28 16:49:01 +02:00
W.C.A. Wijngaards
654a7eab62
- Fix #942 : 1.18.0 libunbound DNS regression when built without
...
OpenSSL.
2023-09-22 13:15:35 +02:00
W.C.A. Wijngaards
4e5b0b7eec
- disable-edns-do, unit test checks lookup without EDNS DO flag.
2023-09-22 11:39:39 +02:00
W.C.A. Wijngaards
9aaafddf04
- disable-edns-do, the option turns of the EDNS DO flag when a message is
...
sent from the iterator.
2023-09-20 13:28:06 +02:00
W.C.A. Wijngaards
9cd282e001
Merge branch 'master' into disable-edns-do
2023-09-20 13:18:26 +02:00
W.C.A. Wijngaards
bd5dc855af
- Fix rpz tcp-only action with rpz triggers nsdname and nsip.
2023-09-18 09:55:39 +02:00
W.C.A. Wijngaards
31218166fc
- Fix to remove two c99 notations.
2023-09-15 13:30:30 +02:00
W.C.A. Wijngaards
6bdecdbc5a
Changelog note and autoconf for #936
...
- Merge #936 : Check for c99 with autoconf versions prior to 2.70.
2023-09-15 13:24:20 +02:00
Wouter Wijngaards and GitHub
45e6e71652
Merge pull request #936 from fobser/c99
...
Check for c99 with autoconf versions prior to 2.70
2023-09-15 13:23:28 +02:00
Florian Obser
3abb32c3ba
Check for c99 with autoconf versions prior to 2.70
2023-09-15 13:00:17 +02:00
W.C.A. Wijngaards
6e65343895
- Fix authority zone answers for obscured DNAMEs and delegations.
2023-09-14 11:37:49 +02:00
W.C.A. Wijngaards
d1977c679b
- disable-edns-do, doc and add option disable-edns-do: no.
2023-09-13 13:11:53 +02:00
W.C.A. Wijngaards
0ee44ef384
- Fix send of udp retries when ENOBUFS is returned. It stops looping
...
and also waits for the condition to go away. Reported by Florian
Obser.
2023-09-08 13:35:42 +02:00
Philip Homburg
1c8f0e0fc5
Avoid calling comm_point_udp_ancil_callback from comm_point_create_udp
2023-09-07 16:35:22 +02:00
Philip Homburg
17a557dfd5
Fix #928 (1.18 doesn't start on macOS/SunOS)
2023-09-07 16:35:22 +02:00
W.C.A. Wijngaards
8c751d48a2
- Fix to print EDE text in readable form in output logs.
2023-09-07 15:28:01 +02:00
W.C.A. Wijngaards
5b8a7340bb
- Fix to set ede match in unit test for rr length removal.
...
Changelog note.
2023-09-07 14:59:13 +02:00
W.C.A. Wijngaards
33784e612a
- Fix to set ede match in unit test for rr length removal.
2023-09-07 14:58:51 +02:00
W.C.A. Wijngaards
fdd5f8ff83
- Fix to add EDE text when RRs have been removed due to length.
2023-09-07 14:44:48 +02:00
W.C.A. Wijngaards
63616a5fce
- Fix to move msgparse_rrset_remove_rr code to util/msgparse.c.
2023-09-07 11:29:53 +02:00
W.C.A. Wijngaards
dfc00271d1
- Fix to scrub resource records of type A and AAAA that have an
...
inappropriate size. They are removed from responses.
2023-09-07 11:08:04 +02:00
W.C.A. Wijngaards
1143050ea6
Changelog note for #931
...
- Merge #931 : Prevent warnings from -Wmissing-prototypes.
2023-09-06 09:49:35 +02:00
Wouter Wijngaards and GitHub
5ab4a9330a
Merge pull request #931 from fobser/missing-prototypes
...
Prevent warnings from -Wmissing-prototypes.
2023-09-06 09:49:23 +02:00
Florian Obser
2cd7c719ef
Prevent warnings from -Wmissing-prototypes.
2023-09-05 17:35:30 +02:00
Stuart Henderson and GitHub
ed00129866
add void to log_ident_revert_to_default declaration
...
Avoid warning from LLVM 16:
util_log.c:190:33: warning: a function declaration without a prototype is deprecated in all versions of C
[-Wstrict-prototypes]
void log_ident_revert_to_default()
^
void
2023-09-05 14:28:06 +00:00
W.C.A. Wijngaards
10843805ac
- Fix #927 : unbound 1.18.0 make test error. Fix make test without SHA1.
2023-08-31 13:54:03 +02:00
W.C.A. Wijngaards
f0e15272b2
- Fix autoconf 2.69 warnings in configure.
2023-08-31 09:19:24 +02:00
W.C.A. Wijngaards
d4c4537b33
- Fix for WKS call to getservbyname that creates allocation on exit
...
in unit test by testing numbers first and testing from the services
list later.
2023-08-30 14:31:24 +02:00
W.C.A. Wijngaards
ba1183bb6e
Tag 1.18.0rc1 became the 1.18.0 release on
...
30 aug 2023, with the fix from 25 aug, fix compile on NetBSD
included. The repository continues with version 1.18.1.
2023-08-30 11:03:42 +02:00
W.C.A. Wijngaards
85ee5284f5
- Fix for version generation race condition that ignored changes.
2023-08-28 13:25:04 +02:00
W.C.A. Wijngaards
3795e37410
- Fix compile error on NetBSD in util/netevent.h.
2023-08-25 08:43:27 +02:00
W.C.A. Wijngaards
d396d8dae3
- Tag for 1.18.0rc1 release.
2023-08-23 10:49:45 +02:00
W.C.A. Wijngaards
8da117b086
- Set version number to 1.18.0.
2023-08-22 14:32:51 +02:00
W.C.A. Wijngaards
6e43145382
- Fix unit test for unbound-control to work when threads are disabled,
...
and fix cache dump check.
2023-08-21 16:58:10 +02:00
W.C.A. Wijngaards
be53e37b15
- Fix #923 : processQueryResponse() THROWAWAY should be mindful of
...
fail_reply.
2023-08-21 14:32:13 +02:00
W.C.A. Wijngaards
3160d6ac08
- Fix for #925 : unbound.service: Main process exited, code=killed,
...
status=11/SEGV. Fixes cachedb configuration handling.
2023-08-21 11:28:49 +02:00
W.C.A. Wijngaards
d1f388ec93
- Fix windows ci workflow to install bison and flex.
2023-08-21 10:43:02 +02:00
W.C.A. Wijngaards
5bd07f8e88
Further debug for windows ci workflow.
2023-08-21 10:20:23 +02:00
W.C.A. Wijngaards
3ea6f730ac
- Debug Windows ci workflow.
2023-08-21 10:16:00 +02:00
W.C.A. Wijngaards
083770cb39
- Fix stat_values test to work with dig that enables DNS cookies.
2023-08-18 13:39:27 +02:00
W.C.A. Wijngaards
8756ad63dd
- Fix uninitialized memory passed in padding bytes of cmsg to sendmsg.
2023-08-18 13:18:46 +02:00
W.C.A. Wijngaards
c4566aa5d3
Changelog for commit.
...
- Fix for iter_dec_attempts that could cause a hang, part of
capsforid and qname minimisation, depending on the settings.
2023-08-18 13:10:51 +02:00
W.C.A. Wijngaards
2791ccbe02
- Fix for iter_dec_attempts that could cause a hang, part of
...
capsforid and qname minimisation, depending on the settings.
2023-08-18 09:11:06 +02:00
W.C.A. Wijngaards
5f423906de
- Fix ip_ratelimit test to work with dig that enables DNS cookies.
2023-08-17 15:43:14 +02:00
W.C.A. Wijngaards
4844fa3481
- Fix regional_alloc_init for potential unaligned source of the copy.
2023-08-17 15:22:54 +02:00
W.C.A. Wijngaards
0f5fecd516
Changelog note for #762 .
...
- Merge PR #762 : Downstream DNS Server Cookies a la RFC7873 and
RFC9018. Create server cookies for clients that send client cookies.
This needs to be explicitly turned on in the config file with:
`answer-cookie: yes`. A `cookie-secret:` can be configured for
anycast setups. Without one, a random cookie secret is generated.
The acl option `allow_cookie` allows queries with either a valid
cookie or over a stateful transport. The statistics output has
`queries_cookie_valid` and `queries_cookie_client` and
`queries_cookie_invalid` information. The `ip\-ratelimit\-cookie:`
value determines a rate limit for queries with cookies, if desired.
2023-08-17 15:18:46 +02:00
Wouter Wijngaards and GitHub
a1c82ac5fd
Merge pull request #762 from NLnetLabs/features/downstream-cookies
...
Downstream DNS Server Cookies a la RFC7873 and RFC9018
2023-08-17 15:14:11 +02:00
W.C.A. Wijngaards
1c85901cc4
- Fix out of bounds read in parse_edns_options_from_query, it would read
...
8 bytes after a client option of length 8, and then ignore them to
recreate a 24 byte response. The fixup does not read out of bounds,
and puts zeroes in the buffer at that point, that then are ignored.
2023-08-16 16:58:49 +02:00
W.C.A. Wijngaards
b1c707e551
- Fix possibly unaligned memory access.
2023-08-16 14:57:38 +02:00
W.C.A. Wijngaards
2b1028bdad
- Fix possibly unaligned memory access.
2023-08-16 10:06:06 +02:00
George Thessalonikefs
bab5ad623c
- For #762 : Introduce stat counters for downstream DNS Cookies per
...
thread and total: num.queries_cookie_valid, num.queries_cookie_client,
num.queries.cookie_invalid.
2023-08-08 15:19:56 +02:00
George Thessalonikefs
49e4258102
- For #762 : Interaction between DNS Cookies and source IP ratelimiting
...
by allowing Cookies to bypass the ratelimit, but still allowing
ratelimit to valid DNS Cookie clients via the new
ip-ratelimit-cookie option.
2023-08-08 10:14:03 +02:00
George Thessalonikefs
81e219827e
- For #762 : Silence maybe-uninitialized compiler warning.
2023-08-07 11:20:48 +02:00
George Thessalonikefs
02ac374640
- For #762 : Remove re-introduced files from merge (configlexer.c, configparser.c, configparser.h).
2023-08-07 11:12:49 +02:00
George Thessalonikefs
025d810b45
- For #762 : annotate case statement fallthrough for gcc.
2023-08-07 11:04:23 +02:00
George Thessalonikefs
4ccb613396
Merge branch 'master' into features/downstream-cookies
2023-08-05 20:37:48 +02:00
George Thessalonikefs
9025be814a
- For #762 : remove uneeded include.
2023-08-05 20:18:56 +02:00
George Thessalonikefs
fbc0256825
- For #762 : Cleaner manpage text and uniform use of the term DNS
...
Cookies.
2023-08-05 20:00:37 +02:00
George Thessalonikefs
8580a74b37
- For #762 : Introduce rpl testing for DNS Cookies.
2023-08-05 19:50:57 +02:00
George Thessalonikefs
b6e2f4dbf8
- For #762 : Formatting.
2023-08-04 19:03:23 +02:00
George Thessalonikefs
702f485587
- For #762 : relocate EDNS cookie code to util/edns and introduce unit
...
tests.
2023-08-04 14:26:08 +02:00
George Thessalonikefs
6e47c1e05b
- For #762 : remove relocated code.
2023-08-02 15:51:05 +02:00
George Thessalonikefs
d4145772b5
- Move a cache reply callback in worker.c closer to the cache reply
...
generation.
2023-08-02 12:33:52 +02:00
George Thessalonikefs
00a08beee9
- For #762 : Ignore util/siphash.c for the 01-doc test.
2023-08-01 17:40:49 +02:00
George Thessalonikefs
5b55a46550
- For #762 : relocate RFC 1982 serial number arithmetic functions to their own
...
file in util/rfc_1982.[ch].
2023-08-01 17:26:14 +02:00
George Thessalonikefs
2cc9563cf8
- Fix to use the now cached EDE, if any, for CD_bit queries.
2023-08-01 15:23:25 +02:00
George Thessalonikefs
8aec671860
- More braces and formatting for Fix for EDNS EDE size calculation to
...
avoid future bugs.
2023-08-01 15:15:33 +02:00
W.C.A. Wijngaards
990b12bc8e
- Fix for EDNS EDE size calculation.
2023-08-01 15:08:50 +02:00
George Thessalonikefs
11f12bc981
- Merge #911 from natalie-reece: Exclude EDE before other EDNS options when
...
there isn't enough space.
- For #911 : Try to trim EXTRA-TEXT (and LDNS_EDE_OTHER options
altogether) before giving up on attaching EDE options.
2023-08-01 10:01:18 +02:00
George Thessalonikefs
08e11284fb
- For #911 : Try to trim EXTRA-TEXT (and LDNS_EDE_OTHER options
...
altogether) before giving up on attaching EDE options.
2023-08-01 09:55:28 +02:00
W.C.A. Wijngaards
f531011e85
- iana portlist update.
2023-07-31 10:24:43 +02:00
George Thessalonikefs
d18813be30
- Merge #790 from Tom Carpay: Add support for EDE caching in cachedb
...
and subnetcache.
2023-07-31 10:18:10 +02:00
5f76e201f0
- For #790 : Update formatting in cachedb/cachedb.c
...
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com >
2023-07-31 10:13:01 +02:00
George Thessalonikefs
dcd0191d7e
Merge branch 'master' of https://github.com/natalie-reece/unbound into natalie-reece-master
2023-07-31 09:57:21 +02:00
George Thessalonikefs
8936f3496e
- For #790 : clean testcase.
2023-07-31 09:41:57 +02:00
George Thessalonikefs
f97927a47e
Merge branch 'master' into features/ede-caching-cachedb
2023-07-30 14:17:52 +02:00
George Thessalonikefs
6819c1e444
- Merge #759 from Tom Carpay: Add EDE (RFC8914) caching.
2023-07-30 11:48:04 +02:00
George Thessalonikefs
6487d6febe
- For #759 : fix doc string.
2023-07-30 11:43:06 +02:00
George Thessalonikefs
373904f865
- Fix unused variable compile warning for kernel timestamps in
...
netevent.c
2023-07-28 20:17:07 +02:00
George Thessalonikefs
0912015fb9
- Review for #790 : Fix memory leak.
2023-07-28 17:21:15 +02:00
George Thessalonikefs
c15cfb4bd9
- Review for #790 : Address Wouter's comments.
2023-07-28 16:55:51 +02:00
George Thessalonikefs
66c95e8081
- Review for #790 : replace tdir tests with simpler rpl tests.
2023-07-28 16:54:05 +02:00
George Thessalonikefs
843fc69927
Address review comments for #759 :
...
- Clear error text when an expected signature is missing.
2023-07-28 14:05:25 +02:00
George Thessalonikefs
50ea4a1072
Address review comments for #759 :
...
- Decrease allocations for "" EDE strings when loading the cachedump.
- Check for existence of EDE code before attaching.
2023-07-28 12:56:13 +02:00
George Thessalonikefs
1e47eea6e3
- Merge #889 from borisVanhoof: Free memory in error case + remove
...
unused function.
2023-07-21 21:13:43 +02:00
George Thessalonikefs
6289238cd6
- For #889 : Account for num_detached_states before possible
...
mesh_state_delete when erroring out.
2023-07-21 21:05:38 +02:00
George Thessalonikefs
97fdd0e2eb
- For #889 : use netcat-openbsd instead of netcat-traditional.
2023-07-21 21:04:40 +02:00
George Thessalonikefs
201da1f50a
Merge branch 'free_memory_in_error_case' of https://github.com/borisVanhoof/unbound into borisVanhoof-free_memory_in_error_case
2023-07-21 17:04:33 +02:00
George Thessalonikefs
51c189394d
- Cleaner failure code for callback functions in interface.i.
2023-07-21 16:53:36 +02:00
George Thessalonikefs
2e257fff2a
- Merge #390 from Frank Riley: Add missing callbacks to the python
...
module.
2023-07-21 16:50:57 +02:00
George Thessalonikefs
4776f749be
Merge branch 'python_add_missing_callbacks' of https://github.com/fhriley/unbound into fhriley-python_add_missing_callbacks
2023-07-21 15:19:12 +02:00
George Thessalonikefs
04053d39a0
- Merge #118 from mibere: Changed verbosity level for Redis init &
...
deinit.
2023-07-21 15:01:48 +02:00
mibere and George Thessalonikefs
ef9f7f113f
Log established connection to Redis
2023-07-21 14:41:26 +02:00
mibere and George Thessalonikefs
2d33bba3c0
Changed verbosity level for Redis init & deinit
...
Redis init & deinit are basic (operational) information
2023-07-21 14:39:34 +02:00
George Thessalonikefs
36b38cea74
- Merge #857 from eaglegai: fix potential memory leaks when errors
...
happen.
2023-07-21 14:04:38 +02:00
George Thessalonikefs
40f446a499
- For #857 : fix mixed declarations and code.
2023-07-21 14:02:01 +02:00
George Thessalonikefs
e839771ddf
Merge branch 'master' of https://github.com/eaglegai/unbound into eaglegai-master
2023-07-21 12:43:47 +02:00
George Thessalonikefs
ae2c2be1a5
Merge branch 'master' of github.com:NLnetLabs/unbound
2023-07-20 12:56:31 +02:00
George Thessalonikefs
bf37487dca
- Merge #901 from Sergei Trofimovich: config: improve handling of
...
unknown modules.
2023-07-20 12:56:20 +02:00
W.C.A. Wijngaards
8d45c1592b
- For #909 : Fix RR class comparison.
2023-07-20 12:16:24 +02:00
George Thessalonikefs
862fa0d514
Merge branch 'module-error' of https://github.com/trofi/unbound into trofi-module-error
2023-07-20 12:08:27 +02:00
George Thessalonikefs
27c028cf27
- Merge #909 from headshog: Numeric truncation when parsing TYPEXX and
...
CLASSXX representation.
- For #909 : Fix return values.
2023-07-20 11:57:17 +02:00
George Thessalonikefs
5b7faca7db
For #909 : Numeric truncation when parsing TYPEXX and CLASSXX representation
...
- Fix return values.
- Formatting nits.
2023-07-20 11:42:05 +02:00
George Thessalonikefs
d29bc712b1
Merge branch 'fix-numtrunc' of https://github.com/headshog/unbound into headshog-fix-numtrunc
2023-07-20 11:07:19 +02:00
headshog
0b131d5a31
parse sldns_get_rr_class_by_name and sldns_get_rr_type_by_name return value 0
2023-07-19 18:09:03 +03:00
George Thessalonikefs
90b434c260
- For #759 : add support for cached EDEs to cachedump
2023-07-19 17:06:10 +02:00
George Thessalonikefs
846b158304
- Remove redundant checks when attaching EDE to a SERVFAIL answer.
2023-07-19 15:26:08 +02:00
George Thessalonikefs
95604a90e8
Review for #759 :
...
- Keep EDE information for keys close to key creation.
- Fix inconsistencies between reply and cached EDEs.
- Incorporate EDE caching checks in EDE tests.
- Fix some EDE cases where missing DNSKEY was wrongly reported.
2023-07-19 15:20:44 +02:00
George Thessalonikefs
f5a2a58ce3
Review for #759 :
...
- Fix SEGFAULT in load_cache control command.
- Change reason_bogus_str to an explicit NULL-terminated string.
- Fix potential memory leak when discarding a message for referrals and
0 TTL answers.
- Fix reason_bogus initialization in localzone answers.
- reply_info creation in validator is always regional.
2023-07-17 17:26:31 +02:00
headshog
78c284e05d
fix numtrunc in str2wire.c
2023-07-17 12:58:52 +03:00
George Thessalonikefs
299f55b0d1
- More clear description of the different auth-zone behaviors on the
...
man page.
2023-07-14 15:28:42 +02:00
George Thessalonikefs
52f0387cac
- Merge #880 from chipitsine: services/authzone.c: remove redundant
...
check.
2023-07-13 11:52:14 +02:00
George Thessalonikefs
606e5a0a5f
Merge branch 'cleanup_cppcheck' of https://github.com/chipitsine/unbound into chipitsine-cleanup_cppcheck
2023-07-13 11:49:41 +02:00
George Thessalonikefs
15b8d8b96a
Merge branch 'master' into features/ede-caching
2023-07-13 11:25:59 +02:00
Natalie Reece
67e52ea9c5
Exclude EDE before other EDNS options when there isn't enough space
2023-07-11 17:01:26 -06:00
George Thessalonikefs
7240ecbeb0
- Merge #664 from tilan7763: Add prefetch support for subnet cache
...
entries.
- For #664 : Easier code flow for subnetcache prefetching.
- For #664 : Add testcase.
- For #664 : Rename subnet_prefetch tests to subnet_global_prefetch to
differentiate from the new subnet prefetch support.
2023-07-11 14:31:49 +02:00
George Thessalonikefs
a952ac17be
Merge branch 'tilan7663-subnet_cache_prefetch' into subnet_cache_prefetch
2023-07-07 16:50:58 +02:00
George Thessalonikefs
40e47bf767
- For #664 : easier code flow for subnetcache prefetching.
...
- For #664 : add testcase.
2023-07-06 22:22:21 +02:00
George Thessalonikefs
0afe58a06e
- Skip the 00-lint test. splint is not maintained; it either does not
...
work or produces false positives. Static analysis is handled in the
clang test.
2023-07-03 15:38:16 +02:00
George Thessalonikefs
2069271384
- Merge #802 : add validation EDEs to queries where the CD bit is set.
...
- For #802 : Cleanup comments and add RCODE check for CD bit test case.
2023-07-03 14:48:39 +02:00
George Thessalonikefs
014db3fb03
- For #802 : Cleanup comments and add RCODE check for CD bit test case.
2023-07-03 14:40:01 +02:00
W.C.A. Wijngaards
5aa47fb1fa
- Fix dereference of NULL variable warning in mesh_do_callback.
2023-07-03 13:50:39 +02:00
George Thessalonikefs
1962991937
- Merge #739 : Add SVCB dohpath support.
...
- Code cleanup for sldns_str2wire_svcparam_key_lookup.
2023-07-03 11:02:05 +02:00
George Thessalonikefs
5be7f1ef8a
- Code cleanup for sldns_str2wire_svcparam_key_lookup.
2023-07-03 10:51:34 +02:00
W.C.A. Wijngaards
48a6ff14a4
- Fix #906 : warning: ‘Py_SetProgramName’ is deprecated.
2023-07-03 10:23:37 +02:00
George Thessalonikefs
ade710a9fd
- For #739 : minor cleanup for testcases.
2023-07-03 10:10:16 +02:00
George Thessalonikefs
31d38d2cfe
Merge branch 'master' into features/dohpath-for-unbound
2023-06-30 11:50:23 +02:00
George Thessalonikefs
380e3de140
- Merge #827 from rcmcdonald91: Eliminate unnecessary Python reloading
...
which causes memory leaks.
2023-06-29 13:02:27 +02:00
George Thessalonikefs
fc8bf269e9
- More fixes for reference counting for python module and clean up
...
failure code.
2023-06-29 12:26:49 +02:00
W.C.A. Wijngaards
7696074fa9
- Fix python modules with multiple scripts, by incrementing reference
...
counts.
2023-06-29 10:16:37 +02:00
George Thessalonikefs
bea61fc37c
- Remove warning about unknown cast-function-type warning pragma.
2023-06-27 16:44:29 +02:00
George Thessalonikefs
41dac805f5
- Merge #892 : Add cachedb hit stat. Introduces 'num.query.cachedb' as
...
a new statistical counter.
2023-06-27 12:46:26 +02:00
W.C.A. Wijngaards
2207a55107
Add changelog and contrib/README mention for #903
...
- Merge #903 : contrib: add yocto compatible init script.
2023-06-22 15:41:17 +02:00
Wouter Wijngaards and GitHub
196f8a68f6
Merge pull request #903 from beni-sandu/master
...
contrib: add yocto compatible init script
2023-06-22 15:37:07 +02:00
Beniamin Sandu
0d13b4ec4c
contrib: add yocto compatible init script
...
Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com >
2023-06-22 14:18:45 +03:00
George Thessalonikefs
f1537e2041
- For #762 : please doxygen.
2023-06-22 12:21:27 +02:00
George Thessalonikefs
47cf44cc70
- For #762 : relocate edns_opt_list_append_keepalive.
2023-06-22 12:11:28 +02:00
George Thessalonikefs
1cd75cccfc
- For #762 : More generic integration for siphash.c
2023-06-22 11:45:08 +02:00
Sergei Trofimovich
d10a889a68
config: improve handling of unknown modules
...
The change fixes module print when specified module is unknown. On
example config:
server:
module-config: "respip valdator iterator"
Before the change printed error looked like:
error: Unknown value in module-config, module: ''. This module is
not present (not compiled in), See the list of linked modules with
unbound -V
After the change module is printed as expected:
error: Unknown value in module-config, module: 'valdator'. This
module is not present (not compiled in), See the list of linked
modules with unbound -V
Module truncation happens because parse error does not guarantee that
leading whitespace is removed by `module_factory()` call.
The change always removes leading whitespace (if present).
2023-06-19 18:20:22 +01:00
Philip Homburg
64476280ed
Changelog for #887 and #516
2023-06-15 11:09:08 +02:00
Philip Homburg
b1bcde3137
Merge branch 'freebsd-aslr-issue'
2023-06-15 11:06:29 +02:00
George Thessalonikefs
b02f9befcd
- For #762 : fix compiler C90 warning.
2023-06-14 16:41:01 +02:00
George Thessalonikefs
0f1ea7e490
- Properly handle all return values of worker_check_request during
...
early EDE code.
- Do not check the incoming request more than once.
2023-06-14 11:40:59 +02:00
W.C.A. Wijngaards
f9317d65b3
- Fix for uncertain unit test for doh buffer size events.
2023-06-12 12:39:00 +02:00
W.C.A. Wijngaards
2cf0359ffe
Changelog note for #895
...
- Fix #895 : python + sysconfig gives ANOTHER path comparing to
distutils.
2023-06-12 10:39:44 +02:00
W.C.A. Wijngaards
35885e5a70
- Merge #896 : Fix : #895 : pythonmodule: add all site-packages
...
directories to sys.path.
2023-06-12 10:30:50 +02:00
Wouter Wijngaards and GitHub
0585b1d75a
Merge pull request #896 from socketpair/bugfix
...
Fix : #895 : pythonmodule: add all site-packages directories to sys.path
2023-06-12 10:30:05 +02:00
Коренберг Марк
a25fc52818
Fix : #895 : pythonmodule: add all site-packages directories to sys.path
2023-06-11 10:39:13 +03:00
Philip Homburg
52581f8644
Fix for issue #887 (Timeouts to forward servers on BSD based system with ASLR)
...
and proabbly #516 (Stream reuse does not work on Windows)
2023-06-09 13:59:31 +02:00
9412b9c2ca
Review comment for daemon/stats.c
...
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com >
2023-06-02 12:39:23 +02:00
65230bd117
Review comment for testdata/stat_values.tdir/stat_values.test
...
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com >
2023-05-31 17:09:16 +02:00
George Thessalonikefs
db5cf5851d
- More efficient mesh accounting per client.
2023-05-30 23:34:31 +02:00
George Thessalonikefs
3c3fd7a795
- More predictable testing for cachedb.
2023-05-30 23:33:48 +02:00
George Thessalonikefs
4f52be4db9
- Introduce num.query.cachedb to track cache hits for the external cache.
2023-05-30 17:49:50 +02:00
W.C.A. Wijngaards
512236d705
- Fix unbound-dnstap-socket time fraction conversion for printout.
2023-05-25 16:27:19 +02:00
W.C.A. Wijngaards
d57986724e
- Fix unbound-dnstap-socket printout when no query is present.
2023-05-25 14:30:25 +02:00
Boris VANHOOF
4e39d3dfe1
could not find package netcat for docker container
2023-05-23 10:11:07 +02:00
Boris VANHOOF
a21bc23139
free memory in error case
2023-05-23 09:23:03 +02:00
Boris VANHOOF
62d54d8091
remove unused function
2023-05-23 09:22:35 +02:00
Boris VANHOOF
17559c737b
typo in comments
2023-05-23 09:21:58 +02:00
W.C.A. Wijngaards
59fd48c226
- Fix to remove unused variables from RPZ clientip data structure.
2023-05-19 16:36:31 +02:00
W.C.A. Wijngaards
da78c42f88
- Fix RPZ removal of client-ip, nsip, nsdname triggers from IXFR.
2023-05-19 14:38:41 +02:00
W.C.A. Wijngaards
a07ccbae9a
- Fix to print debug log for ancillary data with correct IP address.
2023-05-16 09:21:21 +02:00
W.C.A. Wijngaards
2a2598dbf2
- Fix #888 : [FR] Use kernel timestamps for dnstap.
2023-05-16 08:50:38 +02:00
W.C.A. Wijngaards
1fb78afc29
- Fix warning in windows compile, in set_recvtimestamp.
2023-05-11 09:32:59 +02:00
W.C.A. Wijngaards
b2cba7b707
- Fix doxygen in addr_to_nat64 header definition.
2023-05-04 15:53:05 +02:00
W.C.A. Wijngaards
8dd09e31d2
- Fix to remove unused whitespace from acx_nlnetlabs.m4 and config.h.
2023-05-04 11:17:06 +02:00
W.C.A. Wijngaards
806c3d7330
- Fix #885 : Error: util/configlexer.c: No such file or directory,
...
adds error messages explaining to install flex and bison.
2023-05-04 11:12:11 +02:00
W.C.A. Wijngaards
cac1d13fda
- Fix proxy-protocol to read header in multiple reads and check buffer size.
2023-05-02 14:54:51 +02:00
W.C.A. Wijngaards
80153decd1
- Fix proxy-protocol buffer checks when writing and read from buffer.
2023-05-02 14:36:29 +02:00
George Thessalonikefs
2695eb9d1a
Changelog entry for #722 :
...
- Merge #722 from David 'eqvinox' Lamparter: NAT64 support.
- For #722 : minor fixes, formatting, refactoring.
2023-05-01 18:32:40 +02:00
George Thessalonikefs
20184483df
Merge branch 'eqvinox-nat64'
2023-05-01 18:24:05 +02:00
George Thessalonikefs
adb4aeb609
- For #722 : Minor fixes, formatting and refactoring.
2023-05-01 18:23:13 +02:00
W.C.A. Wijngaards
70c2b587fc
- Fix RPZ IP responses with trigger rpz-drop on cache entries, that
...
they are dropped.
2023-05-01 09:26:17 +02:00
Philip Homburg
a50ddd7ab9
Changelog for #860
2023-04-26 17:15:59 +02:00
Philip Homburg
4a04ba813a
Merge branch '0ttl'
2023-04-26 17:14:15 +02:00
Philip Homburg
1aa2c318e7
Remove msg_del_for_0ttl, call msg_cache_remove directly
2023-04-26 17:11:29 +02:00
George Thessalonikefs
e1ec3cf893
Merge branch 'nat64' of https://github.com/eqvinox/unbound into eqvinox-nat64
2023-04-26 15:14:39 +02:00
W.C.A. Wijngaards
8058dc9127
- Fix for #882 : document variable to stop doxygen warning.
2023-04-26 14:07:33 +02:00
W.C.A. Wijngaards
144f29638c
- 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.
2023-04-26 13:49:33 +02:00
Wouter Wijngaards and GitHub
7081b0340f
Merge pull request #882 from vvfedorenko/features/dropqueuedpackets
...
Features/dropqueuedpackets
2023-04-26 13:25:32 +02:00
Vadim Fedorenko
263096d1f6
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 >
2023-04-26 03:27:25 -07:00
Vadim Fedorenko
e577ab105e
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 >
2023-04-26 03:27:25 -07:00
Vadim Fedorenko
04540f82e5
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 >
2023-04-26 03:27:19 -07:00
Vadim Fedorenko
2e6ddd6032
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 >
2023-04-26 03:26:51 -07:00
Vadim Fedorenko
a197aac2f6
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 >
2023-04-26 03:23:41 -07:00
W.C.A. Wijngaards
15a2add0f8
streamtcp, implement NOTIFY[=N] that sends a notify packet.
2023-04-26 11:57:10 +02:00
Vadim Fedorenko
648ad4db6f
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 >
2023-04-25 17:05:00 -07:00
W.C.A. Wijngaards
4bcc0a0a7a
streamtcp, implement IXFR=N queries, add documentation for proxy option.
2023-04-25 16:44:58 +02:00
W.C.A. Wijngaards
542f717bf9
- adjust generic proxy-protocol header for IPv6 support with ifdef.
2023-04-25 08:16:19 +02:00
George Thessalonikefs
b5cc8b6c59
- Generalise the proxy protocol code
2023-04-24 16:15:56 +02:00
Ilya Shipitsin and GitHub
cba1350886
services/authzone.c: remove redundant check
...
found by cppcheck
services\authzone.c:7513:12: style: Condition 'rrlist[i]' is always true [knownConditionTrueFalse]
2023-04-24 11:45:41 +02:00
W.C.A. Wijngaards
fe46bc47d7
- Fix for #878 : Invalid IP address in unbound.conf causes Segmentation
...
Fault on OpenBSD.
2023-04-19 09:56:31 +02:00
W.C.A. Wijngaards
e11d206a82
Changelog entry for #875 and #874 .
...
- Merge #875 : change obsolete txt URL in unbound-anchor.c to point
to RFC 7958, and Fix #874 .
2023-04-14 11:19:25 +02:00
Wouter Wijngaards and GitHub
8de8c8f6f7
Merge pull request #875 from dyunwei/master
...
Changelog entry for #874
2023-04-14 11:17:43 +02:00
yunwei and GitHub
4954df5859
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.
2023-04-14 16:45:11 +08:00
W.C.A. Wijngaards
a3ef9dd53b
- Show build status for branch=master.
2023-04-13 11:29:53 +02:00
W.C.A. Wijngaards
d6c33e1757
- Fix build badge, from failing travis link to github ci action link.
2023-04-13 11:22:11 +02:00
W.C.A. Wijngaards
7033234a48
- Fix for #870 : Add test case for the qname minimisation and CNAME.
2023-04-06 10:04:04 +02:00
W.C.A. Wijngaards
c7618a9b80
- Fix #870 : NXDOMAIN instead of NOERROR rcode when asked for existing
...
CNAME record.
2023-04-04 10:06:16 +02:00
Philip Homburg
312035f58a
Changelog for issue #676
2023-03-24 14:54:14 +01:00
Philip Homburg
7e6a7f310d
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
2023-03-24 14:51:37 +01:00
Philip Homburg
1ac9b7548b
Small fixes from Wouter's review
2023-03-23 15:15:54 +01:00
Philip Homburg
eb7eff4fc7
Extra consistency check to make sure that when TLS is requested, either we
...
set up a TLS connection or we return an error.
2023-03-23 15:00:10 +01:00
Philip Homburg
072be3300f
Tests for serve-expired in combination with new 0 TTL data.
2023-03-22 15:23:47 +01:00
Philip Homburg
9d7b1d3127
Fix issue #860 : Bad interaction with 0 TTL records and serve-expired
2023-03-22 15:23:47 +01:00
Philip Homburg
e850ca67f1
Changelog for issue #851
2023-03-21 13:54:27 +01:00
Philip Homburg
2a100ee9ee
Fix issue #851 : reserved identifier violation
2023-03-21 13:51:51 +01:00
W.C.A. Wijngaards
8f83c0a2cb
- iana portlist update.
2023-03-20 14:55:55 +01:00
George Thessalonikefs
d7e7761141
- Fix #812 , fix #846 , by using the SSL_OP_IGNORE_UNEXPECTED_EOF option
...
to ignore the unexpected eof while reading in openssl >= 3.
2023-03-17 14:39:37 +01:00
W.C.A. Wijngaards
a97d7175a6
- Fix ssl.h include brackets, instead of quotes.
2023-03-16 15:40:43 +01:00
W.C.A. Wijngaards
4f25d75d4b
- Fix unbound-dnstap-socket test program to reply the finish frame
...
over a TLS connection correctly.
2023-03-14 16:57:37 +01:00
eaglegai
184248eb0e
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 >
2023-03-07 21:49:54 +08:00
eaglegai
319119943f
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 >
2023-03-06 22:04:06 +08:00
Christian McDonald
60304f972e
#827 review response
2023-02-24 09:31:19 -05:00
W.C.A. Wijngaards
d97c174f50
- Fix for #852 : Completion of error handling.
2023-02-23 13:38:29 +01:00
Philip Homburg
ed07c5424d
Changelog entry for issue #825
2023-02-21 09:29:39 +01:00
Philip Homburg
fb187d1a60
Merge branch 'master' into ecs-serve-expired-bug
2023-02-21 09:28:13 +01:00
Philip Homburg
71e0ddc94a
Improved comment
2023-02-21 09:27:03 +01:00
Philip Homburg
b89d0d1cce
Test cache update from serve-expired and client-subnet-always-forward
2023-02-21 09:21:43 +01:00
Philip Homburg
d1f5ded1d9
ifdef CLIENT_SUBNET
2023-02-21 09:21:24 +01:00
Philip Homburg
fb06364014
Fix issue #825 : interaction between ECS and serve-expired.
2023-02-21 09:20:28 +01:00
George Thessalonikefs
02a77f0567
Changelog entry for
...
- Clean up iterator/iterator.c::error_response_cache() and allow for
better interaction with serve-expired, prefetch and cached error
responses.
2023-02-10 16:54:44 +01:00
George Thessalonikefs
eb81761b13
- Clean up iterator/iterator.c::error_response_cache() and allow for
...
better interaction with serve-expired, prefetch and cached error
responses.
2023-02-10 16:51:07 +01:00
George Thessalonikefs
96c70d91ca
- Add testcase for refreshing expired error responses.
2023-02-09 12:44:01 +01:00
W.C.A. Wijngaards
488811157e
- Fix to git ignore the library symbol file that configure can create.
2023-02-09 12:08:27 +01:00
W.C.A. Wijngaards
e225e4bcab
- Fix consistency of unit test without roundrobin answers for the
...
cnametooptout unit test.
2023-02-09 11:46:33 +01:00
George Thessalonikefs
1c1c5d72d3
Changelog entry for
...
- Allow TTL refresh of expired error responses.
2023-02-09 10:52:56 +01:00
George Thessalonikefs
87a8c80fcb
- Allow TTL refresh of expired error responses.
2023-02-09 10:47:46 +01:00
W.C.A. Wijngaards
a8977df4d9
- Fix unit tests for spurious empty messages.
2023-02-09 10:38:55 +01:00
W.C.A. Wijngaards
4953daa016
- 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.
2023-02-09 09:56:40 +01:00
W.C.A. Wijngaards
5ab5b3b43a
- Fix #841 : Unbound won't build with aaaa-filter-iterator.patch.
2023-02-08 11:36:52 +01:00
Christian McDonald
0bf55e6063
set modinfo to null last
2023-02-01 15:17:59 -05:00
George Thessalonikefs
24e6d1e18e
- Add duration variable for speed_local.test.
2023-01-30 11:33:58 +01:00
R. Christian McDonald and GitHub
45142868ec
Fix copyright date
2023-01-28 14:02:51 -05:00
W.C.A. Wijngaards
8b9382998d
Regenerate configure for the fix acx_nlnetlabs.m4 for -Wstrict-prototypes.
2023-01-26 10:59:16 +01:00
W.C.A. Wijngaards
c482999898
- Fix acx_nlnetlabs.m4 for -Wstrict-prototypes.
2023-01-26 10:54:38 +01:00
George Thessalonikefs
6bf677e7de
Fix #833 : [FR] Ability to set the Redis password.
2023-01-23 11:45:07 +01:00
W.C.A. Wijngaards
d666e9bd13
- Fix #835 : [FR] Ability to use Redis unix sockets.
2023-01-23 10:10:23 +01:00
W.C.A. Wijngaards
77f15428c9
- Add #835 : [FR] Ability to use Redis unix sockets.
2023-01-23 10:09:28 +01:00
W.C.A. Wijngaards
111e66ae64
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.
2023-01-20 16:19:20 +01:00
Wouter Wijngaards and GitHub
6a4a9435d1
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
2023-01-20 16:18:05 +01:00
R. Christian McDonald and GitHub
55a28d6946
cleanup callbacks that might have been registered by Python script
2023-01-19 16:30:47 -05:00
R. Christian McDonald and GitHub
ddecffd918
Merge branch 'NLnetLabs:master' into rcm-python-reloading
2023-01-19 16:28:12 -05:00
W.C.A. Wijngaards
6afdc336ba
- Fix test for new default.
2023-01-19 16:06:30 +01:00
W.C.A. Wijngaards
c9233f8429
- Set default for harden-unknown-additional to no. So that it does
...
not hamper future protocol developments.
2023-01-19 15:45:10 +01:00
W.C.A. Wijngaards
8df1e58209
- 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.
2023-01-19 14:59:18 +01:00
W.C.A. Wijngaards
d69f875261
- 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.
2023-01-19 14:16:17 +01:00
W.C.A. Wijngaards
b12ab31ae3
- 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.
2023-01-18 13:18:47 +01:00
Christian McDonald
cfd3bcb21e
eliminate unnecessary Python reloading which causes memory leaks
2023-01-13 16:39:28 -05:00
W.C.A. Wijngaards
90d42148de
- Improve documentation for #826 , describe the large collisions amount.
2023-01-13 11:22:47 +01:00
W.C.A. Wijngaards
469133e8df
Changelog note and documentation for #826
...
- Merge #826 : Аdd a metric about the maximum number of collisions in
lrushah.
2023-01-13 11:01:46 +01:00
Wouter Wijngaards and GitHub
785c938106
Merge pull request #826 from sakateka/lruhash_max_collisions
...
Аdd a metric about the maximum number of collisions in lrushah
2023-01-13 10:57:44 +01:00
Sergey Kacheev
52a4ccee18
add a metric about the maximum number of collisions in lrushah
2023-01-13 13:33:38 +07:00
W.C.A. Wijngaards
aa621f1c04
Code repository continues with version 1.17.2.
2023-01-12 10:21:28 +01:00
W.C.A. Wijngaards
0fed35a4b7
- Fix python version detection in configure.
2023-01-09 15:10:00 +01:00
W.C.A. Wijngaards
4517dcd439
- Fix python module install path detection.
2023-01-09 15:03:38 +01:00
W.C.A. Wijngaards
c5c4f6d40b
Changelog note for 1.17.1rc2 fix.
...
- Fix wildcard in hyperlocal zone service degradation, reported
by Sergey Kacheev. This fix is included in 1.17.1rc2.
2023-01-06 13:23:02 +01:00
W.C.A. Wijngaards
0419b06ca4
Merge branch 'branch-1.17.1'
2023-01-06 13:22:06 +01:00
W.C.A. Wijngaards
90831af981
- Fix wildcard in hyperlocal zone service degradation, reported
...
by Sergey Kacheev.
2023-01-06 13:21:39 +01:00
W.C.A. Wijngaards
ba6325f24f
- Fix #823 : Response change to NODATA for some ANY queries since
...
1.12, tested on 1.16.1.
2023-01-06 09:16:59 +01:00
W.C.A. Wijngaards
2025946247
Changelog note for tag for 1.17.1rc1.
...
- Tag for 1.17.1 release.
2023-01-05 11:06:07 +01:00
Alex Band and GitHub
e92bd614c0
Add Mastodon link
2023-01-04 16:21:43 +01:00
Alex Band and GitHub
f93fdb5e09
Add Mastodon
2023-01-04 15:57:45 +01:00
Pavel Odintsov
d5b9a790fe
Added new static zone type block_a to suppress all A queries for specific zones
2023-01-03 19:17:51 +00:00
W.C.A. Wijngaards
70260273a4
- Update github workflows to use checkout v3.
2023-01-02 13:30:03 +01:00
W.C.A. Wijngaards
1224cd9d25
- Fix windows compile for libunbound subprocess reap comm point closes.
2023-01-02 13:06:39 +01:00
George Thessalonikefs
0682d4371e
- Merge #569 from JINMEI Tatuya: add keep-cache option to
...
'unbound-control reload' to keep caches.
2022-12-14 16:40:00 +01:00
George Thessalonikefs
7716d26d46
- Use an explicit 'reload_keep_cache' command and introduce test cases
...
for #569 .
2022-12-14 16:33:28 +01:00
George Thessalonikefs
857d6ce3a1
Merge branch 'reuse-caches-on-reload' of https://github.com/jinmeiib/unbound-1 into jinmeiib-reuse-caches-on-reload
2022-12-13 16:42:38 +01:00
George Thessalonikefs
af2ef61c49
- Merge #461 from Christian Allred: Add max-query-restarts option.
2022-12-13 15:54:51 +01:00
George Thessalonikefs
df411b3f28
- Updates for #461 (Add max-query-restarts option).
2022-12-13 15:29:22 +01:00
George Thessalonikefs
71db243b0d
Merge branch 'restart_conf' of https://github.com/cgallred/unbound into cgallred-restart_conf
2022-12-13 14:35:01 +01:00
George Thessalonikefs
67cf625608
Merge branch 'master' of github.com:NLnetLabs/unbound
2022-12-13 13:59:42 +01:00
George Thessalonikefs
c61b2121b5
- Expose 'max-sent-count' as a configuration option; the
...
default value retains Unbound's behavior.
2022-12-13 13:57:07 +01:00
George Thessalonikefs
859d0f2dfe
- Expose 'statistics-inhibit-zero' as a configuration option; the
...
default value retains Unbound's behavior.
2022-12-13 10:47:37 +01:00
W.C.A. Wijngaards
1a2e6aabac
- Fix to wrap Makefile scripts directory in quotes for uninstall.
2022-12-13 09:03:52 +01:00
W.C.A. Wijngaards
726aa5b0f5
Changelog note for #808
...
- Merge #808 : Wrap Makefile script's directory variables in quotes.
2022-12-13 08:53:44 +01:00
Wouter Wijngaards and GitHub
5204c14e6d
Merge pull request #808 from sneurlax/fix/windows
...
Wrap Makefile script's directory variables in quotes
2022-12-13 08:53:07 +01:00
sneurlax
2daaebf3aa
wrap directory variables in quotes
...
see https://github.com/NLnetLabs/unbound/issues/807
2022-12-12 19:27:19 -06:00
TCY16
dd3984eae9
add validation EDEs to CD bit queries
2022-12-05 11:41:17 +01:00
W.C.A. Wijngaards
6b8642b662
Fix date.
2022-12-01 13:05:02 +01:00
W.C.A. Wijngaards
5c041c0ba9
- Fix #773 : When used with systemd-networkd, unbound does not start
...
until systemd-networkd-wait-online.service times out.
2022-12-01 13:04:05 +01:00
George Thessalonikefs
d7a9def160
- Clear documentation for interactivity between the subnet module and
...
the serve-expired and prefetch configuration options.
2022-11-30 14:45:36 +01:00
George Thessalonikefs
ef8111ece7
Merge branch 'master' of github.com:NLnetLabs/unbound
2022-11-30 14:34:00 +01:00
George Thessalonikefs
90f6cb1158
- Add SVCB and HTTPS to the types removed by 'unbound-control flush'.
2022-11-30 14:33:16 +01:00
W.C.A. Wijngaards
effbf99281
- Fix #782 : Segmentation fault in stats.c:404.
2022-11-30 10:18:27 +01:00
Philip Homburg
81861aee05
Changelog entry for #720
2022-11-29 16:20:52 +01:00
W.C.A. Wijngaards
6f7da59b77
- Fix for the ignore of tcp events for closed comm points, preserve
...
the use after free protection features.
2022-11-28 10:04:52 +01:00
TCY16
a96c64d966
add subnetcache test and rename/improve cachedb test
2022-11-24 16:14:37 +01:00
TCY16
79d39e7f4d
Add subnetcache support
2022-11-24 16:14:12 +01:00
Philip-NLnetLabs and GitHub
b86a97019f
Merge pull request #720 from jonathangray/winsock_uaf
...
fix use after free when WSACreateEvent() fails
2022-11-23 14:08:01 +01:00
George Thessalonikefs
896f7a8306
- Ignore expired error responses.
2022-11-22 17:44:55 +01:00
tcarpay and GitHub
a7ac109e4e
Remove erroneous filepath in test
2022-11-22 12:11:55 +01:00
TCY16
79108f4c3d
add ede cachedb test
2022-11-21 15:26:49 +01:00
TCY16
6dcba49ff1
add cachedb support
2022-11-21 13:23:00 +01:00
TCY16
8b4a8493d0
Merge branch 'master' of github.com:NLnetLabs/unbound into features/ede-caching
2022-11-21 11:34:36 +01:00
TCY16
b65ff768bc
remove superfluous variables
2022-11-18 11:30:11 +01:00
W.C.A. Wijngaards
f72116883b
- Fix #779 : [doc] Missing documention in ub_resolve_event() for
...
callback parameter was_ratelimited.
2022-11-11 11:28:15 +01:00
George Thessalonikefs
4e305e644b
- Complementary fix for distutils.sysconfig deprecation in Python 3.10
...
to commit 62c5039ab9 .
2022-11-09 11:41:28 +01:00
W.C.A. Wijngaards
89d9b25090
- iana portlist update.
2022-11-08 15:24:24 +01:00
W.C.A. Wijngaards
dda1d9544c
- Fix #775 : libunbound: subprocess reap causes parent process reap
...
to hang.
2022-11-08 15:04:05 +01:00
W.C.A. Wijngaards
52a9e6268e
- Fix to make sure to not read again after a tcp comm point is closed.
2022-11-08 13:23:44 +01:00
W.C.A. Wijngaards
8367b24bc5
- Fix to ignore tcp events for closed comm points.
2022-11-08 12:02:48 +01:00
Willem Toorop
8df26b132b
Merge branch 'master' into devel/merge-master-into-downstream-cookies
2022-11-07 17:09:20 +00:00
David Lamparter
64fb06f892
NAT64 support
...
This implements #721 . Includes documentation and some very basic tests.
Please refer to doc for further detail.
2022-11-07 11:37:50 +00:00
TCY16
5bf4c505db
remove value check
2022-10-28 17:40:18 +02:00
TCY16
5158876bfd
Merge branch 'master' of github.com:NLnetLabs/unbound into features/dohpath-for-unbounid
2022-10-28 11:14:59 +02:00
George Thessalonikefs
f531faf163
Changelog entry for #767
...
- Merge #767 from jonathangray: consistently use IPv4/IPv6 in
unbound.conf.5.
2022-10-21 15:49:56 +02:00
Yorgos Thessalonikefs and GitHub
c0c9acccfd
Merge pull request #767 from jonathangray/man
...
consistently use IPv4/IPv6 in unbound.conf.5
2022-10-21 15:46:45 +02:00
W.C.A. Wijngaards
17e5dd6131
- Fix that cachedb does not store failures in the external cache.
2022-10-21 10:11:47 +02:00
George Thessalonikefs
e9107907e5
- Clarify the use of MAX_SENT_COUNT in the iterator code.
2022-10-18 12:29:07 +02:00
W.C.A. Wijngaards
ba8642aeb7
- testcode/dohclient sets log identity to its name.
2022-10-17 16:00:43 +02:00
W.C.A. Wijngaards
5ffa4d7232
- In unit test, print python script name list correctly.
2022-10-14 16:49:57 +02:00
W.C.A. Wijngaards
2571d00535
Changelog note for #768
...
- Merge #768 from fobser: Arithmetic on a pointer to void is a GNU
extension.
2022-10-14 16:22:17 +02:00
Wouter Wijngaards and GitHub
f9a563d495
Merge pull request #768 from fobser/void_math
...
Arithmetic on a pointer to void is a GNU extension.
2022-10-14 16:21:14 +02:00
Florian Obser
08dcae0dab
Arithmetic on a pointer to void is a GNU extension.
2022-10-14 13:56:32 +02:00
W.C.A. Wijngaards
5ac1bc13cb
- Tag for 1.17.0 release. The code repository continues with 1.17.1.
2022-10-13 09:34:44 +02:00
W.C.A. Wijngaards
f5e1ef650d
Merge branch 'branch-1.17.0'
2022-10-13 09:32:22 +02:00
George Thessalonikefs
d25e0cd9b0
- Fix PROXYv2 header read for TCP connections when no proxied addresses
...
are provided.
2022-10-11 17:39:30 +02:00
Jonathan Gray
4f27799456
consistently use IPv4/IPv6
2022-10-10 19:14:58 +11:00
W.C.A. Wijngaards
97d1cff315
Changelog note for tag for 1.17.0rc1 release.
2022-10-07 13:29:33 +02:00
George Thessalonikefs
a4631a3ecf
- Fix unit test to properly test the reuse_write_wait_pop function.
2022-10-07 11:29:46 +02:00
George Thessalonikefs
2569b12b9c
- Fix to stop possible loops in the tcp reuse code (write_wait list
...
and tcp_wait list). Based on analysis and patch from Prad Seniappan
and Karthik Umashankar.
2022-10-07 11:25:36 +02:00
W.C.A. Wijngaards
bf1cce6f9b
- Fix proxy length debug output printout typecasts.
2022-10-06 15:53:21 +02:00
W.C.A. Wijngaards
b043bc5eb4
- Fix to stop responses with TC flag from resulting in partial
...
responses. It retries to fetch the data elsewhere, or fails the
query and in depth fix removes the TC flag from the cached item.
2022-10-06 10:01:09 +02:00
George Thessalonikefs
d122617dd4
- Fix checkconf test for dnscrypt and proxy port.
2022-10-05 22:03:01 +02:00
W.C.A. Wijngaards
6b8181acb7
- Fix dnscrypt compile for proxy protocol code changes.
2022-10-05 14:09:12 +02:00
George Thessalonikefs
f609a45354
- Make ede.tdir test more predictable by using static data.
2022-10-05 02:44:50 +02:00
George Thessalonikefs
60db1111c0
- Use DEBUG_TDIR from environment in mini_tdir.sh for debugging.
...
- Fix string comparison in mini_tdir.sh.
2022-10-05 01:13:29 +02:00
George Thessalonikefs
40b2b3a6f3
Changelog entry for #764
...
- Merge #764 : Leniency for target discovery when under load (for
NRDelegation changes).
2022-10-04 22:24:18 +02:00
Yorgos Thessalonikefs and GitHub
f1d263a318
Leniency for target discovery when under load (for NRDelegation changes) ( #764 )
...
* - Introduce leniency for target discovery when under load.
* - Allow for easier testing (to be reverted).
* - Happy compiler.
* - Precheck access to target_fetch_policy.
* - Do not mark a nameserver as resolved when one of A/AAAA is negative.
* - Update fetch_glue.rpl test for (possible) outstanding queries.
* - Update fetch_glue_cname.rpl test for possible outstanding queries.
* - Better fix for fetch_glue_cname.rpl.
* - Fix iter_emptydp_for_glue.rpl to match the referral.
* - Disabled the nxns tests for now (to be reverted).
* - Update iter_recurse.rpl for possible outstanding queries.
* Revert "- Disabled the nxns tests for now (to be reverted)."
This reverts commit 34a9c13a90 .
* Revert "- Allow for easier testing (to be reverted)."
This reverts commit b6dfe35e1d .
2022-10-04 22:21:08 +02:00
W.C.A. Wijngaards
f0614a57f8
- Fix to clean up after the acl_interface unit test.
2022-10-04 16:59:10 +02:00
W.C.A. Wijngaards
bf7a2884fb
- Fix static analysis report to remove dead code from the
...
rpz_callback_from_iterator_module function.
2022-10-04 09:08:11 +02:00
W.C.A. Wijngaards
c0eaadfc42
- Fix to close errno block in comm_point_tcp_handle_read outside of
...
ifdef.
2022-10-03 16:21:39 +02:00
George Thessalonikefs
22e43aa631
Changelog entry for #760
...
- Merge #760 : PROXYv2 downstream support. (New proxy-protocol-port
configuration option).
2022-10-03 15:34:22 +02:00
Yorgos Thessalonikefs and GitHub
c4e51a4cfe
PROXYv2 downstream support ( #760 )
2022-10-03 15:29:47 +02:00
W.C.A. Wijngaards
7d96a7e3fe
- Fix windows compile, the identifier interface is defined in headers.
2022-10-03 15:03:50 +02:00
W.C.A. Wijngaards
9842fbf760
- Fix test tdir skip report printout.
2022-10-03 10:26:30 +02:00
W.C.A. Wijngaards
a102fb1df8
- Fix to remove erroneous TC flag from TCP upstream.
2022-10-03 09:53:41 +02:00
Willem Toorop
bd2c202674
The generated lexer and parser sources for configuring cookies
2022-09-28 10:34:06 +02:00
Willem Toorop
75f3fbdd65
Downstream DNS Cookies a la RFC7873 and RFC9018
...
Create server cookies for clients that send client cookies.
Needs to be turned on in the config file with:
answer-cookie: yes
A cookie-secret can be configured for anycast setups.
Also adds an access control list that will allow queries with
either a valid cookie or over a stateful transport.
2022-09-28 10:28:19 +02:00
Willem Toorop
71f23ef354
extended_error_encode() for extended errors
2022-09-28 09:57:56 +02:00
George Thessalonikefs
5b98816751
- Better output for skipped tdir tests.
2022-09-26 15:51:28 +02:00
TCY16
0b176750bd
add @wcawijngaards' review comments
2022-09-26 12:14:17 +02:00
TCY16
f0989fc754
differentiate between malloc and regional_alloc
2022-09-26 11:49:49 +02:00
TCY16
c9f90def0a
swap malloc for regional_alloc and add free
2022-09-26 11:18:58 +02:00
TCY16
57c4f28f20
add happy-flow test
2022-09-21 16:21:48 +02:00
TCY16
d731fa2e21
use correct edns_list attach function
2022-09-21 16:19:38 +02:00
W.C.A. Wijngaards
e93c75a5d4
- Fix doxygen warning in respip.h.
2022-09-21 15:23:04 +02:00
W.C.A. Wijngaards
8e18f11965
- This patch was released in 1.16.3, the code repository continues
...
with the previous features and fixes for 1.17.0.
2022-09-21 12:16:13 +02:00
W.C.A. Wijngaards
e3871ca907
Merge branch 'branch-1.16.3'
2022-09-21 12:11:26 +02:00
TCY16
dcfcde2ec8
add cached EDE strings
2022-09-21 11:21:33 +02:00
W.C.A. Wijngaards
137719522a
- Patch for CVE-2022-3204 Non-Responsive Delegation Attack.
2022-09-21 11:10:38 +02:00
W.C.A. Wijngaards
bd3c5702a7
branch for 1.16.3 release.
2022-09-21 11:09:03 +02:00
Philip-NLnetLabs and GitHub
f68e252345
Merge pull request #757 from NLnetLabs/philip-issue-749
...
Philip issue 749
2022-09-20 15:07:14 +02:00
Philip Homburg
1e5158045f
Merge branch 'ryndia-issue-749' into philip-issue-749
2022-09-20 14:48:57 +02:00
George Thessalonikefs
99e12ae4b5
- Remove unused testcode/mini_tpkg.sh file.
2022-09-20 14:47:24 +02:00
Philip Homburg
5f3b460586
Align with version 1.58 on cvsweb.openbsd.org
2022-09-20 14:47:19 +02:00
George Thessalonikefs
9b1647ebae
- Convert tdir tests to use the new skip_test functionality.
2022-09-20 14:45:20 +02:00
George Thessalonikefs
307805b64f
Changelog entry for #753 :
...
- Merge #753 : ACL per interface. (New interface-* configuration
options).
2022-09-20 11:36:01 +02:00
Yorgos Thessalonikefs and GitHub
f02d6bddd1
Merge pull request #753 from NLnetLabs/acl_interface
...
ACL per interface
2022-09-16 16:45:59 +02:00
eb02170338
Apply suggestions from code review
...
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com >
2022-09-16 14:43:23 +02:00
George Thessalonikefs
d301bfe4a2
- ACL per interface: refactor, complete testing and a bugfix for
...
interface names.
2022-09-11 20:57:41 +02:00
George Thessalonikefs
fc123303ac
- Add functionality to skip tdir tests from the .pre file;
...
- Initial tests for interface-* options.
2022-09-11 20:21:32 +02:00
George Thessalonikefs
aec33b3d63
Documentation for interface-* options.
2022-09-11 20:21:32 +02:00
George Thessalonikefs
7e9fd2114b
Cleared error messages for interface-* options.
2022-09-11 20:21:32 +02:00
George Thessalonikefs
c30bdff939
Initial commit for interface based ACL.
2022-09-11 20:21:32 +02:00
ryndia and GitHub
cfc656294e
Update arc4random.c
2022-09-07 20:16:20 +04:00
W.C.A. Wijngaards
007db2c327
- Fix to check pthread_t size after pthread has been detected.
2022-09-02 10:21:00 +02:00
W.C.A. Wijngaards
5bbaf78c3f
- Remove include that was there for debug purposes.
2022-09-02 10:11:23 +02:00
W.C.A. Wijngaards
57230d7f22
- Fix to log a verbose message at operational notice level if a
...
thread is not responding, to stats requests. It is logged with
thread identifiers.
2022-09-01 15:14:20 +02:00
TCY16
5f309d0018
Add caching EDEs
2022-09-01 14:10:14 +02:00
W.C.A. Wijngaards
d66e1cccf8
- Fix to set out of file descriptor warning to operational verbosity.
2022-09-01 14:01:56 +02:00
W.C.A. Wijngaards
2450b4653a
- Slow down log frequency of write wait failures.
2022-09-01 14:00:29 +02:00
W.C.A. Wijngaards
eb3378396f
- Fix to update config tests to fix checking if nonblocking sockets
...
work on OpenBSD.
2022-09-01 09:16:05 +02:00
W.C.A. Wijngaards
1f5cc25974
- Fix for wait for udp send to stop when packet is successfully sent.
2022-08-31 16:45:15 +02:00
W.C.A. Wijngaards
ec5812a748
- Fix to wait for blocked write on UDP sockets, with a timeout if it
...
takes too long the packet is dropped.
2022-08-31 11:54:11 +02:00
W.C.A. Wijngaards
10a5a5880a
- Patch from Vadim Fedorenko that adds MSG_DONTWAIT to receive
...
operations, so that instruction reordering does not cause mistakenly
blocking socket operations.
2022-08-31 10:11:25 +02:00
W.C.A. Wijngaards
2fa1c17cd9
- Fix to avoid process wide fcntl calls mixed with nonblocking
...
operations after a blocked write.
2022-08-31 10:09:39 +02:00
TCY16
b642c5fe1f
add better URI template checking
2022-08-25 14:06:13 +02:00
TCY16
f3fa363443
implement @gthess' review comments; fix check on compulsory text and add tests
2022-08-24 12:38:08 +02:00
W.C.A. Wijngaards
e6f878ee71
- Fix #741 : systemd socket activation fails on IPv6.
2022-08-22 09:12:08 +02:00
TCY16
8d939691a3
implement @wcawijngaards' review comment
2022-08-19 14:48:47 +02:00
TCY16
b465e0cfc0
add testcase and fix comment
2022-08-15 16:12:22 +02:00
TCY16
73b3b32062
fix styling nits
2022-08-15 14:41:06 +02:00
TCY16
6e31d1f5be
add dohpath parsing
2022-08-15 14:36:35 +02:00
TCY16
14fe4669e7
fix testcase comment
2022-08-12 14:09:00 +02:00
W.C.A. Wijngaards
dc6c04b243
- Fix to log accept error ENFILE and EMFILE errno, but slowly, once
...
per 10 seconds. Also log accept failures when no slow down is used.
2022-08-12 09:54:29 +02:00
W.C.A. Wijngaards
ef57f8bd51
- Fix #734 [FR] enable unbound-checkconf to detect more (basic)
...
errors.
2022-08-05 14:41:05 +02:00
W.C.A. Wijngaards
fbe8e3b0b2
- Fix ratelimit inconsistency, for ip-ratelimits the value is the
...
amount allowed, like for ratelimits.
2022-08-04 11:33:37 +02:00
W.C.A. Wijngaards
1c164ab442
Changelog note for #730
...
- Merge #730 from luisdallos: Fix startup failure on Windows 8.1 due
to unsupported IPV6_USER_MTU socket option being set.
2022-08-02 16:12:31 +02:00
Wouter Wijngaards and GitHub
e738ec31ca
Merge pull request #730 from luisdallos/win81-unsup-sockopt-fix
...
Fix startup failure on Windows 8.1 due to unsupported IPV6_USER_MTU socket option being set
2022-08-02 16:12:16 +02:00
W.C.A. Wijngaards
07b073ddb3
- Fix unittest for edns subnet change.
2022-08-02 14:43:57 +02:00
W.C.A. Wijngaards
0f08cc6d55
- Fix edns subnet so that scope 0 answers only match sourcemask 0
...
queries for answers from cache if from a query with sourcemask 0.
2022-08-02 14:13:55 +02:00
Luis Dallos
7d3c6f1c43
Fix startup failure on Windows 8.1 due to unsupported IPV6_USER_MTU socket option being set
...
Newer mingw-w64 (starting from 8.0.1) introduces support for `IPV6_USER_MTU` socket
option [1], which is not supported on Windows 8.1 and older [2]. As there is no way
to avoid this socket option from being picked at compile time when targeting older
versions of Windows, check for `setsockopt(..., IPV6_USER_MTU, ...)` failures at
runtime in order to avoid startup failure on those versions of Windows where the
`IPV6_USER_MTU` socket option is unsupported.
[1]: mirror/mingw-w64@e30bff4
[2]: `WSAGetLastError()` returns `WSAENOPROTOOPT` (`Bad protocol option`) error code
2022-08-01 23:03:24 -04:00
W.C.A. Wijngaards
cd22fdc28d
- Fix #728 : alloc_reg_obtain() core dump. Stop double
...
alloc_reg_release when serviced_create fails.
2022-08-01 16:45:41 +02:00
W.C.A. Wijngaards
5ae48f85c0
- The code repo continues with 1.16.3.
2022-08-01 15:17:10 +02:00
W.C.A. Wijngaards
cbed768b8f
- Tests for ghost domain fixes.
2022-08-01 13:26:22 +02:00
W.C.A. Wijngaards
f6753a0f10
- Fix the novel ghost domain issues CVE-2022-30698 and CVE-2022-30699.
2022-08-01 13:24:40 +02:00
George Thessalonikefs
efdd70c7b5
- Cleanup some comments and TODO text.
2022-07-23 19:55:15 +02:00
JINMEI Tatuya
fccb2eb2e8
prevent memory leak in case cache isn't reused
2022-07-22 14:33:21 -07:00
Jonathan Gray
1464b166a4
fix use after free when WSACreateEvent() fails
2022-07-22 18:23:59 +10:00
W.C.A. Wijngaards
f993ffbb07
Changelog note for #718
...
- Merge #718 : Introduce infra-cache-max-rtt option to config max
retransmit timeout.
2022-07-19 15:19:12 +02:00
Wouter Wijngaards and GitHub
ef9bb0213b
Merge pull request #718 from hunts/make_rtt_max_timeout_configurable
...
Introduce infra-cache-max-rtt option to config max retransmit timeout
2022-07-19 15:15:34 +02:00
George Thessalonikefs
309e23515e
- Update documentation for 'outbound-msg-retry:'.
2022-07-19 12:47:01 +02:00
Minghang Chen
249efd4285
Introduce infra-cache-max-rtt option to config max retransmit timeout
...
Added the option and let it default to 120 seconds so that it won't change
current behavior.
Related-to #717
2022-07-16 01:46:18 -07:00
W.C.A. Wijngaards
12cd495d55
- iana portlist update.
2022-07-15 09:20:25 +02:00
W.C.A. Wijngaards
33bd49af81
- Merge PR 714: Avoid treat normal hosts as unresponsive servers.
...
And fixup the lock code.
2022-07-15 08:51:31 +02:00
Wouter Wijngaards and GitHub
6e50c46102
Merge pull request #714 from hunts/rtt-of-expired-host
...
Avoid treat normal hosts as unresponsive servers
2022-07-15 08:49:51 +02:00
Hunts Chen
88bf803297
Avoid treat normal hosts as unresponsive servers
...
This is a fix for issue #713
When infra-keep-probing is on, all hosts with expired entries were treated as
unresponsive servers and thus causing problems (see #713 ).
This commit change that, so that normal hosts with expired entries are treated
as unknown servers.
2022-07-14 10:16:13 -07:00
George Thessalonikefs
9e4a17baaf
- For windows crosscompile, fix setting the IPV6_MTU socket option
...
equivalent (IPV6_USER_MTU); allows cross compiling with latest
cross-compiler versions.
2022-07-12 17:17:59 +02:00
W.C.A. Wijngaards
2abd6f7d58
- Fix dname count in sldns parse type descriptor for SVCB and HTTPS.
2022-07-12 13:29:51 +02:00
W.C.A. Wijngaards
7696398231
- Fix verbose EDE error printout.
2022-07-11 13:13:51 +02:00
Wouter Wijngaards and GitHub
886ffcc155
Merge pull request #711 from NLnetLabs/add-security.md
...
add SECURITY.md, based on krill
2022-07-11 11:37:28 +02:00
W.C.A. Wijngaards
a45ced7739
- This became 1.16.1 on 11 July 2022.
...
The code repo continues with version 1.16.2 under development.
2022-07-11 11:34:54 +02:00
maertsen and GitHub
125983558b
add SECURITY.md, based on krill
2022-07-05 16:39:04 +02:00
W.C.A. Wijngaards
903538c76e
- Tag for 1.16.1rc1 release.
2022-07-04 13:48:56 +02:00
George Thessalonikefs
d447d60fc6
Merge branch 'crrodriguez-IP_BIND_ADDRESS_NO_PORT'
2022-07-04 12:49:00 +02:00
George Thessalonikefs
e5f66b4902
- For #668 : relocate and make code more portable.
2022-07-04 12:46:17 +02:00
George Thessalonikefs
0f4c4c1163
Merge branch 'IP_BIND_ADDRESS_NO_PORT' of https://github.com/crrodriguez/unbound into crrodriguez-IP_BIND_ADDRESS_NO_PORT
2022-07-04 11:15:58 +02:00
George Thessalonikefs
eda0c0c194
- Fix bug introduced in 'improve val_sigcrypt.c::algo_needs_missing for
...
one loop pass'.
2022-07-04 09:34:45 +02:00
George Thessalonikefs
309b1d368b
- Reintroduce documentation and more EDE support for
...
val_sigcrypt.c::dnskeyset_verify_rrset_sig.
2022-07-04 00:06:26 +02:00
George Thessalonikefs
c513119bba
- Improve val_sigcrypt.c::algo_needs_missing for one loop pass.
2022-07-03 23:32:18 +02:00
George Thessalonikefs
a30286502c
- Fix for correct openssl error when adding windows CA certificates to
...
the openssl trust store.
2022-07-03 22:41:39 +02:00
George Thessalonikefs
317bab9f1d
For #660 : formatting, less verbose logging, add EDE information.
2022-07-03 22:32:56 +02:00
George Thessalonikefs
2fba248ebe
Changelog entry for #660
...
- Merge PR #660 from Petr Menšík: Sha1 runtime insecure.
2022-07-03 22:28:17 +02:00
Yorgos Thessalonikefs and GitHub
e102aea751
Merge pull request #660 from InfrastructureServices/sha1-runtime-insecure
...
Sha1 runtime insecure
2022-07-03 22:24:58 +02:00
George Thessalonikefs
24cb764d61
- Add missing changelog entries from PR #706 .
2022-07-03 22:21:56 +02:00
George Thessalonikefs
cb28bdcdb0
Changelog entry for #671 :
...
- Merge PR #671 from Petr Menšík: Disable ED25519 and ED448 in FIPS
mode on openssl3.
2022-07-03 22:08:47 +02:00
George Thessalonikefs
bcf7a8aed2
Merge branch 'InfrastructureServices-fips-mode-algo-ed25519'
2022-07-03 21:59:20 +02:00
George Thessalonikefs
391dd86c3b
Merge branch 'master' into InfrastructureServices-fips-mode-algo-ed25519
2022-07-01 17:34:09 +02:00
Yorgos Thessalonikefs and GitHub
b0ce31b4e4
Merge pull request #706 from NLnetLabs/nxns-fallback
...
NXNS fallback
2022-07-01 16:24:33 +02:00
George Thessalonikefs
2dbaba7d73
- Improved logging for NXNS fallback.
2022-07-01 16:18:33 +02:00
George Thessalonikefs
923eb7d474
- Allow fallback to the parent side when MAX_TARGET_NX is reached.
...
This will also allow MAX_TARGET_NX more NXDOMAINs.
2022-06-29 17:32:29 +02:00
George Thessalonikefs
58b21e4fca
- Fix to not count cached NXDOMAIN for MAX_TARGET_NX.
2022-06-29 17:26:09 +02:00
W.C.A. Wijngaards
ef718f02e4
Remove debug output from windows compile workflow.
2022-06-29 12:01:39 +02:00
W.C.A. Wijngaards
c8add463c4
- Fix compile warning for windows compile.
2022-06-29 12:00:44 +02:00
W.C.A. Wijngaards
203f606c38
- Fix detection of libz on windows compile with static option.
2022-06-29 11:41:20 +02:00
W.C.A. Wijngaards
e7badb9428
Debug output for windows compile workflow.
2022-06-29 11:17:12 +02:00
George Thessalonikefs
b816318106
- Fix #704 : [FR] Statistics counter for number of outgoing UDP queries
...
sent; introduces 'num.query.udpout' to the 'unbound-control stats'
command.
2022-06-29 10:51:54 +02:00
George Thessalonikefs
1ceb031b58
- Add debug option to the mini_tdir.sh test code.
2022-06-29 10:47:18 +02:00
George Thessalonikefs
352e1b28a1
Merge branch 'master' of github.com:NLnetLabs/unbound
2022-06-29 10:44:43 +02:00
W.C.A. Wijngaards
80dbc7dd2c
- iana portlist update.
2022-06-29 09:38:31 +02:00
George Thessalonikefs
c8e7539313
- Formatting.
2022-06-28 18:31:27 +02:00
George Thessalonikefs
12796d0af8
- Fix for cached 0 TTL records to not trigger prefetching when
...
serve-expired-client-timeout is set.
2022-06-28 17:05:28 +02:00
W.C.A. Wijngaards
b057d2127a
- Fix test program dohclient close to use portability routine.
2022-06-28 09:23:43 +02:00
George Thessalonikefs
9177867d07
- Show the output of the exact .rpl run that failed with 'make test'.
2022-06-28 00:22:30 +02:00
tcarpay and GitHub
9e6b838d0b
Update changelog with #705 change
2022-06-23 17:21:17 +02:00
tcarpay and GitHub
12552fddf0
clarify addition of verbosity level mentioned in #705
2022-06-23 15:00:48 +02:00
Philip Homburg
3bade62c8a
Fix use after free issue with edns options ( https://github.com/NLnetLabs/unbound/issues/663 )
2022-06-22 15:00:28 +02:00
Philip Homburg
c806b5a2df
Merge branch 'zone-parsers-blank-line-issue'
2022-06-21 15:32:35 +02:00
Philip Homburg
7f67f7118c
Change log entry for lines with blanks issue
2022-06-21 15:30:04 +02:00
George Thessalonikefs
7c9177095f
- Remove unused LDNS function check for GOST Engine unloading.
2022-06-20 16:27:15 +02:00
George Thessalonikefs
233cb5c218
- Note in the unbound.conf text that NOTIFY is allowed from the url:
...
addresses for auth and rpz zones.
2022-06-14 17:59:56 +02:00
George Thessalonikefs
e6a0afae73
Changelog entry for #688
...
- Merge PR #688 : Rpz url notify issue.
2022-06-14 17:56:23 +02:00
Yorgos Thessalonikefs and GitHub
90767fce98
Merge pull request #688 from NLnetLabs/rpz-url-notify-issue
...
Rpz url notify issue
2022-06-14 17:53:01 +02:00
George Thessalonikefs
187bc72633
- Add testcase for allowing NOTIFY on URL addresses.
2022-06-14 17:44:37 +02:00
Philip Homburg
78b4b12713
Test loading a zone with blank lines over https
2022-06-14 17:05:03 +02:00
Philip Homburg
b8e111e379
Avoid network traffic during test, a bit of cleanup
2022-06-14 17:04:23 +02:00
Philip Homburg
0e1c266f86
Fix issue with lines that only consist of blanks with optional comment
2022-06-13 11:41:14 +02:00
Philip Homburg
c6ef39a22d
Test loading a cached zone that has lines consisting of blanks
2022-06-08 14:45:30 +02:00
George Thessalonikefs
459b73018f
- Fix for edns client subnet to respect not looking in its cache when
...
instructed to do so (e.g., prefetch).
2022-06-03 16:11:35 +02:00
W.C.A. Wijngaards
97b7224885
- makedist.sh picks up 32bit libssp-0.dll when 32bit compile.
2022-06-03 15:18:27 +02:00
W.C.A. Wijngaards
a3ab0921b0
Continue with 1.16.1 under development.
2022-06-02 13:56:52 +02:00
Philip Homburg
16dd802c2e
Add url 'master' to allow notify list
2022-05-31 15:10:38 +02:00
Philip Homburg
6dad2d2fc6
allow-notify doesn't work for url on rpz zones ( https://github.com/NLnetLabs/unbound/issues/679 )
2022-05-31 15:10:38 +02:00
W.C.A. Wijngaards
edc1d07718
- Version is set to 1.16.0 for release. Release tag 1.16.0rc1.
2022-05-27 16:09:28 +02:00
W.C.A. Wijngaards
2d61706171
- Fix #684 : [FTBS] configure script error with libmnl on openSUSE 15.3 (and possibly other distributions)
2022-05-27 09:10:16 +02:00
W.C.A. Wijngaards
11d077c826
- Fix some lint type warnings.
2022-05-20 15:32:27 +02:00
W.C.A. Wijngaards
d19d7b81ec
- Fix ede test to not use default pidfile, and use local interface.
2022-05-20 15:14:11 +02:00
W.C.A. Wijngaards
714200ad0e
- Fix to silence test for ede error output to the console from the
...
test setup script.
2022-05-20 09:08:29 +02:00
George Thessalonikefs
c76420664a
Merge branch 'fips-mode-algo-ed25519' of https://github.com/InfrastructureServices/unbound into InfrastructureServices-fips-mode-algo-ed25519
2022-05-19 12:53:48 +03:00
George Thessalonikefs
7e506bb477
- Fix typos in config_set_option for the 'num-threads' and
...
'ede-serve-expired' options.
2022-05-18 19:56:26 +03:00
George Thessalonikefs
91c298c901
Merge branch 'subnet_cache_prefetch' of https://github.com/tilan7663/unbound into tilan7663-subnet_cache_prefetch
2022-05-17 16:16:09 +03:00
George Thessalonikefs
f73e548934
- Fix #678 : [FR] modify behaviour of unbound-control rpz_enable zone,
...
by updating unbound-control's documentation.
2022-05-15 22:53:17 +03:00
W.C.A. Wijngaards
e62b309959
- For #677 : Added tls-system-cert to config parser and documentation.
...
- Changelog note for #677 .
2022-05-12 16:30:19 +02:00
Wouter Wijngaards and GitHub
2132e67b36
Merge pull request #677 from InfrastructureServices/use-system-cas
...
Allow using system certificates not only on Windows
2022-05-12 16:16:49 +02:00
Petr Mensik
0abfddd279
Allow using system certificates not only on Windows
...
OpenSSL has a way to load default file. That file might contain usable
certificates to verify common connections. Allow similar trust as on
windows and leave it on openssl package to provide sane defaults.
Also provide use-system-cert alias, because it is not windows specific
anymore.
2022-05-12 16:07:41 +02:00
Yorgos Thessalonikefs and GitHub
ba4564b4ef
Merge pull request #674 from NLnetLabs/prefetch_when_ecs_enabled
...
Fix #417 : prefetch and ECS causing cache corruption when used
2022-05-12 01:17:42 +02:00
George Thessalonikefs
daf316ea1b
- Fix #417 : prefetch and ECS causing cache corruption when used
...
together.
2022-05-12 00:56:01 +02:00
W.C.A. Wijngaards
f0d91950ad
- Fix #673 : DNS over TLS: error: SSL_handshake syscall: No route to
...
host.
2022-05-11 17:10:42 +02:00
Petr Mensik
917c30a46a
Disable ED25519 and ED448 in FIPS mode on openssl3
...
Both crypto functions are not allowed by FIPS 140-3. Use openssl 3.0
function to check FIPS mode presence and use it to make those algorithms
unsupported.
2022-05-11 16:19:25 +02:00
George Thessalonikefs
77149fc2aa
- Fix Python build in non-source directory; based on patch by
...
Michael Tokarev.
2022-05-10 15:57:17 +02:00
tcarpay and GitHub
47ce372f13
Changelog entry for #604 : Add the basic EDE (RFC8914) cases
2022-05-06 12:53:49 +02:00
tcarpay and GitHub
0ce36e8289
Add the basic EDE (RFC8914) cases ( #604 )
2022-05-06 12:48:53 +02:00
Tian Lan
8afbc0944f
Add prefetch support for subnet cache entries
...
- Entries in the subnet cache should now be prefetched.
- Rename testdata subnet_*.crpl to subnet_*.rpl so they are visible to
make test
Signed-off-by: Tian Lan <tian.lan@twosigma.com >
2022-04-29 11:46:05 -04:00
W.C.A. Wijngaards
b61b0af5d6
- Fix #670 : SERVFAIL problems with unbound 1.15.0 running on
...
OpenBSD 7.1.
2022-04-28 14:51:47 +02:00
Cristian Rodríguez
6a4ea692d4
Set IP_BIND_ADDRESS_NO_PORT on outbound tcp sockets
...
When bound to a local address the kernel does not know if the socket
will listen() or connect() and must reserve a port inmediately after
bind() effectively limiting the random port range to ~32k.
when IP_BIND_ADDRESS_NO_PORT is set, the kernel delays source port
allocation until the time the complete 4-tuple is known allowing
a much larger number of combinations
2022-04-23 23:08:45 +00:00
Christian Allred
d19e12ab5d
Merge branch 'master' of https://github.com/NLnetLabs/unbound into restart_conf
2022-04-18 12:16:40 -07:00
Petr Mensik
74c6cf5ac6
Log detailed openssl error also for digests failures
...
Make output still only shown in verbose detail. But provide openssl
error details to make a reason more obvious.
2022-04-12 16:13:49 +02:00
Petr Mensik
33c8baaaba
Forward indeterminate status higher
...
Create a path where it can result in insecure.
2022-04-08 16:26:50 +02:00
Petr Mensik
6cfcf21451
Make SHA-1 signed domains insecure if openssl refuses the digest
...
RHEL9/CentOS 9 would fail in default crypto policy. If call to openssl
returns invalid digest then report the name insecure. If all tested
signatures return the same issue, then make the reply insecure.
2022-04-08 16:26:50 +02:00
W.C.A. Wijngaards
1289c53c1a
- Fix zonemd unsupported algo check to set reason to NULL before the
...
check routine, but after malformed checks, to get the correct NULL
output when the digest matches.
2022-04-08 11:19:40 +02:00
W.C.A. Wijngaards
d02e83ae2b
- Fix zonemd unsupported algo check to print unsupported reason before
...
zeroing it.
2022-04-08 11:10:11 +02:00
W.C.A. Wijngaards
8f2847ba69
- Fix zonemd unsupported algo check reason to not copy to next record,
...
and check for success for debug printout.
2022-04-08 10:54:57 +02:00
W.C.A. Wijngaards
730a03e9bd
- Fix zonemd unsupported algo check.
2022-04-08 09:36:01 +02:00
W.C.A. Wijngaards
e4ca71e85b
- Fix zonemd check to allow unsupported algorithms to load.
...
If there are only unsupported algorithms, or unsupported schemes,
and no failed or successful other ZONEMD records, or malformed
or bad ZONEMD records, the unsupported records allow the zone load.
2022-04-08 09:29:37 +02:00
W.C.A. Wijngaards
8f8a8a341a
- Fix spelling error in comment in sldns_str2wire_svcparam_key_lookup.
2022-03-25 16:07:23 +01:00
W.C.A. Wijngaards
722391baf1
- Fix #651 : [FR] Better logging for refused queries.
2022-03-23 13:56:52 +01:00
George Thessalonikefs
ee63ac8f9b
- Minor formatting.
2022-03-18 16:04:16 +02:00
George Thessalonikefs
1e23c4a376
Merge PR #648 from eaglegai: fix -q doesn't work when use with
...
'unbound-control stats_shm'
2022-03-18 16:03:35 +02:00
eaglegai
c60bed8eef
fix -q doesn't work when use with 'unbound-control stats_shm'
...
Signed-off-by: eaglegai <eaglegai@163.com >
2022-03-18 19:08:50 +08:00
W.C.A. Wijngaards
9484ddee2e
- Fix to describe auth-zone and other configuration at the local-zone
...
configuration option, to allow for more broadly view of the options.
2022-03-17 14:24:37 +01:00
W.C.A. Wijngaards
402135b41a
- Fix to ensure uniform handling of spaces and tabs when parsing RRs.
2022-03-16 09:54:53 +01:00
W.C.A. Wijngaards
b0dbfa37f9
Changelog note for #644 , move commands together for library binary.
2022-03-09 09:43:07 +01:00
Wouter Wijngaards and GitHub
79f8fc1472
Merge pull request #644 from FGasper/issue_643_pkgconfig_install_lib
...
Make `install-lib` make target install the pkg-config file.
2022-03-09 09:41:54 +01:00
Felipe Gasper
516f4f9cf4
Make install-lib make target install the pkg-config file.
...
Issue #643
2022-03-08 14:01:09 -05:00
W.C.A. Wijngaards
62c5039ab9
- Fix configure for python to use sysutils, because distutils is
...
deprecated. It uses sysutils when available, distutils otherwise.
2022-03-07 14:02:31 +01:00
W.C.A. Wijngaards
b202b0874c
- Fix for #637 : fix integer overflow checks in sldns_str2period.
2022-03-03 16:24:46 +01:00
W.C.A. Wijngaards
debe5c665f
- Fix #637 : Integer Overflow in sldns_str2period function.
2022-03-03 14:19:59 +01:00
W.C.A. Wijngaards
f81420d77f
- Fix compile warnings for printf ll format on mingw compile.
2022-03-02 14:34:36 +01:00
George Thessalonikefs
b8e7dfa01e
- Various fixes for #632 : variable initialisation, convert the qinfo
...
to str once, accept trailing dot in the local-zone ipset option.
2022-03-02 14:29:56 +01:00
George Thessalonikefs
f7ca447368
Changelog entry for #632
...
- Merge PR #632 from scottrw93: Match cnames in ipset.
2022-03-02 13:22:17 +01:00
gthess and GitHub
a6880644aa
Merge pull request #632 from scottrw93/cnames-ipset
...
Match cnames in ipset
2022-03-02 13:17:35 +01:00
George Thessalonikefs
0b8e6dafe5
- Added tests for ipset.
2022-03-02 13:08:16 +01:00
W.C.A. Wijngaards
99a3f5ee85
- Fix pythonmod for change in iter_dp_is_useless function prototype.
2022-03-01 10:27:24 +01:00
W.C.A. Wijngaards
7749d98a14
- Fix for edns client subnet option add fix in removal code, from review.
2022-02-28 14:51:35 +01:00
W.C.A. Wijngaards
8e8ccfe3c3
- Fix edns client subnet to add the option based on the option list,
...
so that it is not state dependent, after the state fix of #605 for
double EDNS options.
2022-02-28 14:39:48 +01:00
George Thessalonikefs
ad158ed5cc
Changelog entry for #623 :
...
- Merge #623 from rex4539: Fix typos.
2022-02-28 12:37:59 +01:00
gthess and GitHub
6e79237dc8
Merge pull request #623 from rex4539/typos
...
Fix typos
2022-02-28 12:36:11 +01:00
George Thessalonikefs
82adcfb971
- Fix #630 : Unify the RPZ log messages.
2022-02-28 12:07:25 +01:00
W.C.A. Wijngaards
6e64356175
- Fix for #633 : updated fix with new text.
2022-02-28 09:56:30 +01:00
W.C.A. Wijngaards
e11cf2d964
- Fix #633 : Document unix domain socket support for unbound-control.
2022-02-28 09:39:33 +01:00
W.C.A. Wijngaards
c084c27b39
- Fix check interface existence for support detection in remote lookup.
2022-02-25 15:24:40 +01:00
W.C.A. Wijngaards
2c3225e6c7
- update Makefile dependencies.
2022-02-25 10:29:33 +01:00
W.C.A. Wijngaards
4b772ed571
- Fix to detect that no IPv6 support means that IPv6 addresses are
...
useless for delegation point lookups.
2022-02-25 10:27:56 +01:00
scottrw93
4f3df7ee86
Match cnames in ipset
2022-02-20 22:37:49 +00:00
Dimitris Apostolou
c7be51a11b
Fix typos
2022-02-18 15:51:03 +02:00
W.C.A. Wijngaards
c4d8104db3
Changelog note for #631 .
...
- Merge #631 from mollyim: Replace OpenSSL's ERR_PACK with
ERR_GET_REASON.
2022-02-18 09:37:44 +01:00
Wouter Wijngaards and GitHub
fbbb42c9d4
Merge pull request #631 from mollyim/boringssl-compat
...
Replace OpenSSL's ERR_PACK with ERR_GET_REASON
2022-02-18 09:37:34 +01:00
W.C.A. Wijngaards
a746d9693a
- Fix that address not available is squelched from the logs for
...
udp connect failures. It is visible on verbosity 4 and more.
2022-02-18 09:03:56 +01:00
Oscar Mira
78aee89201
Replace OpenSSL's ERR_PACK with ERR_GET_REASON
2022-02-17 20:20:18 +01:00
W.C.A. Wijngaards
6de5310728
- Fix for #628 : fix rpz-passthru for qname trigger by localzone type.
2022-02-16 09:51:25 +01:00
W.C.A. Wijngaards
2b90181d3a
- Fix #628 : A rpz-passthru action is not ending RPZ zone processing.
2022-02-15 16:20:12 +01:00
W.C.A. Wijngaards
91a5cc9a08
- Remove debug info from #618 fix.
2022-02-11 16:34:24 +01:00
W.C.A. Wijngaards
a0feea393a
- Fix #618 : enabling interface-automatic disables DNS-over-TLS.
...
Adds the option to list interface-automatic-ports.
2022-02-11 10:58:53 +01:00
W.C.A. Wijngaards
4c6b59fa47
- Fix #624 : Unable to stop Unbound in Windows console (does not
...
respond to CTRL+C command).
2022-02-11 08:53:24 +01:00
W.C.A. Wijngaards
ed4ce7b398
Release 1.15.0 on 10 feb 2022.
...
The repository continues with version 1.15.1.
And Changelog note.
2022-02-10 09:54:51 +01:00
W.C.A. Wijngaards
58ac43c754
Note 1.15.0rc1 tag creation in Changelog.
...
- Tag for 1.15.0rc1 created.
2022-02-07 11:31:41 +01:00
W.C.A. Wijngaards
5f724da8c5
- Fix that TCP interface does not use TLS when TLS is also configured.
2022-02-07 09:31:10 +01:00
W.C.A. Wijngaards
c44fe07a07
- Fix #412 : cache invalidation issue with CNAME+A.
2022-02-04 14:27:01 +01:00
W.C.A. Wijngaards
c29b0e0a96
- Fix for #611 : Integer overflow in sldns_wire2str_pkt_scan.
2022-02-03 09:03:09 +01:00
W.C.A. Wijngaards
50a312b8da
- Update contrib/aaaa-filter-iterator.patch with diff for current
...
software version.
2022-02-02 15:35:19 +01:00
W.C.A. Wijngaards
893fb4d54b
- Fix docker splint test to use more portable uname.
2022-02-02 14:47:57 +01:00
W.C.A. Wijngaards
6bad577781
Merge branch 'master' of github.com:NLnetLabs/unbound
2022-02-02 14:11:55 +01:00
W.C.A. Wijngaards
2642319ea6
- please clang analyzer for loop in test code.
2022-02-02 14:11:36 +01:00
George Thessalonikefs
d123e1c919
Merge branch 'master' of github.com:NLnetLabs/unbound
2022-02-02 14:05:35 +01:00
George Thessalonikefs
c53171d942
- Changelog entry clarification.
2022-02-02 14:05:31 +01:00
W.C.A. Wijngaards
e656be63f9
- Fix header comment for doxygen for authextstrtoaddr.
2022-02-02 13:20:46 +01:00
W.C.A. Wijngaards
ee3c478239
- Update version number in repo to 1.15.0 for upcoming release,
...
since it changes the aggressive-nsec default and the ratelimit change.
2022-02-02 13:09:51 +01:00
George Thessalonikefs
b1feb9fb1e
- Update stream_ssl.tdir test to also use the new forward-host notation.
2022-02-02 12:55:29 +01:00
George Thessalonikefs
819008cf7e
- Merge PR #617 : Update stub/forward-host notation to accept port and
...
tls-auth-name.
2022-02-02 11:57:36 +01:00
gthess and GitHub
11f2e7e6ae
Merge pull request #617 from NLnetLabs/update-host-notation
...
Update stub/forward-host notation to accept port and tls-auth-name
2022-02-02 11:56:27 +01:00
414a37ed2b
Don't accidentaly introduce a troff macro
...
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com >
2022-02-02 11:53:38 +01:00
George Thessalonikefs
32c3bbd249
- Change aggressive-nsec default to yes.
2022-02-02 11:25:08 +01:00
George Thessalonikefs
c6b413069d
Changelog entry for #616
...
- Merge PR #616 : Update ratelimit logic. It also introduces
ratelimit-backoff and ip-ratelimit-backoff configuration options.
2022-02-02 11:18:14 +01:00
gthess and GitHub
358e3a5963
Merge pull request #616 from NLnetLabs/bugfix/ratelimit
...
Update ratelimit logic
2022-02-02 11:16:04 +01:00
George Thessalonikefs
25eae982de
Merge branch 'Shchelk-bufferoverflow'
2022-02-02 10:50:54 +01:00
George Thessalonikefs
506d24c7a6
Changelog entry for #532
...
- Merge PR #532 from Shchelk: Fix: buffer overflow bug.
2022-02-02 10:48:56 +01:00
George Thessalonikefs
d81e1c999b
Merge branch 'bufferoverflow' of https://github.com/Shchelk/unbound into Shchelk-bufferoverflow
2022-02-02 10:42:06 +01:00
George Thessalonikefs
a5e9221933
Changelog note for #603 :
...
- Merge PR #603 from fobser: Use OpenSSL 1.1 API to access DSA and RSA
internals.
2022-02-01 18:00:46 +01:00
gthess and GitHub
1199482372
Merge pull request #603 from fobser/dsa_rsa_internals
...
Use OpenSSL 1.1 API to access DSA and RSA internals
2022-02-01 17:58:11 +01:00
gthess and GitHub
b93aa79a05
Prefer the libressl API from when it was available
2022-02-01 17:54:42 +01:00
7ddd456f02
Fix typo from review
...
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com >
2022-02-01 17:38:16 +01:00
George Thessalonikefs
814a234876
- Update stub/forward-host notation to accept port and tls-auth-name.
...
Fixes #546 .
2022-02-01 14:44:29 +01:00
George Thessalonikefs
10d9804149
Merge branch 'master' of github.com:NLnetLabs/unbound
2022-01-31 11:28:30 +01:00
George Thessalonikefs
a60bbd12ed
-Fix review comment for use-after-free when failing to send UDP out.
2022-01-31 11:27:35 +01:00
W.C.A. Wijngaards
84df46289d
- iana portlist update.
2022-01-31 10:53:22 +01:00
George Thessalonikefs
52283194eb
- Update unbound.conf manpage and example.conf file for ratelimit
...
options.
2022-01-30 01:04:15 +01:00
George Thessalonikefs
c8a6234aac
- Add tests for ratelimit.
2022-01-30 00:51:39 +01:00
George Thessalonikefs
3086335724
- Introduce ratelimit-backoff and ip-ratelimit-backoff options for more
...
aggressive rate limiting.
2022-01-30 00:36:29 +01:00
George Thessalonikefs
f857af873e
- Update ratelimit code for recent serviced_query changes and more
...
accurate ratelimit calculation.
2022-01-29 23:49:38 +01:00
George Thessalonikefs
888eb224a6
- Better cleanup on failed DoT/DoH listening socket creation.
2022-01-29 15:14:56 +01:00
George Thessalonikefs
c49e87e1b7
- Fix tls-* and ssl-* documented alternate syntax to also be available
...
through remote-control and unbound-checkconf.
2022-01-29 15:11:47 +01:00
W.C.A. Wijngaards
d10562c823
Merge branch 'master' of github.com:NLnetLabs/unbound
2022-01-26 16:41:04 +01:00
W.C.A. Wijngaards
54ea2948da
- Test for NSID in SERVFAIL response due to DNSSEC bogus.
2022-01-26 16:40:04 +01:00
George Thessalonikefs
ea47c08e70
- Fix #599 : [FR] RFC 9156 (obsoletes RFC 7816), by noting the new RFC
...
document.
2022-01-26 14:35:22 +01:00
George Thessalonikefs
79e755e1dd
Changelog note for #612 :
...
- Merge PR #612 : TCP race condition.
2022-01-25 17:29:52 +01:00
gthess and GitHub
ddc3c754b0
Merge pull request #612 from NLnetLabs/tcp-race-condition
...
TCP race condition
2022-01-25 17:26:30 +01:00
George Thessalonikefs
5c85615515
- Fix #588 : Unbound 1.13.2 crashes due to p->pc is NULL in
...
serviced_udp_callback.
2022-01-25 17:15:37 +01:00
George Thessalonikefs
f0c6d26155
- Better bookkeeping when reclaiming the TCP buffer.
2022-01-25 10:32:37 +01:00
George Thessalonikefs
4573629fc4
- Mark waiting_tcp and serviced_query as being in the
...
cb_and_decommission stage to signal later code about their state;
prevents premature item deletion.
2022-01-25 09:46:16 +01:00
W.C.A. Wijngaards
70f13e54bf
Changelog note for #610
...
- Fix #610 : Undefine-shift in sldns_str2wire_hip_buf.
2022-01-25 09:02:55 +01:00
W.C.A. Wijngaards
12a1053dfa
- Fix #610 : Undefine-shift in sldns_str2wire_hip_buf.
2022-01-25 08:57:49 +01:00
George Thessalonikefs
c3c0186658
- Add serviced_query timer to send upstream queries outside of the mesh
...
flow to prevent race conditions.
2022-01-25 00:01:43 +01:00
George Thessalonikefs
8e76eb95a0
- For dnstap, do not wakeupnow right there. Instead zero the timer to
...
force the wakeup callback asap.
2022-01-19 15:32:02 +01:00
W.C.A. Wijngaards
c7ae3ef156
- For #602 : Allow the module-config "subnetcache validator cachedb
...
iterator".
2022-01-14 16:30:25 +01:00
W.C.A. Wijngaards
2996040c6c
- Add rpz: for-downstream: yesno option, where the RPZ zone is
...
authoritatively answered for, so the RPZ zone contents can be
checked with DNS queries directed at the RPZ zone.
2022-01-14 16:23:43 +01:00
George Thessalonikefs
3c8a79eed8
Changelog note for #605 :
...
- Merge PR #605 : Fix EDNS to upstream where the same option could be
attached more than once.
2022-01-14 15:38:15 +01:00
gthess and GitHub
f00d96a21b
Merge pull request #605 from NLnetLabs/sq-region
...
Fix EDNS to upstream where the same option could be attached more than once
2022-01-14 15:33:22 +01:00
George Thessalonikefs
773d1f2911
- Make sure callback changes for EDNS are not lost.
2022-01-14 15:18:43 +01:00
George Thessalonikefs
de1e91fc7f
- Fix EDNS to upstream where the same option could be attached more than
...
once.
- Add a region to serviced_query for allocations.
2022-01-14 13:55:34 +01:00
Florian Obser
ff35659d5a
Use OpenSSL 1.1 API to access DSA and RSA internals
...
In LibreSSL 3.5, DSA and RSA internals will become opaque, so they can
no longer be accessed directly and the libunbound build will break. The
required API, DSA_set0_pqg(), DSA_set0_key() as well as RSA_set0_key(),
has been available since LibreSSL 2.7, so this change should not affect
any users.
From Theo Buehler.
2022-01-11 15:34:25 +01:00
George Thessalonikefs
a97604737b
- Fix prematurely terminated TCP queries when a reply has the same ID.
2022-01-11 10:00:45 +01:00
W.C.A. Wijngaards
d52d94c6db
Changelog note for #600
...
- Merge #600 from pemensik: Change file mode before changing file
owner.
2022-01-07 13:23:18 +01:00
Wouter Wijngaards and GitHub
370a855f08
Merge pull request #600 from InfrastructureServices/remote-unix-chmod
...
Change file mode before changing file owner
2022-01-07 13:23:03 +01:00
Petr Mensik
c7f44b99e3
Change file mode before changing file owner
...
Change mode first when configuring remote control unix socket. Some
security systems might strip capability of changing other user's system
even to process with effective uid 0. That is done on Fedora by SELinux
policy and systemd for example. SELinux audit then shows errors, because
unbound tries modifying permissions of not own file. Fix just by mode
change as first step, make it owned by unbound:unbound user as the last
step only.
Related: rhbz#1905441
2022-01-07 12:08:32 +01:00
Alex Band and GitHub
9bbbca5de9
Update documentation links
2022-01-07 10:21:50 +01:00
W.C.A. Wijngaards
33ef79d433
- Fix for #596 : Fix rpz-signal-nxdomain-ra to work for clientip
...
triggered operation.
2022-01-05 16:48:35 +01:00
W.C.A. Wijngaards
eccfe3e1f5
- Fix #598 : Fix unbound-checkconf fatal error: module conf
...
'respip dns64 validator iterator' is not known to work.
2022-01-05 16:14:47 +01:00
W.C.A. Wijngaards
adcbb6ced7
- Fix for #596 : add unit test for nsip trigger and signal unset RA.
2022-01-05 14:31:42 +01:00
W.C.A. Wijngaards
c678c696a1
- Fix for #596 : add unit test for nsdname trigger and signal unset RA.
2022-01-05 14:13:52 +01:00
W.C.A. Wijngaards
313bceb983
- Fix unit tests for rpz now that the AA flag returns successfully from
...
the iterator loop.
2022-01-05 13:39:06 +01:00
W.C.A. Wijngaards
6b2e96430e
- Fix for #596 : fix that rpz return message is returned and not just
...
the rcode from the iterator return path. This fixes signal unset RA
after a CNAME.
2022-01-05 13:35:18 +01:00
W.C.A. Wijngaards
ceef84e022
- Fix that RPZ does not set RD flag on replies, it should be copied
...
from the query.
2022-01-04 13:49:31 +01:00
W.C.A. Wijngaards
95644c9309
- Fix #596 : only unset RA when NXDOMAIN is signalled.
2022-01-04 13:48:29 +01:00
W.C.A. Wijngaards
cbdc138df7
- Fix to add test for rpz-signal-nxdomain-ra.
2022-01-04 13:41:27 +01:00
W.C.A. Wijngaards
392c1f0f54
- Fix #596 : unset the RA bit when a query is blocked by an unbound
...
RPZ nxdomain reply. The option rpz-signal-nxdomain-ra allows to
signal that a domain is externally blocked to clients when it
is blocked with NXDOMAIN by unsetting RA.
2022-01-04 13:40:07 +01:00
George Thessalonikefs
4e492725e1
- contrib/aaaa-filter-iterator.patch file renewed diff content to
...
apply cleanly to the current coderepo for the current code version.
2021-12-22 15:02:44 +01:00
George Thessalonikefs
65113ac775
- Fix #591 : Unbound-anchor manpage links to non-existent license file.
2021-12-20 11:35:31 +01:00
George Thessalonikefs
983c716feb
- Add missing configure flags for optional features in the
...
documentation.
- Fix Unbound capitalization in the documentation.
2021-12-13 12:46:08 +01:00
W.C.A. Wijngaards
83c712ca60
- Fix to pick up other class local zone information before unlock.
2021-12-13 10:00:53 +01:00
George Thessalonikefs
2c1a5203a5
- Allow local-data for classes other than IN to inherit a configured
...
local-zone's type if possible, instead of defaulting to type
transparent as per the implicit rule.
2021-12-10 17:35:36 +01:00
W.C.A. Wijngaards
778b50f113
- Add code similar to fix for ldns for tab between strings, for
...
consistency, the test case was not broken.
2021-12-10 09:12:58 +01:00
W.C.A. Wijngaards
d29ab10a34
Continue with version 1.14.1
2021-12-09 10:22:39 +01:00
W.C.A. Wijngaards
c6c54f9de4
- Fix validator debug output about DS support, print correct algorithm.
2021-12-06 13:12:44 +01:00
W.C.A. Wijngaards
c7afaef10c
Changelog note for #581
2021-12-06 09:04:50 +01:00
Wouter Wijngaards and GitHub
9d1eb66f19
Merge pull request #581 from fobser/warnings
...
Fix -Wmissing-prototypes and -Wshadow warnings in rpz
2021-12-06 09:04:32 +01:00
Florian Obser
ef076c0e15
Fix -Wshadow
2021-12-03 18:30:08 +01:00
Florian Obser
56cf526c68
Fix -Wmissing-prototypes by declaring functions static.
2021-12-03 18:29:04 +01:00
W.C.A. Wijngaards
4efbee08b5
- Fix compile warning for if_nametoindex on windows 64bit.
2021-12-03 10:44:47 +01:00
W.C.A. Wijngaards
919c8c9527
- Fix doc/unbound.doxygen to remove obsolete tag warning.
2021-12-01 17:13:11 +01:00
W.C.A. Wijngaards
5d63ad6474
- configure is set to 1.14.0, and release branch.
2021-12-01 10:08:54 +01:00
George Thessalonikefs
31bac7d5ca
- Fix #574 : Review fixes for size allocation.
2021-12-01 04:31:58 +01:00
George Thessalonikefs
3dbda3aac3
- Fix #454 : listen_dnsport.c:825: error: ‘IPV6_TCLASS’ undeclared.
2021-12-01 04:26:36 +01:00
George Thessalonikefs
7c0cb7198b
Changelog note for #530 :
...
- Merge PR #530 from Shchelk: Fix: dereferencing a null pointer.
2021-12-01 04:03:27 +01:00
gthess and GitHub
7adeba3690
Merge pull request #530 from Shchelk/bugfix
...
Fix: dereferencing a null pointer
2021-12-01 04:02:03 +01:00
George Thessalonikefs
2add585015
Changelog note for #522 :
...
- Merge PR #522 from sibeream: memory management violations fixed.
2021-12-01 04:00:24 +01:00
gthess and GitHub
43615e98b5
Merge pull request #522 from sibeream/net_help_RESOURCE_LEAK
...
- memory management violations fixed
2021-12-01 03:59:32 +01:00
George Thessalonikefs
05c198ebd6
Changelog note for #562 :
...
- Merge PR #562 from Willem: Reset keepalive per new tcp session.
2021-12-01 03:58:01 +01:00
gthess and GitHub
806a75808d
Merge pull request #562 from NLnetLabs/bugfix/reset-keepalive-per-tcp-session
...
Reset keepalive per new tcp session
2021-12-01 03:57:04 +01:00
George Thessalonikefs
173a8bb2b6
Changelog note for #555 :
...
- Merge PR #555 from fobser: Allow interface names as scope-id in
IPv6 link-local addresses.
2021-12-01 03:55:53 +01:00
gthess and GitHub
ba9356af99
Merge pull request #555 from fobser/if_nametoindex
...
Allow interface names as scope-id in IPv6 link-local addresses.
2021-12-01 03:54:45 +01:00
George Thessalonikefs
dc162f7fee
Changelog note for #493 :
...
- Merge PR #493 from Jaap: Fix generation of libunbound.pc.
2021-12-01 03:51:12 +01:00
George Thessalonikefs
fcedb24b8d
Merge branch 'master' of github.com:NLnetLabs/unbound
2021-12-01 03:50:16 +01:00
gthess and GitHub
a22a79572e
Merge pull request #493 from NLnetLabs/patch-configure
...
Fix generation of libunbound.pc
2021-12-01 03:50:01 +01:00
George Thessalonikefs
178be45fb3
Changelog note for #511 :
...
- Merge PR #511 from yan12125: Reduce unnecessary linking.
2021-12-01 03:48:51 +01:00
gthess and GitHub
94ea0e5e8f
Merge pull request #511 from yan12125/python-linking
...
- Reduce unnecessary linking
2021-12-01 03:46:25 +01:00
W.C.A. Wijngaards
88da8ce174
- iana portlist update.
2021-11-30 15:05:27 +01:00
W.C.A. Wijngaards
2cee189e53
- Fix to remove git tracking and ci information from release tarballs.
2021-11-30 13:38:39 +01:00
W.C.A. Wijngaards
8648db9583
- Fix #574 : Review fix for spelling.
2021-11-29 16:11:32 +01:00
W.C.A. Wijngaards
b5dbb0282e
- Fix #576 : [FR] UB_* error codes in unbound.h
2021-11-29 16:10:45 +01:00
W.C.A. Wijngaards
766c3164a3
- Fix #574 : Review fixes for it.
2021-11-29 15:26:07 +01:00
W.C.A. Wijngaards
b48d6760fc
- Fix #574 : Review fixes for it.
2021-11-29 15:13:14 +01:00
W.C.A. Wijngaards
dcad9d5863
- Fix #574 : unbound-checkconf reports fatal error if interface names
...
are used as value for interfaces:
2021-11-29 14:59:39 +01:00
W.C.A. Wijngaards
2921ce9e61
- Fix to make python module opt_list use opt_list_in.
2021-11-29 11:57:45 +01:00
W.C.A. Wijngaards
22881e28cc
- Fix for #570 : regen aclocal.m4, fix configure.ac for spelling.
2021-11-29 11:41:45 +01:00
Wouter Wijngaards and GitHub
9645228f03
Merge pull request #570 from rex4539/typos
...
Fix typos
2021-11-29 11:39:48 +01:00
Tom Carpay
5bde54b530
Document PR #563 to changelog
2021-11-15 14:19:24 +00:00
tcarpay and GitHub
c47e98a659
Merge pull request #563 from NLnetLabs/bugfix/general-edns-options3
...
Better positioning of general EDNS option handling: revisited V2
2021-11-15 15:14:51 +01:00
Tom Carpay
ff030fa332
Clarify KEEPALIVE EDNS0 option operation
2021-11-15 14:00:31 +00:00
Tom Carpay
e899b4cefe
Make explicit whether edns options are parsed from queries or responses
2021-11-15 13:40:51 +00:00
Tom Carpay
b47dc528aa
add missing return code
2021-11-15 12:33:08 +00:00
c5a1e87f75
Remove wrongly added EDE comments
...
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com >
2021-11-15 13:03:26 +01:00
Dimitris Apostolou
c21d6af617
Fix typos
2021-11-13 16:56:15 +02:00
JINMEI Tatuya
5b2eda28e3
add keep-cache option to unbound-control reload to keep caches
2021-11-11 10:47:08 -08:00
a0df340b1e
Update util/data/msgparse.c
...
Co-authored-by: gthess <george@nlnetlabs.nl >
2021-11-08 12:28:03 +01:00
TCY16
f5b586dbdc
add potential EDE spots
2021-11-08 11:50:57 +01:00
TCY16
8205c87a96
complete renaming of the modules edns list
2021-11-08 11:50:29 +01:00
fa73142b79
Apply suggestions from code review
...
Co-authored-by: Willem Toorop <willem@nlnetlabs.nl >
2021-11-08 11:02:54 +01:00
W.C.A. Wijngaards
3fc987955e
Changelog note for #565
...
- Merge #565 : unbound.service.in: Disable ProtectKernelTunables again.
2021-11-05 13:22:27 +01:00
Wouter Wijngaards and GitHub
7df1a347a5
Merge pull request #565 from Maryse47/patch-1
...
unbound.service.in: Disable ProtectKernelTunables again
2021-11-05 13:21:00 +01:00
W.C.A. Wijngaards
738c7db9ab
- Fix to remove unused code from rpz resolve client and action
...
function.
2021-11-05 12:13:38 +01:00
W.C.A. Wijngaards
0006c08f15
- Fix analyzer review failure in rpz action override code to not
...
crash on unlocking the local zone lock.
2021-11-05 12:02:50 +01:00
George Thessalonikefs
24eded6ef9
- Fix for #558 : clear the UB_EV_TIMEOUT bit before adding an event.
2021-11-05 11:21:30 +01:00
George Thessalonikefs
431b749d7a
- Fix for #558 : fix loop in comm_point->tcp_free when a comm_point is reclaimed
...
more than once during callbacks.
2021-11-05 11:19:08 +01:00
W.C.A. Wijngaards
e7fbd27060
- Fix that forward-zone name is documented as the full name of the
...
zone. It is not relative but a fully qualified domain name.
2021-11-05 10:16:27 +01:00
Maryse47 and GitHub
8eb5010104
Disable ProtectKernelTunables again
...
This option was removed in https://github.com/NLnetLabs/unbound/commit/ff8fd0be5c529e7a1b84e8c74426e9c531c0a8f8 but reintroduced in https://github.com/NLnetLabs/unbound/commit/c32b9e4ba95983146eac805719db720f02a64358
Disable it with commentary in hope to prevent slipping it in again.
2021-11-03 13:05:11 +00:00
W.C.A. Wijngaards
1a94a68fc2
- Fix #552 : Unbound assumes index.html exists on RPZ host.
2021-11-02 16:45:02 +01:00
Willem Toorop
53a1677828
Reset keepalive per new tcp session
2021-11-01 21:06:07 +01:00
Tom Carpay
cb48d9e4a1
Fix keepalive logic
2021-11-01 15:01:07 +00:00
Tom Carpay
5f8447830a
Move option handling to parse-time
2021-11-01 13:48:31 +00:00
Tom Carpay
89d7476539
split edns_data.opt_list in opt_list_in and opt_list_out
...
opt_list_in for parsed (incoming) edns options, and
opt_list_out for outgoing (to be encoded) edns options
2021-11-01 12:48:40 +00:00
Tom Carpay
3925297d07
Remove apply_edns_options from worker and mesh...
...
to be returned in message encoding later...
2021-11-01 10:44:55 +00:00
Tom Carpay
3ebfa9fc97
Outgoing module options go to opt_list_modules_out
...
And opt_list_modules_out is reset in case of failure
BEWARE! No options from modules will be encoded in the responses now!
2021-10-27 14:01:56 +00:00
Tom Carpay
3e6eeb504d
Modules have their own outgoing ends options list
...
But nothing happens with it yet
2021-10-27 13:48:49 +00:00
Florian Obser
8756f1e4c7
Allow interface names as scope-id in IPv6 link-local addresses.
...
For example, this makes
forward-zone:
name: "."
forward-addr: fe80::20d:b9ff:fe46:c7f4%vio0
forward-first: yes
work instead of fe80::20d:b9ff:fe46:c7f4%1.
2021-10-24 16:06:55 +02:00
W.C.A. Wijngaards
ecb0b44ba8
- Fix to protect custom regional create against small values.
2021-10-11 17:23:30 +02:00
W.C.A. Wijngaards
09afdb7669
- Fix chaos replies to have truncation for short message lengths,
...
or long reply strings.
2021-10-11 17:00:20 +02:00
W.C.A. Wijngaards
ce39d5ad17
- Fix to add example.conf note for outbound-msg-retry.
2021-10-04 09:19:27 +02:00
W.C.A. Wijngaards
89510f4a0c
- Implement RFC8375: Special-Use Domain 'home.arpa.'.
2021-09-27 15:09:01 +02:00
W.C.A. Wijngaards
962cb07055
- Fix crosscompile script for the shared build flags.
2021-09-21 14:34:56 +02:00
W.C.A. Wijngaards
9f26f397a9
- Fix crosscompile windows to use libssp when it exists.
...
- For the windows compile script disable gost.
- Fix that on windows, use BIO_set_callback_ex instead of deprecated
2021-09-21 13:51:34 +02:00
W.C.A. Wijngaards
24d0dc1725
- Fix crosscompile shell syntax.
2021-09-21 09:23:38 +02:00
W.C.A. Wijngaards
38f500f1c9
- For crosscompile on windows, detect 64bit stackprotector library.
2021-09-21 09:20:56 +02:00
W.C.A. Wijngaards
808a3cb16d
- Fix crosscompile on windows to work with openssl 3.0.0 the
...
link with ws2_32 needs -l:libssp.a for __strcpy_chk.
Also copy results from lib64 directory if needed.
2021-09-20 17:52:34 +02:00
W.C.A. Wijngaards
63a406a432
- Fix more initialisation errors reported by gcc sanitizer.
2021-09-10 15:27:05 +02:00
W.C.A. Wijngaards
a64cbe958d
- Fix lock debug code for gcc sanitizer reports.
2021-09-10 15:11:30 +02:00
W.C.A. Wijngaards
7d70e3c861
- Fix initialisation errors reported by gcc sanitizer.
2021-09-10 14:30:57 +02:00
W.C.A. Wijngaards
f976fdee28
- Fix root_anchor test to check with new icannbundle date.
2021-09-08 17:26:30 +02:00
W.C.A. Wijngaards
829f3c932e
- Fix for #41 : change outbound retry to int to fix signed comparison
...
warnings.
2021-09-08 15:07:11 +02:00
W.C.A. Wijngaards
750f46d1aa
- Small fixes for #41 : changelog, conflicts resolved,
...
processQueryResponse takes an iterator env argument like other
functions in the iterator, no colon in string for set_option,
and some whitespace style, to make it similar to the rest.
2021-09-08 14:52:56 +02:00
W.C.A. Wijngaards
b2cf56e0ec
Merge branch 'countsudoku-feature/configure-outbound_msg_retry'
2021-09-08 14:38:58 +02:00
W.C.A. Wijngaards
204edd229e
Merge branch 'feature/configure-outbound_msg_retry' of git://github.com/countsudoku/unbound into countsudoku-feature/configure-outbound_msg_retry
2021-09-08 14:38:36 +02:00
W.C.A. Wijngaards
48995dba21
Changelog entry for #538
...
- Fix #538 : Fix subnetcache statistics.
2021-09-03 16:41:21 +02:00
Wouter Wijngaards and GitHub
4c90250043
Merge pull request #538 from tduboys/fix_subnetcache_statistics
...
Fix subnetcache statistics
2021-09-03 16:41:07 +02:00
Thomas du Boÿs
ebb4987146
Fix subnetcache statistics
2021-09-03 10:37:07 +02:00
W.C.A. Wijngaards
520fa84265
- Fix tcp fastopen failure when disabled, try normal connect instead.
2021-09-01 16:21:10 +02:00
W.C.A. Wijngaards
4b2799fdd6
- Fix #533 : Negative responses get cached even when setting
...
cache-max-negative-ttl: 1
2021-08-27 10:33:21 +02:00
W.C.A. Wijngaards
087a7ff95e
- Fix asynclook unit test for setup of lockchecks before log.
2021-08-25 16:19:12 +02:00
W.C.A. Wijngaards
1ea624d0c7
- Fix compile warning in libunbound for listen desetup routine.
2021-08-25 14:51:59 +02:00
W.C.A. Wijngaards
9fa1ae1340
- 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.
2021-08-25 14:18:29 +02:00
W.C.A. Wijngaards
c93a7fb38a
- Fix the stream wait stream_wait_count_lock and http2 buffer locks
...
setup and desetup from race condition.
2021-08-25 13:37:50 +02:00
W.C.A. Wijngaards
889a2d09c3
- Fix #536 : error: RPZ: name of record (drop.spamhaus.org.rpz.local.)
...
to insert into RPZ.
2021-08-25 13:14:53 +02:00
W.C.A. Wijngaards
924ff7b373
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.
2021-08-25 10:19:48 +02:00
Wouter Wijngaards and GitHub
74f1f0addd
Merge pull request #401 from NLnetLabs/rpz-triggers
...
RPZ triggers
2021-08-25 10:14:12 +02:00
Shchelkunov Artem
0b362e3a4d
Fix: buffer overflow bug
...
Found by static analyzer svace
Static analyzer message: Array 'token' of size 65536 bytes passed to
function 'rrinternal_parse_rdata' at str2wire.c:679 by passing as 2nd
parameter to function 'rrinternal_parse_rdata' at str2wire.c:775, where
it is accessed by unacceptable index. This may lead to buffer overflow.
on-behalf-of: @ideco-team <github@ideco.ru >
2021-08-20 19:46:01 +05:00
W.C.A. Wijngaards
2315fc9d9b
Changelog entry for #531
...
- Fix #531 : Fix: passed to proc after free.
2021-08-20 15:18:39 +02:00
Wouter Wijngaards and GitHub
1ae42b94b3
Merge pull request #531 from Shchelk/ptpaf
...
Fix: passed to proc after free
2021-08-20 15:15:41 +02:00
Shchelkunov Artem
ba7598f559
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 >
2021-08-20 18:06:51 +05:00
Shchelkunov Artem
5730e7bb59
Fix: dereferencing a null pointer
...
Found by static analyzer svace
Static analyzer message: Return value of a function 'reply_info_copy'
is dereferenced at dns64.c:923 without checking, but it is usually
checked for this function (4/5).
on-behalf-of: @ideco-team <github@ideco.ru >
2021-08-20 17:52:18 +05:00
W.C.A. Wijngaards
54b7554b5a
Changelog note for #529 and nicer layout.
...
- Fix #529 : Fix: log_assert does nothing if UNBOUND_DEBUG is
undefined.
2021-08-20 14:32:13 +02:00
Wouter Wijngaards and GitHub
a4d1224d92
Merge pull request #529 from Shchelk/next
...
Fix: log_assert does nothing if UNBOUND_DEBUG is undefined
2021-08-20 14:29:18 +02:00
Shchelkunov Artem
4ea9651624
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 >
2021-08-20 17:16:39 +05:00
W.C.A. Wijngaards
a9de6879b8
Merge branch 'master' into rpz-triggers
2021-08-18 09:53:35 +02:00
W.C.A. Wijngaards
51f5b3ab44
- Fix sed script in ssldir split handling.
2021-08-17 13:15:20 +02:00
W.C.A. Wijngaards
d88f554503
- Fix #527 : not sending quad9 cert to syslog (and may be more).
2021-08-17 13:03:33 +02:00
W.C.A. Wijngaards
cc6d428cb7
- Fix that --with-ssl can use "/usr/include/openssl11" to pass the
...
location of a different openssl version.
2021-08-17 10:32:12 +02:00
W.C.A. Wijngaards
d0cc58be3d
- Fix to support harden-algo-downgrade for ZONEMD dnssec checks.
2021-08-16 16:14:32 +02:00
George Thessalonikefs
2a72845576
Changelog note for #528 :
...
- Merge PR #528 from fobser: Make sldns_str2wire_svcparam_buf() static.
2021-08-16 14:15:57 +02:00
gthess and GitHub
45542053fe
Merge pull request #528 from fobser/svcparam_static
...
Make sldns_str2wire_svcparam_buf() static.
2021-08-16 14:12:50 +02:00
Florian Obser
25b7eb3c7c
Make sldns_str2wire_svcparam_buf() static.
...
The function is only used in this translation unit and prevents a "no
previous prototype" warning.
2021-08-16 11:27:40 +02:00
W.C.A. Wijngaards
4034c009bb
- zonemd, fix order of bogus printout string manipulation.
2021-08-13 15:24:53 +02:00
W.C.A. Wijngaards
c8c2dfff22
- Fix zonemd verification of key that is not in DNS but in the zone
...
and needs a chain of trust.
2021-08-13 14:43:11 +02:00
W.C.A. Wijngaards
ad45e9b89e
- Fix for #431 : Squelch permission denied errors for udp connect,
...
and udp send, they are visible at higher verbosity settings.
2021-08-13 09:27:58 +02:00
W.C.A. Wijngaards
de31bcdf2e
- Support using system-wide crypto policies.
2021-08-13 09:21:47 +02:00
George Thessalonikefs
a158f365b9
- For #514 : generate configure.
2021-08-12 21:46:30 +02:00
George Thessalonikefs
3b8b2e0dc7
Changelog note for #514 :
...
- Merge PR #514 , from ziollek: Docker environment for run tests.
2021-08-12 21:43:18 +02:00
gthess and GitHub
3829faf679
Merge pull request #514 from ziollek/docker_for_run_test
...
Docker environment for run tests
2021-08-12 21:30:36 +02:00
W.C.A. Wijngaards
fdae4cdbbb
- Fix to print error from unbound-anchor for writing to the key
...
file, also when not verbose.
2021-08-12 16:06:02 +02:00
W.C.A. Wijngaards
b13bcab089
- For #519 : fix comments for doxygen.
2021-08-12 15:14:22 +02:00
W.C.A. Wijngaards
2f828ec720
- For #519 : yacc and lex. And fix python bindings, and test program
...
unbound-dnstap-socket.
2021-08-12 15:12:55 +02:00
W.C.A. Wijngaards
6bee3e77fc
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.
2021-08-12 15:05:51 +02:00
Wouter Wijngaards and GitHub
0ace659fe2
Merge pull request #519 from ziollek/tcp_upstream_option
...
Support for selective enabling tcp-upstream for stub/forward zones
2021-08-12 15:03:57 +02:00
W.C.A. Wijngaards
07f70d0745
Changelog note for #523
...
- Merge #523 : fix: free() call more than once with the same pointer.
2021-08-12 13:45:18 +02:00
Wouter Wijngaards and GitHub
79df099f4c
Merge pull request #523 from Shchelk/bugfix
...
fix: free() call more than once with the same pointer
2021-08-12 13:45:00 +02:00
W.C.A. Wijngaards
20febc2179
Changelog note for #521
...
- Merge #521 : Update mini_event.c.
2021-08-12 13:24:15 +02:00
Wouter Wijngaards and GitHub
6780a0844d
Merge pull request #521 from liheng562653799/master
...
Update mini_event.c
2021-08-12 13:24:03 +02:00
W.C.A. Wijngaards
f8ddcc15b8
- Add test tool readzone to .gitignore.
2021-08-12 13:17:29 +02:00
W.C.A. Wijngaards
c5ceee22a9
- 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.
2021-08-12 10:04:20 +02:00
Shchelkunov Artem
e20b2c1aaf
fix: free() call more than once with the same pointer
2021-08-11 15:14:43 +05:00
Chih-Hsuan Yen
98087a051e
- Reduce unnecessary linking
...
- Link to libpython only when needed, fixes #242
When pyunbound is enabled while pythonmodule is not (i.e., ./configure
--without-pythonmodule --with-pyunbound), only the Python library
_unbound.so uses Python functions, and main programs (unbound,
unbound-anchor, ...) and libunbound.so do not. This patch removes
unneeded linking.
- Link the Python library _unbound.so to Python only. _unbound.so does
not directly use libraries used by libunbound. This patch removes
unneeded linking mentioned in [1]
[1] https://github.com/NLnetLabs/unbound/pull/511#issuecomment-886072003
2021-08-06 22:33:22 +08:00
Artem Egorenkov
0d8dd6ec33
- memory management violations fixed
2021-08-06 14:11:12 +02:00
liheng562653799 and GitHub
edbf9c21ee
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.
2021-08-06 12:00:56 +08:00
W.C.A. Wijngaards
8e538dcaa8
- Fix #520 : Unbound 1.13.2rc1 fails to build python module.
2021-08-05 17:10:56 +02:00
W.C.A. Wijngaards
f232562430
Merge branch 'master' into rpz-triggers
2021-08-05 13:37:22 +02:00
Tomasz Ziolkowski
ae45f46b9e
Add (stub|forward)-tcp-upstream options which enable using tcp transport only for specified stub/forward zones
2021-08-05 08:44:18 +02:00
W.C.A. Wijngaards
4518bb1158
For 1.13.2rc1.
2021-08-05 08:37:20 +02:00
W.C.A. Wijngaards
5d349dbcf3
- Tag for 1.13.2 release.
2021-08-05 08:36:24 +02:00
W.C.A. Wijngaards
77fdd8836d
- Fix unit test zonemd_reload for use in run_vm.
2021-08-04 16:26:21 +02:00
W.C.A. Wijngaards
822a96b29a
- Fix libnettle zonemd unit test.
2021-08-04 14:04:31 +02:00
W.C.A. Wijngaards
067954fe8d
- Fix out of sourcedir run of zonemd unit tests.
2021-08-04 13:54:38 +02:00
Tomasz Ziolkowski
59552a7a76
reformat
2021-08-04 13:05:21 +02:00
Tomasz Ziolkowski
1900ea3bb3
Revert changes in files managed by maintainers, move docker do contrib dir
2021-08-04 13:02:38 +02:00
Tomasz Ziolkowski
a922c6d525
merge master
2021-08-04 13:02:20 +02:00
W.C.A. Wijngaards
592cfe3afc
- Fix readzone compile under debug config.
2021-08-04 11:43:29 +02:00
W.C.A. Wijngaards
6dd270d625
- Fix missing locks in zonemd unit test.
2021-08-04 11:05:51 +02:00
W.C.A. Wijngaards
c9bb0604db
- Fix static analysis warnings about localzone locks that are unused.
2021-08-04 10:58:08 +02:00
George Thessalonikefs
8878680898
- Bump MAX_RESTART_COUNT to 11 from 8; in relation to #438 . This allows
...
longer CNAME chains in Unbound.
2021-08-04 10:53:22 +02:00
George Thessalonikefs
efa15747a2
Changelog note for #415 :
...
- Merge PR #415 from sibeream: Use /proc/sys/net/ipv4/ip_local_port_range
to determine available outgoing ports.
2021-08-04 10:47:38 +02:00
gthess and GitHub
bdaecd942d
Merge pull request #415 from sibeream/master
...
Use /proc/sys/net/ipv4/ip_local_port_range to determine available outgoing ports
2021-08-04 10:42:12 +02:00
W.C.A. Wijngaards
f5d53928a3
- In unit test use openssl set security level to allow keys in test.
2021-08-04 09:58:38 +02:00
W.C.A. Wijngaards
c639dc956a
- Fix sign comparison warning on FreeBSD.
2021-08-03 14:13:37 +02:00
W.C.A. Wijngaards
2a0df9e72e
- Annotate assertion into error printout; we think it may be an
...
error, but the situation looks harmless.
2021-08-03 14:08:30 +02:00
W.C.A. Wijngaards
dd7dc30294
Changelog note for #517
...
- Merge PR #517 from dyunwei: #420 breaks the mesh reply list
function that need to reuse the dns answer.
2021-08-03 13:11:18 +02:00
Wouter Wijngaards and GitHub
5196ee03e6
Merge pull request #517 from dyunwei/master
...
#420 breaks the mesh reply list function that need to reuse the dns answer.
2021-08-03 13:11:01 +02:00
George Thessalonikefs
a519009378
Merge branch 'master' of github.com:NLnetLabs/unbound
2021-08-03 12:20:45 +02:00
George Thessalonikefs
ca67691092
- Listen to read or write events after the SSL handshake.
...
Sticky events on windows would stick on read when write was needed.
2021-08-03 12:18:58 +02:00
daiyunwei
0784ad7a11
#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.
2021-08-03 11:40:30 +08:00
W.C.A. Wijngaards
3ed5b62578
- Fix verbose printout failure in tcp reuse unit test.
2021-08-02 16:06:36 +02:00
W.C.A. Wijngaards
89e2f2f753
- iana portlist update.
2021-08-02 15:26:20 +02:00
W.C.A. Wijngaards
0bdcbc80b9
- Move ECDSA functions to use OpenSSL 3.0.0 API.
2021-08-02 15:06:26 +02:00
W.C.A. Wijngaards
d242bfb73b
- Move RSA and DSA to use OpenSSL 3.0.0 API.
2021-08-02 14:43:51 +02:00
W.C.A. Wijngaards
60663c766a
Review fixup for keyraw pkey function use.
2021-08-02 13:39:48 +02:00
W.C.A. Wijngaards
ca00814e67
- Prepare for OpenSSL 3.0.0 provider API usage, move the sldns
...
keyraw functions to produce EVP_PKEY results.
2021-08-02 13:33:32 +02:00
W.C.A. Wijngaards
b6abcb1508
- 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.
2021-07-30 13:54:43 +02:00
W.C.A. Wijngaards
11caae256b
- Fix #515 : Compilation against openssl 3.0.0 beta2 is failing to
...
build unbound.
2021-07-30 13:35:23 +02:00
Tomasz Ziolkowski
3e310a17be
Docker environment for run tests + enhancement for ssl_handshake
2021-07-27 12:06:08 +02:00
George Thessalonikefs
dd254137f1
- Changelog entry for #513 : Stream reuse, attempt to fix #411 , #439 ,
...
#469 .
2021-07-26 16:55:32 +02:00
gthess and GitHub
dcd75814b9
Merge pull request #513 from NLnetLabs/tcp_reuse_fix
...
Stream reuse, attempt to fix #411 , #439 , #469
2021-07-26 16:54:34 +02:00
W.C.A. Wijngaards
e8d28f0a55
- Fix readzone unknown type print for memory resize.
2021-07-26 16:45:33 +02:00
George Thessalonikefs
8ee5aa312f
- Fix unittcpreuse.c: properly initialise outnet.
2021-07-26 16:29:57 +02:00
George Thessalonikefs
ad2bd61ed4
- Remove redundant log_assert and fix error messages.
2021-07-26 16:12:55 +02:00
George Thessalonikefs
de73af2da2
- stream reuse, do not explicitly wait for a free pending_tcp if a reuse
...
could be used.
2021-07-26 10:47:20 +02:00
W.C.A. Wijngaards
fc462aa15d
Changelog note for #512
...
- Merge #512 : unbound.service.in: upgrade hardening to latest
standards.
2021-07-26 09:47:24 +02:00
Wouter Wijngaards and GitHub
1e17b8f67c
Merge pull request #512 from ArchangeGabriel/patch-1
...
unbound.service.in: upgrade hardening to latest standards
2021-07-26 09:47:12 +02:00
Bruno Pagani
c32b9e4ba9
unbound.service.in: upgrade hardening to latest standards
...
Systemd gradually introduced new protection bits, let’s enable them.
2021-07-25 05:27:22 +02:00
George Thessalonikefs
ab318a8b95
- Add unittest for tcp_reuse functions.
2021-07-24 01:15:00 +02:00
George Thessalonikefs
1b7358e85c
- stream reuse, move log_assert to the correct location.
2021-07-23 20:51:14 +02:00
George Thessalonikefs
e1fdac7205
- stream reuse, clean links on structs that are unlinked from a list.
2021-07-23 18:45:48 +02:00
George Thessalonikefs
0c74d6abba
- Fix for #411 , #439 , #469 : stream reuse, fix loop in the free
...
pending_tcp list.
2021-07-23 18:25:06 +02:00
George Thessalonikefs
5b4555954a
- Fix for #411 , #439 , #469 : stream reuse, fix outnet deletion for all
...
non-free pending_tcp.
2021-07-23 18:05:57 +02:00
George Thessalonikefs
224571256d
- Fix for #411 , #439 , #469 : stream reuse, fix LRU list when reuse is
...
already in the tree.
2021-07-23 18:00:24 +02:00
George Thessalonikefs
f9ad139c08
- Fix for #411 , #439 , #469 : stream reuse, fix linking when touching the
...
tcp_reuse LRU list.
2021-07-23 17:51:42 +02:00
George Thessalonikefs
e2221f3388
- More log_assert for stream reuse operations.
2021-07-23 17:50:28 +02:00
W.C.A. Wijngaards
ca5baef433
- Fix that ldns_zone_new_frm_fp_l counts the line number for an empty
...
line after a comment.
2021-07-21 13:58:07 +02:00
Artem Egorenkov and Artem Egorenkov
d9153cb35b
Option --enable-linux-ip-local-port-range added to use system configured port range for libunbound on Linux
2021-07-20 14:46:43 +02:00
W.C.A. Wijngaards
d300bc8eee
- Fix for older parsers for function call in serve expired get cached.
2021-07-16 17:55:10 +02:00
W.C.A. Wijngaards
163d8b768e
- Another fix from lint for ignored return value.
2021-07-16 17:48:52 +02:00
W.C.A. Wijngaards
a7eaf6364d
- Fix from lint for ignored return value.
2021-07-16 17:46:04 +02:00
W.C.A. Wijngaards
5f57dbf19b
- Insert header into testcode/readzone.c, it was missing.
2021-07-16 17:12:41 +02:00
George Thessalonikefs
ca4d68c64c
- Introduce 'http-user-agent:' and 'hide-http-user-agent:' options.
2021-07-16 14:32:18 +02:00
W.C.A. Wijngaards
f693cbc90b
Revert "- With hide-version unbound also omits the version from http headers."
...
This reverts commit 9d4644b125 .
2021-07-16 14:02:55 +02:00
W.C.A. Wijngaards
9d4644b125
- With hide-version unbound also omits the version from http headers.
2021-07-16 13:45:41 +02:00
W.C.A. Wijngaards
2a8d1a6d10
- review fix to remove duplicate error printout.
2021-07-16 10:53:53 +02:00
W.C.A. Wijngaards
9e712e8a0b
- Fix unbound-control local_data and local_datas to print detailed
...
syntax errors.
2021-07-16 10:51:27 +02:00
W.C.A. Wijngaards
e388ba2967
- Fix spelling in localzone.h comment.
2021-07-16 10:28:09 +02:00
W.C.A. Wijngaards
3aa53e45c8
- Fix spelling in doc/unbound.doxygen comment.
2021-07-16 10:26:45 +02:00
W.C.A. Wijngaards
8180ca192f
- Fix for #510 : in depth, use ifdefs for windows api event calls.
2021-07-16 09:12:06 +02:00
Wouter Wijngaards and GitHub
410f202a93
Merge pull request #510 from ndptech/master
...
Don't call a function which hasn't been defined
2021-07-16 09:11:21 +02:00
Nick Porter
2c3f764d61
Don't call a function which hasn't been defined
2021-07-15 17:55:33 +01:00
W.C.A. Wijngaards
3f7e164751
- iana portlist update.
2021-07-06 15:15:43 +02:00
George Thessalonikefs
e521b10f32
- Fix clang-analysis warnings for testcode/readzone.c.
2021-07-05 16:51:46 +02:00
George Thessalonikefs
11d3cea823
- Fix compiler warnings for #491 .
2021-07-05 15:36:27 +02:00
George Thessalonikefs
c6fc7adeb1
- Fix Wunused-result compile warnings.
2021-07-04 15:19:24 +02:00
Tom Carpay
a701ef75ed
changelog PR #491
2021-07-02 15:15:13 +02:00
tcarpay and GitHub
379c7d592d
Merge pull request #491 from NLnetLabs/svcb
...
Add SVCB and HTTPS types and handling according to draft-ietf-dnsop-svcb-https
2021-07-02 15:11:12 +02:00
Tom Carpay
711087bb13
rename var to remove shadow variable
2021-07-02 14:15:33 +02:00
Tom Carpay
ab017cde0f
Merge branch 'master' into svcb
2021-07-02 13:37:08 +02:00
877aa8df55
Apply suggestions from code review
...
Co-authored-by: Willem Toorop <willem@nlnetlabs.nl >
2021-07-02 13:14:47 +02:00
Tom Carpay
a6020e4186
change test and error to be in line with new maximum svcb params (nparams >= MAX_NUMBER_OF_SVCPARAMS)
2021-07-02 11:21:19 +02:00
Tom Carpay
543d6d5c13
fix final comment: remove superfluous assert
2021-07-02 10:53:50 +02:00
W.C.A. Wijngaards
f62994f6ea
- Fix #506 : Python Module Seems to Leak Memory if it Experiences an
...
Unhandled Exception.
2021-07-02 09:42:31 +02:00
Tom Carpay
3d50c25f5b
fix comments - 1
2021-07-01 16:59:48 +02:00
e41125495d
Apply suggestions from code review
...
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com >
2021-07-01 12:45:14 +02:00
W.C.A. Wijngaards
04e9adc610
Analysis workflow, enable the matrix of tests, on demand.
2021-06-25 16:54:23 +02:00
W.C.A. Wijngaards
57022af9a4
Analysis workflow, disable -x for bash the output is reordered with
...
respect to the command output.
2021-06-25 16:50:21 +02:00
W.C.A. Wijngaards
6ac9253c2a
Analysis workflow, remove debug, add desciption echo, remove dll.
2021-06-25 16:34:43 +02:00
W.C.A. Wijngaards
9a90254d2f
Analysis workflow, remove debug output.
2021-06-25 16:06:05 +02:00
W.C.A. Wijngaards
8e5c3f51a2
- Fix auth zone download on windows to unlink before rename.
2021-06-25 15:31:33 +02:00
W.C.A. Wijngaards
5e81763e53
Analysis workflow, fixup ctime tests.
2021-06-25 15:27:51 +02:00
W.C.A. Wijngaards
e4e0eaa63e
Analysis workflow, fix ctime formatting for autotrust and testbound.
2021-06-25 15:11:10 +02:00
W.C.A. Wijngaards
770a54600c
Analysis workflow, check for ctime define.
2021-06-25 14:37:53 +02:00
W.C.A. Wijngaards
e45e73768f
Analysis workflow, see if defines are causing ctime changes.
2021-06-25 14:07:11 +02:00
W.C.A. Wijngaards
66e9317edc
Analysis workflow, test ctime replacement.
2021-06-25 13:37:26 +02:00
W.C.A. Wijngaards
cef1c56e88
Analysis workflow, debug output for ctime.
2021-06-25 13:12:22 +02:00
W.C.A. Wijngaards
7a5e869548
Analysis workflow, remove debug output.
2021-06-25 11:18:12 +02:00
W.C.A. Wijngaards
ba846a925a
- Fix configure does not require pkg-config if not needed.
2021-06-25 11:05:57 +02:00
W.C.A. Wijngaards
62ba441024
Analysis workflow, output debug.
2021-06-25 10:38:09 +02:00
W.C.A. Wijngaards
57e3d5da61
- Fix configure grep for reuseport default for failure.
2021-06-25 10:37:47 +02:00
W.C.A. Wijngaards
6ed49bf45f
Analysis workflow, debug output.
2021-06-25 10:12:40 +02:00
W.C.A. Wijngaards
358bc0d8bd
Analysis workflow, make debug output.
2021-06-25 09:43:02 +02:00
W.C.A. Wijngaards
1b66c5f6e4
Analysis workflow, fix make target.
2021-06-25 09:16:13 +02:00
W.C.A. Wijngaards
7d16b2c268
Analysis workflow, output failure cases.
2021-06-25 08:49:30 +02:00
W.C.A. Wijngaards
658db66c3f
- Fix up permissions on rpl data file in tests.
2021-06-25 08:45:03 +02:00
W.C.A. Wijngaards
e24c78efd6
Analysis workflow, remove debug output, strip more whitespace off
...
ADDRESS lines in testbound range.
2021-06-24 22:57:12 +02:00
W.C.A. Wijngaards
56733f1ba0
Analysis workflow, output testbound results.
2021-06-24 22:28:07 +02:00
W.C.A. Wijngaards
8a25ca9651
Fixup ctime test.
2021-06-24 22:11:42 +02:00
W.C.A. Wijngaards
db5bb6270b
Fixup unit auth test for windows port.
2021-06-24 21:55:46 +02:00
W.C.A. Wijngaards
26cdcc899a
Analysis workflow, enable ssl compile.
2021-06-24 21:37:33 +02:00
W.C.A. Wijngaards
b468f708cf
Analysis workflow, fixup shell.
2021-06-24 21:33:39 +02:00
W.C.A. Wijngaards
a383416f80
Analysis workflow, fixup with type.
2021-06-24 21:29:41 +02:00
W.C.A. Wijngaards
abc82f5d87
Analysis workflow, echo wrong directories.
2021-06-24 21:26:16 +02:00
W.C.A. Wijngaards
b4c0988cb9
Analysis workflow, set MAKESHELL.
2021-06-24 21:23:12 +02:00
W.C.A. Wijngaards
f963fc51d4
Analysis workflow, remove SHELL setting because make mangles it.
2021-06-24 21:16:20 +02:00
W.C.A. Wijngaards
43f5429458
Analysis workflow, remove program files dir.
2021-06-24 21:09:25 +02:00
W.C.A. Wijngaards
4fdb6d85eb
Analysis workflow, fix shell substitution.
2021-06-24 21:00:52 +02:00
W.C.A. Wijngaards
536e0e2125
Analysis workflow, also fix other makefiles.
2021-06-24 20:55:50 +02:00
W.C.A. Wijngaards
57f4047bb5
Analysis workflow, fixup shell.
2021-06-24 20:51:45 +02:00
W.C.A. Wijngaards
e249ca39ed
Analysis workflow, fix env variable.
2021-06-24 20:42:32 +02:00
W.C.A. Wijngaards
80a3f416de
Analysis workflow, provide CONFIG_SHELL variable.
2021-06-24 20:38:12 +02:00
W.C.A. Wijngaards
547083ddbd
Analysis workflow, add shell.
2021-06-24 20:31:02 +02:00
W.C.A. Wijngaards
6b84e303ba
Analysis workflow, fixup shell.
2021-06-24 20:25:12 +02:00
W.C.A. Wijngaards
201011057f
Analysis workflow, provide SHELL.
2021-06-24 20:13:33 +02:00
W.C.A. Wijngaards
d94b3f9b78
Analysis workflow, fix mkdir.
2021-06-24 19:57:29 +02:00
W.C.A. Wijngaards
994c095ed2
Analysis workflow, build libexpat.
2021-06-24 19:50:17 +02:00
W.C.A. Wijngaards
82e7f6f056
Analysis workflow, Fixup spelling
2021-06-24 19:35:12 +02:00
W.C.A. Wijngaards
3bc29af649
Analysis workflow, fixup installtop.
2021-06-24 18:59:14 +02:00
W.C.A. Wijngaards
57055d2d89
Analysis workflow, build libs only.
2021-06-24 18:45:42 +02:00
W.C.A. Wijngaards
a409f82f58
Analysis workflow, show topdir from Makefile.
2021-06-24 18:40:14 +02:00
W.C.A. Wijngaards
086e86b7aa
Analysis workflow, remove usage from Configure.
2021-06-24 18:25:45 +02:00
W.C.A. Wijngaards
341198b5d7
Analysis workflow, set up Configure.
2021-06-24 18:17:51 +02:00
W.C.A. Wijngaards
0b1221ef3c
Analysis workflow, use yum install.
2021-06-24 18:14:35 +02:00
W.C.A. Wijngaards
533e1db30a
Analysis workflow, use installed openssl
2021-06-24 18:02:22 +02:00
W.C.A. Wijngaards
02516845d8
Analysis workflow, use perl for Configure.
2021-06-24 17:53:51 +02:00
W.C.A. Wijngaards
877db8ca36
Analysis workflow, run from other shell.
2021-06-24 17:50:58 +02:00
W.C.A. Wijngaards
98e36cd158
Analysis workflow, install perl module.
2021-06-24 17:42:25 +02:00
W.C.A. Wijngaards
db917945a3
Analysis workflow, fix spelling for Pod.
2021-06-24 17:39:53 +02:00
W.C.A. Wijngaards
320e6ad462
Analysis workflow, use cpan to install perl module.
2021-06-24 17:36:48 +02:00
W.C.A. Wijngaards
5d862e4b3a
Analysis workflow, perl to call cpan for it.
2021-06-24 17:26:10 +02:00
W.C.A. Wijngaards
385d87b543
Analysis workflow, install missing module.
2021-06-24 17:23:51 +02:00
W.C.A. Wijngaards
6822a48308
Analysis workflow, find perl module.
2021-06-24 17:12:34 +02:00
W.C.A. Wijngaards
4a099bb25a
Analysis workflow, use different perl
2021-06-24 17:08:13 +02:00
W.C.A. Wijngaards
0b2dc96d31
Analysis workflow, find perl.
2021-06-24 17:04:07 +02:00
W.C.A. Wijngaards
1c05aa2243
Analysis workflow, fixup perl for openssl Configure.
2021-06-24 16:59:24 +02:00
W.C.A. Wijngaards
bc271a2b14
Analysis workflow, fixup perl for openssl.
2021-06-24 16:55:52 +02:00
W.C.A. Wijngaards
563b047273
Analysis workflow, build openssl.
2021-06-24 16:49:33 +02:00
W.C.A. Wijngaards
d994a246bb
Analysis workflow, build openssl.
2021-06-24 16:41:40 +02:00
W.C.A. Wijngaards
36a9b5da0d
Analysis workflow, find openssl.
2021-06-24 16:31:51 +02:00
W.C.A. Wijngaards
bc51922888
Analysis workflow, find openssl.
2021-06-24 16:27:02 +02:00
W.C.A. Wijngaards
b9b4636797
Analysis workflow, find openssl.
2021-06-24 16:20:55 +02:00
W.C.A. Wijngaards
085ac3c0da
Analysis workflow, find mingw.
2021-06-24 16:13:21 +02:00
W.C.A. Wijngaards
3db0c7717c
Analysis workflow, find mingw.
2021-06-24 16:05:02 +02:00
W.C.A. Wijngaards
0f5847f276
Analysis workflow, find mingw.
2021-06-24 15:28:09 +02:00
W.C.A. Wijngaards
5d70fbc6fa
Analysis workflow, find mingw.
2021-06-24 15:25:37 +02:00
W.C.A. Wijngaards
137ff8b856
Analysis workflow, fix indentation of shell keyword.
2021-06-24 15:21:26 +02:00
Tom Carpay
9cd15f7ebf
remove tests for svcparam semantics
2021-06-24 15:20:32 +02:00
W.C.A. Wijngaards
ad9a287f82
Analysis workflow, add win test.
2021-06-24 15:18:54 +02:00
W.C.A. Wijngaards
c017e00279
Analysis workflow, enable all the tests.
2021-06-24 14:51:11 +02:00
W.C.A. Wijngaards
aba8623c44
Analysis workflow, add Android x86, arm64 and x86_64 tests.
2021-06-24 14:24:39 +02:00
W.C.A. Wijngaards
709ca6ff7e
Analysis workflow, add android armv7a test.
2021-06-24 14:15:56 +02:00
W.C.A. Wijngaards
5198523a92
analysis workflow, fixup SDK and CPU definitions.
2021-06-24 13:47:33 +02:00
W.C.A. Wijngaards
46032bb670
analysis workflow, add iPhoneOS, AppleTVOS and WatchOS tests.
2021-06-24 13:38:45 +02:00
W.C.A. Wijngaards
c744db2935
analysis workflow, add arm64 iOS test.
2021-06-24 13:28:52 +02:00
W.C.A. Wijngaards
bb208d48fb
analysis workflow, use log line groups.
2021-06-24 12:07:22 +02:00
W.C.A. Wijngaards
06af83c2cf
analysis workflow, fixup ios test.
2021-06-24 11:53:44 +02:00
W.C.A. Wijngaards
6e025e303f
analysis workflow, add iphone on armv7 test.
2021-06-24 11:43:02 +02:00
9880077190
Apply suggestions from code review
...
Co-authored-by: Willem Toorop <willem@nlnetlabs.nl >
2021-06-24 11:20:41 +02:00
W.C.A. Wijngaards
8990fcbd6a
analysis workflow, Add address sanitizer test, disable static for build speedup.
2021-06-24 11:17:57 +02:00
W.C.A. Wijngaards
a40bc40d0c
analysis workflow, add undefined behaviour sanitizer test.
2021-06-24 11:11:16 +02:00
W.C.A. Wijngaards
a807135373
analysis workflow, fix.
2021-06-24 10:53:25 +02:00
W.C.A. Wijngaards
8ce44a4006
analysis workflow, install libevent for test.
2021-06-24 10:51:06 +02:00
W.C.A. Wijngaards
bb0a182125
analysis workflow, add libevent test, clang macos test.
2021-06-24 10:44:38 +02:00
W.C.A. Wijngaards
48a22bfb26
analysis workflow, install expat.
2021-06-24 10:32:31 +02:00
W.C.A. Wijngaards
61f8b687ef
analysis workflow, macos openssl install location.
2021-06-24 10:25:17 +02:00
W.C.A. Wijngaards
4650207afd
analysis workflow, add macos.
2021-06-24 10:18:29 +02:00
W.C.A. Wijngaards
173efaf743
Analysis workflow, use matrix parameters.
2021-06-24 10:05:27 +02:00
Tom Carpay
cebdf52c4e
fix erroneous test
2021-06-24 10:00:12 +02:00
W.C.A. Wijngaards
db7a7c0239
workflow yml uses single quoted strings.
2021-06-24 09:58:43 +02:00
W.C.A. Wijngaards
b99b17f3d7
Check env contents.
2021-06-24 09:49:20 +02:00
8f27a67d01
Add code point comment to HTTPS
...
Co-authored-by: Willem Toorop <willem@nlnetlabs.nl >
2021-06-24 09:45:08 +02:00
W.C.A. Wijngaards
521ca6a783
workflow sets runs-on.
2021-06-24 09:42:32 +02:00
W.C.A. Wijngaards
15bf9fe581
Fix syntax of analysis workflow.
2021-06-24 09:29:29 +02:00
W.C.A. Wijngaards
999eddd27f
Add analyzer and port compile github workflow.
2021-06-24 09:27:46 +02:00
W.C.A. Wijngaards
d3b2bc501d
- Fix warnings reported by the gcc analyzer.
2021-06-23 18:02:02 +02:00
Tom Carpay
cf02b31675
comment out sematic errors to default to secondary resolver behaviour
2021-06-23 15:03:35 +02:00
Tom Carpay
ff41de4ec3
resolve comments
2021-06-23 14:44:03 +02:00
W.C.A. Wijngaards
7694998ea9
Merge branch 'master' of github.com:NLnetLabs/unbound
2021-06-23 14:06:13 +02:00
W.C.A. Wijngaards
9d681b627f
- Fix #503 : DNS over HTTPS response truncated.
2021-06-23 14:05:59 +02:00
Tom Carpay
f02d9b5963
fix broken ci-build
2021-06-23 11:04:19 +02:00
eb9891f4ed
Apply suggestions from code review
...
Co-authored-by: Willem Toorop <willem@nlnetlabs.nl >
2021-06-23 10:53:11 +02:00
Wouter Wijngaards and GitHub
4de4a0ffb6
Create ci.yml
2021-06-23 10:23:23 +02:00
George Thessalonikefs
896357a5b3
- Fix #495 : Documentation or implementation of "verbosity" option.
2021-06-21 12:54:23 +02:00
W.C.A. Wijngaards
79209823ac
- Fix a number of warnings reported by the gcc analyzer.
2021-06-18 18:12:26 +02:00
George Thessalonikefs
02b1a6ae0a
- Changelog entry for #440 : Various fixes to contrib/unbound_munin_ file.
2021-06-15 17:50:25 +02:00
gthess and GitHub
722d851386
Merge pull request #440 from kimheino/master
...
Various fixes to contrib/unbound_munin_ file
2021-06-15 17:47:57 +02:00
W.C.A. Wijngaards
a887194d6b
- Fix configure nonblocking test and onmingw test to use host.
2021-06-14 16:15:21 +02:00
Kim B. Heino
70a9bfda84
contrib/unbound_munin_: minor cleanup to remove two leftovers
2021-06-12 22:37:33 +03:00
W.C.A. Wijngaards
960d199b6f
- Fix contrib/unbound.spec, fixed url and comment.
2021-06-10 13:35:27 +02:00
W.C.A. Wijngaards
fd7caaf579
- Fix #500 : SPEC file in version 1.13.1 references version 1.4;
...
unable to build RPM from source.
2021-06-10 09:24:48 +02:00
George Thessalonikefs
fcde5c8d54
- Use host_os instead of target_os in configure for Darwin8 build.
2021-06-09 16:36:19 +02:00
George Thessalonikefs
ad939e54d0
- Fix #413 (based on patch by k-ronny): unbound: does not compile on macOS
...
11.1-x86_64 host.
2021-06-09 15:54:41 +02:00
George Thessalonikefs
d02e956da0
- Changelog entry for #486 : Make VAL_MAX_RESTART_COUNT configurable.
...
- Generetated lexer and parser for #486 ; updated example.conf.
2021-06-09 12:32:58 +02:00
gthess and GitHub
45be341267
Merge pull request #486 from fobser/val-max-restart
...
Make VAL_MAX_RESTART_COUNT configurable.
2021-06-09 12:09:27 +02:00
George Thessalonikefs
64546fcfb4
- Fix unused variable warning when compiling with --enable-dnstap.
2021-06-08 22:15:17 +02:00
George Thessalonikefs
df53badfa2
- Fix #425 : Document auth-zone supports communication with DNS primary
...
on nondefault port.
2021-06-07 16:02:41 +02:00
Tom Carpay
307613ea83
comment changes
2021-06-07 15:29:06 +02:00
George Thessalonikefs
553d1c78ef
- Merge #448 from shoeper: Update unbound-control.8.in, fix
...
rpz_disable typo.
2021-06-07 14:51:21 +02:00
gthess and GitHub
9c3672a790
Merge pull request #448 from shoeper/patch-1
...
Update unbound-control.8.in, fix rpz_disable typo
2021-06-07 14:47:35 +02:00
Tom Carpay
9beea6a00c
fix key parsing and incorporate testcases
2021-06-07 14:05:14 +02:00
Tom Carpay
7562edbb8c
remove superfluous double escaping
2021-06-07 08:39:05 +00:00
Tom Carpay
19c63fdaf6
add key parsing and edge case tests
2021-06-07 09:54:02 +02:00
Tom Carpay
24faac236d
implement todos
2021-06-02 16:26:30 +02:00
Willem Toorop
cf8418c319
Rewrite SVCB rdata in correct order
2021-06-02 12:56:54 +02:00
Willem Toorop
e5acb8f638
Correct sorting of rdata
2021-06-02 12:50:04 +02:00
Tom Carpay
41f642bfb9
add error handling
2021-06-02 12:27:48 +02:00
Tom Carpay
e89743b2b8
add check_svcbparams
2021-06-02 10:10:05 +02:00
George Thessalonikefs
2e87871678
- Fix test for zonemd-check option.
2021-06-01 18:02:10 +02:00
W.C.A. Wijngaards
cf0aad9fb6
Merge branch 'master' into rpz-triggers
2021-05-28 15:00:55 +02:00
Tom Carpay
9dcfc90225
start of sldns_heck_svcbparams
2021-05-27 14:15:15 +00:00
Tom Carpay
eb0e029dda
add escaping
2021-05-27 15:22:32 +02:00
W.C.A. Wijngaards
ea4f1ee8a6
- zonemd-check: yesno option, default no, enables the processing
...
of ZONEMD records for that zone.
2021-05-27 14:20:53 +02:00
W.C.A. Wijngaards
2196ccf5e8
- Merge #496 from banburybill: Use build system endianness if
...
available, otherwise try to work it out.
2021-05-27 13:29:33 +02:00
Wouter Wijngaards and GitHub
d116c9711a
Merge pull request #496 from banburybill/master
...
Use build system endianness if available, otherwise try to work it out.
2021-05-27 13:29:08 +02:00
Jim Hague
6066a24405
Use build system endianness if available, otherwise try to work it out.
...
The getdns build system provides the endianness, enabling building on
Windows native. This change is a convenience for getdns maintainers.
2021-05-27 10:57:35 +01:00
W.C.A. Wijngaards
0f2ae816b5
- For #492 : Fix font highlighting for the man page on emacs.
2021-05-25 17:32:08 +02:00
Tom Carpay
21413aed78
fix merge error in ipv6hints
2021-05-25 16:02:22 +02:00
Willem Toorop
956d7d4e44
Fix mandatory parsing and ech printing
2021-05-25 15:56:19 +02:00
Tom Carpay
71904eb0d4
add svcb tpkg tests
2021-05-25 15:44:49 +02:00
W.C.A. Wijngaards
58eeeeb989
- Fix #492 : module-config respip missing in unbound.conf.5.in man
...
page. Merges #494 from he32.
Remove comment line (?) from man page.
2021-05-25 15:06:57 +02:00
Wouter Wijngaards and GitHub
2749132bf7
Merge pull request #494 from he32/unbound-rpz-doc
...
Transplant parts of the contributed RPZ documentation.
2021-05-25 15:03:51 +02:00
Havard Eidnes
182a78f1dc
Transplant parts of the contributed RPZ documentation.
...
This comes from the doc/IP-BasedActions.pdf file with minor
adaptations.
2021-05-25 14:51:31 +02:00
W.C.A. Wijngaards
11b3ebc386
- Move the NSEC3 max iterations count in line with the 150 value
...
used by BIND, Knot and PowerDNS. This sets the default value
for it in the configuration to 150 for all key sizes.
2021-05-25 14:35:19 +02:00
Tom Carpay
e21e7e7f60
Merge branch 'svcb' of github.com:NLnetLabs/unbound into svcb
2021-05-25 11:43:50 +02:00
Tom Carpay
36093b0b8a
fix multiple ipv6hints entries
2021-05-25 11:43:46 +02:00
Willem Toorop
5f22f3a9cf
Shift data pointer when scanning svcb wire data
...
Also make internal auxilary functions static
2021-05-25 10:41:00 +02:00
Willem Toorop
76cd9390da
Fix str2wire ipv6hint like ipv4hint was fixed
2021-05-25 10:37:44 +02:00
Jaap Akkerhuis
56a112001a
Fix generation of libunbound.pc
2021-05-24 12:41:09 +02:00
W.C.A. Wijngaards
4f7c194a83
- Test code has -q option for quiet output.
2021-05-21 17:08:58 +02:00
21c5aadbcd
Apply suggestions from code review
...
Co-authored-by: Willem Toorop <willem@nlnetlabs.nl >
2021-05-21 16:09:18 +02:00
24e39a09a8
Apply suggestions from code review
...
Co-authored-by: Willem Toorop <willem@nlnetlabs.nl >
2021-05-21 15:42:56 +02:00
W.C.A. Wijngaards
76532f7447
- rpz-triggers, silence qname trigger explanation in rpz-log, this is
...
backwards compatible.
2021-05-21 14:56:38 +02:00
W.C.A. Wijngaards
e5cb48c432
Merge branch 'master' into rpz-triggers
2021-05-21 14:09:30 +02:00
W.C.A. Wijngaards
0a6b22dc55
- rpz-triggers, rpz log and stats for nsip and clientip and nsdname.
2021-05-21 14:05:19 +02:00
Tom Carpay
eca19fe1d1
happyflow for all signle svcparams (now without debug prints)
2021-05-20 13:39:24 +02:00
Tom Carpay
1a28a27637
happyflow for all signle svcparams
2021-05-20 13:28:34 +02:00
George Thessalonikefs
ff6b527184
- Fix for #411 , #439 , #469 : Reset the DNS message ID when moving queries
...
between TCP streams.
- Refactor for uniform way to produce random DNS message IDs.
2021-05-19 15:07:32 +02:00
W.C.A. Wijngaards
ddec5aa559
- rpz-triggers, spelling fix in comment.
2021-05-19 11:40:31 +02:00
W.C.A. Wijngaards
23152e6eb8
Fix date in changelog.
2021-05-17 09:13:29 +02:00
W.C.A. Wijngaards
f5e0207a5e
- Fix #489 : Compile using MSYS2 MinGW 64-bit.
2021-05-17 08:43:46 +02:00
W.C.A. Wijngaards
44f5d27683
- rpz-triggers, check for alloc failure and zone for add rpz soa.
2021-05-14 17:27:15 +02:00
W.C.A. Wijngaards
568aab1b67
- rpz-triggers, in callback from iterator, if rpz is disabled, skip.
2021-05-14 16:41:54 +02:00
W.C.A. Wijngaards
355526da7d
- rpz-triggers, the added soa for client ip modified answers is affected
...
by the minimal-responses config option.
2021-05-14 16:34:38 +02:00
W.C.A. Wijngaards
2094763beb
- rpz-triggers, add rpz SOA when minimal responses is not set.
2021-05-14 16:28:55 +02:00
W.C.A. Wijngaards
50dcadd495
- rpz-triggers, for clientip modified answers the rpz SOA is added to the
...
additional section with the serial number and name of the rpz zone that
was applied.
2021-05-14 15:34:48 +02:00
W.C.A. Wijngaards
ad08971b7a
- rpz-triggers, use zone for local data zone based answer if available.
2021-05-14 14:04:42 +02:00
W.C.A. Wijngaards
e7f476d5c3
- rpz-triggers, fix comments, log no zone answers.
2021-05-14 13:57:04 +02:00
W.C.A. Wijngaards
193e37d6e8
- rpz-triggers, call module local callback for rpz local encode replies.
2021-05-14 13:42:54 +02:00
W.C.A. Wijngaards
a9df16cf9b
- rpz-triggers, fix memory allocation trouble on allocation error path.
2021-05-14 13:35:24 +02:00
W.C.A. Wijngaards
9f40e93fe6
- rpz-triggers, use sec_status_insecure like respip, AA flag on RPZ responses.
2021-05-14 13:28:10 +02:00
W.C.A. Wijngaards
f9f3e9d4d0
- rpz-triggers, fix compile warning
2021-05-14 13:25:21 +02:00
W.C.A. Wijngaards
32d82fac9b
Merge branch 'master' into rpz-triggers
2021-05-14 08:47:56 +02:00
W.C.A. Wijngaards
9aa072d115
- Fix that auth-zone zonefiles use last TTL if no TTL is specified.
2021-05-12 17:24:03 +02:00
Tom Carpay
b61d098950
fix memcpy of buffer for ech
2021-05-10 12:19:50 +00:00
Tom Carpay
5b28b213fa
basic implementation of a selection of svcb params
2021-05-10 11:03:08 +02:00
W.C.A. Wijngaards
1e85196fd9
Changelog note for #487
...
- Merge PR #487 : ifdef RLIMIT_AS in recently added check.
2021-05-10 08:18:15 +02:00
Wouter Wijngaards and GitHub
f8b1745049
Merge pull request #487 from sthen/patch-1
...
ifdef RLIMIT_AS in recently added check
2021-05-10 08:17:37 +02:00
Stuart Henderson and GitHub
cde6284a03
ifdef RLIMIT_AS in recently added check
...
Some OS still don't have RLIMIT_AS
2021-05-08 15:12:39 +00:00
Florian Obser
d4314cad33
Make VAL_MAX_RESTART_COUNT configurable.
...
unbound tries very hard (up to 6 authoritative servers) to find a
validating answer. This is not always desirable, for example on high
latency links.
2021-05-08 16:56:32 +02:00
W.C.A. Wijngaards
e217bb48ad
- Remove case fallthrough from deprecate-rsa-1024 code.
2021-05-07 17:06:09 +02:00
W.C.A. Wijngaards
59ea44322e
- Add ./configure --with-deprecate-rsa-1024 that turns off RSA 1024.
2021-05-07 14:28:20 +02:00
W.C.A. Wijngaards
07fda669e4
- Fix #485 : Unbound occasionally reports broken stats.
2021-05-07 11:13:44 +02:00
W.C.A. Wijngaards
80f06ae9b1
- Rerun flex and bison.
2021-05-04 16:24:16 +02:00
W.C.A. Wijngaards
533e4bbdd6
Merge branch 'master' of github.com:NLnetLabs/unbound
2021-05-04 16:21:51 +02:00
W.C.A. Wijngaards
90d0f8bc19
- Fix to squelch tcp socket bind failures when the interface is gone.
2021-05-04 16:21:42 +02:00
George Thessalonikefs
e9a5f5ab3f
- Add more logging for out-of-memory cases.
2021-05-04 15:39:06 +02:00
George Thessalonikefs
71f311dbe1
- Fix for #367 : only attempt to get the interface for queries
...
that are no longer on the tcp_waiting_list.
2021-05-04 14:45:01 +02:00
George Thessalonikefs
edf35336a3
Clearer template text since not everyone can reopen GitHub issues.
2021-05-04 13:42:00 +02:00
W.C.A. Wijngaards
dea1da8d7f
Changelog note for #478
...
- Merge #478 : Allow configuration of TCP timeout while waiting for
response.
2021-05-04 10:25:32 +02:00
Wouter Wijngaards and GitHub
09b924f35b
Merge pull request #478 from edevil/tcp_auth_query_timeout
...
Allow configuration of TCP timeout while waiting for response
2021-05-04 10:24:42 +02:00
W.C.A. Wijngaards
728a3cd7a6
Changelog note and improved comment.
...
- Fix #481 : Fix comment in configuration file.
2021-05-03 13:07:12 +02:00
Wouter Wijngaards and GitHub
6bab2a2421
Merge pull request #481 from paulmenzel/fix-comment-in-conf-file
...
Fix comment in configuration file
2021-05-03 13:05:27 +02:00
Paul Menzel
3f230f4aaf
doc/example.conf.in: Clarify comment for auto-trust-anchor-file
...
Remove `And enable:` as it refers to the uncommented option.
Fixes: 01dd4a35 ("- Added explicit note on unbound-anchor usage:")
2021-05-03 12:57:39 +02:00
W.C.A. Wijngaards
472801f8ea
Merge branch 'master' of github.com:NLnetLabs/unbound
2021-04-29 10:27:02 +02:00
W.C.A. Wijngaards
ecb8aed2f2
- Add that log-servfail prints an IP address and more information
...
about one of the last failures for that query.
2021-04-29 10:24:35 +02:00
André Cruz
e07f973938
Allow configuration of TCP timeout while waiting for response
...
This allows us to configure how long Unbound will wait for a response
on a TCP connection.
2021-04-28 16:20:46 +01:00
gthess and GitHub
aaf2236bed
Merge pull request #479 from NLnetLabs/issue-templates
...
Create issue templates
2021-04-28 16:45:44 +02:00
gthess and GitHub
90198ee071
Create issue templates
...
Create issue templates for bug reports and feature requests.
2021-04-28 16:40:48 +02:00
George Thessalonikefs
45328d37b1
- Fix compiler warning for signed/unsigned comparison for
...
max_reuse_tcp_queries.
2021-04-28 16:15:52 +02:00
W.C.A. Wijngaards
4604f30d70
- Fix #474 : always_null and others inside view.
2021-04-28 14:05:23 +02:00
W.C.A. Wijngaards
77451862f0
Changelog note for PR #470
...
- Merge #470 from edevil: Allow configuration of persistent TCP
connections.
2021-04-26 16:07:28 +02:00
Wouter Wijngaards and GitHub
646d6b9bce
Merge pull request #470 from edevil/configurable_tcp
...
Allow configuration of persistent TCP connections
2021-04-26 16:07:16 +02:00
W.C.A. Wijngaards
7226d2f9f2
- Fix that testcode dohclient has OpenSSL initialisation calls.
2021-04-22 09:41:04 +02:00
W.C.A. Wijngaards
a45a7efe69
- Further fix for #468 : detect SSL_CTX_set_alpn_protos for build with
...
OpenSSL 1.0.1.
2021-04-22 09:05:43 +02:00
W.C.A. Wijngaards
25425d9aa7
- Fix #468 : OpenSSL 1.0.1 can no longer build Unbound.
2021-04-22 09:00:15 +02:00
W.C.A. Wijngaards
c71a7faddd
Changelog note for #466
...
- Merge #466 from FGasper: Support OpenSSLs that lack
SSL_get0_alpn_selected.
2021-04-22 08:57:50 +02:00
Wouter Wijngaards and GitHub
64f18b3003
Merge pull request #466 from FGasper/feature_check_SSL_get0_alpn_selected
...
Support OpenSSLs that lack SSL_get0_alpn_selected.
2021-04-22 08:57:33 +02:00
André Cruz
75875d4d1c
Allow configuration of persistent TCP connections
...
Added 2 new options to configure previously hardcoded
values: max-reuse-tcp-queries and tcp-reuse-timeout. These
allow fine-grained control over how unbound uses persistent
TCP connections to authority servers.
2021-04-21 13:50:45 +01:00
Felipe Gasper
0efccaa1eb
Support OpenSSLs that lack SSL_get0_alpn_selected.
2021-04-19 13:05:50 -04:00
Willem Toorop
2c9b548ebd
Simple zonefile printer
...
(maybe I should have called it printzone?)
2021-04-16 16:07:04 +02:00
W.C.A. Wijngaards
69349c7c24
- rpz-triggers, nicer logging for response IP triggers.
2021-04-14 16:35:39 +02:00
W.C.A. Wijngaards
a23efc70ee
- rpz-triggers, nicer logging for qname and clientip triggers.
2021-04-14 13:54:27 +02:00
W.C.A. Wijngaards
ab94ca9684
- rpz-triggers, nicer logging for nsdname and nsip triggers, one line and
...
only when it applies to the delegation point.
2021-04-14 12:11:11 +02:00
W.C.A. Wijngaards
b366441157
Merge branch 'master' into rpz-triggers
2021-04-14 09:39:41 +02:00
George Thessalonikefs
13e445d50b
- Remove unused functions worker_handle_reply and
...
libworker_handle_reply.
2021-04-13 14:54:26 +02:00
George Thessalonikefs
b88b9c9ffd
Merge branch 'master' of github.com:NLnetLabs/unbound
2021-04-13 14:01:38 +02:00
George Thessalonikefs
b774d97b3c
- Fix documentation comment for files previously residing in checkconf/.
2021-04-13 13:59:08 +02:00
W.C.A. Wijngaards
55ba863440
- Fix that nxdomain synthesis does not happen above the stub or
...
forward definition.
2021-04-13 13:52:57 +02:00
George Thessalonikefs
403d0551b7
- Fix (increase) verbosity level for iterator error log in
...
processQueryTargets().
2021-04-12 16:49:45 +02:00
W.C.A. Wijngaards
addd21f750
- Fix permission denied sendto log, squelch the log messages
...
unless high verbosity is set.
2021-04-12 11:18:23 +02:00
W.C.A. Wijngaards
fb0da1b6b0
- rebuild configure to set EXTRALINK to libunbound.la for #460 .
2021-04-09 17:19:04 +02:00
W.C.A. Wijngaards
0491176315
- rpz-triggers, spelling
2021-04-09 08:38:18 +02:00
W.C.A. Wijngaards
473f0cc44b
- rpz-triggers, precedence fix for nsdname and nsip triggers.
2021-04-08 14:39:48 +02:00
W.C.A. Wijngaards
f2d7620308
Merge branch 'master' into rpz-triggers
2021-04-08 14:28:26 +02:00
W.C.A. Wijngaards
7396eff7af
- Fix for #411 : Depth protect for crash on deleted element timeout.
2021-04-08 13:47:06 +02:00
Christian Allred
766244bd81
Document max-query-restarts option
2021-04-05 18:59:09 -07:00
Christian Allred
07c0d04a14
Use max-query-restarts in iterative resolver
2021-04-05 16:25:43 -07:00
Christian Allred
0e3068559c
Add max-query-restarts to grammar and lexer
2021-04-05 16:24:49 -07:00
Christian Allred
41fa45c99e
Add max-query-restarts config parameter
2021-04-05 15:41:53 -07:00
W.C.A. Wijngaards
f64358b351
Merge branch 'master' into rpz-triggers
2021-04-01 14:34:25 +02:00
W.C.A. Wijngaards
fe324823f8
- Fix to stop IPv6 PMTU discovery.
2021-04-01 13:45:34 +02:00
W.C.A. Wijngaards
a2ea701f31
- rpz-triggers, fix what domain name to match for nsdname.
2021-04-01 13:11:51 +02:00
W.C.A. Wijngaards
14582d2445
- rpz-triggers, remove unused test.
2021-04-01 12:56:47 +02:00
W.C.A. Wijngaards
1c75e62804
- rpz-triggers, separate cache storage of RPZ records from network records.
2021-04-01 12:06:14 +02:00
W.C.A. Wijngaards
1f2296a8a2
Merge branch 'master' into rpz-triggers
2021-04-01 10:56:54 +02:00
W.C.A. Wijngaards
fb315509ab
Changelog note for #460 .
...
- Merge #460 from orbea: build: Link with the libtool archive.
2021-04-01 09:12:50 +02:00
Wouter Wijngaards and GitHub
bf868a121d
Merge pull request #460 from orbea/libtool
...
build: Link with the libtool archive.
2021-04-01 09:12:35 +02:00
orbea
b0298224cb
build: Link with the libtool archive.
2021-03-31 16:27:00 -07:00
George Thessalonikefs
9d238060e1
- Clean makedist.sh.
2021-03-31 13:37:08 +02:00
W.C.A. Wijngaards
d23e1f1100
- Fix stack-protector change to not override other CFLAGS options.
2021-03-31 10:01:42 +02:00
George Thessalonikefs
1d54b2cdef
- Disable the use of stack-protector for cross compiled 32-bit windows builds;
...
relates to #444 .
2021-03-30 22:15:12 +02:00
W.C.A. Wijngaards
49d9e91492
Merge branch 'master' into rpz-triggers
2021-03-25 17:28:53 +01:00
W.C.A. Wijngaards
ff0c5f863d
- Fix #429 : Also fix end of transfer for http download of auth zones.
2021-03-25 12:18:49 +01:00
W.C.A. Wijngaards
f3dcb297d9
- Fix that cachedb does not produce empty object files when disabled.
2021-03-24 16:28:18 +01:00
W.C.A. Wijngaards
90e3b8d1a9
- Travis, fix warning in ubsan compile.
...
- Fix configure Targetconfiditionals.h header check, to use compile.
2021-03-24 15:34:26 +01:00
W.C.A. Wijngaards
3fddde30cb
Travis, enable jobs, changelog note.
...
- Travis, fix script to fail when tasks fail.
2021-03-24 11:18:35 +01:00
W.C.A. Wijngaards
4041342cf2
Travis, fix quotes on config opts for iOS and Android configure.
2021-03-24 11:06:10 +01:00
W.C.A. Wijngaards
569fb4d2f4
Travis, debug print config opts.
2021-03-24 10:57:59 +01:00
W.C.A. Wijngaards
c682d423c9
Travis, fix script with steps and export variables and config opts.
2021-03-24 10:49:56 +01:00
W.C.A. Wijngaards
808bb64e50
travis, script at outer scope so failed lines fail build.
2021-03-24 10:42:03 +01:00
W.C.A. Wijngaards
1d199d4a7b
remove debug output.
2021-03-24 10:31:46 +01:00
W.C.A. Wijngaards
9f03bccf96
Add unistd include, and changelog note.
2021-03-24 10:22:37 +01:00
W.C.A. Wijngaards
5644036ffd
Travis, deprecation test also checks if item unavailable.
2021-03-24 10:15:24 +01:00
W.C.A. Wijngaards
e18c4f53aa
Travis, fix deprecation test to use CFLAGS and CPPFLAGS.
2021-03-24 10:07:18 +01:00
W.C.A. Wijngaards
d56a1c38bc
Travis, test deprecation configure output. Debug output from configure
...
and remove a lot of timeconsuming tests temporarily.
2021-03-24 09:57:53 +01:00
W.C.A. Wijngaards
0e1d64de94
Travis, use config opts when testing on OSX.
2021-03-23 16:51:50 +01:00
W.C.A. Wijngaards
0894f059a1
Travis, undo the && code and enable other iOS jobs.
2021-03-23 16:34:56 +01:00
W.C.A. Wijngaards
1af851e791
Travis, fix location of libexpat, stop on error.
2021-03-23 16:27:49 +01:00
W.C.A. Wijngaards
f11d99b6dc
Travis, turn off homebrew update, and move to 12.2 for OSX compile.
2021-03-23 16:03:58 +01:00
W.C.A. Wijngaards
26bf371e95
Travis, try to enable brew update for the 12.2 osx image.
2021-03-23 14:45:14 +01:00
W.C.A. Wijngaards
61e6a3910f
Travis, note changelog, disable homebrew update in script and cfg.
2021-03-23 14:22:00 +01:00
W.C.A. Wijngaards
b5ee27f810
travis, analyzer disabled on test without debug, that does not
...
run anway. Turn off failing tests except one. Update iOS test
to xcode image 12.2.
2021-03-23 13:38:46 +01:00
W.C.A. Wijngaards
85f8d72a89
Travis, attempt to omit ios brew update.
2021-03-23 09:29:11 +01:00
W.C.A. Wijngaards
0b7efaf620
Travis changelog noted.
2021-03-23 09:17:22 +01:00
W.C.A. Wijngaards
6e8fdd8650
Travis enable all tests again. Clang analyzer only a couple times, when
...
there is a difference. homebrew updates disabled, so it does not hang.
removed trailing slashes from configure paths. Moved iOS tests to
allow-failure.
2021-03-23 08:56:42 +01:00
George Thessalonikefs
a13d935153
- Reformat pythonmod/pythonmod_utils.{c,h}.
2021-03-22 18:45:31 +01:00
W.C.A. Wijngaards
7d5050c729
Asan tests shown to work, run OSX test.
2021-03-22 17:02:06 +01:00
George Thessalonikefs
50d773436d
- Fix for #367 : fix memory leak when cannot bind to listening port.
2021-03-22 16:46:17 +01:00
W.C.A. Wijngaards
0d2160ebd1
Travis test for OSX, ASAN results.
2021-03-22 16:36:46 +01:00
W.C.A. Wijngaards
6289806f41
- Fix memory leak reported by asan in rpz SOA record query name.
2021-03-22 15:29:34 +01:00
W.C.A. Wijngaards
574c1fa50a
- Fix compile error in listen_dnsport on Android.
2021-03-22 15:02:19 +01:00
W.C.A. Wijngaards
ddb8b25800
Merge branch 'master' of github.com:NLnetLabs/unbound
2021-03-22 14:53:16 +01:00
W.C.A. Wijngaards
e92270bae4
- Comment out nonworking OSX and IOS travis tests, vm fails to start.
2021-03-22 14:53:05 +01:00
Alex Band and GitHub
864ac4a6c6
Add docs badge
2021-03-22 14:35:30 +01:00
George Thessalonikefs
f9e3475776
- Fix unused-function warning when compiling with --enable-dnscrypt.
2021-03-22 14:31:58 +01:00
W.C.A. Wijngaards
a8e0de95b8
- rpz-triggers, remove unused variable warning.
2021-03-22 09:52:00 +01:00
W.C.A. Wijngaards
3dd804755b
- rpz-triggers, function documentation comments for iterator callback
...
functions.
2021-03-22 09:49:22 +01:00
W.C.A. Wijngaards
8e7ced72e5
- rpz-triggers, fix that after cname an nsdname or nsip trigger has cname
...
rrsets prepended by the iterator.
2021-03-22 09:42:04 +01:00
W.C.A. Wijngaards
81cd0d76c8
- rpz-triggers, call rpz callback only if there are auth zones configured.
2021-03-22 09:39:12 +01:00
W.C.A. Wijngaards
5b782d0a22
- iana portlist update.
2021-03-22 09:12:41 +01:00
W.C.A. Wijngaards
52953c86a2
Changelog note for #449 .
2021-03-22 08:57:01 +01:00
Wouter Wijngaards and GitHub
5afda55644
Merge pull request #449 from orbea/build
...
build: Add missing linker flags.
2021-03-22 08:56:43 +01:00
orbea
839cce1a7b
build: Add missing linker flags.
2021-03-21 16:28:58 -07:00
Sven and GitHub
0f804f1b56
Update unbound-control.8.in, fix rpz_disable typo
2021-03-20 14:28:10 +01:00
W.C.A. Wijngaards
57d4c3a8a4
- Fix for #447 : squelch connection refused tcp connection failures
...
from the log, unless verbosity is high.
2021-03-19 17:43:36 +01:00
W.C.A. Wijngaards
5a23c84951
- rpz triggers, fix query name on trigger after cname.
2021-03-19 17:36:09 +01:00
W.C.A. Wijngaards
7f39003c04
- rpz triggers, implement qname trigger after cname.
2021-03-19 17:31:44 +01:00
W.C.A. Wijngaards
0c07861404
- Fix #441 : Minimal NSEC range not accepted for top level domains.
2021-03-17 14:04:02 +01:00
W.C.A. Wijngaards
1a528238e2
- rpz triggers, use tld name for tld pointer in suffix removal.
2021-03-12 16:07:37 +01:00
W.C.A. Wijngaards
e7afe0b153
- rpz triggers, rpz_insert_rr nicer.
2021-03-12 14:35:34 +01:00
W.C.A. Wijngaards
2d4523d946
- rpz triggers, fix that nsdname suffix removal returns allocated memory
...
of the correct length and the correct dnamelen.
2021-03-12 14:32:10 +01:00
W.C.A. Wijngaards
5ea042c863
- rpz triggers, document statistics and fix comment about statistics.
2021-03-12 13:24:17 +01:00
W.C.A. Wijngaards
62674aaff8
- rpz triggers, fix to put braces around operator.
2021-03-12 13:13:17 +01:00
W.C.A. Wijngaards
263f974120
rpz triggers, man page fix end label
2021-03-12 10:23:20 +01:00
W.C.A. Wijngaards
da0bbcec48
- rpz triggers, man page explanation of rpz zone contents.
2021-03-12 10:21:48 +01:00
W.C.A. Wijngaards
4f892a37bd
- rpz triggers, spelling fix.
2021-03-12 10:21:29 +01:00
W.C.A. Wijngaards
c7bb118a88
- rpz trigger, fix tcp only action after merge
2021-03-12 09:18:38 +01:00
W.C.A. Wijngaards
7a5d82dd48
- rpz trigger, fix merge for unsupported ipaddr based trigger action.
2021-03-12 09:10:11 +01:00
W.C.A. Wijngaards
6f507eb036
Merge branch 'master' into rpz-triggers
2021-03-12 09:04:54 +01:00
W.C.A. Wijngaards
eb82c368e0
- man page contents, list new triggers and actions.
2021-03-12 08:54:00 +01:00
W.C.A. Wijngaards
0927fe6fc4
- Fix parse of LOC RR type for decimetres.
2021-03-11 13:22:05 +01:00
Willem Toorop
6c5e67a5a2
put tls-use-sni: on a line of its own
...
Sorry about this, this must have happened when I added the entries for padding queries and responses.
2021-03-10 15:14:45 +01:00
Kim B. Heino
534a1a42c9
unbound_munin: Munin categories are lower case
2021-03-09 12:20:55 +02:00
Kim B. Heino
69e215b630
unbound_munin: fix statistics after unbound restart / server reboot
...
"unbound-control stats" lists only query types that has been seen
after unbound restart. Munin requires list of all types ever seen,
or the generated graphs are mostly empty after restart.
Fix this by adding a state file with list of seen query types etc.
2021-03-09 12:03:51 +02:00
Kim B. Heino
e1caa764b8
unbound_munin_: use Munin's helper script to detect state file location
2021-03-09 11:09:45 +02:00
Kim B. Heino
a190fc436f
unbound_munin_: remove trailing white space
2021-03-09 11:03:54 +02:00
W.C.A. Wijngaards
269c168f7e
- Debug output for #411 and #439 : printout internal error and details.
2021-03-05 13:54:26 +01:00
W.C.A. Wijngaards
1bdae426ee
- Workaround for #439 : prevent loops in the reuse rbtree.
2021-03-05 13:46:36 +01:00
W.C.A. Wijngaards
6e4ecf7bc1
- Fix spurious errors about "Could not generate request: out of
...
memory". The mesh detect cycle routine no longer wrongly stops
the check when the calling mesh state is unique.
2021-03-04 14:13:44 +01:00
W.C.A. Wijngaards
9753f36463
- iana portlist update.
2021-03-04 10:14:32 +01:00
W.C.A. Wijngaards
6cd77933a3
- Fix: Resolve interface names on control-interface too.
2021-02-26 13:54:10 +01:00
George Thessalonikefs
826828673a
- Fix for #367 : rc_ports don't have ub_sock; skip cleaning up.
2021-02-26 13:13:55 +01:00
W.C.A. Wijngaards
a06d761f74
- Fix to allow rpz with wildcard that applies to all TLDs at once.
2021-02-25 16:54:32 +01:00
W.C.A. Wijngaards
6c464386c6
Changelog note for #365 , #367 and #368 .
...
- Merge PR #367 : DNSTAP log local address. With code from PR #365
and fixes #368 : dnstap does not log the DNS message ID for
FORWARDER_QUERY.
2021-02-25 12:00:28 +01:00
Wouter Wijngaards and GitHub
209dc32624
Merge pull request #367 from NLnetLabs/dnstap-log-local-addr
...
DNSTAP log local address
2021-02-25 11:58:36 +01:00
W.C.A. Wijngaards
04b4f515a7
Fix comment item.
2021-02-25 08:50:02 +01:00
W.C.A. Wijngaards
6cda81b7e4
Fix to use a simple pointer in the call of make_sock and make_sock_port.
2021-02-24 17:36:22 +01:00
W.C.A. Wijngaards
6612974d12
- spelling fix in header.
2021-02-24 16:56:57 +01:00
W.C.A. Wijngaards
a9e15f36d8
- Fix unit test for added ulimit checks.
2021-02-24 15:30:12 +01:00
W.C.A. Wijngaards
e6ffacc16a
- Fix function documentation.
2021-02-24 15:25:12 +01:00
W.C.A. Wijngaards
d3497f6bd1
- On startup of unbound it checks if rlimits on memory size look
...
sufficient for the configured cache size, and logs warning if not.
2021-02-24 14:14:33 +01:00
George Thessalonikefs
7f25bb4730
- ipsecmod: Better logging for detecting a cycle when attaching the
...
A/AAAA subquery.
2021-02-24 13:59:31 +01:00
George Thessalonikefs
d69132b921
- Fix #384 : (1) A minor request to improve the log (2) A minor bug in
...
one log message.
2021-02-24 12:00:11 +01:00
W.C.A. Wijngaards
39a557833d
- Fix for zonemd, do not reject insecure result from trust anchor
...
validation step in dnssec chain of trust.
2021-02-23 17:09:40 +01:00
W.C.A. Wijngaards
c802298fca
- Fix for zonemd, that domain-insecure zones work without dnssec.
2021-02-23 17:03:23 +01:00
W.C.A. Wijngaards
7ec290255d
Spelling fix.
2021-02-22 17:34:02 +01:00
W.C.A. Wijngaards
131d38f8f2
- Fix for zonemd, that nxdomain for the chain of trust is allowed
...
for island zones, it is treates as an insecure zone for verification.
2021-02-22 17:32:40 +01:00
W.C.A. Wijngaards
40fbc3fa8a
- Fix #431 : Squelch permission denied errors for tcp connect
2021-02-22 08:24:04 +01:00
W.C.A. Wijngaards
aa53b933cc
- rpz skip nsec3param records, and nicer log for unsupported actions.
2021-02-19 15:00:39 +01:00
W.C.A. Wijngaards
bc4bdbabea
- Fix #429 : rpz: url: with https: broken (regression in 1.13.1).
2021-02-19 14:42:02 +01:00
W.C.A. Wijngaards
f5339ec7e5
Merge branch 'master' into dnstap-log-local-addr
2021-02-18 13:12:09 +01:00
W.C.A. Wijngaards
3b24d845ff
- Fix doxygen and pydoc warnings.
2021-02-18 11:39:06 +01:00
Wouter Wijngaards and GitHub
bf0a91aa41
Merge pull request #317 from NLnetLabs/zonemd
...
ZONEMD Zone Verification
2021-02-18 11:17:04 +01:00
W.C.A. Wijngaards
d6e55a586c
Changelog note for #317
...
- Merge PR #317 : ZONEMD Zone Verification, with RFC 8976 support.
ZONEMD records are checked for zones loaded as auth-zone,
with DNSSEC if available. There is an added option
zonemd-permissive-mode that makes it log but not fail wrong zones.
With zonemd-reject-absence for an auth-zone the presence of a
zonemd can be mandated for specific zones.
2021-02-18 11:16:19 +01:00
W.C.A. Wijngaards
2d27203718
Merge branch 'master' into zonemd
2021-02-18 11:11:50 +01:00
Wouter Wijngaards and GitHub
490d4c26cf
Merge pull request #427 from vstinner/fopen
...
Fix #426 : Replace _Py_fopen() with fopen() in pythonmod.c
2021-02-16 11:58:56 +01:00
Victor Stinner
92d01d8265
Fix #426 : Replace _Py_fopen() with fopen() in pythonmod.c
...
The private _Py_fopen() function has been removed in Python 3.10.
Fix build on Python 3.10.
2021-02-16 11:27:52 +01:00
W.C.A. Wijngaards
5943c6f2e3
- Fix to make tests work with support indicators set for iterator.
2021-02-15 14:57:29 +01:00
W.C.A. Wijngaards
74e06cc4b3
- Fix #422 : IPv6 fallback issues when IPv6 is not properly
...
enabled/configured.
2021-02-15 14:40:48 +01:00
W.C.A. Wijngaards
c906401597
Merge branch 'master' into zonemd
2021-02-12 17:21:51 +01:00
W.C.A. Wijngaards
48e0d3356a
zonemd, review comments, spelling fix.
2021-02-12 10:48:38 +01:00
W.C.A. Wijngaards
b7ffa6618c
zonemd, review comments, fix no anchor lookup if none.
2021-02-12 09:16:22 +01:00
W.C.A. Wijngaards
8490508559
zonemd, review comments, stop null dnskey, skip dnssec for insecure islands.
2021-02-12 08:33:03 +01:00
W.C.A. Wijngaards
6965cef5e8
zonemd, review comments, check qname for zonemd dnskey lookup.
2021-02-11 17:33:10 +01:00
W.C.A. Wijngaards
e0f17c2443
zonemd, review comments, stop callback for a deleted zone.
2021-02-11 17:27:59 +01:00
W.C.A. Wijngaards
d3b6e1679c
zonemd, review comments, indentation.
2021-02-11 16:05:28 +01:00
W.C.A. Wijngaards
9a972aa5b2
zonemd, review comments, compare list size for rrsigtype add.
2021-02-10 16:38:39 +01:00
W.C.A. Wijngaards
12171e3124
zonemd, review comments, compare list size correctly.
2021-02-10 16:34:24 +01:00
W.C.A. Wijngaards
3d2692d6bc
zonemd, review comments, add comments to unit test, scope verbose output.
2021-02-10 15:30:23 +01:00
W.C.A. Wijngaards
ee0a65250a
Changelog note for PR #420
...
- Merge PR #420 from dyunwei: DOH not responsing with
"http2_query_read_done failure" logged.
2021-02-10 11:26:21 +01:00
Wouter Wijngaards and GitHub
d0c4ce2dc5
Merge pull request #420 from dyunwei/master
...
DOH not responsing with "http2_query_read_done failure" logged
2021-02-10 11:25:56 +01:00
yunwei and GitHub
5d5e4579de
Merge pull request #1 from NLnetLabs/master
...
synchronize the code.
2021-02-10 09:03:38 +08:00
W.C.A. Wijngaards
e0d426ebb1
- 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).
2021-02-09 10:38:55 +01:00
W.C.A. Wijngaards
450155bfa0
Changelog note for 1.13.1 release and main branch is 1.13.2 in development.
2021-02-09 09:16:23 +01:00
W.C.A. Wijngaards
d3b5f287b1
zonemd, fix unit test to allow nonvalidating zone without zonemd with
...
permissive mode for zonemd.
2021-02-04 16:18:02 +01:00
W.C.A. Wijngaards
b7a633fdc0
Merge branch 'master' into zonemd
2021-02-04 16:08:11 +01:00
W.C.A. Wijngaards
c365e3ab9a
- release 1.13.1rc2 tag on branch-1.13.1 with added changes of 2 feb.
2021-02-04 09:18:40 +01:00
Christopher Zimmermann
1d23e0c920
Merge remote-tracking branch 'upstream/master'
2021-02-03 13:19:19 +01:00
W.C.A. Wijngaards
4693929471
- Fix indentation of root anchor for use by windows install script.
2021-02-02 17:04:29 +01:00
W.C.A. Wijngaards
aa8dfe94d3
Fixup to add to LIBS.
2021-02-02 14:52:05 +01:00
W.C.A. Wijngaards
18840665bc
And autoconf.
2021-02-02 14:31:05 +01:00
W.C.A. Wijngaards
f9a1ac3f0b
- Fix windows dependency on libssp.dll because of default stack
...
protector in mingw.
2021-02-02 14:30:53 +01:00
W.C.A. Wijngaards
bc013b66ed
- Fix dynlibmod link on rhel8 for -ldl inclusion.
2021-02-02 13:18:18 +01:00
W.C.A. Wijngaards
a5a9672dc4
- branch-1.13.1 is created, with release-1.13.1rc1 tag.
2021-02-02 08:48:44 +01:00
George Thessalonikefs
21def26405
- Hide our time traveling abilities.
2021-02-01 17:02:19 +01:00
George Thessalonikefs
bb09b649f7
Merge branch 'master' of github.com:NLnetLabs/unbound
2021-02-01 16:59:19 +01:00
George Thessalonikefs
a8485d58ca
- Attempt to fix NULL keys in the reuse_tcp tree; relates to #411 .
2021-02-01 16:57:56 +01:00
W.C.A. Wijngaards
7262a249f1
- Fix for doxygen 1.8.20 compatibility.
2021-01-29 16:34:46 +01:00
W.C.A. Wijngaards
0ea86f6ccb
- Fix fwd ancil test post script when not supported.
2021-01-28 11:19:34 +01:00
W.C.A. Wijngaards
ad8104bb7c
- Fix empty clause warning in edns pass for padding.
2021-01-28 09:15:45 +01:00
W.C.A. Wijngaards
3a19ceaae6
- Fix to use correct type for label count in ipdnametoaddr rpz routine.
2021-01-28 09:14:19 +01:00
W.C.A. Wijngaards
cb55b5906a
- Fix empty clause warning in config_file nsid parse.
2021-01-28 09:11:46 +01:00
W.C.A. Wijngaards
9e6f8567de
- Fix to use correct type for label count in rpz routine.
2021-01-28 09:07:16 +01:00
W.C.A. Wijngaards
9d700e1f85
- Annotate that we ignore the return value of if_indextoname.
2021-01-28 09:04:00 +01:00
W.C.A. Wijngaards
8ad4c9f92a
- Fix compile of unbound-dnstap-socket without dnstap installed.
2021-01-26 17:29:22 +01:00
George Thessalonikefs
3124eb052d
- Ignore cache blacklisting when trying to reply with expired data from
...
cache. (#394 )
2021-01-26 15:32:50 +01:00
George Thessalonikefs
3b9c7e2826
Changelog entry for:
...
- Merge PR #355 from noloader: Make ICANN Update CA and DS Trust Anchor
static data.
2021-01-26 13:19:05 +01:00
George Thessalonikefs
08ca72fffe
Merge branch 'noloader-icann-ca-trust-ds'
2021-01-26 13:18:00 +01:00
George Thessalonikefs
5e92836760
Merge branch 'master' of git://github.com/noloader/unbound into noloader-icann-ca-trust-ds
2021-01-26 13:04:55 +01:00
George Thessalonikefs
2925fa46b0
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').
2021-01-26 13:01:33 +01:00
George Thessalonikefs
515df834a5
Merge branch 'rijswijk-orig_ttl'
2021-01-26 12:58:38 +01:00
George Thessalonikefs
83d9f9d268
Changelog entry for:
...
- Merge PR #408 from fobser: Prevent a few more yacc clashes.
2021-01-26 12:55:55 +01:00
George Thessalonikefs
c18f61a3c4
Merge branch 'fobser-yacc-clashes'
2021-01-26 12:53:55 +01:00
George Thessalonikefs
707eb6108d
Merge branch 'yacc-clashes' of https://github.com/fobser/unbound into fobser-yacc-clashes
2021-01-25 20:56:36 +01:00
George Thessalonikefs
b7acaaa9b8
- Update example.con.in and add a testcase for PR #275 .
2021-01-25 19:26:19 +01:00
George Thessalonikefs
f5b7169729
Merge branch 'orig_ttl' of https://github.com/rijswijk/unbound into rijswijk-orig_ttl
2021-01-25 17:39:24 +01:00
Willem Toorop and GitHub
a565add710
Merge pull request #211 from NLnetLabs/features/padding
...
Down- and upstream padding a la RFC7830 & RFC8467
2021-01-25 15:14:33 +01:00
Willem Toorop
ca2139bf3d
Some review nits from George
2021-01-25 15:13:54 +01:00
Willem Toorop
4694323b1c
Test some different padding sizes
2021-01-24 20:17:44 +01:00
Willem Toorop
efc8022ca4
padding.tdir text in single TXT RR
...
So the sentences are not re-ordered and the text makes sense!
2021-01-24 18:29:00 +01:00
Willem Toorop
54b84381f4
tdir test for padding option
2021-01-24 18:12:08 +01:00
Roland van Rijswijk-Deij
d253db04fd
Addressed review comment from @wcawijngaards
2021-01-22 18:56:09 +00:00
Roland van Rijswijk-Deij
c4c849d878
Rebase on master
2021-01-22 16:44:56 +00:00
Willem Toorop
fc49d145b5
Changelog entry for padding option
2021-01-22 15:14:10 +01:00
Willem Toorop
b7864b0c48
Merge branch 'master' into features/padding
2021-01-22 15:13:01 +01:00
Willem Toorop
2a3548e1ef
Move NSID Changelog entry to day of merge
2021-01-22 15:10:57 +01:00
W.C.A. Wijngaards
dedc1e2340
zonemd, unit test for capitalisation of owner and ns names.
2021-01-22 14:40:21 +01:00
W.C.A. Wijngaards
20ff80c5bb
zonemd, fix to detect duplicate zonemd scheme and algo RRs.
2021-01-22 14:36:53 +01:00
W.C.A. Wijngaards
3a6f1ecafa
Fixup if brackets.
2021-01-22 13:11:41 +01:00
George Thessalonikefs
63a02f3a87
Merge branch 'negative_soa_ttl'
2021-01-22 12:39:16 +01:00
George Thessalonikefs
dc23502abb
- Updated Changelog for PR #407 .
2021-01-22 12:33:56 +01:00
Willem Toorop
48ecf95108
Merge branch 'master' into features/padding
2021-01-22 10:29:50 +01:00
yunwei and GitHub
0215500261
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.
2021-01-20 14:12:51 +08:00
George Thessalonikefs
38e12229b8
- Feedback for PR #407 .
2021-01-19 20:09:34 +01:00
Willem Toorop and GitHub
9de4c398e1
Merge pull request #363 from NLnetLabs/features/nsid
...
Support for RFC5001: DNS Name Server Identifier (NSID) Option
2021-01-19 17:19:48 +01:00
Willem Toorop
68d51317fe
rpl tests for nsid
2021-01-19 17:18:26 +01:00
Florian Obser
68d92b7bbb
Prevent a few more yacc clashes.
2021-01-19 17:13:00 +01:00
Willem Toorop
7ba51fce24
example.conf.in entry for nsid
2021-01-19 16:18:36 +01:00
George Thessalonikefs
9056613a79
- Fix TTL of SOA record for negative answers (localzone data and
...
authzone) to be the minimum of the SOA TTL and the SOA.MINIMUM.
2021-01-19 15:55:55 +01:00
Willem Toorop
a152c7f907
Merge branch 'master' into features/nsid
2021-01-19 14:21:18 +01:00
W.C.A. Wijngaards
f273716b80
- Fix declaration before statement and signed comparison warning in
...
dns64.
2021-01-18 10:23:01 +01:00
W.C.A. Wijngaards
c125fe67bc
- Fix #404 : DNS query with small edns bufsize fail.
2021-01-18 08:29:52 +01:00
W.C.A. Wijngaards
e55f38fa83
Changelog entry for #402 .
...
- Merge #402 from fobser: Implement IPv4-Embedded addresses according
to RFC6052.
2021-01-15 08:15:54 +01:00
Wouter Wijngaards and GitHub
9a055c2df4
Merge pull request #402 from fobser/dns64
...
Implement IPv4-Embedded addresses according to RFC6052.
2021-01-15 08:14:58 +01:00
Florian Obser
285a7fdd21
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.
2021-01-14 19:15:30 +01:00
W.C.A. Wijngaards
4613d2bf04
- Fix for #93 : dynlibmodule import library is named libunbound.dll.a.
2021-01-14 16:50:17 +01:00
W.C.A. Wijngaards
5c760a13a4
- rpz trigger, unlock and remove node when rpz is disabled with action override.
2021-01-14 15:31:33 +01:00
W.C.A. Wijngaards
5e00d516fe
- fix that testdata/rpz_qname.rpl trigger tests succeed.
2021-01-14 15:31:17 +01:00
W.C.A. Wijngaards
15b46257e1
- fix that testdata/rpz_clientip.rpl trigger tests succeed.
2021-01-14 13:49:42 +01:00
W.C.A. Wijngaards
db7413acb6
Merge branch 'magenbluten-rpz' into rpz-triggers
2021-01-14 12:13:24 +01:00
W.C.A. Wijngaards
cdb60adcdc
Merge branch 'rpz' of https://github.com/magenbluten/unbound into magenbluten-rpz
...
Conflict fixed for rpz.disabled check added.
2021-01-14 12:11:29 +01:00
W.C.A. Wijngaards
3b82e690ef
- Fix for #93 : dynlibmodule link fix for Windows.
2021-01-13 14:56:25 +01:00
W.C.A. Wijngaards
5314f63343
Nicer changelog note for #399
...
- Merge #399 from xiangbao227: The lock of lruhash table should
unlocked after markdel entry.
2021-01-13 10:10:12 +01:00
W.C.A. Wijngaards
24fd871245
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.
2021-01-13 10:07:15 +01:00
Wouter Wijngaards and GitHub
7e46204bf7
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!
2021-01-13 10:05:50 +01:00
xiangbao227
93e5705259
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!
2021-01-13 10:33:41 +08:00
W.C.A. Wijngaards
4d1d8b4cdd
And man page documentation for them.
2021-01-12 13:40:45 +01:00
W.C.A. Wijngaards
d1b92a6ce2
- Fix so local zone types always_nodata and always_deny can be used
...
from the config file.
2021-01-12 13:39:07 +01:00
W.C.A. Wijngaards
3322f631e5
- Fix #397 : [Feature request] add new type always_null to local-zone
...
similar to always_nxdomain.
2021-01-12 13:35:05 +01:00
W.C.A. Wijngaards
64f508fa00
- Fix clang analysis warning.
2021-01-08 11:10:05 +01:00
W.C.A. Wijngaards
d9dd7bc36f
- Add comment documentation.
2021-01-08 11:01:06 +01:00
W.C.A. Wijngaards
1aa7168c6a
- For #391 : more double casts in python start time calculation.
2021-01-08 09:55:55 +01:00
W.C.A. Wijngaards
ee2545d939
- For #391 : fix indentation.
2021-01-08 09:53:52 +01:00
W.C.A. Wijngaards
3e03e2c26d
- For #391 : use struct timeval* start_time for callback information.
2021-01-08 09:47:46 +01:00
W.C.A. Wijngaards
260837e050
Changelog note for #391
...
- Merge PR #391 from fhriley: Add start_time to reply callbacks so
modules can compute the response time.
2021-01-08 09:36:37 +01:00
Wouter Wijngaards and GitHub
48724de155
Merge pull request #391 from fhriley/reply_cb_start_time
...
Add start_time to reply callbacks so modules can compute the response…
2021-01-08 09:35:07 +01:00
W.C.A. Wijngaards
2e4d64684e
- Fix #387 : client-subnet-always-forward seems to effectively bypass
...
any caching?
2021-01-06 13:42:00 +01:00
W.C.A. Wijngaards
752aea8407
Changelog note for #395
...
- Merge PR #395 from mptre: add missing null check.
2021-01-06 13:19:46 +01:00
Wouter Wijngaards and GitHub
d188096a01
Merge pull request #395 from mptre/log-addr-null
...
add missing null check
2021-01-06 13:19:30 +01:00
Anton Lindqvist
422213c171
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
2021-01-06 12:44:26 +01:00
W.C.A. Wijngaards
44075a06a5
- Fix #379 : zone loading over HTTP appears to have buffer issues.
2021-01-06 10:36:23 +01:00
W.C.A. Wijngaards
c357e0fea4
Changelog note for #375 and -h output.
...
- Merge PR #375 by fhriley: Add rpz_enable and rpz_disable commands
to unbound-control.
2021-01-05 13:43:53 +01:00
Wouter Wijngaards and GitHub
2c1ecb2231
Merge pull request #375 from fhriley/disable-rpz
...
Add rpz_enable and rpz_disable commands to unbound-control
2021-01-05 13:40:32 +01:00
W.C.A. Wijngaards
b788e29265
Fix acx_nlnetlabs.m4 for aclocal
2021-01-05 12:48:27 +01:00
W.C.A. Wijngaards
4c4ca2433c
- Fix #385 : autoconf 2.70 impacts unbound build
2021-01-05 10:27:13 +01:00
W.C.A. Wijngaards
64cccdb8d5
- iana portlist updated.
2021-01-04 14:18:24 +01:00
W.C.A. Wijngaards
4d51c6b86e
- For #376 : Fix that comm point event is not double removed or double
...
added to event map.
2021-01-04 14:05:50 +01:00
Frank Riley
e3abd772f7
Add start_time to reply callbacks so modules can compute the response time.
2021-01-01 15:44:21 -07:00
Frank Riley
28b45e1d87
Add missing callbacks to the python module
2021-01-01 10:19:32 -07:00
George Thessalonikefs
08968baec1
- Fix error cases when udp-connect is set and send() returns an error
...
(modified patch from Xin Li @delphij).
2020-12-16 17:11:41 +01:00
Frank Riley
42d764eeda
Add rpz_enable and rpz_disable commands to unbound-control.
2020-12-13 12:35:11 -07:00
W.C.A. Wijngaards
811cf6db0c
- Fix missing prototypes in the code.
2020-12-11 14:34:39 +01:00
W.C.A. Wijngaards
e1c678864d
Changelog note for #373
...
- Merge PR #373 from fobser: Warning: arithmetic on a pointer to void
is a GNU extension.
2020-12-11 14:07:42 +01:00
Wouter Wijngaards and GitHub
48c038391a
Merge pull request #373 from fobser/void-arithmetic
...
Warning: arithmetic on a pointer to void is a GNU extension.
2020-12-11 14:07:30 +01:00
W.C.A. Wijngaards
f09b058776
Changelog note for #335
...
- Merge PR #335 from fobser: Sprinkle in some static to prevent
missing prototype warnings.
2020-12-11 14:04:01 +01:00
Wouter Wijngaards and GitHub
29b5b25852
Merge pull request #335 from fobser/static
...
Sprinkle in some static to prevent missing prototype warnings.
2020-12-11 14:03:46 +01:00
Florian Obser
15e1b16da0
Warning: arithmetic on a pointer to void is a GNU extension.
2020-12-11 14:00:20 +01:00
W.C.A. Wijngaards
7077660932
- Fix to squelch permission denied and other errors from remote host,
...
they are logged at higher verbosity but not on low verbosity.
2020-12-11 10:30:54 +01:00
W.C.A. Wijngaards
a4fc32809c
- Fix #371 : unbound-control timeout when Unbound is not running.
2020-12-11 09:33:56 +01:00
W.C.A. Wijngaards
1f7d1a00ff
Fix for #368 : dnstap does not log the DNS message ID for FORWARDER_QUERY
2020-12-10 08:19:07 +01:00
W.C.A. Wijngaards
51e431ada1
doxygen comments fixup
2020-12-09 14:17:02 +01:00
W.C.A. Wijngaards
e25f80799a
Fix use after free.
2020-12-09 14:13:46 +01:00
W.C.A. Wijngaards
9ea58b5bc0
Fix for tcp outgoing to have local address logged
2020-12-09 14:02:00 +01:00
W.C.A. Wijngaards
af96ff157e
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.
2020-12-09 13:52:49 +01:00
W.C.A. Wijngaards
2baa748bc7
Use port_if pointer instead of wrong UDP local addr
2020-12-09 12:13:50 +01:00
W.C.A. Wijngaards
6ce577c4d9
Use stored TCP address for callback.
2020-12-09 12:07:16 +01:00
W.C.A. Wijngaards
6bf1293bcd
No need for mk_local_addr, can pass the sockaddr structure.
2020-12-09 11:56:35 +01:00
W.C.A. Wijngaards
9272725cdd
Use calloc and freeaddrinfo
2020-12-09 11:43:16 +01:00
W.C.A. Wijngaards
7167153db5
configure test for struct sockaddr_in6 sin6_len member
2020-12-09 11:41:07 +01:00
W.C.A. Wijngaards
275f18cc8e
Remove useless tcp_read_fd member from struct
2020-12-09 11:37:04 +01:00
W.C.A. Wijngaards
91bec32cdc
For TCP store picked outgoing interface and pass it.
2020-12-09 11:34:39 +01:00
W.C.A. Wijngaards
72d3b588ca
For the DoH create_http_handler, also pass the socket.
2020-12-09 11:29:57 +01:00
W.C.A. Wijngaards
159bf52384
Fix that it passes the actual UDP address instead of first
...
and pass NULL to make tcp log compile.
2020-12-09 11:27:33 +01:00
W.C.A. Wijngaards
1f1b93cce6
Fix test code function declaration.
2020-12-09 11:27:14 +01:00
W.C.A. Wijngaards
31cedb47cb
Remove unused whitespace, add missing header change, make it compile
2020-12-09 11:13:58 +01:00
W.C.A. Wijngaards
bdfa65c6ab
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.
2020-12-09 11:00:51 +01:00
W.C.A. Wijngaards
b49cc2e667
- iana portlist updated.
2020-12-03 10:27:19 +01:00
W.C.A. Wijngaards
e21d38dcb9
- make depend.
2020-12-03 10:26:37 +01:00
W.C.A. Wijngaards
37d751e135
Code repo continues for 1.13.1 in development.
2020-12-03 10:14:14 +01:00
W.C.A. Wijngaards
9eeb95a960
- Fix update, with write event check with streamreuse and fastopen.
2020-12-02 16:17:26 +01:00
W.C.A. Wijngaards
0502ab3026
- Fix for #283 : fix stream reuse and tcp fast open.
2020-12-02 15:42:24 +01:00
W.C.A. Wijngaards
e049fb303c
- Fix on windows to ignore connection failure on UDP, unless verbose.
2020-12-02 11:58:24 +01:00
W.C.A. Wijngaards
eb052e1543
- Fix unbound-dnstap-socket to not use log routine from interrupt
...
handler and not print so frequently when invoked in sequence.
2020-12-02 11:51:54 +01:00
Willem Toorop
fb150f9655
Merge branch 'master' into features/nsid
2020-12-02 11:19:32 +01:00
Willem Toorop
cbb4575a18
Document existence of option
2020-12-02 10:58:05 +01:00
W.C.A. Wijngaards
16c496bff6
- Fix #356 : deadlock when listening tcp.
2020-12-02 10:10:27 +01:00
W.C.A. Wijngaards
1ebf851bf0
- 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.
2020-12-02 09:51:26 +01:00
Willem Toorop
ddb751751c
NSID for Unbound
2020-12-01 15:19:17 +01:00
W.C.A. Wijngaards
5906811ff1
- Fix #358 : Squelch udp connect 'no route to host' errors on low
...
verbosity.
2020-12-01 09:09:13 +01:00
W.C.A. Wijngaards
174bb48ae8
Changelog entry for rc tags 1.13.0rc3 and rc4.
2020-11-30 12:52:04 +01:00
W.C.A. Wijngaards
e4bdc527ba
- 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.
2020-11-30 09:41:33 +01:00
W.C.A. Wijngaards
56a80fbbf4
- Fix contrib/metrics.awk for FreeBSD awk compatibility.
2020-11-27 15:08:31 +01:00
mb
78bcfdee64
rpz: fix local data lookup for nsdname
2020-11-27 12:22:56 +01:00
mb
842c9bfc41
rpz: cleanups
2020-11-27 10:52:01 +01:00
mb
8fce4ff27a
rpz: continue nsdname and minor cleanups
2020-11-27 10:46:54 +01:00
W.C.A. Wijngaards
b2894e23a9
- Fix compile warnings in rpz initialization.
2020-11-27 10:11:14 +01:00
mb
eba7e1a7c7
rpz: nsdname actions
2020-11-27 10:09:54 +01:00
W.C.A. Wijngaards
67d541d690
- Fix compile warnings for windows.
2020-11-27 10:01:55 +01:00
W.C.A. Wijngaards
8ffdbc2714
- Fix when use free buffer to initialize rbtree for stream reuse.
2020-11-27 09:57:08 +01:00
W.C.A. Wijngaards
11139c1b4e
- Fix compile warning for type cast in http2_submit_dns_response.
2020-11-27 09:08:48 +01:00
mb
714d546d1d
rpz: add testbound nsdname script (stub)
2020-11-26 12:26:23 +01:00
W.C.A. Wijngaards
3fb0493d3f
- Clear readagain upon decommission of pending tcp structure.
2020-11-26 12:23:18 +01:00
mb
caaa38f7c5
rpz: strip .rpz-nsdname suffix when inserting trigger
2020-11-26 12:16:33 +01:00
W.C.A. Wijngaards
67a0614db7
- Fix that after failed read, the readagain cannot activate.
2020-11-26 12:12:52 +01:00
mb
f78aa90ff1
rpz: nsdname stubs
2020-11-26 11:33:49 +01:00
W.C.A. Wijngaards
e9810e1154
- For #352 : contrib/metrics.awk for Prometheus style metrics output.
2020-11-26 11:00:48 +01:00
W.C.A. Wijngaards
4a8669612a
- Fix to omit UDP receive errors from log, if verbosity low.
...
These happen because of udp-connect.
2020-11-26 09:39:54 +01:00
W.C.A. Wijngaards
f6bf015f90
- tag for the 1.13.0rc2 release.
2020-11-25 14:03:32 +01:00
W.C.A. Wijngaards
e50152aa1f
- Fix readagain and writeagain callback functions for comm point
...
cleanup.
2020-11-25 13:46:28 +01:00
W.C.A. Wijngaards
d05c259458
- Attempt fix for libevent state in tcp reuse cases after a packet
...
is written.
2020-11-25 12:12:35 +01:00
W.C.A. Wijngaards
a5167e495f
- Fix memory leak for edns client tag opcode config element.
2020-11-25 12:04:38 +01:00
W.C.A. Wijngaards
3c2b1fa801
- Remove debug commands from reuse tests.
2020-11-25 12:02:51 +01:00
mb
d6a69d77e2
rpz: minor cleanups
2020-11-25 11:45:33 +01:00
W.C.A. Wijngaards
4b644b7965
- Better fix for reuse tree comparison for is-tls sockets. Where
...
the tree key identity is preserved after cleanup of the TLS state.
2020-11-25 10:22:11 +01:00
W.C.A. Wijngaards
15e8f5c6d4
- Fix udp-connect on FreeBSD, do send calls on connected UDP socket.
2020-11-25 09:55:01 +01:00
W.C.A. Wijngaards
5924a591be
- with udp-connect ignore connection refused with UDP timeouts.
2020-11-25 09:41:06 +01:00
Jeffrey Walton
328e8d2294
Use size_t in place of int for length
2020-11-24 19:33:12 -05:00
Jeffrey Walton
f44118408b
Make ICANN Update CA and DS Trust Key static data
2020-11-24 19:33:12 -05:00
W.C.A. Wijngaards
4e8a1ede3b
- Fix padding of struct regional for 32bit systems.
2020-11-24 17:06:54 +01:00
W.C.A. Wijngaards
978d3840dc
- Fix crash when TLS connection is closed prematurely, when
...
reuse tree comparison is not properly identical to insertion.
2020-11-24 16:58:51 +01:00
mb
7acf1a5088
rpz: fix forged response
2020-11-24 16:29:15 +01:00
W.C.A. Wijngaards
6a324a37ca
- tag for the 1.13.0rc1 release.
2020-11-24 15:01:44 +01:00
W.C.A. Wijngaards
e78957706c
- Fix one port unit test for udp-connect.
2020-11-24 14:16:06 +01:00
W.C.A. Wijngaards
a69304011a
- iana portlist updated.
2020-11-24 13:17:15 +01:00
mb
afc73e28d8
rpz: fix forged messages
2020-11-24 12:02:59 +01:00
mb
b178cf34b6
rpz: update ext_state in the iterator
2020-11-24 11:33:16 +01:00
mb
126e114d6f
rpz: forge responses
2020-11-24 11:25:01 +01:00
mb
354c19f6ac
rpz: apply trigger at query time not response time
2020-11-24 09:33:08 +01:00
Wouter Wijngaards
090a4e417d
- set version of main branch to 1.13.0 for upcoming release.
2020-11-24 08:28:08 +01:00
Wouter Wijngaards
de4e6ad99d
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.
2020-11-24 08:23:24 +01:00
Wouter Wijngaards and GitHub
a2411361b6
Merge pull request #283 from NLnetLabs/stream-reuse
...
Stream reuse
2020-11-24 08:21:07 +01:00
Wouter Wijngaards
ead06af086
Merge branch 'master' into stream-reuse
2020-11-24 08:20:07 +01:00
George Thessalonikefs
f04f7fdf17
Changelog note for #313 :
...
- Merge PR #313 from Ralph Dolmans: Replace edns-client-tag with
edns-client-string option.
2020-11-23 17:37:46 +01:00
gthess and GitHub
db945f018b
Merge pull request #313 from NLnetLabs/edns-string
...
Replace edns-client-tag with edns-client-string option
2020-11-23 17:34:42 +01:00
George Thessalonikefs
b0247b6e93
Merge branch 'master' into edns-string
2020-11-23 16:58:30 +01:00
George Thessalonikefs
201b949689
Merge branch 'master' into edns-string
2020-11-23 16:35:58 +01:00
George Thessalonikefs
2d184f7505
- Update manpage.
2020-11-23 16:32:00 +01:00
W.C.A. Wijngaards
62152e0493
Fix writepid for retvalue 0.
2020-11-23 14:17:58 +01:00
W.C.A. Wijngaards
19f8f4d9f9
Further fix for CVE-2020-28935, so the chown is omitted when the pidfile
...
fails due to a symlink.
2020-11-23 13:48:04 +01:00
W.C.A. Wijngaards
ad38783297
- Fix for #303 CVE-2020-28935 : Fix that symlink does not interfere
...
with chown of pidfile.
2020-11-23 13:42:11 +01:00
W.C.A. Wijngaards
9cc8aa1ddf
- Option to toggle udp-connect, default is enabled.
2020-11-23 11:06:53 +01:00
W.C.A. Wijngaards
6b97cb1dd1
stream reuse, up connection reuse time to 60 seconds.
2020-11-23 10:36:22 +01:00
W.C.A. Wijngaards
cca128b871
+ - Fix #347 : IP_DONTFRAG broken on Apple xcode 12.2.
2020-11-23 09:56:01 +01:00
W.C.A. Wijngaards
9423b5b8b2
Merge branch 'master' into stream-reuse
2020-11-23 09:49:26 +01:00
W.C.A. Wijngaards
dde9fade26
stream reuse, fix review comments.
2020-11-23 09:46:26 +01:00
W.C.A. Wijngaards
4445d9c5aa
stream reuse, fix review comments.
2020-11-23 09:44:56 +01:00
W.C.A. Wijngaards
8143ce6967
stream reuse, review comments.
2020-11-23 09:40:15 +01:00
W.C.A. Wijngaards
6f4c79ab95
stream reuse, fix review comments.
2020-11-23 09:37:26 +01:00
W.C.A. Wijngaards
fd94b0bc9b
stream reuse, rename ssl_reuse test to tls_reuse test.
2020-11-23 09:35:58 +01:00
W.C.A. Wijngaards
6ded710013
stream reuse, renamed ssl_reuse.tdir to tls_reuse.tdir.
2020-11-23 09:33:28 +01:00
W.C.A. Wijngaards
d83b1979c4
stream reuse, debug output with verbose level instead of number.
2020-11-23 09:29:26 +01:00
W.C.A. Wijngaards
097e530c49
Changelog notes for #350 and #351
...
- Merge #351 from dvzrv: Add AF_NETLINK to set of allowed socket
address families.
- Fix #350 : with the AF_NETLINK permission, to fix 1.12.0 error:
failed to list interfaces: getifaddrs: Address family not
supported by protocol.
2020-11-23 08:58:41 +01:00
Wouter Wijngaards and GitHub
dbd5ea4f37
Merge pull request #351 from dvzrv/issues/350
...
Add AF_NETLINK to set of allowed socket address families
2020-11-23 08:57:23 +01:00
David Runge
c48f01445e
Add AF_NETLINK to set of allowed socket address families
...
contrib/unbound{,_portable}.service.in:
With the changes introduced in f6a527c25a
it is now necessary to also allow access to the AF_NETLINK socket
address family to be able to get information from interfaces.
Without the AF_NETLINK address family the systemd service errors with:
```
error: failed to list interfaces: getifaddrs: Address family not
supported by protocol
```
Fixes #350
2020-11-21 14:10:39 +01:00
mb
f7fb338c95
rpz: continue work on the nsip trigger
2020-11-16 12:42:23 +01:00
mb
07d937f508
rpz: more nsip
2020-11-16 09:49:06 +01:00
mb
e27b160acd
rpz: stubs for nsip triggers
2020-11-13 14:36:00 +01:00
W.C.A. Wijngaards
b891fe113c
- Retry for interfaces with unused ports if possible.
2020-11-12 13:36:37 +01:00
W.C.A. Wijngaards
48b40b305a
Changelog note.
2020-11-12 12:28:10 +01:00
W.C.A. Wijngaards
26aa550bd2
- Fix to connect() to UDP destinations, default turned on,
...
this lowers vulnerability to ICMP side channels.
2020-11-12 12:27:41 +01:00
Ralph Dolmans
a4342ceb3a
Merge branch 'master' into edns-string
2020-11-11 11:38:06 +01:00
Ralph Dolmans
946ed23f73
Merge branch 'master' into edns-string
2020-11-11 11:37:32 +01:00
mb
9149a6d1e4
RPZ: stub nsip testbound scenario
2020-11-11 11:21:54 +01:00
W.C.A. Wijngaards
5385e2e094
- Fix #343 : Fail to build --with-libnghttp2 with error: 'SSIZE_MAX'
...
undeclared.
2020-11-10 15:31:20 +01:00
W.C.A. Wijngaards
7977e1c4cb
- Fix memory leak after fix for possible memory leak failure.
2020-11-10 13:51:56 +01:00
W.C.A. Wijngaards
72d7587138
Merge branch 'master' into zonemd
2020-11-10 08:10:27 +01:00
W.C.A. Wijngaards
3926035f30
Changelog note for #341 and layout change.
...
- Fix #341 : fixing a possible memory leak.
2020-11-10 08:07:28 +01:00
Wouter Wijngaards and GitHub
140ab1f701
Merge pull request #341 from ihsinme/patch-1
...
fixing a possible memory leak.
2020-11-10 08:06:46 +01:00
ihsinme and GitHub
18226f1c17
fixing a possible memory leak.
2020-11-09 18:41:22 +03:00
mb
667863770f
RPZ: refactor clientip to handle multiple rrsets
2020-11-09 15:59:00 +01:00
mb
9b4bbb49b4
RPZ: one more testcase
2020-11-09 12:08:06 +01:00
mb
731afdc924
RPZ: refactor clientip trigger
2020-11-06 13:42:48 +01:00
mb
80205ba133
RPZ: towards client ip trigger and local data action
2020-11-06 12:54:32 +01:00
mb
bd0c910830
RPZ: provide rpz-client-ip trigger and actions
2020-11-04 17:00:28 +01:00
mb
fc4de71fe0
RPZ: fix for c89
2020-11-03 15:45:26 +01:00
mb
1ab84a1d27
RPZ: testbound: add qname and respip tcp-only examples
2020-11-03 11:03:29 +01:00
mb
fb8c5a764d
RPZ: provide tcp-only triggers for respip actions
2020-11-03 11:02:36 +01:00
mb
dd70c2ef9a
RPZ: implement stubs for rpz-tcp-only actions.
2020-11-02 14:21:57 +01:00
W.C.A. Wijngaards
e573f55dcd
zonemd, unit tests for insecure delegation zones.
2020-10-29 14:59:11 +01:00
W.C.A. Wijngaards
cd3d54b504
zonemd, unit test for failed zonemd hash after axfr with chain of trust,
...
zone is written after axfr, but before check. But zone is then rejected
after check completes..
2020-10-29 10:13:01 +01:00
W.C.A. Wijngaards
2757e0ff51
zonemd, unit test for failed zonemd hash after axfr, zone is rejected and not
...
written to file.
2020-10-29 10:00:59 +01:00
W.C.A. Wijngaards
43e32eae33
zonemd, unit test for zonemd from axfr with trust anchor.
2020-10-29 09:55:03 +01:00
W.C.A. Wijngaards
3ab188ea21
zonemd, please doxygen
...
zonemd, fix clang analyzer warning about null nsec3 salt pointer access.
2020-10-29 08:40:22 +01:00
W.C.A. Wijngaards
7ebb890a4a
zonemd, unit test for zonemd from file and trust anchor directly for DNSSEC.
2020-10-28 15:10:14 +01:00
Florian Obser
9fb65e2b9e
Sprinkle in some static to prevent missing prototype warnings.
2020-10-28 14:15:23 +01:00
W.C.A. Wijngaards
639a773c39
zonemd, unit test for chain of trust from recursion to check ZONEMD.
2020-10-27 13:44:44 +01:00
W.C.A. Wijngaards
d104727c91
- In man page note that tls-cert-bundle is read before permission
...
drop and chroot.
2020-10-27 09:00:26 +01:00
W.C.A. Wijngaards
94ac072f9b
zonemd, zonemd-reject-absence config for an auth-zone rejects the zone if
...
no ZONEMD is present.
2020-10-26 15:37:43 +01:00
W.C.A. Wijngaards
8e53f0b14f
zonemd, unit test with correct title.
2020-10-23 14:40:00 +02:00
W.C.A. Wijngaards
2b9569c7fe
zonemd, fix config_get_option for zonemd-permissive-mode and unit test
...
for zonemd-permissive-mode.
2020-10-23 14:38:57 +02:00
W.C.A. Wijngaards
165b048e07
zonemd, zonemd-permissive-mode: yes logs the failure but does not block
...
the zone after a ZONEMD verification failure.
2020-10-23 14:33:04 +02:00
W.C.A. Wijngaards
caee84d92e
zonemd, unit test for unbound-control auth_zone_reload with zonemd.
2020-10-23 12:10:30 +02:00
W.C.A. Wijngaards
89087ae294
zonemd, unbound-control auth_zone_reload errors when ZONEMD fails.
2020-10-23 11:47:00 +02:00
W.C.A. Wijngaards
c72ca35f08
unbound-control auth_zone_reload sets zone to nonexpired and
...
also updates the xfr soa values from the new zonefile contents.
2020-10-23 11:44:28 +02:00
W.C.A. Wijngaards
fb5f3f076d
zonemd, zonemds are checked when a zone is auth_zone_reload from file,
...
or reload with unbound-control.
2020-10-23 11:20:08 +02:00
W.C.A. Wijngaards
40e713e121
zonemd, unlock xfr lock for auth zone verify of zonemd for mesh new callback.
2020-10-23 10:14:21 +02:00
W.C.A. Wijngaards
1cb7d5a194
zonemd, unit test for auth zone zonemd axfr
...
zonemd, zonemds are checked after zone transfer.
2020-10-23 09:12:51 +02:00
W.C.A. Wijngaards
f854f4e867
zonemd, test for server start with zonemd from file.
2020-10-22 16:02:37 +02:00
W.C.A. Wijngaards
54d8473ec6
zonemd, pass module stack as function argument.
2020-10-22 13:31:37 +02:00
W.C.A. Wijngaards
6ea1ae17f7
zonemd, fix to harden against failure in pickup zonemd lookups.
2020-10-22 13:20:00 +02:00
W.C.A. Wijngaards
e09873e0c8
zonemd, zonemds are checked at start
2020-10-22 12:10:46 +02:00
W.C.A. Wijngaards
5d7e001c63
Merge branch 'master' into zonemd
2020-10-22 09:49:27 +02:00
W.C.A. Wijngaards
4990dae87d
- Fix that minimal-responses does not remove addresses from a priming
...
query response.
2020-10-22 09:26:27 +02:00
W.C.A. Wijngaards
ca39cfd6ae
- Fix #333 : Unbound Segmentation Fault w/ log_info Functions From
...
Python Mod.
2020-10-22 08:47:40 +02:00
George Thessalonikefs
0272889c44
- Fix #320 : potential memory corruption due to size miscomputation upton
...
custom region alloc init.
2020-10-21 17:44:04 +02:00
George Thessalonikefs
7c39cbc0a9
- Fix #327 : net/if.h check fails on some darwin versions; contribution by
...
Joshua Root.
2020-10-21 16:45:18 +02:00
W.C.A. Wijngaards
4ba45c34ed
zonemd, result of dnssec failures includes rrset and dnssec bogus reason.
2020-10-21 16:18:28 +02:00
W.C.A. Wijngaards
92eb12d26b
zonemd, unit test remove debug.
2020-10-21 15:59:29 +02:00
W.C.A. Wijngaards
7ac4eb229d
zonemd, unit tests for verifying DNSKEY with trust anchor failures.
2020-10-21 15:58:47 +02:00
W.C.A. Wijngaards
3c86bf51de
zonemd, unit tests for wrong NSEC RRSIGs.
2020-10-21 15:04:06 +02:00
W.C.A. Wijngaards
58d91646f1
zonemd, unit tests for DNSSEC type bitmaps.
2020-10-21 14:23:44 +02:00
W.C.A. Wijngaards
e1d119af7e
zonemd, unit tests for wrong DNSSEC signatures.
2020-10-21 13:17:42 +02:00
W.C.A. Wijngaards
c32c9a0ae2
zonemd, zonemd unit test in own file.
2020-10-21 12:04:53 +02:00
W.C.A. Wijngaards
1245457967
zonemd, fix that zonemd absence in unsigned zone does not invalidate zone.
2020-10-21 11:56:41 +02:00
W.C.A. Wijngaards
e8d29f973d
zonemd, fix that dnssec denial does not invalidate zone.
...
zonemd, unit test of nsec and nsec3 denial.
2020-10-21 11:51:30 +02:00
W.C.A. Wijngaards
2ebc4eae2f
Merge branch 'master' into zonemd
2020-10-21 10:59:32 +02:00
W.C.A. Wijngaards
ee3f26bb3d
Add verbosity to debug occasional missing q1-10.example.net, from timer.
2020-10-21 10:56:51 +02:00
W.C.A. Wijngaards
1e9381f76c
Merge branch 'master' into stream-reuse
2020-10-21 10:36:27 +02:00
W.C.A. Wijngaards
725d4822e7
Changelog note for #228
...
- Merge PR #228 : infra-keep-probing option to probe hosts that are
down. Add infra-keep-probing: yes option. Hosts that are down are
probed more frequently.
With the option turned on, it probes about every 120 seconds,
eventually after exponential backoff, and that keeps that way. If
traffic keeps up for the domain. It probes with one at a time, eg.
one query is allowed to probe, other queries within that 120 second
interval are turned away.
2020-10-21 10:35:47 +02:00
Wouter Wijngaards and GitHub
5ec15bc333
Merge pull request #228 from NLnetLabs/infra-keep-probing
...
infra-keep-probing option to probe hosts that are down
2020-10-21 10:34:40 +02:00
W.C.A. Wijngaards
37354c8927
Merge branch 'master' into infra-keep-probing
2020-10-21 10:13:10 +02:00
W.C.A. Wijngaards
78e9b8949c
Merge branch 'master' into stream-reuse
...
Resolved comm_point_start_listening conflict for socket close.
2020-10-21 09:54:03 +02:00
W.C.A. Wijngaards
2eb39abbaf
- Fix that reuse_tcp_close_oldest sets item_on_lru_list to 0.
...
- Fix to add assertions to reuse_tcp_select_id and unit test.
- Fix that if no tcp buffers then pending tcp query stops.
2020-10-21 09:49:55 +02:00
W.C.A. Wijngaards
f675077502
zonemd, unit test improved debug output and unit test dnssec verify zonemd
2020-10-20 16:49:49 +02:00
W.C.A. Wijngaards
89618ff9ba
zonemd, unit test more zones.
2020-10-19 16:26:22 +02:00
George Thessalonikefs
6fdc822aa0
- Changelog entry for PR #324 : Add modern X.509v3 extensions to
...
unbound-control TLS certificates, by James Renken.
2020-10-19 15:10:17 +02:00
George Thessalonikefs
736a298eac
Merge branch 'master' of github.com:NLnetLabs/unbound
2020-10-19 15:04:15 +02:00
George Thessalonikefs
2527ad1d46
Merge branch 'jprenken-master'; fixes #316 .
2020-10-19 15:01:15 +02:00
George Thessalonikefs
50178d764a
- Fix for attaching the X509v3 extensions to the client certificate.
2020-10-19 15:00:30 +02:00
W.C.A. Wijngaards
61922ce9da
- Clean the fix for out of order TCP processing limits on number
...
of queries. It was tested to work.
2020-10-19 13:39:02 +02:00
W.C.A. Wijngaards
531ce9e85c
Fixup for clear of tcp handler structure.
2020-10-19 13:36:53 +02:00
W.C.A. Wijngaards
68c57314c4
- Fix to set the tcp handler event toggle flag back to default when
...
the handler structure is reused.
2020-10-19 12:55:43 +02:00
George Thessalonikefs
59d15ac9cf
Merge branch 'master' of https://github.com/jprenken/unbound into jprenken-master
2020-10-19 12:18:55 +02:00
W.C.A. Wijngaards
4a14ef8c3a
Merge branch 'master' into zonemd
2020-10-19 11:33:32 +02:00
Ralph Dolmans
8861fb17fa
Changelog entry for local-zone out of chunk regional allocation
2020-10-19 11:22:38 +02:00
Ralph Dolmans and GitHub
a433a25ba3
Merge pull request #329 from NLnetLabs/nochunk-region
...
local-zone regional allocations outside of chunk
2020-10-19 11:21:30 +02:00
W.C.A. Wijngaards
ab9d732796
- Log ip address when http session recv fails, eg. due to tls fail.
2020-10-19 11:06:55 +02:00
W.C.A. Wijngaards
ca6e8ec6c2
Unit test for doh downstream notls.
2020-10-19 10:59:41 +02:00
W.C.A. Wijngaards
5cd2d10fe5
- Fix dnstap test to wait for log timer to see if queries are logged.
2020-10-19 10:43:35 +02:00
W.C.A. Wijngaards
c8390e390d
- Fix python documentation warning on functions.rst inplace_cb_reply.
2020-10-19 10:41:03 +02:00
W.C.A. Wijngaards
a3e2bfbb0c
- Fix #330 : [Feature request] Add unencrypted DNS over HTTPS support.
...
This adds the option http-notls-downstream: yesno to change that,
and the dohclient test code has the -n option.
2020-10-19 10:24:03 +02:00
W.C.A. Wijngaards
ba074c8bef
- Fix memory leak of https port string when reading config.
2020-10-19 10:14:40 +02:00
W.C.A. Wijngaards
46607e7c0c
- Fix that http settings have colon in set_option, for
...
http-endpoint, http-max-streams, http-query-buffer-size,
http-response-buffer-size, and http-nodelay.
2020-10-19 09:06:33 +02:00
W.C.A. Wijngaards
f81d0ac047
- Fix that the out of order TCP processing does not limit the
...
number of outstanding queries over a connection.
2020-10-16 17:26:58 +02:00
Ralph Dolmans
1d11f470df
- local-zone regional allocations outside of chunk to prevent large
...
chunk per small local-zone allocations.
2020-10-16 17:12:08 +02:00
W.C.A. Wijngaards
a525284421
zonemd, remove debug.
2020-10-16 16:15:35 +02:00
W.C.A. Wijngaards
ceb0214b7d
zonemd, unit tests for dnssec verify
2020-10-16 16:09:13 +02:00
George Thessalonikefs
d55084ea9e
- Fix that if there are reply callbacks for the given rcode, those
...
are called per reply and a new message created if that was modified
by the call.
- Pass the comm_reply information to the inplace_cb_reply* functions
during the mesh state and update the documentation on that.
2020-10-15 17:17:59 +02:00
W.C.A. Wijngaards
0a238280b9
zonemd, unit test for dnssec verify, implement test.
2020-10-15 12:27:22 +02:00
W.C.A. Wijngaards
e6aab488c8
zonemd, fix anchor unlock.
...
zonemd, unit test for dnssec verify function test harness.
2020-10-15 09:17:57 +02:00
W.C.A. Wijngaards
cf6e1b6ea9
Merge branch 'master' into zonemd
2020-10-15 08:34:32 +02:00
W.C.A. Wijngaards
edc8f363a7
Changelog note for #326 and changes:
...
- DoH content length, simplify code, remove declaration after
statement and fix cast warning.
2020-10-15 08:22:42 +02:00
Wouter Wijngaards and GitHub
7a7d7caf6a
Merge pull request #326 from netblue30/master
...
DoH: implement content-length header field
2020-10-15 08:19:37 +02:00
netblue30
b1a50720e5
DoH: implement content-lenght header field
2020-10-14 11:32:14 -04:00
W.C.A. Wijngaards
e35b1dfbd5
zonemd, nsec3 rr iterator is type int, like other nsec3 code.
2020-10-14 14:52:32 +02:00
W.C.A. Wijngaards
42d7cdb7d5
zonemd, region freed, and qstate not used when not in a query, and nsec
...
and nsec3 bitmap checks.
2020-10-14 14:46:59 +02:00
W.C.A. Wijngaards
890c8deb0f
- Free up auth zone parse region after use for lookup of host
2020-10-14 14:20:16 +02:00
W.C.A. Wijngaards
f0c19be06f
- Fix that if there are on reply callbacks, those are called per
...
reply and a new message created if that was modified by the call.
2020-10-14 14:03:04 +02:00
W.C.A. Wijngaards
a9e13f3590
- Fix that if there are on reply callbacks, those are called per
...
reply and a new message created if that was modified by the call.
2020-10-14 14:01:47 +02:00
W.C.A. Wijngaards
22e82765f9
zonemd, dnssec verification routines.
2020-10-14 13:34:50 +02:00
W.C.A. Wijngaards
72032a95bb
- Fix for python reply callback to see mesh state reply_list member,
...
it only removes it briefly for the commpoint call so that it does
not drop it and attempt to modify the reply list during reply.
2020-10-14 10:06:28 +02:00
W.C.A. Wijngaards
79a8db1ee1
- Fix #323 : unbound testsuite fails on mock build in systemd-nspawn
...
if systemd support is build.
2020-10-13 08:28:59 +02:00
James Renken
e6c560e5c9
Add modern X.509v3 extensions to unbound-control TLS certificates
2020-10-12 22:06:20 -07:00
W.C.A. Wijngaards
efc01c928c
Formatting.
2020-10-09 16:47:49 +02:00
W.C.A. Wijngaards
754e6f1349
zonemd, routine to check zonemd hash if present
2020-10-09 16:46:20 +02:00
W.C.A. Wijngaards
0af62aba53
zonemd, defines for scheme and algorithm.
2020-10-09 15:14:27 +02:00
W.C.A. Wijngaards
c49a4e60fe
zonemd, doxygen comment fix.
2020-10-09 15:05:46 +02:00
W.C.A. Wijngaards
1dc4d7a9f6
zonemd, harden result length for unsupported algo in nettle digest final.
2020-10-09 14:40:26 +02:00
W.C.A. Wijngaards
5e477e8a31
Merge branch 'master' into zonemd
2020-10-09 14:32:24 +02:00
W.C.A. Wijngaards
fca884a7e6
- Fix warning in libnss compile, nss_buf2dsa is not used without DSA.
2020-10-09 14:31:55 +02:00
W.C.A. Wijngaards
6cb0c4c61d
zonemd, libnss implementation and libnettle implementation. Both succeed
...
on unit tests.
2020-10-09 14:30:56 +02:00
W.C.A. Wijngaards
b20fefb858
zonemd, unit test, reorder test order
2020-10-09 14:03:13 +02:00
W.C.A. Wijngaards
6a8ed4bb15
zonemd, unit test, tests the check routine and reason for failure.
2020-10-09 13:59:44 +02:00
W.C.A. Wijngaards
2f7908b669
zonemd, unit test, note example origins.
2020-10-09 12:20:50 +02:00
W.C.A. Wijngaards
cdf6544b46
zonemd, unit test, succeeds at verifying examples of zonemd draft-12.
2020-10-09 12:18:25 +02:00
W.C.A. Wijngaards
eb4932a463
zonemd, digest code calls, secalgo openssl sha384 and sha512.
2020-10-09 11:19:31 +02:00
W.C.A. Wijngaards
d7e4525829
Merge branch 'master' into zonemd
2020-10-09 09:01:52 +02:00
W.C.A. Wijngaards
795a33c6e5
- Fix dnstap socket and the chroot not applied properly to the dnstap
...
socket path.
2020-10-09 08:57:23 +02:00
W.C.A. Wijngaards
a87f05be7b
- Fix #319 : potential memory leak on config failure, in rpz config.
2020-10-08 09:11:54 +02:00
W.C.A. Wijngaards
ca497815b8
- Tag for 1.12.0 release.
...
- Current repo is version 1.12.1 in development.
2020-10-08 09:09:55 +02:00
W.C.A. Wijngaards
3163a93121
zonemd, loop over zone and canonicalize data, test call in unit test.
2020-10-06 17:07:24 +02:00
W.C.A. Wijngaards
ca31ea7dc8
test rr type parse inputs and print outputs.
2020-10-06 13:38:21 +02:00
W.C.A. Wijngaards
db6030dd39
Create branch zonemd
...
Add RR Type ZONEMD to RR definitions.
2020-10-06 10:48:24 +02:00
W.C.A. Wijngaards
52b04806f4
- Current repo is version 1.12.0 for release. Tag for 1.12.0rc1.
2020-10-01 09:11:22 +02:00
Ralph Dolmans
eb799026ff
Replace edns-client-tag with edns-client-string option
2020-09-30 23:17:53 +02:00
W.C.A. Wijngaards
ea7c5ac392
- Fix double loopexit for unbound-dnstap-socket after sigterm.
2020-09-30 14:55:35 +02:00
W.C.A. Wijngaards
46b3440aea
- Fix memory leak of edns tags at libunbound context delete.
2020-09-30 11:43:46 +02:00
W.C.A. Wijngaards
a453ab629c
- Easier kill of unbound-dnstap-socket tool in test.
2020-09-30 11:38:11 +02:00
W.C.A. Wijngaards
bbba236a36
- Fix stream_ssl, ssl_req_order and ssl_req_timeout tests for
...
alloc check debug output.
2020-09-30 11:29:57 +02:00
W.C.A. Wijngaards
ddb82af523
- Add dohclient test executable to gitignore.
2020-09-30 11:21:24 +02:00
W.C.A. Wijngaards
a7ae0ade66
- Fix doh tests when not compiled in.
2020-09-30 11:20:33 +02:00
Ralph Dolmans
b6d04f500b
- DNS Flag Day 2020: change edns-buffer-size default to 1232.
2020-09-29 14:07:38 +02:00
W.C.A. Wijngaards
83200a3431
- Fix unit test for dnstap changes, so that it waits for the timer.
2020-09-29 13:29:24 +02:00
Ralph Dolmans
eb8ec9c18b
- Use inclusive language in configuration
2020-09-23 14:35:51 +02:00
W.C.A. Wijngaards
3527171397
- Fix to ifdef fptr wlist item for dnstap.
2020-09-23 14:30:31 +02:00
W.C.A. Wijngaards
ed6e3c0c66
- Fix #305 : only wake up thread when threshold reached.
2020-09-23 13:20:25 +02:00
Ralph Dolmans
7da369e85a
- Add edns-client-tag-opcode option
2020-09-23 12:09:48 +02:00
W.C.A. Wijngaards
e41daa954e
Merge branch 'master' of github.com:NLnetLabs/unbound
2020-09-23 11:14:50 +02:00
W.C.A. Wijngaards
48a56751e9
- Fix #305 : dnstap logging significantly affects unbound performance
...
(regression in 1.11).
2020-09-23 11:13:52 +02:00
Ralph Dolmans
9e9810ab8b
- Fix edns-client-tags get_option typo
2020-09-23 10:05:39 +02:00
Ralph Dolmans and GitHub
249d5a706b
Merge pull request #295 from niftylettuce/patch-1
...
docs: fixed typo lean > learn
2020-09-21 17:21:04 +02:00
Ralph Dolmans
00fe4b0306
- Fix #304 : dnstap logging not recovering after dnstap process restarts
2020-09-21 17:17:30 +02:00
W.C.A. Wijngaards
c5f0ec36bb
- iana portlist updated.
2020-09-21 11:38:20 +02:00
W.C.A. Wijngaards
1175269bbd
- Error message is logged for dynlibmod malloc failures.
2020-09-21 10:20:10 +02:00
W.C.A. Wijngaards
9d78ad6898
- Merge PR #311 by luismerino: Dynlibmod leak.
2020-09-21 10:13:19 +02:00
Wouter Wijngaards and GitHub
8deb912fa9
Merge pull request #311 from luismerino/dynlibmod-leak
...
Dynlibmod leak
2020-09-21 10:12:19 +02:00
L. Merino
41ab788cab
fix: avoid leaking cb_pair in inplace_cb_register_wrapped()
2020-09-19 09:58:38 +02:00
L. Merino
56e0e5b9af
fix: return error when malloc fails in inplace_cb_register_wrapped()
2020-09-19 09:58:32 +02:00
W.C.A. Wijngaards
6ea24c5c86
- iana portlist updated.
2020-09-18 13:43:16 +02:00
Ralph Dolmans and GitHub
867886800a
Merge pull request #255 from NLnetLabs/doh
...
Add downstream DNS-over-HTTPS support to Unbound
2020-09-18 12:09:24 +02:00
Ralph Dolmans
ea90f50ca8
Merge branch 'master' into doh
2020-09-18 12:05:53 +02:00
W.C.A. Wijngaards
2541ccbb1b
- Fix that prefer-ip4 and prefer-ip6 can be get and set with
...
unbound-control, with libunbound and the unbound-checkconf option
output function.
2020-09-18 09:56:38 +02:00
Ralph Dolmans
4ae823fbc2
Merge branch 'master' into doh
2020-09-16 18:38:51 +02:00
Ralph Dolmans
42a35ac26e
- Final round of DoH review feedback processing.
2020-09-16 18:25:02 +02:00
W.C.A. Wijngaards
4cc559d7eb
- Spelling fix.
2020-09-15 13:32:30 +02:00
George Thessalonikefs
1a568a1b8c
- Reduce unbound verbosity on test; higher during development.
2020-09-15 12:48:01 +02:00
George Thessalonikefs
0ce7769719
- Introduce test for statistics.
2020-09-15 12:45:22 +02:00
W.C.A. Wijngaards
291ac59888
- Remove x file mode on ipset/ipset.c and h files.
2020-09-11 14:08:10 +02:00
Ralph Dolmans
a3be2b73b6
Properly handle http_endpoint malloc failure.
2020-09-10 13:05:55 +02:00
Ralph Dolmans
39f6071854
Ignore base64 padding for strings that are supposed to be unpadded.
2020-09-10 12:27:37 +02:00
W.C.A. Wijngaards
82f2ee63c5
- Fix num.expired statistics output.
2020-09-09 11:44:44 +02:00
W.C.A. Wijngaards
afbc7bb4fe
- Fix #296 : systemd nss-lookup.target is reached before unbound can
...
successfully answer queries. Changed contrib/unbound.service.in.
2020-08-31 11:50:11 +02:00
W.C.A. Wijngaards
47a5dc8cae
- Refactor to use sock_strerr shorthand function.
2020-08-31 09:12:01 +02:00
W.C.A. Wijngaards
a6dc0743b4
- Merge PR #293 : Add missing prototype. Also refactor to use the new
...
shorthand function to clean up the code.
2020-08-31 08:41:34 +02:00
Wouter Wijngaards and GitHub
01bfd3f207
Merge pull request #293 from fobser/missing-prototype
...
Add missing prototype.
2020-08-31 08:21:09 +02:00
niftylettuce and GitHub
f22ac44f89
docs: fixed typo lean > learn
2020-08-29 20:56:19 -05:00
Florian Obser
2460737490
Add missing prototype.
2020-08-28 17:31:14 +02:00
W.C.A. Wijngaards
12c0cf7cee
- Review fix, doxygen and assign null in case of error free.
2020-08-27 15:27:05 +02:00
W.C.A. Wijngaards
b5a237424b
Please doxygen, quote the characters to stop it from parsing a doxygen command.
2020-08-27 15:12:46 +02:00
W.C.A. Wijngaards
f6a527c25a
- Similar to NSD PR#113, implement that interface names can be used,
...
eg. something like interface: eth0 is resolved at server start and
uses the IP addresses for that named interface.
2020-08-27 14:53:33 +02:00
Ralph Dolmans
852a2e1105
- Add 'DYNLIBMOD_EXTRALIBS' to dohclient in makefile
2020-08-27 12:28:57 +02:00
Ralph Dolmans
f5d8861bbf
- process review feedback
2020-08-27 12:28:17 +02:00
George Thessalonikefs
a912786ca9
- Update documentation in python example code.
2020-08-26 11:59:09 +02:00
W.C.A. Wijngaards
49019ba3a9
Review fix: defense check of qdcount in debug output.
2020-08-25 16:07:25 +02:00
W.C.A. Wijngaards
a83fc176cc
Review fix: remove unused variables.
2020-08-25 13:16:46 +02:00
W.C.A. Wijngaards
aa602fdd0c
- Change configure to use EVP_sha256 instead of HMAC_Update for
...
openssl-3.0.0.
2020-08-24 16:13:42 +02:00
W.C.A. Wijngaards
45d4cbaa42
- Fix to apply chroot to dnstap-socket-path, if chroot is enabled.
2020-08-24 14:55:16 +02:00
W.C.A. Wijngaards
45712de9a2
- Fix that dnstap reconnects do not spam the log with the repeated
...
attempts. Attempts on the timer are only logged on high verbosity,
if they produce a connection failure error.
2020-08-24 09:23:36 +02:00
Ralph Dolmans
e6ebabc0cc
- Fix stats double count issue ( #289 ).
2020-08-20 17:54:28 +02:00
Ralph Dolmans
8b05dcdf8c
- Create and init edns tags data for libunbound.
2020-08-13 14:57:21 +02:00
W.C.A. Wijngaards
b75ff25cfd
Changelog note.
...
- Rerun autoconf
2020-08-10 17:43:19 +02:00
W.C.A. Wijngaards
3e86d30a50
Rerun autoconf and autoheader on configure.ac, with libtool
2020-08-10 17:42:41 +02:00
Ralph Dolmans
59a66601f0
Add changlog entry for PR #277 .
2020-08-10 17:35:18 +02:00
Ralph Dolmans
a6603c94d8
Merge branch 'master' of github.com:NLnetLabs/unbound
2020-08-10 17:32:00 +02:00
Ralph Dolmans
5551bf20e6
Merge branch 'ciz-openssl-3.0'
2020-08-10 17:31:42 +02:00
Ralph Dolmans
31f81adadb
- Check for existence 'EVP_MAC_CTX_set_params' function (openssl >=
...
3.0.0-alpha5)
2020-08-10 17:29:06 +02:00
W.C.A. Wijngaards
a3f95d3358
- Fix #287 : doc typo: "Additionaly".
2020-08-10 08:15:06 +02:00
Ralph Dolmans
afd49e897f
Merge branch 'openssl-3.0' of https://github.com/ciz/unbound into ciz-openssl-3.0
2020-08-06 17:27:27 +02:00
W.C.A. Wijngaards
f35293caba
Changelog note for #246 and #284
...
- Merge PR #284 and Fix #246 : Remove DLV entirely from Unbound.
The DLV has been decommisioned and in unbound 1.5.4, in 2015, there
was advise to stop using it. The current code base does not contain
DLV code any more. The use of dlv options displays a warning.
2020-08-06 14:23:33 +02:00
Wouter Wijngaards and GitHub
8fd489ea69
Merge pull request #284 from NLnetLabs/dlv-removal
...
DLV removal
2020-08-06 14:21:19 +02:00
W.C.A. Wijngaards
2fade6f970
Merge branch 'master' into dlv-removal
2020-08-06 14:20:42 +02:00
W.C.A. Wijngaards
022a716e5b
dlv removal, remove DLV reference from unused use in test case.
2020-08-06 14:18:16 +02:00
W.C.A. Wijngaards
4ec55910c4
dlv removal, free unused variable.
2020-08-06 08:14:14 +02:00
W.C.A. Wijngaards
50091d49ea
- contrib/aaaa-filter-iterator.patch file renewed diff content to
...
apply cleanly to the current coderepo for the current code version.
2020-08-05 16:33:48 +02:00
Ralph Dolmans
ce0b39007d
- Changelog entry for EDNS client tag functionality
2020-08-05 16:10:10 +02:00
Ralph Dolmans and GitHub
74ec8a758b
Merge pull request #272 from NLnetLabs/edns-client-tag
...
Add EDNS client tag functionality
2020-08-05 16:07:49 +02:00
Ralph Dolmans
70c8d09edd
- Process EDNS client tag review feedback
2020-08-05 15:56:45 +02:00
W.C.A. Wijngaards
8f2b9b461b
dlv removal, remove DLV references from man page and pythonmod interface.
2020-08-05 10:25:56 +02:00
W.C.A. Wijngaards
dd59521e52
dlv removal, remove from comments and unused code in iterator and validator
2020-08-04 17:17:48 +02:00
George Thessalonikefs
ded7fdafb3
- Merge PR #280 , Make tvOS & watchOS checks verify
...
truthiness as well as definedness, by Felipe Gasper (fixes #279 ).
2020-08-04 16:38:40 +02:00
George Thessalonikefs
74c1d5b3f5
Merge branch 'issue_279_have_fork_macos' of https://github.com/FGasper/unbound into FGasper-issue_279_have_fork_macos
2020-08-04 16:33:33 +02:00
George Thessalonikefs
764a0dc765
- Improve error log message when inserting rpz RR.
2020-08-04 12:49:43 +02:00
W.C.A. Wijngaards
f78f6a3b29
dlv removal, remove from tests and validator state machine
2020-08-04 09:15:45 +02:00
W.C.A. Wijngaards
c0c722cd97
DLV removal
2020-08-04 09:05:09 +02:00
W.C.A. Wijngaards
4770359384
Merge branch 'master' into stream-reuse
2020-08-04 08:45:15 +02:00
W.C.A. Wijngaards
6983189528
Merge branch 'master' into infra-keep-probing
2020-08-04 08:45:04 +02:00
W.C.A. Wijngaards
fc55345dcb
- Fix mini_event.h on OpenBSD cannot find fd_set.
2020-08-04 08:14:25 +02:00
Felipe Gasper
9bc30967d2
Make tvOS & watchOS checks verify truthiness as well as definedness.
2020-08-03 14:38:47 -04:00
Vitezslav Cizek
61100b6463
net_help: Rename EVP_MAC_set_ctx_params to EVP_MAC_CTX_set_params
...
This fixes build with OpenSSL 3.0.0 Alpha 5.
EVP_MAC_set_ctx_params got renamed back to EVP_MAC_CTX_set_params
in https://github.com/openssl/openssl/pull/12186
2020-07-31 14:48:44 +02:00
W.C.A. Wijngaards
d684bee4b0
stream reuse, move drop in tcp_reuse test to timeout section of test.
2020-07-31 09:32:19 +02:00
W.C.A. Wijngaards
2f9050dde8
Merge branch 'master' into stream-reuse
2020-07-31 09:11:35 +02:00
W.C.A. Wijngaards
1cfa21f23d
Merge branch 'master' into infra-keep-probing
2020-07-31 09:11:20 +02:00
W.C.A. Wijngaards
e855d5779a
- Fix doxygen comment for no ssl for tls session ticket key callback
...
routine.
2020-07-31 09:10:40 +02:00
W.C.A. Wijngaards
d973b756a0
stream reuse, disable debug in test
2020-07-30 17:52:57 +02:00
W.C.A. Wijngaards
1116bf6400
stream reuse, add tls test for stream reuse.
2020-07-30 17:51:49 +02:00
W.C.A. Wijngaards
7a211e5a07
stream reuse, fix tls close by upstream after timeout write event handling.
2020-07-30 17:51:13 +02:00
W.C.A. Wijngaards
12d880ad47
stream reuse, add a test for close by upstream server after timeout.
2020-07-30 16:41:28 +02:00
Ubuntu
f95dce8e34
Rebase on master
2020-07-29 16:02:16 +00:00
Ubuntu
027884aad2
Disable enforcing of min/max TTL when serving original TTL
2020-07-29 15:52:58 +00:00
Ubuntu
21f175b1ac
Adjust semantics of TTL adjustment after feedback from @wcawijngaards
2020-07-29 15:27:15 +00:00
Ubuntu
506dad946b
Ensure packet_rrset_data is always initialised to zero upon allocation
2020-07-29 15:26:42 +00:00
W.C.A. Wijngaards
444681af9d
stream reuse, defensible wait add and debug log with details for requeue.
2020-07-27 17:12:23 +02:00
W.C.A. Wijngaards
2932d530c1
stream reuse, send queries one by one when upstream refuses multiple queries,
...
by closing the connection.
2020-07-27 16:59:46 +02:00
Ralph Dolmans
200e22ceea
Merge branch 'master' into edns-client-tag
2020-07-27 15:54:58 +02:00
Ralph Dolmans
fa892b2456
- Add EDNS client tag test
2020-07-27 15:54:43 +02:00
W.C.A. Wijngaards
3b7b7adffc
Merge branch 'master' into stream-reuse
2020-07-27 13:16:55 +02:00
W.C.A. Wijngaards
75be0d3e14
Merge branch 'master' into infra-keep-probing
2020-07-27 13:16:39 +02:00
George Thessalonikefs
69f0adf83b
- Merge PR #268 , draft-ietf-dnsop-serve-stale-10 has become RFC 8767 on
...
March 2020, by and0x000.
2020-07-27 13:11:46 +02:00
George Thessalonikefs
4231883480
Merge branch 'master' of https://github.com/and0x000/unbound into and0x000-master
2020-07-27 13:07:19 +02:00
W.C.A. Wijngaards
e4b702ef4f
Changelog note for PR #270
...
- Merge PR #270 from cgzones: munin plugin: always exit 0 in autoconf
2020-07-27 13:02:47 +02:00
Wouter Wijngaards and GitHub
5db73977d8
Merge pull request #270 from cgzones/munin
...
munin plugin: always exit 0 in autoconf
2020-07-27 13:02:30 +02:00
Ralph Dolmans
04ab1c9c87
Merge branch 'master' of github.com:NLnetLabs/unbound
2020-07-27 12:14:41 +02:00
Ralph Dolmans
4bd97633a1
- Merge PR #269 , Fix python module len() implementations, by Torbjörn Lönnemark
2020-07-27 12:14:08 +02:00
Ralph Dolmans and GitHub
5184c91e9c
Merge pull request #269 from tobbez/python-fix-len
...
Fix python module len() implementations
2020-07-27 12:12:31 +02:00
W.C.A. Wijngaards
d201a11a67
- branch now named 1.11.1. 1.11.0rc1 became the 1.11.0 release.
2020-07-27 12:10:28 +02:00
Ralph Dolmans
2fe398f4bf
EDNS client tags - insert configured tags into tree
2020-07-24 16:00:13 +02:00
Ralph Dolmans
64806a0d14
Add edns-client-tag configuration option
2020-07-24 14:52:04 +02:00
Ralph Dolmans
16029281a8
Start of EDNS client tags implementation.
2020-07-23 17:17:44 +02:00
Christian Göttsche
c6ff5558de
munin plugin: always exit 0 in autoconf
...
The autoconf operation should always exit 0, also in case the answer in "no",
see https://guide.munin-monitoring.org/en/latest/develop/plugins/plugin-concise.html#autoconf
2020-07-23 16:04:26 +02:00
W.C.A. Wijngaards
0d77f9af6c
stream reuse, test with connection drops.
2020-07-23 10:29:36 +02:00
W.C.A. Wijngaards
fc55a4b8ce
stream reuse, test with a list of outstanding queries to the upstream server.
2020-07-23 10:18:17 +02:00
W.C.A. Wijngaards
72f8871e61
stream reuse, test timeout and simultaneous queries.
2020-07-22 15:40:17 +02:00
W.C.A. Wijngaards
f1c4a4d515
stream reuse, fix cleanup with streams in the connection table.
2020-07-22 15:20:58 +02:00
W.C.A. Wijngaards
2d20edb39f
stream reuse, free up elements that are connected in outside network delete.
2020-07-22 10:30:50 +02:00
W.C.A. Wijngaards
8b43b94b22
Merge branch 'master' into stream-reuse
2020-07-22 09:53:57 +02:00
W.C.A. Wijngaards
63b92ea1e8
Merge branch 'master' into infra-keep-probing
2020-07-22 09:53:30 +02:00
Torbjörn Lönnemark
9af8080f2b
Fix python module len() implementations
...
They were all missing the 'self.' prefix when accessing the 'obj'
instance variable, causing the following exception when attempting to
call len() on (for example) a ReplyInfo_RRSet:
File "/usr/lib/python3.7/site-packages/unboundmodule.py", line 377, in __len__
def __len__(self): return obj.rrset_count
NameError: name 'obj' is not defined
2020-07-22 03:13:00 +02:00
and0x000
dd0b55250b
draft-ietf-dnsop-serve-stale-10 has become RFC 8767 on March 2020
2020-07-20 18:10:21 +02:00
W.C.A. Wijngaards
3d1383bed3
Merge branch 'master' into infra-keep-probing
2020-07-16 16:00:06 +02:00
W.C.A. Wijngaards
a9c8da5cfb
Merge branch 'master' into stream-reuse
2020-07-16 15:58:20 +02:00
W.C.A. Wijngaards
ff5d0ce327
Merge branch 'master' into stream-reuse
2020-07-16 14:13:24 +02:00
Ubuntu
ec6fde611c
Cleaned up adjustment in message encoding, fixes spurious negative TTLs
2020-07-15 15:36:06 +00:00
Ubuntu
b5b79e3a36
Add feature to serve original TTLs rather than decrementing ones
2020-07-15 15:15:45 +00:00
W.C.A. Wijngaards
a7776a15e5
stream reuse, make reuse possible straight away after first query to address.
2020-07-13 16:11:52 +02:00
W.C.A. Wijngaards
b71695e8bb
stream reuse, update lru when reuse elements are used with lru touch routine.
2020-07-13 15:59:23 +02:00
W.C.A. Wijngaards
766005a356
stream reuse, in callbacks, removed whitespace.
2020-07-13 15:45:16 +02:00
W.C.A. Wijngaards
19a35fb839
stream reuse, write and read again if more data can go over the channel,
...
this amortizes the event loop mechanism for busy channels, for performance.
2020-07-13 15:16:59 +02:00
W.C.A. Wijngaards
9914b7216b
stream reuse, remove debug output
2020-07-10 16:06:17 +02:00
W.C.A. Wijngaards
7a69ff4182
fix that ssl_handle_it() uses tcp_is_reading in tcp_write_and_read mode.
...
fix that netevent tcp_write_and_read mode does not close due to error from
assert that not both write and read happen at the same time.
2020-07-10 15:37:30 +02:00
W.C.A. Wijngaards
e431676457
stream reuse, fix bad id in reply errors.
2020-07-10 15:13:16 +02:00
W.C.A. Wijngaards
46a364be8e
stream reuse, neater code for tree by id and use callback routine for timer.
2020-07-09 16:50:57 +02:00
W.C.A. Wijngaards
ad6fa1eb45
stream reuse, comment improved
2020-07-09 16:37:40 +02:00
W.C.A. Wijngaards
d87774c3c6
stream reuse, fix decommission to first remove from tree and then do the
...
callbacks and then delete the element.
2020-07-09 16:34:48 +02:00
W.C.A. Wijngaards
79f315f480
stream reuse, fix double callback and double delete, items are in the tree.
2020-07-09 15:47:24 +02:00
W.C.A. Wijngaards
8201d1422b
stream reuse, fix to put id number in waiting tcp packet.
2020-07-09 15:35:32 +02:00
W.C.A. Wijngaards
b1ea8273f0
stream reuse, fix to not keep stream when it is in error and closed.
...
stream reuse, fix to stop listening on the fd before rw mode change.
stream reuse, fix waiting tcp id value stored before tree insert.
stream reuse, fix to not double delete pend.query.
2020-07-09 14:29:56 +02:00
W.C.A. Wijngaards
4e44e8663d
stream reuse, fix to return key pointer from reuse_tcp_by_id_find.
2020-07-09 14:06:21 +02:00
W.C.A. Wijngaards
9b583d2331
stream reuse, the id for pending stored in waiting_tcp structure, because
...
there can be multiple messages waiting for reply.
2020-07-09 13:58:44 +02:00
W.C.A. Wijngaards
734a248284
stream reuse, check incoming messages from rbtree in outnet_tcp_cb when
...
read a reply, and call that callback and remove that entry.
2020-07-09 13:49:36 +02:00
W.C.A. Wijngaards
e95edd3d36
debug prints in verbose output.
2020-07-09 13:41:50 +02:00
W.C.A. Wijngaards
ccc9e0749c
stream reuse toggle write and read to only read mode when write is done.
...
tcp callback from stream read without entry linked.
2020-07-09 13:41:03 +02:00
W.C.A. Wijngaards
d89a45d1e1
in outnet_tcptimer: pick up callbacks and clean the struct pending for
...
use again in tcp_free list; then perform the callbacks in a cleaner state
for reentry into the outside network code. Delete callbacks afterwards.
2020-07-09 10:28:47 +02:00
W.C.A. Wijngaards
80f21f48c5
Merge branch 'master' into stream-reuse
2020-07-09 08:55:19 +02:00
W.C.A. Wijngaards
abe7a01bf5
Merge branch 'master' into infra-keep-probing
2020-07-09 08:55:01 +02:00
W.C.A. Wijngaards
cfe009a31c
tcp read and write handling of write events in netevent for tcp and ssl.
2020-06-26 16:05:15 +02:00
W.C.A. Wijngaards
64c8d18814
in tcp write callback routine dont reset read byte count if write and read.
...
in tcp write callback and write and read and write is done perform callback.
tcp connection is selected to not toggle readwrite and give closed callback.
2020-06-26 10:54:13 +02:00
W.C.A. Wijngaards
d033ce6c23
tcp callback function refactor, split read and timeout event setup, leave
...
unused queries that are already sent to track their reply on the query
pipeline, when serviced query is deleted deal with the write wait list,
2020-06-25 17:23:46 +02:00
W.C.A. Wijngaards
dfb6d32189
outnet_tcp_cb: add assertion and return when write packets done is handled.
2020-06-25 16:29:37 +02:00
W.C.A. Wijngaards
cbcbd5fa07
pending_tcp_query: cleaner comments.
2020-06-25 16:22:43 +02:00
W.C.A. Wijngaards
c32c43f9f2
for tcp use_free_buffer write straight away on reuse connection, if possible
2020-06-25 16:11:46 +02:00
W.C.A. Wijngaards
34c063701e
in outside_network.c: also log messages that end up on the waiting list.
...
with dnstap.
for tcp use_free_buffer reuse existing entry if second wait entry on the
same addr as the other waiting.
2020-06-25 16:05:25 +02:00
W.C.A. Wijngaards
39a50f30a3
tcp callback handle timeout event for read and reuse keepalive.
2020-06-25 14:26:29 +02:00
W.C.A. Wijngaards
5f5cdd3be1
comm point write and read structure members.
2020-06-25 13:06:21 +02:00
Ralph Dolmans
70b270925d
- Add http-response-buffer-size test
2020-06-24 16:31:51 +02:00
W.C.A. Wijngaards
4aaccef8f2
fix testcode for added function whitelist item.
2020-06-24 16:31:10 +02:00
W.C.A. Wijngaards
75da272afe
reuse tcp id_cmp function. clear list and tree after delete. clear when
...
decommisioned. callbacks when closed for lru space, and when closed because
not kept open.
2020-06-24 16:28:42 +02:00
Ralph Dolmans
d9cdb924ad
Add DoH endpoint configuration test
2020-06-24 15:34:50 +02:00
Ralph Dolmans
941559c2b7
dohclient memory leak fix
2020-06-24 15:09:05 +02:00
Ralph Dolmans
2e66809c65
- Add dohclient, for use in tests
2020-06-24 14:59:56 +02:00
Ralph Dolmans
740da89578
Merge branch 'master' into doh
2020-06-24 14:18:47 +02:00
Ralph Dolmans
0fbfce4c99
- Add DoH tests
2020-06-24 14:04:34 +02:00
W.C.A. Wijngaards
dd096ccd22
Merge branch 'master' into stream-reuse
2020-06-24 13:39:13 +02:00
W.C.A. Wijngaards
445a066cbe
Merge branch 'master' into infra-keep-probing
2020-06-24 13:38:56 +02:00
W.C.A. Wijngaards
4fe2122890
Merge branch 'master' into infra-keep-probing
...
Remade yacc and lex files.
2020-06-24 13:21:14 +02:00
W.C.A. Wijngaards
658e5f1553
Merge branch 'master' into stream-reuse
2020-06-24 12:57:50 +02:00
W.C.A. Wijngaards
04d805b0eb
reuse tcp lookup with correct address as key.
2020-06-24 12:57:15 +02:00
W.C.A. Wijngaards
8ca34be36a
fix reuse tcp crash, use addr in reuse struct, free leaked tcp entries.
2020-06-24 10:09:49 +02:00
W.C.A. Wijngaards
6f9310173d
Fix grammar.
2020-06-23 17:32:33 +02:00
W.C.A. Wijngaards
c809bb9ece
tcp reuse timeout event cleanup and callbacks.
2020-06-23 15:29:40 +02:00
W.C.A. Wijngaards
d96e718f80
fix crash on cleanup.
2020-06-19 18:04:12 +02:00
W.C.A. Wijngaards
0e0c57734a
fix uninit after malloc for on_tcp_waiting_list.
2020-06-19 17:40:45 +02:00
W.C.A. Wijngaards
4b6e41e3de
fix documentation for waiting_tcp pkt NULL setting.
2020-06-19 17:37:23 +02:00
W.C.A. Wijngaards
a1babfff1e
add bool if on tcp waiting list, so that pkt can be stored.
...
remove pkt args from outnet_tcp_take_into_use, use w.pkt.
2020-06-19 17:31:36 +02:00
W.C.A. Wijngaards
a695ba447c
set timeout to wait for reuse
...
add comm_point indicator for write events for reuse stream writes.
2020-06-09 16:15:03 +02:00
W.C.A. Wijngaards
d8b7b5ee27
fix to set pending pointer in reuse tcp structure
...
fix debug output of reuse tcp and test leak of process
2020-06-09 09:14:01 +02:00
W.C.A. Wijngaards
fd723aed27
tcp connection is stored and picked up for reuse
...
fix that comm_point_start_listening does not close the same fd that is started.
2020-06-03 17:24:26 +02:00
W.C.A. Wijngaards
7cc6a89e21
fix spare id random selection.
2020-06-03 14:23:06 +02:00
W.C.A. Wijngaards
150e1b0491
spare id random selection better.
2020-06-03 14:03:34 +02:00
W.C.A. Wijngaards
0f3c638193
find reuse find tcp loop code for multiple connections to the same destination
...
find spare id value in reused connection.
2020-06-03 12:10:31 +02:00
W.C.A. Wijngaards
7b46067029
add test for tcp reuse
2020-06-03 10:01:51 +02:00
W.C.A. Wijngaards
d9afcae346
add debug printout
2020-06-03 09:38:02 +02:00
W.C.A. Wijngaards
d1904bd509
tree key addr
2020-05-26 16:27:45 +02:00
W.C.A. Wijngaards
aad363ddd1
rename next,prev to lru_next,lru_prev for clarity.
2020-05-26 13:41:07 +02:00
W.C.A. Wijngaards
1a6cc6e5dc
fixup lru list presence boolean.
2020-05-26 08:46:36 +02:00
W.C.A. Wijngaards
a83f5d7260
Merge branch 'master' into stream-reuse
2020-05-20 15:39:50 +02:00
Ralph Dolmans
605e6c9bda
add dohclient to makefile
2020-05-15 09:52:15 +02:00
Ralph Dolmans
4fc7b434d7
- Document new DoH configuration options.
2020-05-13 13:05:40 +02:00
Ralph Dolmans
8fc2320b5c
- Add mem.http.query_buffer and mem.http.response_buffer stats
...
- Add configurable limits for http-query-buffer-size and
http-response-buffer-size
- Make http endpoint, max_streams, and TCP_NODELAY for HTTP sockets
configurable.
2020-05-12 18:12:19 +02:00
Christopher Zimmermann
ad51795314
Don't try to run daemon_privileged on reload.
2020-05-10 22:30:25 +02:00
Christopher Zimmermann
7d76e84953
Port ipset to BSD pf tables
2020-05-10 22:30:25 +02:00
Christopher Zimmermann
c96e4ca121
allow privileged initialisation of modules
2020-05-10 22:30:25 +02:00
Ralph Dolmans
6cc761f6b2
- Add base64 decode unit test
2020-05-08 14:19:44 +02:00
Ralph Dolmans
723980fe77
- Add query.num.https counter
2020-05-08 12:14:17 +02:00
Ralph Dolmans
e7601870cc
Merge branch 'master' into doh
2020-05-07 17:12:26 +02:00
Ralph Dolmans
8dae5d9f81
- Add DNS-over-HTTPS support
2020-05-07 16:36:26 +02:00
W.C.A. Wijngaards
055f5e68a3
Add infra-keep-probing: yes option. Hosts that are down are probed more
...
frequently.
2020-04-22 16:29:06 +02:00
Willem Toorop
2c8a91c2f9
pad-queries default yes
2020-04-14 08:52:51 +02:00
Willem Toorop
60e53d36b7
Merge branch 'master' into features/padding
2020-04-14 08:28:41 +02:00
Willem Toorop
551e476a17
Merge branch 'master' into features/padding
2020-04-02 18:54:18 +02:00
Willem Toorop
4f78b37c61
Down- and upstream padding a la RFC7830 & RFC8467
2020-04-02 18:34:03 +02:00
W.C.A. Wijngaards
808995e041
Merge branch 'master' into stream-reuse
2020-02-12 12:53:24 +01:00
W.C.A. Wijngaards
014833d0e6
Merge branch 'stream-reuse' of github.com:NLnetLabs/unbound into stream-reuse
2020-02-12 11:58:39 +01:00
W.C.A. Wijngaards
6c14c7520b
Merge branch 'master' into stream-reuse
2020-02-12 11:58:17 +01:00
W.C.A. Wijngaards
af84a27dff
Merge branch 'master' into stream-reuse
2020-02-06 17:27:55 +01:00
W.C.A. Wijngaards
c9ac6a5eab
Merge branch 'master' into stream-reuse
2020-01-30 16:21:50 +01:00
W.C.A. Wijngaards
3102fa5775
Merge branch 'master' into stream-reuse
2020-01-30 15:49:57 +01:00
W.C.A. Wijngaards
c79de51da8
Merge branch 'master' into stream-reuse
2020-01-30 14:25:00 +01:00
W.C.A. Wijngaards
57aefd102e
Stream reuse branch, for TCP and TLS stream reuse.
...
This is for upstream pipes and using them again for the next query.
Signposted code for reuse_tcp structure in outside_network.h
2020-01-16 17:12:32 +01:00
Moritz Schneider
f72885e5d7
Update Changelog
2019-06-12 19:11:20 +02:00
Moritz Schneider
8d9b94d3ef
Update documentation for outbound-msg-retry
2019-06-12 19:09:15 +02:00
Moritz Schneider
7c18b36521
Adapt some comments
2019-06-12 19:01:30 +02:00
Moritz Schneider
eb5683d6e6
Update configparser with outbound-msg-retry config parameter
2019-06-12 19:01:29 +02:00
Moritz Schneider
79cc049096
Make outbound msg retry configurable
2019-06-12 19:01:28 +02:00
Moritz Schneider
78fa3fcb07
Add unit test for check the configuration of outbound max retries
2019-06-12 19:01:27 +02:00
Moritz Schneider
2a4c7c81e7
Styling: Fix mixture of tabs and spaces
2019-06-12 19:01:27 +02:00
Moritz Schneider
1f9e3e9ba6
Styling: remove trailing whitespaces
2019-06-12 19:01:26 +02:00