https://bugzilla.wikimedia.org/show_bug.cgi?id=30716

--- Comment #3 from Platonides <[email protected]> 2011-11-22 22:05:03 UTC 
---
The python script used is not hard. We could almost run it locally or
reimplement it in php.
Its algorithm is:
* Fetch a raw list of all exitAddresses by grepping ExitAddress from
RawExitList. Store it as a parsed-exit-list (a list of all potential exit ips)
* When asked about an ip + port, perform a query for each ip on the parsed list
to the trordnsel service [1] on
<clientIP>.<port>.<target>.ip-port.exitlist.torproject.org. (NXDomain not
accessible, 127.0.0.2 accessible) and cache it.

The problem is getting the exitAddresses list. TorBulkExitList.py reads it from
a local file at /srv/check.torproject.org/tordnsel/state/exit-addresses with a
comment pointing to download it from
http://exitlist.torproject.org/exitAddresses (which doesn't load)

tordnsel mention that "it establishes a persistent controller connection to
Tor, receiving updated nodes and exit policies as Tor fetches them from
directories." which is probably the best to . Another way may be to "parsing
the cached-routers file,". Both alternatives seem to require running tor.

1- https://svn.torproject.org/svn/check/trunk/cgi-bin/TorBulkExitList.py
https://www.torproject.org/projects/tordnsel.html.en

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to