>Number:         2140
>Category:       config
>Synopsis:       SOCKS5 configuration for APACHE proxy
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Sun Apr 26 11:20:00 PDT 1998
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3b6
>Environment:
Solaris 2.6, Sun Ultra 1, Socks5-v1.0r5
>Description:
Adding support for socks5 is easy except for a few minor problems. In the 
Configure script, -lsocks needs changed to -lsocks5 and the -Dconnect=Rconnect
functions need changed to -Dconnect=SOCKSconnect. (Replace 'R' with 'SOCKS' on 
all the defines) Also at least one extra define needs added. -Dclose=SOCKSclose

SOCKS5 caches information about connections, so when apache gets a socket with 
the same file descriptor as one before, SOCKS5 thinks it's still open and 
returns EALREADY on the connect call. Redefining close fixes that.
>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]



Reply via email to