W.C.A. Wijngaards
65e7253d19
ipset-pf-support, simplification of code.
2024-07-02 09:08:27 +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
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
W.C.A. Wijngaards
1974732d19
- Fix typos for 'the the' in text.
2024-06-06 09:35:57 +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
Yorgos Thessalonikefs
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
Yorgos Thessalonikefs
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
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
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
Yorgos Thessalonikefs
63a6b7b255
- Cleanup unnecessary strdup calls for EDE strings.
2024-04-29 10:15:19 +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
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
d47849a26e
- Fix cachedb for serve-expired with serve-expired-reply-ttl.
2024-04-10 17:01:57 +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
W.C.A. Wijngaards
ba16e41160
- Fix comment syntax for view function views_find_view.
2024-04-05 16:11:29 +02: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
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
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
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
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
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
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
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
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
k-akashi
4b9cd8e81d
Add DoH and DoT to dnstap message
2023-12-27 07:26:21 +09: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
3d1bc143af
- Fix #969 : [FR] distinguish Do53, DoT and DoH in the logs.
2023-12-05 10:05:51 +01: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
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
George Thessalonikefs
9342bf685e
- Fix misplaced comment.
2023-10-02 16:13:23 +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
6e65343895
- Fix authority zone answers for obscured DNAMEs and delegations.
2023-09-14 11:37:49 +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
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
4ccb613396
Merge branch 'master' into features/downstream-cookies
2023-08-05 20:37:48 +02:00