mirror of
https://github.com/nmap/nmap.git
synced 2026-01-18 20:29:02 +00:00
Document new meaning of -k for Ncat
This commit is contained in:
@@ -262,7 +262,7 @@
|
||||
<varlistentry>
|
||||
<term>
|
||||
<option>-k</option>,
|
||||
<option>--keep-open</option> (Accept multiple connections)
|
||||
<option>--keep-open</option> (Accept multiple connections, do not quit on socket EOF)
|
||||
<indexterm><primary><option>--keep-open</option> (Ncat option)</primary></indexterm>
|
||||
<indexterm><primary><option>-k</option> (Ncat option)</primary><see><option>--keep-open</option></see></indexterm>
|
||||
</term>
|
||||
@@ -276,6 +276,12 @@
|
||||
until interrupted. This also means that it will never close its
|
||||
output stream, so any program reading from Ncat and looking for
|
||||
end-of-file will also hang.</para>
|
||||
<para>In connect mode, the <option>-k</option> option has a different
|
||||
meaning: when the remote end of a TCP connection shuts down its side
|
||||
of the connection, Ncat will keep running and sending any available
|
||||
data. This was the default behavior in Ncat 7.95 and earlier, but it
|
||||
was changed to better align with existing netcat implementations. TCP
|
||||
is the only transport that supports this option in connect mode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user