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
feature.

http://osdir.com/ml/os.apple.macports.user/2007-07/msg00072.html

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

http://seclists.org/nmap-dev/2009/q1/0037.html

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
preference?


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:

http://www.freebsd.org/cgi/man.cgi?query=nc
http://www.openbsd.org/cgi-bin/man.cgi?query=nc

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

-- 
Daniel Roethlisberger
http://daniel.roe.ch/

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


Current thread: