In the source code there is a check that the parameter to the -n optionOn 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?
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 roam@ringlet.net roam@FreeBSD.org p.penchev@storpool.com
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.