diff options
author | David Goulet <dgoulet@torproject.org> | 2019-08-12 13:34:09 -0400 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-08-26 15:53:46 +0300 |
commit | 724d9eb84be4c9a8b6cd34f08dc7b5d00f69f09e (patch) | |
tree | f42e69ae58bace79032198082a64e0668434cc7e /src/core | |
parent | d692c5fd0368da79f83307f6f023ae5793472e1a (diff) | |
download | tor-724d9eb84be4c9a8b6cd34f08dc7b5d00f69f09e.tar.gz tor-724d9eb84be4c9a8b6cd34f08dc7b5d00f69f09e.zip |
hs-v3: Parse ESTABLISH_INTRO cell extension
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/or/or_circuit_st.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/or/or_circuit_st.h b/src/core/or/or_circuit_st.h index 8f319585a6..f3eb861613 100644 --- a/src/core/or/or_circuit_st.h +++ b/src/core/or/or_circuit_st.h @@ -72,6 +72,10 @@ struct or_circuit_t { * buffer stats to disk. */ uint64_t total_cell_waiting_time; + /** If set, the DoS defenses are enabled on this circuit meaning that the + * introduce2_bucket is initialized and used. */ + unsigned int introduce2_dos_defense_enabled : 1; + /** INTRODUCE2 cell bucket controlling how much can go on this circuit. Only * used if this is a service introduction circuit at the intro point * (purpose = CIRCUIT_PURPOSE_INTRO_POINT). */ |