| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Reviewed by: trhodes, keramida
MFC after: 3 days
Notes:
svn path=/head/; revision=187067
|
|
|
|
|
|
|
|
|
|
| |
- not bumping a date as this is not a real content change
Approved by: ru
MFC after: 3 days
Notes:
svn path=/head/; revision=186843
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
Notes:
svn path=/head/; revision=157535
|
|
|
|
| |
Notes:
svn path=/head/; revision=152568
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=149086
|
|
|
|
|
|
|
|
|
| |
per letter dated July 22, 1999.
Approved by: core, imp
Notes:
svn path=/head/; revision=128073
|
|
|
|
| |
Notes:
svn path=/head/; revision=119893
|
|
|
|
|
|
|
|
|
|
| |
Protocol (IP) is 64 [RFC791, RFC1122].
Prodded by: Igor Kucherenko <kivvy@sunbay.com>
Obtained from: http://www.iana.org/assignments/ip-parameters
Notes:
svn path=/head/; revision=116806
|
|
|
|
|
|
|
| |
RFC3514 poses an unacceptale risk to compliant systems.
Notes:
svn path=/head/; revision=112985
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
Notes:
svn path=/head/; revision=112929
|
|
|
|
|
|
|
| |
Prodded by: bde
Notes:
svn path=/head/; revision=112110
|
|
|
|
| |
Notes:
svn path=/head/; revision=111930
|
|
|
|
|
|
|
| |
Re-order.
Notes:
svn path=/head/; revision=111927
|
|
|
|
|
|
|
| |
This alters the meaning of the '-M' flag.
Notes:
svn path=/head/; revision=111765
|
|
|
|
| |
Notes:
svn path=/head/; revision=111287
|
|
|
|
| |
Notes:
svn path=/head/; revision=110009
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=109734
|
|
|
|
|
|
|
|
|
| |
PR: bin/29164
Reviewed by: silence of -net
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=109731
|
|
|
|
| |
Notes:
svn path=/head/; revision=108317
|
|
|
|
| |
Notes:
svn path=/head/; revision=108260
|
|
|
|
|
|
|
|
|
|
|
| |
to test whether a link is live.
PR: 38573
Submitted by: David Taylor <davidt@yadt.co.uk>
Obtained from: NetBSD
Notes:
svn path=/head/; revision=104339
|
|
|
|
| |
Notes:
svn path=/head/; revision=99501
|
|
|
|
|
|
|
|
|
|
| |
PR: doc/33639
Reviewed by: ru
Approved by: ru
MFC after: 1 week
Notes:
svn path=/head/; revision=90351
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=83940
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=81251
|
|
|
|
| |
Notes:
svn path=/head/; revision=79754
|
|
|
|
| |
Notes:
svn path=/head/; revision=79530
|
|
|
|
|
|
|
|
| |
PR: 11818
Submitted by: Marc Evans marc@destek.net
Notes:
svn path=/head/; revision=77119
|
|
|
|
| |
Notes:
svn path=/head/; revision=74029
|
|
|
|
| |
Notes:
svn path=/head/; revision=70152
|
|
|
|
| |
Notes:
svn path=/head/; revision=68960
|
|
|
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
Notes:
svn path=/head/; revision=57668
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=56342
|
|
|
|
|
|
|
| |
Submitted by: adrian
Notes:
svn path=/head/; revision=55996
|
|
|
|
|
|
|
|
| |
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
Notes:
svn path=/head/; revision=55505
|
|
|
|
| |
Notes:
svn path=/head/; revision=50476
|
|
|
|
|
|
|
|
|
|
| |
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>
Notes:
svn path=/head/; revision=44138
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=42337
|
|
|
|
| |
Notes:
svn path=/head/; revision=41409
|
|
|
|
| |
Notes:
svn path=/head/; revision=38588
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=38549
|
|
|
|
|
|
|
|
| |
string.
Translate 0 sec 1000000 usec to 1 sec 0 usec.
Notes:
svn path=/head/; revision=37671
|
|
|
|
|
|
|
|
| |
Theo fixed this and tqbf reported it
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=34976
|
|
|
|
| |
Notes:
svn path=/head/; revision=34673
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=27508
|
|
|
|
|
|
|
| |
plus other minor fixes
Notes:
svn path=/head/; revision=23304
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=23295
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
Notes:
svn path=/head/; revision=23251
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=23247
|
|
|
|
| |
Notes:
svn path=/head/; revision=22990
|