1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-16 04:39:03 +00:00

Formatting of Ncat environment vars.

This commit is contained in:
david
2013-08-06 22:24:10 +00:00
parent 6df37710e3
commit 95855e25a5

View File

@@ -494,24 +494,53 @@
</variablelist> </variablelist>
<para>All exec options add the following variables to the child's environment: <para>All exec options add the following variables to the child's environment:</para>
<itemizedlist> <variablelist>
<listitem>NCAT_REMOTE_ADDR - the remote address - in connect mode, <varlistentry>
it's the one we're connecting to, in listen mode - it's the one <term><envar>NCAT_REMOTE_ADDR</envar></term>
that connected to us,</listitem> <listitem>
<para>
<listitem>NCAT_REMOTE_PORT - the remote port number, where "remote" the remote address - in connect mode,
means the same as above,</listitem> it's the one we're connecting to, in listen mode - it's the one
that connected to us.
<listitem>NCAT_LOCAL_ADDR - our local address used for </para>
establishing/receiving the connection,</listitem> </listitem>
</varlistentry>
<listitem>NCAT_LOCAL_PORT - our local port number,</listitem> <varlistentry>
<term><envar>NCAT_REMOTE_PORT</envar></term>
<listitem>NCAT_PROTO - the protocol name - TCP, UDP or SCTP,</listitem> <listitem>
<para>
</itemizedlist> the remote port number, where "remote"
</para> means the same as above.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><envar>NCAT_LOCAL_ADDR</envar></term>
<listitem>
<para>
our local address used for
establishing/receiving the connection.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><envar>NCAT_LOCAL_PORT</envar></term>
<listitem>
<para>
our local port number.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><envar>NCAT_PROTO</envar></term>
<listitem>
<para>
the protocol name - TCP, UDP or SCTP
</para>
</listitem>
</varlistentry>
</variablelist>
<para>Currently the address fields are numeric IP addresses. In IPv6 <para>Currently the address fields are numeric IP addresses. In IPv6
mode, the address might be not expanded.</para> mode, the address might be not expanded.</para>