[tor-bugs] #20946 [Core Tor/Tor]: Make it easier to find contacts for a fallback list

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Dec 11 18:05:39 UTC 2016


#20946: Make it easier to find contacts for a fallback list
--------------------------+------------------------------
 Reporter:  teor          |          Owner:
     Type:  enhancement   |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.3.???
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  fallback      |  Actual Points:
Parent ID:                |         Points:  1
 Reviewer:                |        Sponsor:
--------------------------+------------------------------

Comment (by atagar):

 Hi Tim, is this what you're looking for?

 {{{
 from stem.descriptor.remote import FallbackDirectory,
 get_server_descriptors

 for fallback in FallbackDirectory.from_remote().values():
   for desc in get_server_descriptors([fallback.fingerprint]):
     print("%s: %s" % (fallback.fingerprint, desc.contact))
 }}}

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


More information about the tor-bugs mailing list