[tor-dev] Detecting if a IP address belongs to a Tor Exit node.
Julian Yon
julian at yon.org.uk
Tue Dec 4 13:10:50 UTC 2012
On Tue, 4 Dec 2012 13:25:15 +0100
Jorge Couchet <jorge.couchet at gmail.com> wrote:
> I'm working with the ticket 7549
> (https://trac.torproject.org/projects/tor/ticket/7549).
> ...
> So, the question is: is there any other reasonable way (efficient
> -development and execution time- and safe) to see if an IP address
> belongs to a Tor Exit node?
*looks at the ticket and your approach*
Why not just run and query an Onionoo server? It seems silly to
duplicate this effort. You can still put that code in a separate daemon
if you want to minimise changes to the Facilitator itself, but it won't
have to handle any of the hard stuff. Just ping it a request like GET
http://onionoo.local/details?search=10.9.8.7&type=relay and parse the
returned JSON to check the exit policy.
Julian
--
3072D/F3A66B3A Julian Yon (2012 General Use) <pgp.2012 at jry.me>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20121204/2444a89f/attachment.pgp>
More information about the tor-dev
mailing list