diff options
author | Micah Elizabeth Scott <beth@torproject.org> | 2023-08-09 18:07:34 -0700 |
---|---|---|
committer | Micah Elizabeth Scott <beth@torproject.org> | 2023-08-09 18:07:34 -0700 |
commit | 3e18507dc75afcf0c6560e966c9f18942406b0c8 (patch) | |
tree | 70968ea83670e390e63f70d20ac2e133b53bea5c /INSTALL | |
parent | 3d63d713ea42d1ed1ca4686340cd03f82ba394b7 (diff) | |
download | tor-3e18507dc75afcf0c6560e966c9f18942406b0c8.tar.gz tor-3e18507dc75afcf0c6560e966c9f18942406b0c8.zip |
Extend DoS protection to partially-open channels
tor only marks a channel as 'open' once the TLS and OR handshakes have both
completed, and normal "client" (ORPort) DoS protection is not enabled until
the channel becomes open. This patch adds an additional earlier initialization
path for DoS protection on incoming TLS connections.
This leaves the existing dos_new_client_conn() call sites intact, but adds a
guard against multiple-initialization using the existing
tracked_for_dos_mitigation flag. Other types of channels shouldn't be affected
by this patch.
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions