[tor-bugs] #28320 [Metrics/CollecTor]: Rewrite CollecTor relaydescs module using Stem/txtorcon

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Nov 5 17:59:55 UTC 2018


#28320: Rewrite CollecTor relaydescs module using Stem/txtorcon
-------------------------------+------------------------------
 Reporter:  karsten            |          Owner:  metrics-team
     Type:  task               |         Status:  new
 Priority:  Medium             |      Milestone:
Component:  Metrics/CollecTor  |        Version:
 Severity:  Normal             |     Resolution:
 Keywords:                     |  Actual Points:
Parent ID:                     |         Points:
 Reviewer:                     |        Sponsor:  Sponsor13
-------------------------------+------------------------------

Comment (by atagar):

 Hi Karsten. This sounds an awful lot like DocTor (download descriptors on
 an hourly basis and check a series of characteristics).

 That said, honestly I'm unsure you need either stem or txorcon for this.
 If all you want is to download descriptors won't cron and curl do the
 trick? Stem's benefit is that it **parses** descriptors and can download
 leveraging directory mirrors. As for txtorcon, I'm unaware of any
 descriptor capabilities it provides (meejah can correct me wrong but it's
 solely a twisted control port controller).

 Would you mind further describing what you're hoping for one of these to
 provide? If you'd like a simple example of downloading descriptors
 [https://stem.torproject.org/tutorials/mirror_mirror_on_the_wall.html
 #where-can-i-get-the-current-descriptors our tutorials],
 [https://stem.torproject.org/tutorials/examples/download_descriptor.html
 demos], and
 [https://gitweb.torproject.org/doctor.git/tree/descriptor_checker.py
 doctor] have examples.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28320#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list