Length of tor circuit?

Martin Balvers m.balvers at addicts.nl
Tue Aug 23 21:20:17 UTC 2005


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 at gmx.org> wrote:
> 
>>Hello,
>>
>>is it possible to configure the length of the tor circuit (number of
>>nodes that are chained)
>>
>>greetings
>>Carsten
>>
>>
> 
> 
> 

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
src/or/circuitbiuld.c (tor-0.1.1.15).

Martin



More information about the tor-talk mailing list