]> git.ipfire.org Git - thirdparty/bind9.git/commit
TLS SNI - add low level support for SNI to the networking code
authorArtem Boldariev <artem@boldariev.com>
Tue, 17 Dec 2024 13:52:18 +0000 (15:52 +0200)
committerArtem Boldariev <artem@boldariev.com>
Thu, 26 Dec 2024 16:31:03 +0000 (18:31 +0200)
commit4f8ade0e1ec860aed587b65fc3296cde612c5885
tree9b15c7f02cbfdf17e92f9cf52d1b87dcbd0fde91
parent703ff7aef35364144e0025e8a8609aecf41873b3
TLS SNI - add low level support for SNI to the networking code

This commit adds support for setting SNI hostnames in outgoing
connections over TLS.

Most of the changes are related to either adapting the code to accept
and extra argument in *connect() functions and a couple of changes to
the TLS Stream to actually make use of the new SNI hostname
information.

(cherry picked from commit 6691a1530d976c36133166662d7291fe63e1ef83)
13 files changed:
bin/dig/dighost.c
bin/tests/test_client.c
lib/dns/dispatch.c
lib/isc/include/isc/netmgr.h
lib/isc/netmgr/http.c
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/proxystream.c
lib/isc/netmgr/streamdns.c
lib/isc/netmgr/tlsstream.c
tests/isc/doh_test.c
tests/isc/netmgr_common.c
tests/isc/tcpdns_test.c
tests/isc/tlsdns_test.c