bind9/lib/isc/netmgr
Artem Boldariev 6725d36cfd Avoid using sock->iface and sock->peer from the lower transport
This commit modifies TLS Stream and DNS-over-HTTPS transports so that
they do not use the "sock->iface" and "sock->peer" of the lower level
transport directly.

That did not cause any problems before, as things worked as expected,
but with the introduction of PROXYv2 support we use handles to store
the information in both PROXY Stream and UDP Proxy
transports. Therefore, in order to propagate the information (like
addresses), extracted from PROXYv2 headers, from the lower level
transports to the higher-level ones, we need to get that information
from the lower-level handles rather than sockets. That means that we
should get the peer and interface addresses using the intended
APIs ("isc_nmhandle_peeraddr()" and "isc_nmhandle_localaddr()").
2023-12-06 15:15:25 +02:00
..
http.c Avoid using sock->iface and sock->peer from the lower transport 2023-12-06 15:15:25 +02:00
netmgr-int.h Add a utility function to dump all active sockets on a NM instance 2023-12-06 15:15:25 +02:00
netmgr.c Add a utility function to dump all active sockets on a NM instance 2023-12-06 15:15:25 +02:00
proxystream.c Add PROXY over TLS support to PROXY Stream 2023-12-06 15:15:24 +02:00
proxyudp.c PROXYv2 over UDP transport 2023-12-06 15:15:25 +02:00
socket.c Cleanup the last Windows / MSC ifdefs and comments 2023-04-03 09:06:20 +00:00
streamdns.c Stream DNS: add PROXY over TLS support 2023-12-06 15:15:25 +02:00
tcp.c Ineffective DbC protections 2023-11-21 14:48:43 +11:00
timer.c Update netmgr, tasks, and applications to use isc_loopmgr 2022-08-26 09:09:24 +02:00
tlsstream.c Avoid using sock->iface and sock->peer from the lower transport 2023-12-06 15:15:25 +02:00
udp.c Ineffective DbC protections 2023-11-21 14:48:43 +11:00