tor/src/feature/stats
Micah Elizabeth Scott 3e18507dc7 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.
2023-08-09 18:07:34 -07:00
..
.may_include practracker: Add missing .may_include files 2019-12-04 12:15:22 -05:00
bw_array_st.h Update copyrights to 2021, using "make update-copyright" 2021-03-12 11:39:23 -05:00
bwhist.c Merge branch 'maint-0.4.5' into maint-0.4.6 2021-10-21 12:35:36 +00:00
bwhist.h Merge branch 'maint-0.4.5' into maint-0.4.6 2021-10-21 12:35:36 +00:00
connstats.c Update copyrights to 2021, using "make update-copyright" 2021-03-12 11:39:23 -05:00
connstats.h Update copyrights to 2021, using "make update-copyright" 2021-03-12 11:39:23 -05:00
feature_stats.md Doxygen: rename all .dox files to end with .md 2019-11-15 09:28:12 -05:00
geoip_stats.c Make client heartbeat stats tied to the heartbeat period. 2021-05-11 10:08:52 -04:00
geoip_stats.h Extend DoS protection to partially-open channels 2023-08-09 18:07:34 -07:00
include.am Extract bw_array_t and related constants into a header. 2020-07-31 10:46:52 -04:00
predict_ports.c Update copyrights to 2021, using "make update-copyright" 2021-03-12 11:39:23 -05:00
predict_ports.h Update copyrights to 2021, using "make update-copyright" 2021-03-12 11:39:23 -05:00
rephist.c Removed getter abstraction and moved from rephist to relay_metrics. 2023-05-25 11:03:35 -04:00
rephist.h Removed getter abstraction and moved from rephist to relay_metrics. 2023-05-25 11:03:35 -04:00