[tor-relays] Api for atlas.torproject.org

Felix zwiebel at quantentunnel.de
Fri Feb 16 06:49:38 UTC 2018


Am 16-Feb-18 um 02:26 schrieb flipchan:
> Hey,
> 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 :)

You can run a tor client and:
# grep "a.b.c.d" /var/db/tor/cached-consensus

Cheers, Felix

More information about the tor-relays mailing list