Nmap Development mailing list archives

Re: [PATCH] [Ncat] Fix EOF handling


From: Kris Katterjohn <katterjohn () gmail com>
Date: Sun, 07 Jun 2009 23:20:41 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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?

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

David Fifield


Cheers,
Kris Katterjohn

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJKLJGYAAoJEEQxgFs5kUfurikP+wQl34Jks1wZWVBVYr5ML1Ox
F6U/gW+i/zC9zYaULbFrxeSEhPN+AK6Yy5GuQd1XDY4GtxdWqINOfJH1DxQOrgYI
MTfwb0VUMSGcSafRVrz/wWYe9IauQvaS37RFdQuwyoLUqC4ScEGZwqdQ1sy8umts
64oOu2Gg0HHZN6d9AjMeCz/x1ACKd00lk4reNrS4pCljKM2QFcux+Zm3DipNvM3s
+DVb11+MKp1IGi5XZYPppVYlxRPLHhWySSgwhyb9RqOPYm50bgnHqkIJxe3oLg5Y
ATAx0Maf23h8k+twbiLKc6yXpNwUz/d8uDBiuaWpFoafa0YLD4SfgWk+Jze2rdNF
T4B+qyy9YV7mILf8U/5BbDKzVSHMQeqgV5kdmtJqCjHmWFkV0lcBRHp26tKGoerM
Xi91LLOgYTPNOGdFQvA6UdKjMxVGdaKYay/VlLXwnS/TXhvMg+HRhjY9QCbFulDS
sTgPJiETigo/Sj+aRlckU6lQ31MP3Jl4P47xWNcqeDKwtjQhj0ZCOd179Z2ktvAy
nq4C25dyS9+8QRcccSwusqOaRHH99rZN/eBkn4p0EcYw2UkC01Fc1JG+oTdXfSls
8zIRtM70Vk0rK+zzU2GBLQeNreT5Ejy6aNEIf8Ws4vPKana1vQIy+f8U1ZdrT1RQ
aEq2/XOtAnAgNAZG79QR
=0Zio
-----END PGP SIGNATURE-----

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


Current thread: