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
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
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
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