Nmap Development mailing list archives

RE: ncat --max-conns


From: Jon Greaves <jon_greaves () hotmail com>
Date: Mon, 21 Sep 2009 19:03:34 +0000


windows and i'm running version 5 of nmap

JonnyG

Date: Mon, 21 Sep 2009 13:00:52 -0600
From: david () bamsoftware com
To: jon_greaves () hotmail com
CC: nmap-dev () insecure org
Subject: Re: ncat --max-conns

On Mon, Sep 21, 2009 at 06:57:44PM +0000, Jon Greaves wrote:
On Mon, Sep 21, 2009 at 09:41:38AM +0000, Jon Greaves wrote:
I've just started playing ncat and am running into something odd with
--max-conns the documantation suggest the this command does the
following "Maximum n simultaneous connections". My ncat redirection
runs quite happily until for several hours then stops accepting
connection with the following error

New connection denied: connection limit reached (100)

I guess this makes sense but I'm pretty sure I don't have 100
simultaneous connections via ncat as each connection should be being
closed down after connection am I missing something or is there a
value i can use with --max-conns that tells it to just accept
unlimited connections.

Thanks for this report. What is the command line that you use?

ncat -l server1 143 --max-conns 100 --sh-exec "ncat --ssl imap.gmail.com 993"

I know 100 is the default but if you set it to say 10 you get the same
behaviour it kind of feels like its doing a count of total connections rather
that simultaneous connections

Another question: is this on Windows or another operating system?

David Fifield

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: