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

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs