[tor-relays] Api for atlas.torproject.org
teor2345 at gmail.com
Fri Feb 16 10:36:10 UTC 2018
> On 16 Feb 2018, at 17:49, Felix <zwiebel at quantentunnel.de> wrote:
>> Am 16-Feb-18 um 02:26 schrieb flipchan:
>> Im trying to write an ip checker script for a mail server/firewall and i
>> want to be able check if the ip is a tor relay, is their a api for
>> looking up ips on atlas.torproject.org ?
>> Or any other easier way to do it in like python :)
For exit IP addresses, you can query the bulk exit list, or Onionoo.
> You can run a tor client and:
> # grep "a.b.c.d" /var/db/tor/cached-consensus
The cached consensus only contains ORPort addresses, not exit IP
addresses. Most are the same, some are different.
More information about the tor-relays