[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-dev] Detecting if a IP address belongs to a Tor Exit node.



On Tue, 4 Dec 2012 13:25:15 +0100
Jorge Couchet <jorge.couchet@xxxxxxxxx> 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@xxxxxx>

Attachment: signature.asc
Description: PGP signature

_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev