Commit Graph

80 Commits (32ab06bdd1bbe053c19f770ae852cecdd50cde6d)

Author SHA1 Message Date
David Schweikert 32ab06bdd1 port last fix also to netdata 8 years ago
David Schweikert ea37408c77 another fix for #97 (fixes #97) 8 years ago
David Schweikert 1e67616388 first attempt at fixing #97 (fixes #97) 8 years ago
David Schweikert 502cd3b0f7 remove unused code 8 years ago
David Schweikert c6547a118e fix tests 8 years ago
David Schweikert 7c7e007502 - (bugfix) Lower -i limit to 1 instead of 10
- (bugfix) Improve interval preciseness of -Q reporting
8 years ago
Costa Tsaousis (ktsaou) 6470a3d5ae
added help info 8 years ago
Costa Tsaousis (ktsaou) 9c9c166d39
remove dimension lost in favor of returned 8 years ago
Costa Tsaousis (ktsaou) 2426485fe0
added another dimension to track excess received packets 8 years ago
Costa Tsaousis (ktsaou) eda4c85842
re-order chart information 8 years ago
Costa Tsaousis (ktsaou) a2cbca7a7b
added option -N to allow fping output statistics in the format expected by netdata 8 years ago
David Schweikert 6d12dfbbcc Add option -o for accumulated outage time (#90) 8 years ago
David Schweikert 814c852da6 New option '-M' to set the 'Don't Fragment' flag (#91, Don Bowman) 8 years ago
David Schweikert 88c40cae3a Merge branch 'develop' of https://github.com/donbowman/fping into donbowman-develop 8 years ago
Martin Topholm 1264b10784 Ignore network and broadcast for cidrs /31 and /32
fping has previously been strict about network address and broadcast
addreses. In the commit this is loosened a bit to permit fping to ping
cidrs with prefix length 31, which are commonly used for link ranges
(for newer equipment) and length 32 which denotes a single ip address.

For prefix lengths 31 and 32 fping will simply ignore network address
and broadcast addresses, and consider all addresses in range as a
target.
8 years ago
David Schweikert b5b630bd3c fix a couple of compiler warnings 9 years ago
David Schweikert a37399ede9 Exit code should be 2 when the hostname can't be resolved (fixes #98) 9 years ago
Don Bowman 7c7448ab8c add path mtu discovert (MTU) AKA Don't Fragment support 9 years ago
Jan Gerbecks 458c986d8b added changes for accumulated outage time 9 years ago
Bill Blough 4eb955ee85 Pass imcp unreachable message string to print_warning instead of int.
This fixes the segfault reported in issue 85.
9 years ago
David Schweikert 42ceba6069 Remove apparently dead code (Ryan C. Underwood) 9 years ago
Andrey Jr. Melnikov 4e14f407aa Use more readably cksum variant and move function into v4 sockets code. 9 years ago
Anthony DeRobertis 58fcce9547 New option -R to use random bytes instead of NULLs (#72, Anthony DeRobertis) 9 years ago
David Schweikert c628bfd090 remove unused variable 9 years ago
David Schweikert 07e719d8db add -Wall -Wextra, fix some errors 10 years ago
David Schweikert 2f4781214b further unification work 10 years ago
David Schweikert 22e4ad996f further unification work 10 years ago
David Schweikert 039c8b0645 Revert 'get all addresses' change for now 10 years ago
David Schweikert 614362b555 Use sockaddr_storage and simplify code, so that we can one day support both IPv4 and IPv6 with the same binary 10 years ago
David Schweikert 3cc482f2d3 Fix double entries with fping -u and unreachable hosts 11 years ago
David Schweikert 2b5d9ef795 remove support for NIS groups, do not retry twice DNS lookup on DNS lookup problem 11 years ago
David Schweikert e79444f09a more tests 11 years ago
David Schweikert b779e14db6 test fix 11 years ago
David Schweikert c9f276b3cd more tests 11 years ago
David Schweikert 75101dd843 more tests 11 years ago
David Schweikert a7f351fb8e re-order options in usage information 11 years ago
David Schweikert 86f0b1e380 Allow option '-f' also for non-root (since setuid privileges are dropped) 11 years ago
David Schweikert 3cf9a8a3cd Fix confusing error message with -g and IPv6 addresses (fixes #58) 11 years ago
David Schweikert af0446b046 more tests 11 years ago
David Schweikert 8bd200905d some more tests 11 years ago
David Schweikert 0decb829d8 silence clang warning 11 years ago
David Schweikert 3e8eb6c613 Fix random output on socket error (reported by Aleksandrs Saveljevs, #56) 11 years ago
David Schweikert d6808efd81 Fix segmentation fault introduced in version 3.7 with loop mode (#55) 11 years ago
David Schweikert d141744adb Fix fping hanging forever on permanent sendto failure (Shawn Chu, #52) 11 years ago
David Schweikert e1cdf8e1d3 Fix again compatibility issue with FreeBSD (Shawn Chu) 11 years ago
David Schweikert 5c68d6f338 don't consider duplicate pings as successful replies (#53) 11 years ago
David Schweikert 0ab66f80de Refactor socket handling, allow running as non-root on Mac OS X by using non-privileged ICMP (#7) 11 years ago
David Schweikert 9fca2a141b Fix wrong min RTT value with -Q option (reported by Alexander Ivanov, #51) 11 years ago
David Schweikert 4aad0b2c14 fix compilation issue 12 years ago
David Schweikert fb5f5779cc Merge seqmap branch, fixes #12 12 years ago