summaryrefslogtreecommitdiff
path: root/CODE_OF_CONDUCT
diff options
context:
space:
mode:
authorMicah Elizabeth Scott <beth@torproject.org>2023-08-09 18:07:34 -0700
committerMicah Elizabeth Scott <beth@torproject.org>2023-08-09 18:07:34 -0700
commit3e18507dc75afcf0c6560e966c9f18942406b0c8 (patch)
tree70968ea83670e390e63f70d20ac2e133b53bea5c /CODE_OF_CONDUCT
parent3d63d713ea42d1ed1ca4686340cd03f82ba394b7 (diff)
downloadtor-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 'CODE_OF_CONDUCT')
0 files changed, 0 insertions, 0 deletions