Hi Thanks, it works with -n 500
Edgars On Mon, Apr 7, 2014 at 5:41 PM, Peter Pentchev <[email protected]> wrote: > On Mon, Apr 07, 2014 at 03:15:12PM +0200, Edgars M. wrote: > > Hi > > > > It looks like -n flag does not work when I create socket on server: > > > > /usr/local/bin/spiped -d -s '[0.0.0.0]:1081' -t '[10.10.1.20]:1080' -k > > ~/danteproxy.key -n 1000 > > usage: spiped {-e | -d} -s <source socket> -t <target socket> -k <key > file> > > [-DfFj] [-n <max # connections>] [-o <connection timeout>] [-p > > <pidfile>] > > [{-r <rtime> | -R}] > > > > OS: CentOS 6.5 x86_64 > > spiped: 1.3.1 > > > > Am I missing something? > > In the source code there is a check that the parameter to the -n option > should be more than 0 and less than 500. This does not seem to be > documented in the manual page or in the usage message :) But that's > the reason for your troubles. Try with 500, things should work better. > > G'luck, > Peter > > -- > Peter Pentchev [email protected] [email protected] [email protected] > PGP key: http://people.FreeBSD.org/~roam/roam.key.asc > Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13 > I've heard that this sentence is a rumor. >
