Hello!

socks5 is useless without thread.
It looks like it is designed to use threads by default.
Without '--with-threads" and proper linking it leaves zombie-processes.

diff below:

--- Makefile    Sun Sep 16 01:30:01 2007
+++ /home/en/Makefile.new       Fri Oct 19 00:44:56 2007
@@ -12,7 +12,7 @@
 PERMIT_PACKAGE_FTP=    commercial
 PERMIT_DISTFILES_CDROM=        commercial
 PERMIT_DISTFILES_FTP=  commercial
-WANTLIB=               c termcap
+WANTLIB=               c termcap pthread

 # here are some extra configure args you may wish to use
 # see the readme file before screwing with them
@@ -27,6 +27,7 @@
                --with-srvconffile="${SYSCONFDIR}/socks5.conf" \
                --with-srvpidfile="/var/run/socks5.pid" \
                --with-srvidtfile="/var/run/socks5.ident" \
+               --with-threads \
                ${EXTRA_CONFIGURE_ARGS}

 MAKE_ENV=      INSTALL_RUNSOCKS="${INSTALL_RUNSOCKS}"




Best regards

Maxim Bourmistrov
mailto: [EMAIL PROTECTED]
tfn.: +46735461332



Reply via email to