Opened 15 years ago

Last modified 8 years ago

#158 closed enhancement (Deferred)

Restrictive HTTP proxies unable to retrieve directory due to file size restrictions

Reported by: supershine Owned by: phobos
Priority: Very Low Milestone:
Component: Core Tor/Tor Version:
Severity: Keywords:
Cc: supershine Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


Jun 11 18:42:24.593 [notice] Application request when we're believed to

be offline. Optimistically trying again.

Jun 11 18:42:39.094 [warn] connection_dir_client_reached_eof(): Received
http status code 413 ("Request entity too large") from server
''. Failing.

Could it be possible to try retrieving the directory in chunks to
circumvent this? Or simply try obtaining smaller subsets of the

[Automatically added by flyspray2trac: Operating System: OSX 10.4 Tiger]

Child Tickets

Change History (7)

comment:1 Changed 15 years ago by phobos

Can you tell me version of Tor? OSX Version? Anything about your network setup? The Tor directory isn't excessively
large, yet.

comment:2 Changed 15 years ago by supershine

Tor v0.1.0.9-rc.
Mac OS X 10.4.1 (Darwin Mountain-Book.local 8.1.0 Darwin Kernel Version 8.1.0: Tue May 10 18:16:08 PDT 2005; root:xnu-792.1.5.obj~4/RELEASE_PPC Power Macintosh powerpc)

Network connection is using a GPRS connection and a "WAP" gateway (aka an HTTP proxy for small connections).

The gateway refuses files over ~500k I believe.

comment:3 Changed 15 years ago by phobos

Now I understand. That's going to be hard to work around, without affecting everyone getting directories. I could grab the raw dump and zip it up into sub 500KB files, but that's only a single workaround for onetime usage.

comment:4 Changed 15 years ago by supershine

Could it be possible for the directories to publish a "micro" (signed) subset of the whole directory? Then the restricted clients could use this to pull the full directory? Or alternately, perhaps some directory servers could be run on HTTPS (there doen't seem to be infrastructure in place for this) which would allow clients to use a CONNECT method on the proxy to get the directory. I haven't looked at the code for the directory fetching and I kinda assume it is not using a full featured HTTP library, so this would be a lot of work.


comment:5 Changed 15 years ago by phobos

Unfortunately, this would be a major change in how the dirservers are handled by servers/clients. Feel free to work up a patch for consideration. I don't see this becoming a part of tor in the near future though. My pragmatic answer is to find a better provider. :)

comment:6 Changed 15 years ago by phobos

flyspray2trac: bug closed.

comment:7 Changed 8 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.