Simon Kelley cc32bce779 connect() UDP sockets to upstream DNS servers to mitigate SAD DNS attack.
https://www.saddns.net/

When making a socket to talk to an upstream DNS server via UDP,
call connect() to bind the socket to receiving replies from only that
one server. This mitigates the SAD poisoning attack.

Note that in some circumstances, this will slightly increase resource
use: previously, when forwarding the a query to multiple servers in
parallel, one socket would commonly be used. Now, a socket has to be
created and connect()ed for each server.
2026-11-30 15:46:21 +00:00
2012-04-02 20:40:34 +01:00
2025-12-07 13:44:40 +00:00
2012-01-05 17:31:15 +00:00
2018-01-14 17:32:52 +00:00
2022-05-13 21:22:11 +01:00
2012-01-05 17:31:13 +00:00
2025-07-20 15:29:43 +01:00
2021-06-15 23:14:59 +01:00
2026-04-08 12:08:18 +01:00
2025-07-20 15:29:43 +01:00
2012-01-05 22:00:08 +00:00
S
Description
No description provided
GPL-2.0
6.5 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 94.3%
Perl 2.2%
HTML 1.2%
Shell 1%
Makefile 0.6%
Other 0.6%