mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 13:53:31 +01:00
3e18507dc7
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. |
||
---|---|---|
.. | ||
.may_include | ||
bw_array_st.h | ||
bwhist.c | ||
bwhist.h | ||
connstats.c | ||
connstats.h | ||
feature_stats.md | ||
geoip_stats.c | ||
geoip_stats.h | ||
include.am | ||
predict_ports.c | ||
predict_ports.h | ||
rephist.c | ||
rephist.h |