tor/changes/bug13667
David Goulet 88901c3967 Fix: mitigate as much as we can HS port scanning
Make hidden service port scanning harder by sending back REASON_DONE which
does not disclose that it was in fact an exit policy issue. After that, kill
the circuit immediately to avoid more bad requests on it.

This means that everytime an hidden service exit policy does match, the user
(malicious or not) needs to build a new circuit.

Fixes #13667.

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
2014-12-29 16:29:09 -05:00

6 lines
292 B
Plaintext

o Major bugfixes:
- Make HS port scanning more difficult by sending back REASON_DONE if the
exit policy didn't match. Furthermore, immediately close the circuit to
avoid other connection attempts on it from the possible attacker trying
multiple ports on that same circuit.