summaryrefslogtreecommitdiffstats
path: root/sbin/ping
Commit message (Collapse)AuthorAgeFilesLines
* Drop setuid ASAP, to minimize code executed as root.fenner1996-08-091-3/+17
| | | | Reviewed by: pst
* Limit the risk of `buf' overrun in ping.c when printing hostnames.peter1996-07-281-2/+3
| | | | | | | | | Note, this is not really a security risk, because the buffer in question is a static variable in the data segment and not on the stack, and hence cannot subert the flow of execution in any way. About the worst case was that if you pinged a long hostname, ping could coredump. Pointed out on: bugtraq (listserv@netspace.org)
* Remove trailing whitespace.rgrimes1995-05-301-3/+3
|
* In past releases of FreeBSD, I have used the exit status of "ping" todg1994-11-291-1/+4
| | | | | | | | | | | | determine whether a connection to a given machine is up or not. In FreeBSD 2.0 (and therefore, I assume, BSD 4.4) the exit code of ping is always zero, even if no packets were received. I would like to propose the following change to /usr/src/sbin/ping/ping.c to restore this useful behaviour: Submitted by: Denis Fortin
* Reviewed by: jkhsef1994-10-221-1/+41
| | | | | | Print out summary information on receipt of SIGINFO; also, stop the kernel printing of information and restore it on exit. Now, it needs an option to be quiet. ;)
* Changed output formatting to accurately represent the precision.dg1994-08-051-2/+2
|
* Convert to our man installation style. Also fixed long-standing bugwollman1994-08-051-1/+1
| | | | | in `fastboot'/`fasthalt' in which the interpreter would hang around after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-263-0/+1321
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud