1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +00:00

The Nroff man pages aren't really able to render superscripts (AFAICT) and so 2^32 was rendering as just 232. So I changed it to just say that Nping will run continuously if '-c 0' is specified. If it really stops after 4 billion rounds, that is a bug that we should probably fix at some point

This commit is contained in:
fyodor
2012-09-12 07:16:41 +00:00
parent b32c5f617a
commit 2c6b5e7d24
2 changed files with 4 additions and 5 deletions

View File

@@ -3104,7 +3104,7 @@ SENT (4.0330s) TCP 192.168.0.21 > 3.3.3.3:139
are sent in one round. So if you specify <option>-c 100</option>, Nping will
loop over the different target hosts and ports 100 times, sending
a total of 256&thinsp;&times;&thinsp;2&thinsp;&times;&thinsp;100&nbsp;=&nbsp;51200 packets. By default Nping runs for
5 rounds. If a value of 0 is specified, Nping will run for 2<superscript>32</superscript> rounds.
5 rounds. If a value of 0 is specified, Nping will run continuously.
</para>
</listitem>
</varlistentry>

View File

@@ -2,12 +2,12 @@
.\" Title: nping
.\" Author: [see the "Authors" section]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
.\" Date: 06/16/2012
.\" Date: 09/12/2012
.\" Manual: Nping Reference Guide
.\" Source: Nping
.\" Language: English
.\"
.TH "NPING" "1" "06/16/2012" "Nping" "Nping Reference Guide"
.TH "NPING" "1" "09/12/2012" "Nping" "Nping Reference Guide"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -1586,8 +1586,7 @@ Displays the program\*(Aqs version number and quits\&.
.RS 4
This option lets you specify the number of times that Nping should loop over target hosts (and in some cases target ports)\&. Nping calls these
\(lqrounds\(rq\&. In a basic execution with only one target (and only one target port in TCP/UDP modes), the number of rounds matches the number of probes sent to the target host\&. However, in more complex executions where Nping is run against multiple targets and multiple ports, the number of rounds is the number of times that Nping sends a complete set of probes that covers all target IPs and all target ports\&. For example, if Nping is asked to send TCP SYN packets to hosts 192\&.168\&.1\&.0\-255 and ports 80 and 433, then 256 \(mu 2\ \&=\ \&512 packets are sent in one round\&. So if you specify
\fB\-c 100\fR, Nping will loop over the different target hosts and ports 100 times, sending a total of 256 \(mu 2 \(mu 100\ \&=\ \&51200 packets\&. By default Nping runs for 5 rounds\&. If a value of 0 is specified, Nping will run for 232
rounds\&.
\fB\-c 100\fR, Nping will loop over the different target hosts and ports 100 times, sending a total of 256 \(mu 2 \(mu 100\ \&=\ \&51200 packets\&. By default Nping runs for 5 rounds\&. If a value of 0 is specified, Nping will run continuously\&.
.RE
.PP
\fB\-e \fR\fB\fIname\fR\fR, \fB\-\-interface \fR\fB\fIname\fR\fR (Set the network interface to be used) .\" --interface (Nping option) .\" -e (Nping option)