Hello,

      I've been working on integrating SOCKS support into code that uses SSL 
currently.  Now the easiest way is of course to use LD_PRELOAD.  Next easiest 
is to compile OpenSSL with Dante/NEC/whatever SOCKS library.  Neither of 
these is really an option, however.  What I have done is created a SOCKS 
class which uses dlopen() and can scan for SOCKS implementations on a given 
machine.  I just call Socks->read() instead of read(), etc.  From what I can 
tell, there's no way to replace the needed libc calls in OpenSSL.  Can a 
function pointer table and a function call be added to the next release to 
allow these functions to be replaced?  I'm willing to write and submit such a 
patch if you like...  I haven't found any better solution to this problem.

Thank you

-- 

George Staikos

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to