Article delegate-en/5014 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A5013@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: delegate: socksmux doesn't work when running in background
03 Feb 2012 08:42:13 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


Hi,

 |I compiled delegate 9.9.8-pre20 but it doen's work in sockmux mode, I 
 |get this error message:
 |(UNIX) 10:44:57.405 [11696] ## sox_connects: Not Available in the Source 
 |Distribution

Sorry, I'm reminded that SockMux is restricted in source code
distributions after the DeleGate/9.8.6.

 |I made some more tests using -v, and while delegate works well as a 

You can use "-f" instead of "-v" to redirect the logging output
to the logfile.

 |SOCKS proxy using SOCKMUX for a couple of people, once I get more than a 
 |handful of users, I'm getting errors such as "Too many agents" and 
 |nothing works any more.
...
 |I tried to increase the MAXIMA options, but it doesn't seem to have any 
 |sufficient effect.

The max. parallel TCP connection over SockMux is hard-coded in src/sox.c as
#define NSOCK   64

Cheers,
Yutaka
--
  9 9   Yutaka Sato (CSDP,ITIL-F,OCUP-A,Security+,ISTQB-F)
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan

In message <_A5013@delegate-en.ML_> on 02/03/12(11:53:35)
you Renaud Bompuis <psmjqbdyi-t7hpmu7tj5xr.ml@ml.delegate.org> wrote:
 |Hi Yutaka,
 |
 |thanks for the reply.
 |
 |I compiled delegate 9.9.8-pre20 but it doen's work in sockmux mode, I 
 |get this error message:
 |(UNIX) 10:44:57.405 [11696] ## sox_connects: Not Available in the Source 
 |Distribution
 |
 |I made some more tests using -v, and while delegate works well as a 
 |SOCKS proxy using SOCKMUX for a couple of people, once I get more than a 
 |handful of users, I'm getting errors such as "Too many agents" and 
 |nothing works any more.
 |
 |I'm wondering what needs to be done so that delegate can handle a load 
 |of up to 200 users using sockmux (on linux)?
 |Is it even possible at all?
 |I tried to increase the MAXIMA options, but it doesn't seem to have any 
 |sufficient effect.
 |I couldn't find any information about performance and load testing on 
 |the website.
 |
 |Take care,
 |
 |Renaud Bompuis
 |
 |On 02/00/0000 00:01, Yutaka Sato wrote:
 |> Hi,
 |>
 |> In message<_A5011@delegate-en.ML_>  on 02/02/12(11:46:55)
 |> you Renaud Bompuis<psmjqbdyi-t7hpmu7tj5xr.ml@ml.delegate.org>  wrote:
 |>   |I am trying to make delegate work as a multiplexed SOCKS tunnel, as
 |>   |described here:
 |>   |http://www.delegate.org/delegate/SOCKS/sockmux/
 |> ...
 |>   |But the servers are throwing errors and refuse connection when running
 |>   |going to the background.
 |>   |In particular, we get this line:
 |>   |(UNIX) 10:29:53.270 [9497] #### PrivateSox Failure  ####
 |>
 |> I could reproduce the problem which seems a bug that have been
 |> introduced in 9.9.0-pre2.  Unfortunately there seems no workaround
 |> by command options to escape the problem.  A possible way to solve
 |> the problem is applying the enclosed patch to the "src/master.c"
 |>
 |> Cheers,
 |> Yutaka
 |> --
 |>    9 9   Yutaka Sato (CSDP,ITIL-F,OCUP-A,Security+,ISTQB-F)
 |>   ( ~ )  National Institute of Advanced Industrial Science and Technology
 |> _<    >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
 |> Do the more with the less -- B. Fuller
 |>
 |>
 |> *** dist/src/delegate9.9.8-pre20/src/master.c	Sun Jun 27 21:32:38 2010
 |> --- ./src/master.c	Thu Feb  2 21:41:05 2012
 |> ***************
 |> *** 2677,2682 ****
 |> --- 2677,2684 ----
 |>    	addarg(AVStr(ap),"-L20x%X",LOG_type2);
 |>    	addarg(AVStr(ap),"-L30x%X",LOG_type3);
 |>    	addarg(AVStr(ap),"-L40x%X",LOG_type4);
 |> + /* fix-120202a stop beDaemon() detected as "PrivateSox Failure" 9.9.0-pre2 */
 |> + addarg(AVStr(ap),"-f");
 |>
 |>    	ac += DELEGATE_copyEnvPM(elnumof(av)-ac,&av[ac],"SOXCONF");
 |>    	ac += DELEGATE_copyEnvPM(elnumof(av)-ac,&av[ac],"CONNECT");

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V