matt
0228ca2671
Add support for printing out messages about missing packet gaps. This is
...
done with the -v switch. If -q is also given with -v, then only the
packet gap messages will be printed along with summary after each gap
message.
2002-08-12 18:24:53 +00:00
itojun
f104c36660
u_short cleansing (use u_int16_t where appropriate)
2002-08-01 08:56:59 +00:00
itojun
16e84a7542
clarify comment when nreceived > ntransmitted. from deraadt
2002-05-31 01:10:53 +00:00
bjh21
be27950398
.Nm . -> .Nm "" .
2002-04-06 15:49:30 +00:00
wiz
02b65f0c5c
Sync options with usage.
2001-12-20 20:23:09 +00:00
soren
dc53bf3cba
Sync getopt() / man page with actual getopt options.
2001-12-20 20:10:33 +00:00
wiz
f8379a3c43
Simplify markup, use .Nx, sort sections.
2001-11-16 12:05:38 +00:00
wiz
4ce43ae0cd
Whitespace nits
2001-11-16 10:25:42 +00:00
lukem
7623928b3a
fix a couple of -Wshadow warnings
2001-11-01 08:06:57 +00:00
yamt
01f308933f
- use IP_MAXPACKET instead of 65535.
...
- change max packet size from 65468 to 65467(= IP_MAXPACKET-60-8).
2001-10-10 15:58:04 +00:00
yamt
d549add37f
- fix overrun bug.
...
- bump bufsize to fix "packet loss" with large packet.
2001-10-09 19:17:02 +00:00
jhawk
18883403cb
Update Dd to rev 1.31 (ipsec changes)
...
Some hosts and gateways ignore record route, but not "many." Of course,
more are firewalled. But that's not what was meant here.
Expand flood-pinging admonition to include multicast addresses.
Note flags that conflict with ping under Solaris and FreeBSD.
Reorder BUGS in rough order of significance.
2001-06-25 01:12:53 +00:00
wiz
73f545bb5b
Drop arguments of .Os.
2001-06-05 11:22:41 +00:00
jhawk
1277f0fe42
Xr icmp(4), inet(4), ip(4)
2001-04-03 14:00:09 +00:00
bjh21
0009ba56a7
Add a dependency on libm.
2001-02-20 00:15:56 +00:00
cgd
8a986b2e96
convert to use getprogname()
2001-02-19 22:48:57 +00:00
itojun
3a616a4855
correct use of howmany() for fd_set. commented by deraadt
2001-01-12 18:50:57 +00:00
is
9979da6cbb
Format string cleanups by Bill Sommerfeld.
2000-10-10 20:24:49 +00:00
itojun
794318ceff
avoid fd_set overflow. see openbsd select(2).
2000-10-07 06:50:43 +00:00
itojun
62e82d7e0c
sync with latest libipsec and kernel.
2000-01-31 14:24:23 +00:00
mycroft
3809e348e0
Fix data comparison to not overrun array bounds.
2000-01-20 01:04:41 +00:00
itojun
8c46b24007
correct typo. s/LDADD/DPADD/
1999-07-12 19:00:52 +00:00
itojun
d1d8f0f73c
do not pass NULL to errx().
...
From: Chris Joness <cjones@rupert.honors.montana.edu>
1999-07-04 15:24:35 +00:00
itojun
4cd93a1723
do not bark even if ipsec policy setting for "route flushing 127.0.0.1"
...
ping socket is not successful. it usually means that the kernel is
not ipsec ready, and in that case this should be just okay.
1999-07-04 13:27:03 +00:00
kleink
19b055d5a7
0 -> STDIN_FILENO
1999-07-03 15:09:51 +00:00
itojun
909714f4a5
IPsec support (specify policy on ping - quite useful to test
...
if IPsec is working or not) is added.
1999-07-02 04:53:23 +00:00
sommerfeld
6c3d02c865
Support for ping -a: beep when packet received.
...
Slightly tweaked from version submitted by andrew@untraceable.net in PR7815
1999-06-19 19:15:22 +00:00
tron
bb880545b1
Fix a typo.
1999-06-12 17:17:16 +00:00
mjl
144e7d3345
Remove duplicate paragraph. Closes PR/7498 by Geoff C. Wing.
1999-04-29 21:53:08 +00:00
mjl
6299fb0813
Correct nokerninfo tty flag being left set in most error cases.
...
Closes PR/7388 by Dave Huang <khym@bga.com>.
1999-04-17 01:17:15 +00:00
sommerfe
79b9ef47d2
Don't bother doing stddev calculation when n==1, since that results in
...
a computation of 0.0/0.0.
On IEEE systems you get a NaN from this; non-IEEE systems probably
give you a SIGFPE.
1999-03-08 01:16:20 +00:00
mycroft
f6590b22cd
Clean up SYNOPSIS formatting.
1999-03-07 11:02:05 +00:00
jwise
bce8ed1c8e
Once more around the hickory shrub. Faster and simpler stddev calculation from
...
Bill Studenmund.
1999-02-25 19:07:15 +00:00
jwise
1b92119539
Fix calculation of standard deviation. From Brian C. Grayson <bgrayson@orac.ece.utexas.edu>
1999-02-25 03:35:34 +00:00
jwise
12711b010a
Add code from Daniel Hagerty <hag@ai.mit.edu> to print standard deviation
...
when printing out final statistics line.
Closes PR bin/6198
1999-02-24 19:31:38 +00:00
jtk
f7514cc95c
typo: should be loose source routing
1998-12-22 16:36:41 +00:00
msaitoh
91395a8690
delete .TP (because this document is written in "mdoc" format)
1998-11-17 21:02:38 +00:00
christos
7f1ed758a3
char -> unsigned char
1998-11-06 16:52:42 +00:00
enami
de113f1843
Fix usage string;
...
- option to specify maxwait is -w, not -i.
- add missing -h host and -Q option.
1998-10-26 04:45:35 +00:00
christos
99c0436391
Update to the 980911 version from ftp.rhyolite.com:/src/ping.tar.Z
1998-10-25 13:51:31 +00:00
frueauf
27993f82cc
Add getuid() check if -f is set, fixes pr 6222 by Uwe Arndt.
1998-10-01 19:39:33 +00:00
tv
8f7ed4aa27
Restrict -l to the superuser as suggested in PR 3973 from <soren@t.dk>.
...
Also distinguish "-f" from "-i 0.x" in the superuser restriction messages.
1998-09-14 17:08:55 +00:00
tv
b6b7269733
Nuke the termios stuff from the 1997/03/11 import, which prevents ping
...
from being run in the background of most shells without redirecting stdin
from /dev/null. (AFAICT, the termios stuff is useless and does not
interfere with SIGINFO handling.)
1998-09-14 12:52:47 +00:00
mycroft
519d858510
__AUDIT__ cleanup.
1998-07-28 19:22:54 +00:00
fair
3d7afc6d03
fix bad .Xr references
1998-04-29 09:49:10 +00:00
fair
dc026e0515
Change occurrences of "UNIX" to .Ux or .At as appropriate.
1998-04-28 06:00:51 +00:00
kleink
6913d5696a
Take into consideration that icmp_nextmtu is stored in network byte order;
...
from Leonard Samuelson in PR bin/5230.
1998-04-16 09:02:56 +00:00
perry
34a98169f0
macroize BSD, NetBSD, FreeBSD and misc cleanup
1998-02-06 05:54:12 +00:00
christos
764e7492a8
PR/4615: David Jones: Ping usage does not show -o option.
1997-12-01 08:41:48 +00:00
christos
89e0b4d7e4
Make the "failed to clear cached route" a warning only if verbose is set.
...
This always happens when lo0 is not configured and confuses new users.
1997-11-30 22:33:30 +00:00