[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: Length of tor circuit?
Jonathan Trites wrote:
> I asked this a few months ago. The function
> src/or/circuitbuild.c:new_route_len determines the route length. All
> that I did was comment out the return statement and place my own under
> it (e.g., return 2;). Whatever that function returns is what the
> length of the circuits will be.
> On 8/23/05, Carsten Krüger <C.Krueger@xxxxxxx> wrote:
>>is it possible to configure the length of the tor circuit (number of
>>nodes that are chained)
If you change the return value as described above, it will also effect
hidden services etc.
I think it might be better to change the 'routelen = 3' on line 901,
directly below 'if (purpose == CIRCUIT_PURPOSE_C_GENERAL)' in file