diff options
author | Chris Kuethe <ckuethe@cvs.openbsd.org> | 2009-05-31 17:33:40 +0000 |
---|---|---|
committer | Chris Kuethe <ckuethe@cvs.openbsd.org> | 2009-05-31 17:33:40 +0000 |
commit | 8ab81686e9da47bf574ca4315fb6c8a32314db3b (patch) | |
tree | 28a90b679b2ef4d11ab13343aa9fde45c1daa8aa /sbin/ping6/ping6.8 | |
parent | 27c775ee9dc631b95ec2a1f83dad749c8ee5d8bb (diff) |
add audible output to ping and ping6: -e beeps when pings are replied, -E beeps when
pings are dropped.
suggestion to make ping and ping6 use the same flag from deraadt & sthen.
reminder to not forget about ping6 from todd and naddy.
ok deraadt, sthen
"well, i don't object..." from a few others.
Diffstat (limited to 'sbin/ping6/ping6.8')
-rw-r--r-- | sbin/ping6/ping6.8 | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/sbin/ping6/ping6.8 b/sbin/ping6/ping6.8 index 25cc4fa7795..17049b1d379 100644 --- a/sbin/ping6/ping6.8 +++ b/sbin/ping6/ping6.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ping6.8,v 1.39 2007/06/23 16:15:18 itojun Exp $ +.\" $OpenBSD: ping6.8,v 1.40 2009/05/31 17:33:39 ckuethe Exp $ .\" $KAME: ping6.8,v 1.57 2002/05/26 13:18:25 itojun Exp $ .\" .\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -28,7 +28,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 23 2007 $ +.Dd $Mdocdate: May 31 2009 $ .Dt PING6 8 .Os .Sh NAME @@ -36,10 +36,7 @@ .Nd send ICMPv6 ECHO_REQUEST packets to network hosts .Sh SYNOPSIS .Nm ping6 -.\" without ipsec, or new ipsec -.Op Fl dfHmNnqtvWw -.\" old ipsec -.\" .Op Fl AdEfnNqRtvwW +.Op Fl dEefHmNnqtvWw .Op Fl a Ar addrtype .Op Fl b Ar bufsiz .Op Fl c Ar count @@ -49,8 +46,6 @@ .Op Fl i Ar wait .Op Fl l Ar preload .Op Fl p Ar pattern -.\" new ipsec -.\".Op Fl P Ar policy .Op Fl S Ar sourceaddr .Op Fl s Ar packetsize .Op Ar hops ... @@ -71,10 +66,6 @@ ICMPv6 header formatted as documented in RFC 2463. The options are as follows: .Bl -tag -width Ds -.\" old ipsec -.\" .It Fl A -.\" Enables transport-mode IPsec authentication header -.\" .Pq experimental . .It Fl a Ar addrtype Generate an ICMPv6 Node Information Node Addresses query, rather than an echo-request. @@ -115,9 +106,18 @@ packets. Set the .Dv SO_DEBUG option on the socket being used. -.\" .It Fl E -.\" Enables transport-mode IPsec encapsulated security payload -.\" .Pq experimental . +.It Fl E +Emit an audible beep (by sending an ascii BEL character to the +standard error output) when no packet is received before the next +packet is transmitted. +To cater for round-trip times that are longer than the interval +between transmissions, further missing packets cause a bell only +if the maximum number of unreceived packets has increased. +This is disabled for flood pings. +.It Fl e +Emit an audible beep (by sending an ascii BEL character to the +standard error output) after each non-duplicate response is received. +This is disabled for flood pings. .It Fl f Flood ping. Outputs packets as fast as they come back or one hundred times per second, |