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