forked from torproject/tor
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 32040: Change client-side machine application rules
No protover handshake required!
- Loading branch information
Mike Perry
committed
Jun 9, 2020
1 parent
1814a67
commit 2b7b8a7
Showing
1 changed file
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,8 +104,14 @@ circpad_machine_client_hide_intro_circuits(smartlist_t *machines_sl) | |
*/ | ||
client_machine->conditions.apply_purpose_mask = | ||
circpad_circ_purpose_to_mask(CIRCUIT_PURPOSE_C_INTRODUCE_ACK_WAIT)| | ||
circpad_circ_purpose_to_mask(CIRCUIT_PURPOSE_C_INTRODUCE_ACKED)| | ||
circpad_circ_purpose_to_mask(CIRCUIT_PURPOSE_C_CIRCUIT_PADDING); | ||
|
||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
mikeperry-tor
Owner
|
||
/* If the client purpose changes back to CIRCUIT_PURPOSE_C_INTRODUCING, | ||
* or transitions to CIRCUIT_PURPOSE_C_INTRODUCE_ACKED, keep the machine | ||
* alive, but do not launch new machines for these purposes */ | ||
client_machine->conditions.keep_purpose_mask = | ||
circpad_circ_purpose_to_mask(CIRCUIT_PURPOSE_C_INTRODUCE_ACKED)| | ||
circpad_circ_purpose_to_mask(CIRCUIT_PURPOSE_C_INTRODUCING); | ||
|
||
/* Keep the circuit alive even after the introduction has been finished, | ||
* otherwise the short-term lifetime of the circuit will blow our cover */ | ||
|
There is some trailing whitespace here.