mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-25 04:43:31 +01:00
Merge remote-tracking branch 'origin/maint-0.2.2'
This commit is contained in:
commit
42d6f34590
8
changes/abandon-rend-circs-on-newnym
Normal file
8
changes/abandon-rend-circs-on-newnym
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
o Security fixes:
|
||||||
|
- Don't attach new streams to old rendezvous circuits after SIGNAL
|
||||||
|
NEWNYM. Previously, we would keep using an existing rendezvous
|
||||||
|
circuit if it remained open (i.e. if it were kept open by a
|
||||||
|
long-lived stream or if a new stream were attached to it before
|
||||||
|
Tor could notice that it was old and no longer in use and close
|
||||||
|
it). Bugfix on 0.1.1.15-rc; fixes bug 3375.
|
||||||
|
|
@ -74,7 +74,8 @@ circuit_is_acceptable(circuit_t *circ, edge_connection_t *conn,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (purpose == CIRCUIT_PURPOSE_C_GENERAL)
|
if (purpose == CIRCUIT_PURPOSE_C_GENERAL ||
|
||||||
|
purpose == CIRCUIT_PURPOSE_C_REND_JOINED)
|
||||||
if (circ->timestamp_dirty &&
|
if (circ->timestamp_dirty &&
|
||||||
circ->timestamp_dirty+get_options()->MaxCircuitDirtiness <= now)
|
circ->timestamp_dirty+get_options()->MaxCircuitDirtiness <= now)
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user