[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #6452 [- Select a component]: rewrite onionoo in python
#6452: rewrite onionoo in python
----------------------------------+-----------------------------------------
Reporter: gsathya | Owner:
Type: defect | Status: needs_review
Priority: normal | Milestone:
Component: - Select a component | Version:
Keywords: | Parent:
Points: | Actualpoints:
----------------------------------+-----------------------------------------
Changes (by gsathya):
* status: new => needs_review
Comment:
A bunch of completed milestones
(https://gitweb.torproject.org/user/gsathya/pyonionoo.git/shortlog/refs/heads/backend)
- Parse consensus
I've written a simple consensus parser -
https://gitweb.torproject.org/user/gsathya/pyonionoo.git/blob/refs/heads/backend:/backend/main.py#l14
neena is working on a network status descriptor parser for stem and once
that's completed, I'll use that.
The consensus is parsed and the data is stored in a
"Router"(https://gitweb.torproject.org/user/gsathya/pyonionoo.git/blob/refs/heads/backend:/backend/router.py#l4)
object.
- GeoIP lookups
Use pygeoip to parse Maxmind's GeoIP database.
- Reverse DNS lookups
Use threads
(https://gitweb.torproject.org/user/gsathya/pyonionoo.git/blob/refs/heads/backend:/backend/util.py)
to find the hostnames
(https://gitweb.torproject.org/user/gsathya/pyonionoo.git/blob/refs/heads/backend:/backend/main.py#l49)
Next Up -
I'm going to read and parse the server descriptors using stem.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6452#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs