Peter Bray
1400fc29a5
Set the variable "prog" before the first call to any routine using error reporting
...
Error reporting uses the variable "prog" which is null prior to obtaining a
reference to argv[0]. The call to open_ping_socket() uses this on an error,
such as the executable not being SUID or otherwise privileged invocation.
Solaris 10 printf(3C) of "%s" on a null pointer causes a core dump.
8 years ago
Peter Bray
79ba8c9ae7
Portability Fix: <netinet/ip_icmp.h> requires n_time definition from <netinet/in_systm.h>
...
The include file <netinet/in_systm.h> is already used in src/fping.c,
so hopefully it should not be problem on other systems to include it here.
Discovered on Solaris 10 Update 8, tested on Solaris 10 Update 11 and Solaris 11.2
8 years ago
David Schweikert
dde37baac2
fix average when discarding reply in interval counting
8 years ago
David Schweikert
2cb0860ec6
Merge pull request #106 from ktsaou/develop
...
minor netdata improvements
8 years ago
Costa Tsaousis (ktsaou)
498acc6853
removed fix for 100% cpu time
8 years ago
David Schweikert
36f0b76645
fix interval reporting
8 years ago
Costa Tsaousis (ktsaou)
2f25e1ff8b
fix for 100% CPU time when -l -Q are given
8 years ago
Costa Tsaousis (ktsaou)
4897b015b4
converted netdata charts to area charts; added netdata to trace_flag; fixed compiler warning about setuid
8 years ago
David Schweikert
64af251a33
safer -i option parsing
8 years ago
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
68e3f6d692
fix again test
8 years ago
David Schweikert
de9c88d966
test fix
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
David Schweikert
c79a5212e4
Merge branch 'ktsaou-develop' into develop
8 years ago
David Schweikert
c14af5f2cc
document new -N option in ChangeLog
8 years ago
David Schweikert
2ae80b2210
add test for new -N option
8 years ago
David Schweikert
d019e68581
fix help test
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
a8861f98bb
Merge branch 'jgerbeck-develop' into develop
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
38ebf23370
Merge branch 'donbowman-develop' into develop
8 years ago
David Schweikert
88c40cae3a
Merge branch 'develop' of https://github.com/donbowman/fping into donbowman-develop
8 years ago
David Schweikert
6cd267c3a8
update changelog, travis-ci test
8 years ago
David Schweikert
649922393c
Merge pull request #95 from jbackman/patch-1
...
Issue compliling on RHEL/Centos 7
8 years ago
David Schweikert
03fa11dbf4
add link to documentation
8 years ago
David Schweikert
db7b97cd46
fix license field in contrib/fping.spec to match the license of fping (BSD original old license with advertising clause)
8 years ago
David Schweikert
bb32d96daf
update ChangeLog
8 years ago
David Schweikert
d19547b505
Merge pull request #102 from martintopholm/long-prefixes
...
Ignore network and broadcast for cidrs /31 and /32
8 years ago
Martin Topholm
3838e90154
Added tests -g for long prefixes
...
Expanded tests for -g option to hopefully cover both long prefixes and
too long prefixes.
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
3dd524f127
minor coveralls fix
8 years ago
David Schweikert
03abd06bee
attempt to fix coveralls
8 years ago
David Schweikert
093ca16719
try to fix tests on travis-ci (no ipv6?)
8 years ago
David Schweikert
2e316571bd
try to fix tests on travis-ci (no ipv6?)
8 years ago
David Schweikert
458998ab5f
try to fix tests on travis-ci (no ipv6?)
8 years ago
David Schweikert
9e1b32ba11
try to fix tests on travis-ci (no ipv6?)
8 years ago
David Schweikert
2273dc1c3f
try to fix tests on travis-ci (no ipv6?)
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
Justin Backman
f2e08d4a16
Issue compliling on RHEL/Centos 7
...
warning: compiling 'fping.c' with per-target flags requires 'AM_PROG_CC_C_O' in 'configure.ac'
9 years ago
Don Bowman
7c7448ab8c
add path mtu discovert (MTU) AKA Don't Fragment support
9 years ago