Home page logo

nmap-dev logo Nmap Development mailing list archives

Ncat accepting connections without --keep-open
From: David Fifield <david () bamsoftware com>
Date: Mon, 13 Jun 2011 12:50:22 -0700

On Mon, Jun 13, 2011 at 06:56:55PM +0300, Shinnok wrote:
Off-topic question: In the context of ncat issues without --keep-open,
the server doesn't really block new incoming connections, instead it
accepts them and quits as soon as one of the connections is closed. Is
this the desired/planned behavior? Wouldn't it be more *correct* if we
refuse any further connections just like nc(netcat) does, when not in
brokering/keep-open/chat modes?

Yes, it sounds like Ncat should close its socket after accepting its
first connection. Would you write a test for how it's supposed to work?

David Fifield
Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]