[tor-talk] How to update the consensus in client as soon as the configuration of relay nodes changed

Karsten Loesing karsten at torproject.org
Wed Feb 19 10:47:11 UTC 2014


On 19/02/14 03:24, Aiminyoung wrote:
> I have setup a private tor network containing one client, one dirserver,
> and three relay nodes.
> To make the changes of relay nodes take effect to client, I have to shorten
> the updating period of directory information on dirserver and client.
> V3AuthVotingInterval, V3AuthVoteDelay, and V3AuthDistDelay on dirserver
> were set to 60 seconds (source code about the minimum limitation were also
> modified),  so that the cached-consensus is updated every 1 minute.
> Now I have problem in accelerating the cache updating on client because I
> can't find the command to make it.
> Is there other ways to shorten the updating interval on client, such as an
> delay constant in source code?

Did you look into the TestingTorNetwork config option?  It should 
already do what you want.

Also look at the FAQ entry for running private networks here:

https://www.torproject.org/docs/faq.html.en#PrivateTorNetwork

All the best,
Karsten



More information about the tor-talk mailing list