[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #11648 [Tor]: Problem parsing .z-compressed descriptors fetched via DirPort
#11648: Problem parsing .z-compressed descriptors fetched via DirPort
-------------------------+-----------------------
Reporter: karsten | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Tor | Version:
Resolution: | Keywords: tor-relay
Actual Points: | Parent ID:
Points: |
-------------------------+-----------------------
Comment (by wfn):
Replying to [comment:13 atagar]:
> > Does that mean tor sends partial content?
>
> Hi Karsten, isn't this the same issue as #9379? Nine months back I
noticed that the DirPort's compressed responses were very frequently
truncated. Retries could address it, but the failure rate was so high it
was actually better for DocTor to opt for uncompressed requests...
>
>
https://gitweb.torproject.org/doctor.git/commit/c7bd07015a5e7fa52be542cda05bb12fca070c4d
Ah, so there ''was'' a ticket for this. :) Yes, AFAICT this is the same
issue. Same exception in python's traceback, etc.
There's a useful comment there,
> In theory, you could use your script to download from a directory
mirror, right? Can you find a directory mirror that logs on debug level
that you then request server or extra-info descriptors from?
I now remember actually trying to download the `tor/server/all[.z]` from a
(very-small-time) exit relay which is also a directory mirror (with the
intention of hacking in "dump descriptor data (for the `GET` request) as
it comes to debug log / to file" functionality into it (switching to tor
git-master would be easy anyway)), and getting an empty response for
`tor/server/all` and `tor/server/all.z`:
* http://95.85.10.71/tor/server/all
* http://95.85.10.71/tor/server/all.z
But:
* http://95.85.10.71/tor/status-vote/current/consensus.z -> works.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11648#comment:14>
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