mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-04 09:33:33 +01:00
9f738be893
This commit add the hs_dos.{c|h} file that has the purpose of having the anti-DoS code for onion services. At this commit, it only has one which is a function that decides if an INTRODUCE2 can be sent on the given introduction service circuit (S<->IP) using a simple token bucket. The rate per second is 25 and allowed burst to 200. Basic defenses on #15516. Signed-off-by: David Goulet <dgoulet@torproject.org> |
||
---|---|---|
.. | ||
rend_authorized_client_st.h | ||
rend_encoded_v2_service_descriptor_st.h | ||
rend_intro_point_st.h | ||
rend_service_descriptor_st.h | ||
rendcache.c | ||
rendcache.h | ||
rendclient.c | ||
rendclient.h | ||
rendcommon.c | ||
rendcommon.h | ||
rendmid.c | ||
rendmid.h | ||
rendparse.c | ||
rendparse.h | ||
rendservice.c | ||
rendservice.h |