mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
Note that circuit purpose changing can violate ExcludeNodes
This commit is contained in:
parent
ca74badbe9
commit
db2fd28308
1 changed files with 3 additions and 0 deletions
|
@ -1352,6 +1352,9 @@ rend_service_intro_has_opened(origin_circuit_t *circuit)
|
|||
log_info(LD_CIRC|LD_REND, "We have just finished an introduction "
|
||||
"circuit, but we already have enough. Redefining purpose to "
|
||||
"general.");
|
||||
/* XXX022-1090: This can wind up violating ExcludeNodes/
|
||||
* ExitNodes/ExcludeExitNodes restrictions.
|
||||
*/
|
||||
TO_CIRCUIT(circuit)->purpose = CIRCUIT_PURPOSE_C_GENERAL;
|
||||
circuit_has_opened(circuit);
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue