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

SOCKS4/5 support for OR and direcotry connections



Hello,

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?

-- 
Christopher Davis