summaryrefslogtreecommitdiffstats
path: root/sbin/ping/ping.8
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1998-08-26 01:58:39 +0000
committerdillon <dillon@FreeBSD.org>1998-08-26 01:58:39 +0000
commit0dd585520fcca4d065f3e062a82ba49d8fa04322 (patch)
treea8530c68e1d723e63fd62839a62104787c2eed0d /sbin/ping/ping.8
parent489a278c8f035dd5ee4bb2b682aefebef62da6c4 (diff)
downloadFreeBSD-src-0dd585520fcca4d065f3e062a82ba49d8fa04322.zip
FreeBSD-src-0dd585520fcca4d065f3e062a82ba49d8fa04322.tar.gz
(well tested at BEST): -i option can now take FP values (e.g. -i 0.1),
extremely useful for networking testing. Other options secured from user-level D.O.S. attacks. -f, -s now root-only. -i wait times < 1.0 root-only. -c count limited to 100 and defaults to 16 when ping run by non-root user.
Diffstat (limited to 'sbin/ping/ping.8')
-rw-r--r--sbin/ping/ping.814
1 files changed, 8 insertions, 6 deletions
diff --git a/sbin/ping/ping.8 b/sbin/ping/ping.8
index 1b3fd18..b3a954f 100644
--- a/sbin/ping/ping.8
+++ b/sbin/ping/ping.8
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)ping.8 8.2 (Berkeley) 12/11/93
-.\" $Id: ping.8,v 1.14 1998/04/01 00:32:18 imp Exp $
+.\" $Id: ping.8,v 1.15 1998/07/15 06:45:00 charnier Exp $
.\"
.Dd March 1, 1997
.Dt PING 8
@@ -85,7 +85,8 @@ Stop after sending
.Pq and receiving
.Ar count
.Tn ECHO_RESPONSE
-packets.
+packets. non-root users may not send more then 100 packets and default
+to 16, while root defaults to infinity.
.It Fl d
Set the
.Dv SO_DEBUG
@@ -100,7 +101,7 @@ sent a period
.Dq \&.
is printed, while for every
.Tn ECHO_REPLY
-received a backspace is printed.
+received a backspace is printed. Only root may specify this option.
This provides a rapid display of how many packets are being dropped.
Only the super-user may use this option.
.Bf -emphasis
@@ -111,8 +112,9 @@ Wait
.Ar wait
seconds
.Em between sending each packet .
-The default is to wait for one second between each packet.
-This option is incompatible with the
+The default is to wait for one second between each packet. The
+wait time may be fractional, but only root may specify values
+less then 1 second. This option is incompatible with the
.Fl f
option.
.It Fl I Ar interface
@@ -196,7 +198,7 @@ The default is 56, which translates into 64
data bytes when combined
with the 8 bytes of
.Tn ICMP
-header data.
+header data. Only root may use this option.
.It Fl T Ar ttl
Set the IP Time To Live for multicasted packets.
This flag only applies if the ping destination is a multicast address.
OpenPOWER on IntegriCloud