Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: [PATCH] [Ncat] Fix EOF handling
From: Daniel Roethlisberger <daniel () roe ch>
Date: Mon, 8 Jun 2009 08:54:22 +0200

Kris Katterjohn <katterjohn () gmail com> 2009-06-07:
David Fifield wrote:
That's a good idea. In
svn://svn.insecure.org/nmap-exp/david/nmap-listen I added
-k/--keep-open like you suggested. -k doesn't conflict with
any nc or GNU Netcat options. However, I see that a Windows
version of Netcat uses -L ("listen harder") for much the same


There was a request for -L in Ncat, and Kris pointed out that
-l already does that.


But because persistent connections cause some programs to
lose the tail end of transfers, we're thinking of making
non-persistent the default. I think the ncat-listen branch
does what we need, but it remains to choose the user
interface. I like -k/--keep-open, but -L (and maybe
--Listen?) has the benefit of a precedent. Does anyone have a

I'm confused: Daniel said in his initial post that the -k
option in his patch is like the same option from BSD netcat.
So -k has precedent too, right?

Correct, Eric Jackson's netcat, part of the FreeBSD and OpenBSD
base systems, has the -k option:


But either way, I prefer -k to -L.

Daniel Roethlisberger

Sent through the nmap-dev mailing list
Archived at http://SecLists.Org

  By Date           By Thread  

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