]> git.ipfire.org Git - thirdparty/unbound.git/commit
Downstream DNS Cookies a la RFC7873 and RFC9018
authorWillem Toorop <willem@nlnetlabs.nl>
Wed, 28 Sep 2022 08:28:19 +0000 (10:28 +0200)
committerWillem Toorop <willem@nlnetlabs.nl>
Wed, 28 Sep 2022 08:28:19 +0000 (10:28 +0200)
commit75f3fbdd6563dd87c93964e48a3fb7e6c520d74e
treecf4d947a4fd70d58e15d9c94520cc6bc282a2702
parent71f23ef354fae12e99963fe43200d38dfe796222
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.
17 files changed:
Makefile.in
daemon/acl_list.c
daemon/acl_list.h
daemon/worker.c
doc/unbound.conf.5.in
libunbound/libworker.c
services/authzone.c
sldns/rrdef.h
testcode/fake_event.c
util/config_file.c
util/config_file.h
util/configlexer.lex
util/configparser.y
util/data/msgparse.c
util/data/msgparse.h
util/siphash.c [new file with mode: 0644]
validator/autotrust.c