tor/src
David Goulet d064122e70 relay: Implement a circuit cell queue maximum size
This commit introduces the consensus parameter "circ_max_cell_queue_size"
which controls the maximum number of cells a circuit queue should have.

The default value is currently 50000 cells which is above what should be
expected but keeps us a margin of error for padding cells.

Related to this is #9072. Back in 0.2.4.14-alpha, we've removed that limit due
to a Guard discovery attack. Ticket #25226 details why we are putting back the
limit due to the memory pressure issue on relays.

Fixes #25226

Signed-off-by: David Goulet <dgoulet@torproject.org>
2018-04-16 09:59:12 -04:00
..
common Add a paranoia check in string_is_valid_nonrfc_hostname() 2018-03-28 07:48:18 -04:00
config Merge branch 'maint-0.3.1' into maint-0.3.2 2018-03-13 10:59:30 -04:00
ext Update src/ext/rust to latest master for libc update. 2018-03-21 17:09:59 -04:00
or relay: Implement a circuit cell queue maximum size 2018-04-16 09:59:12 -04:00
rust rust: Fix ProtoSet and ProtoEntry to use the same DoS limits as C. 2018-04-02 19:59:16 +00:00
test tests: Run all existing protover tests in both languages. 2018-04-02 19:59:14 +00:00
tools Fix the log-severities memory-leak in tor-resolve.c 2017-12-11 11:49:57 -05:00
trace Add stub function for libor-trace. 2017-04-25 18:02:19 +02:00
trunnel Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
win32 bump version to 0.3.3.4-alpha-dev 2018-03-29 11:24:02 -04:00
include.am Add --enable-rust configure switch 2017-04-29 08:55:57 +02:00