[tor-talk] Tor directory servers

Roger Dingledine arma at mit.edu
Sun Feb 19 19:24:38 UTC 2012


On Sun, Feb 19, 2012 at 07:06:35PM +0000, Bravo 76 wrote:
> Is there a list available on the Tor directory servers that my script could parse and get the latest exit routers along with their fingerprints?
> 
> I've found this:http://dannenberg.ccc.de/tor/server/all.zBut it doesn't mention whether each one is an exit router
> 
> And this:http://dannenberg.ccc.de/tor/status-vote/current/consensus.zBut doesn't contain which are exit routers

The correct way to do it is to fetch the descriptors and look at
their exit policy. Whether a given relay is an exit router is not a
boolean thing:
https://www.torproject.org/docs/faq.html.en#ExitPolicies

Run your own Tor client (using Tor 0.2.2.x), and look in your datadir for
the consensus file and the descriptors. You can read about the formats
in the dir-spec.txt file in the torspec git repository.

And if those sentences didn't make sense, maybe you should take a step
back and explain what your script is trying to do?

--Roger



More information about the tor-talk mailing list