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

Re: SOCKS4/5 support for OR and direcotry connections



On Tue, Jan 13, 2009 at 12:26:15PM -0800, Christopher Davis wrote:
> I'm working on a patch to enable SOCKS 4 and 5 support for 
> Tor's OR and directory connections. I got SOCKS working for OR 
> connections already, but the directory behavior is a bit more
> challenging to SOCKSify, because it queues the request immediately 
> on the connection's outbuf with the directory_send_command() call
> right after connecting in directory_initiate_command_rend(). To 
> get SOCKS to work, the parameters (resource, payload, etc) would 
> need to be saved to the connection structure so 
> directory_send_command() can be called after the proxy handshake 
> finishes. Would that be acceptable?

Since Tor has moved towards doing the directory fetches over an OR
connection (it even does it by default in Tor 0.2.0.x and later),
I would suggest that you don't actually need to support socks proxies
for directory fetches.

--Roger