[tor-bugs] #11648 [Tor]: Problem parsing .z-compressed descriptors fetched via DirPort

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu May 8 15:47:49 UTC 2014


#11648: Problem parsing .z-compressed descriptors fetched via DirPort
-------------------------+--------------------------------
     Reporter:  karsten  |      Owner:
         Type:  defect   |     Status:  needs_review
     Priority:  normal   |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor      |    Version:
   Resolution:           |   Keywords:  tor-relay
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+--------------------------------

Comment (by nickm):

 > still curious why turtles' (and maybe in general) all.z contain
 nonexistent digests at the end so often.

 Note how the processing for "all" works in dirserv_get_routerdescs(): it
 takes all the routers in the routerlist, then excludes any that can't be
 sent unencrypted.  It takes their identity fingerprints, not their
 descriptor digests.

 Later, connection_dirserv_add_servers_to_outbuf() tries to get a
 descriptor using signed_descriptor_get_by_fp().  But look how the
 publish_cutoff field works: it only actually serves a descriptor when if
 it was published within the last ROUTER_MAX_AGE_TO_PUBLISH seconds.
 Otherwise, it treats the server as having no descriptor.  I think that is
 likely the major cause of what's going on here.

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


More information about the tor-bugs mailing list