mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
88901c3967
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>
6 lines
292 B
Plaintext
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.
|