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
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
ef9f7f113f
Log established connection to Redis
2023-07-21 14:41:26 +02:00
mibere
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