From 2c6b5e7d243ab045475d3c2b6000044a94f3cf0c Mon Sep 17 00:00:00 2001 From: fyodor Date: Wed, 12 Sep 2012 07:16:41 +0000 Subject: [PATCH] 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 --- nping/docs/nping-man.xml | 2 +- nping/docs/nping.1 | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/nping/docs/nping-man.xml b/nping/docs/nping-man.xml index 5ad75d4d2..6716500e9 100644 --- a/nping/docs/nping-man.xml +++ b/nping/docs/nping-man.xml @@ -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 , Nping will loop over the different target hosts and ports 100 times, sending a total of 256 × 2 × 100 = 51200 packets. By default Nping runs for - 5 rounds. If a value of 0 is specified, Nping will run for 232 rounds. + 5 rounds. If a value of 0 is specified, Nping will run continuously. diff --git a/nping/docs/nping.1 b/nping/docs/nping.1 index f5ff01646..2e3228d39 100644 --- a/nping/docs/nping.1 +++ b/nping/docs/nping.1 @@ -2,12 +2,12 @@ .\" Title: nping .\" Author: [see the "Authors" section] .\" Generator: DocBook XSL Stylesheets v1.76.1 -.\" 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)