| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
to err(), and a few assorted buffer overflow fixes. Also nuked the
now-useless LFS stuff.
Notes:
svn path=/stable/2.2/; revision=37729
|
| |
|
|
| |
Notes:
svn path=/stable/2.2/; revision=36379
|
| |
|
|
| |
Notes:
svn path=/stable/2.2/; revision=34097
|
| |
|
|
| |
Notes:
svn path=/stable/2.2/; revision=29403
|
| |
|
|
|
|
|
|
|
|
|
| |
Add an ntohs() and format an IP address with inet_ntoa() when
printing the details of a received ICMP packet.
PR: bin/3766
Submitted by: denny1@home.com (Denton Gentry)
Notes:
svn path=/stable/2.2/; revision=28060
|
| |
|
|
|
|
|
|
| |
this makes -c work again for targets with no route to them.
matches version 1.27
Notes:
svn path=/stable/2.2/; revision=27946
|
| |
|
|
|
|
|
| |
unreachable host better.
Notes:
svn path=/stable/2.2/; revision=27358
|
| |
|
|
|
|
|
|
| |
don't count packets that we weren't allowed to send in our
transmitted packets count.
Notes:
svn path=/stable/2.2/; revision=27303
|
| |
|
|
|
|
|
|
|
| |
remove recursinve malloc (via printf in signal handler)
allow gracefull backof on ping -f on slow links
(usleep 2 ticks if we get ENOBUFS)
Notes:
svn path=/stable/2.2/; revision=27300
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
1) getopt returnes -1 and remove 'h:' that isn't needed
2) -l needs super user now to work
3) check to make sure that address returned from gethostbyname will fit in
sin_addr
4) Fix minor strncpy bug.
5) Don't leak information about ICMP packets that aren't for you, unless
superuser.
Notes:
svn path=/stable/2.2/; revision=23326
|
| |
|
|
|
|
|
|
| |
Mostly xrefs sorts, but some general man page cleanup and mdoc
cleanup.
Notes:
svn path=/stable/2.2/; revision=23315
|
| |
|
|
|
|
|
| |
Ok'd by: jkh
Notes:
svn path=/stable/2.2/; revision=23072
|
| |
|
|
|
|
|
|
|
| |
Submitted by: Bruce Murphy <packrat@iinet.net.au>
Add '-a' audible flag to 2.2, and fix up earlier confusion.
Notes:
svn path=/stable/2.2/; revision=22420
|
| |
|
|
| |
Notes:
svn path=/stable/2.2/; revision=22416
|
| |
|
|
|
|
|
| |
Update man page to reflect '-a' audible flag.
Notes:
svn path=/stable/2.2/; revision=22360
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Submitted by: Bruce Murphy <packrat@iinet.net.au>
Modified files:
ping.c
Add the '-a' audible flag to ping, useful for debugging ethernets
without requiring the operator to jump up and look at the ping results
every 15 seconds.
Notes:
svn path=/stable/2.2/; revision=22359
|
| |
|
|
| |
Notes:
svn path=/stable/2.2/; revision=20115
|
| |
|
|
| |
Notes:
svn path=/stable/2.2/; revision=19913
|
| |
|
|
| |
Notes:
svn path=/stable/2.2/; revision=19434
|
| |
|
|
| |
Notes:
svn path=/head/; revision=18718
|
| |
|
|
|
|
|
|
|
|
|
| |
Turn this behavior off using '-Q'. This makes '-v' useless other than as
an ICMP-sniffer, which tcpdump is better at anyway.
Print out another couple of ICMP messages, and fix the printing of the
original packet (mostly byte order problems).
Notes:
svn path=/head/; revision=17724
|
| |
|
|
|
|
|
| |
Reviewed by: pst
Notes:
svn path=/head/; revision=17474
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=17320
|
| |
|
|
| |
Notes:
svn path=/head/; revision=8871
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=4862
|
| |
|
|
|
|
|
|
|
| |
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. ;)
Notes:
svn path=/head/; revision=3792
|
| |
|
|
| |
Notes:
svn path=/head/; revision=1859
|
| |
|
|
|
|
|
|
| |
in `fastboot'/`fasthalt' in which the interpreter would hang around
after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
Notes:
svn path=/head/; revision=1855
|
|
|
Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.
Notes:
svn path=/head/; revision=1558
|