summaryrefslogtreecommitdiffstats
path: root/sbin/ping/ping.8
Commit message (Collapse)AuthorAgeFilesLines
* - improve readabilitydanger2009-01-111-8/+12
| | | | | Reviewed by: trhodes, keramida MFC after: 3 days
* - rename the RETURN VALUES section to EXIT STATUSdanger2009-01-071-1/+1
| | | | | | | - not bumping a date as this is not a real content change Approved by: ru MFC after: 3 days
* Add a new feature to ping(8) - possibility to specify maximumglebius2006-04-051-1/+7
| | | | | | | | | | wait time for a packet. This allows to: - Count number of packets received before and after specified time. - Shorten time of execution of 'ping -c 1' scripts. Submitted by: Lytochkin Boris <lytboris gmail.com>
* -mdoc sweep.ru2005-11-181-3/+4
|
* Implement a new feature for ping(8) - sweeping pings. In a sweepingglebius2005-08-151-1/+24
| | | | | | | | | ping ICMP payload of packets being sent is increased with given step. Sweeping pings are useful for testing problematic channels, MTU issues or traffic policing functions in networks. PR: bin/82625 Submitted by: Chris Hellberg <chellberg juniper.net> (with some cleanups)
* Remove advertising clause from University of California Regent's license,markm2004-04-091-4/+0
| | | | | | per letter dated July 22, 1999. Approved by: core, imp
* mdoc(7): Use the new feature of the .In macro.ru2003-09-081-1/+1
|
* The current recommended default time to live (TTL) for the Internetru2003-06-251-3/+3
| | | | | | | Protocol (IP) is 64 [RFC791, RFC1122]. Prodded by: Igor Kucherenko <kivvy@sunbay.com> Obtained from: http://www.iana.org/assignments/ip-parameters
* Back out support for RFC3514.mdodd2003-04-021-4/+2
| | | | RFC3514 poses an unacceptale risk to compliant systems.
* Implement support for RFC 3514 (The Security Flag in the IPv4 Header).mdodd2003-04-011-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (See: ftp://ftp.rfc-editor.org/in-notes/rfc3514.txt) This fulfills the host requirements for userland support by way of the setsockopt() IP_EVIL_INTENT message. There are three sysctl tunables provided to govern system behavior. net.inet.ip.rfc3514: Enables support for rfc3514. As this is an Informational RFC and support is not yet widespread this option is disabled by default. net.inet.ip.hear_no_evil If set the host will discard all received evil packets. net.inet.ip.speak_no_evil If set the host will discard all transmitted evil packets. The IP statistics counter 'ips_evil' (available via 'netstat') provides information on the number of 'evil' packets recieved. For reference, the '-E' option to 'ping' has been provided to demonstrate and test the implementation.
* Fix and sync SYNOPSIS and usage().ru2003-03-111-12/+32
| | | | Prodded by: bde
* Spelling, grammar fixes.mdodd2003-03-051-3/+3
|
* Remove documentation of old '-M' flag.mdodd2003-03-051-15/+5
| | | | Re-order.
* Support ICMP_TSTAMP/ICMP_TSTAMPREPLY.mdodd2003-03-021-0/+10
| | | | This alters the meaning of the '-M' flag.
* Sort options.ru2003-02-231-37/+43
|
* Send ICMP_MASKREQ packets when the '-M' option is specified.mdodd2003-01-281-4/+9
|
* Better error handling for -s.maxim2003-01-231-1/+1
| | | | | | | | | | | | | | Submitted by: bde Do not constantify maximum payload size. It is 65467 with -R (record route), and 65507 without it. Reviewed by: silence on -net Proposed by: bde I am going to MFC rev.1.77 - 1.81 ping.c and rev.1.39 and 1.40 ping.8: MFC after: 6 months
* Implement -D (do not fragment) and -z (TOS) options.maxim2003-01-231-1/+6
| | | | | | PR: bin/29164 Reviewed by: silence of -net Obtained from: OpenBSD
* english(4) police.schweikh2002-12-271-1/+1
|
* Spelling: s/then/than/ where appropriate.ru2002-12-241-1/+1
|
* Add an -o option to exit after receiving one reply. This can be useddd2002-10-021-2/+4
| | | | | | | | to test whether a link is live. PR: 38573 Submitted by: David Taylor <davidt@yadt.co.uk> Obtained from: NetBSD
* The .Nm utilitycharnier2002-07-061-7/+9
|
* Document ping(8) reaction to SIGINFO.maxim2002-02-071-1/+13
| | | | | | | PR: doc/33639 Reviewed by: ru Approved by: ru MFC after: 1 week
* The -A option (beep when packets are dropped) didn't work quiteiedowse2001-09-251-3/+6
| | | | | | | | | | | | | right; after a single packet was dropped it beeped after every transmission. Change its implementation to only output a bell when there is an increase in the maximum value of the number of packets that were sent but not yet received. This has the benefit that even for very long round-trip times, ping -A will do roughly the right thing after a few inital false-positives. Reviewed by: ru
* mdoc(7) police:ru2001-08-071-16/+17
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* Remove whitespace at EOL.dd2001-07-151-7/+7
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Add a -A option to ping which beeps when packets are lost.phk2001-05-241-1/+7
| | | | | PR: 11818 Submitted by: Marc Evans marc@destek.net
* Add new option -m which allows the user to set IP TTL.ru2001-03-091-0/+6
|
* Prepare for mdoc(7)NG.ru2000-12-181-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-2/+4
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Brucify:billf2000-01-201-0/+1
| | | | | | | | | add an upper limit to -t match the types of return values and the variables they are stuffed in make the man page and usage() a little more consistantly ugly less obfuscation. Submitted by: adrian, billf
* Add '-t X' which times out after pinging for X seconds.billf2000-01-141-0/+3
| | | | Submitted by: adrian
* libipsec and IPsec related apps. (and some KAME related man pages)shin2000-01-061-0/+8
| | | | | Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Finish documenting -S src-addr change.imp1999-02-191-1/+8
| | | | | | | Forgotten by: me Forgotten for: Far Too Long Gently Reminded by: Ruslan Ermilov <ru@ucb.crimea.ua> Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
* Allow PINGing from any address on multihomed hostsimp1999-01-061-1/+2
| | | | | | | | | In the words of the submitter: "The patch below allows to ping from any address on the multihomed host. The man page is also updated, the text was cutted from traceroute(8)." Submitted by: Ruslan Ermilov PR: 6832
* Fixed non-use of .Nm and hard line breaks in rev.1.16-1.17:bde1998-11-291-7/+12
|
* Updated manual page. Removed description of (now defunct) -c restrictions.dillon1998-08-271-3/+2
|
* (well tested at BEST): -i option can now take FP values (e.g. -i 0.1),dillon1998-08-261-6/+8
| | | | | | | 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.
* Correct use of .Nm. Remove unused #includes. Use warn(). cosmetic in usage()charnier1998-07-151-10/+16
| | | | | string. Translate 0 sec 1000000 usec to 1 sec 0 usec.
* A fairly rare possible buffer overflow:imp1998-04-011-1/+4
| | | | | Theo fixed this and tqbf reported it Obtained from: OpenBSD
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-191-2/+4
|
* Calculate and print out the standard deviation of the round trip times.wollman1997-07-181-15/+20
| | | | | | | This isn't necessarily the best statistic, but it is by far the easiest to calculate. Update the man page to be more explicit about precisely which statistics are printed out. Revert some of jmg's bogus man page changes from rev 1.11.
* fix man page to use marcos instead of parens, quotes and bracesjmg1997-03-021-60/+79
| | | | plus other minor fixes
* 1) Minor nits in the usage message from bde. I took out the hard tabs andimp1997-03-021-1/+2
| | | | | | | | | used spaces to align the second line under the program name. 2) Cache uid after call to setuid(getuid()) so we don't waste a system call for each packet with a call to getuid for the -v case. 3) Update manual to reflect new restriction on -l from last delta. Suggested by: bde, Bill Fenner
* 1) Fix usage to match convention and manual. Fix manual to match usage.imp1997-03-021-4/+9
| | | | | | | | | | | | | 2) Must be root to run preload (OpenBSD ping.c 1.8) 3) Don't print all replies unless verbose and root (from idea in OpenBSD ping.c 1.10 and 1.11) to avoid leaking information available only to root. 4) Remove unused h: from option string to getopt. 5) Make the compiler happy with exit(0) (Lite-2?) Reviewed by: Dan Cross <tenser@spitfire.ecsel.psu.edu> Good candidate for 2.2 and 2.1 (as are many of the 1.17 changes).
* Make ping -Wall clean (except for one warning).wollman1997-03-011-13/+35
| | | | | | | | | Do a better job of argument parsing. Don't permit ping -f to a multicast address (very antisocial). Don't permit -L, -I, -T options with unicast addresses. Ensure that we ask for only AF_INET addresses (should close PR#2584). Return <sysexits.h> error codes for failures. Document this. Fix man page to identify the author and put sections in correct order.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
OpenPOWER on IntegriCloud