Commit Graph

646 Commits (59f32cefb2551c17be3c88b4ab544fe1f2e2a62c)
 

Author SHA1 Message Date
David Schweikert 5eff605bbb
Merge pull request #185 from laddp/develop
Add SIGQUIT summary support similar to ping
5 years ago
Patrick Ladd e064c36df8 Add SIGQUIT summary support similar to ping
This reverts commit 3b3877f651af816006ab620f7a189c2c1a3fad8a.
5 years ago
David Schweikert ee648fccde Merge pull request #172 from vlvkobal/develop
Fix xmt stats in Netdata output
5 years ago
Steven Noonan ad451e7a15
test-05: don't assume -D timestamp is based on UNIX epoch
If CLOCKID != CLOCK_REALTIME, it probably will not have anything to do
with the UNIX epoch, so it could be smaller than 10 digits.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
5 years ago
Steven Noonan 754a21e2bd
move to 1us resolution for latency measurement
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
5 years ago
Steven Noonan 8aa4361118
allow passing hex or decimal arguments to -z (debug) flag
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
5 years ago
Steven Noonan e21b68f62e
main: add missing getopt_long specification for -z debug argument
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
5 years ago
David Schweikert 25e30da512
Merge pull request #172 from vlvkobal/develop
Fix xmt stats in Netdata output
5 years ago
David Schweikert 589d326650
Merge pull request #174 from tycho/macos-unbreak-getaddrinfo
macos: use AI_UNUSABLE hint for getaddrinfo()
5 years ago
David Schweikert 43767e2fbc
Merge pull request #173 from tycho/linux-unprivileged-ping
Linux unprivileged ping support
5 years ago
Steven Noonan 44dd04562c
test-11-nopriv: check Linux GID permission for unprivileged ping
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
5 years ago
Steven Noonan 6bc29919d3
linux: account for missing IP header block when using SOCK_DGRAM
Linux doesn't include an IP header in the payload when using an
unprivileged SOCK_DGRAM socket.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
5 years ago
Steven Noonan 1486bf209b
use kernel-assigned ping ident value
On Linux, when running with an unprivileged process, the kernel does not
respect the assigned "id" field. So in that scenario we need to ask the
kernel what assignment it has given us instead.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
5 years ago
Steven Noonan 5187f5b990
macos: use AI_UNUSABLE hint for getaddrinfo()
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
5 years ago
Vladimir Kobal edf8475f63 Fix xmt stats in Netdata output 5 years ago
David Schweikert bc5017b329
Merge pull request #167 from cranderson/gcc10
use extern in header files when declaring global variables
5 years ago
David Schweikert c1967a21fc
Merge pull request #168 from cranderson/formatstrings
increase some buffer sizes to eliminate format warnings
5 years ago
David Schweikert 659d3d837d
Merge pull request #170 from gsnw/develop
Add Azure Pipline jobs
5 years ago
German Service Network 5b5fa55d63 Add Azure Pipline jobs 5 years ago
Charles R. Anderson a75a6f8675 increase some buffer sizes to eliminate -Wformat-overflow and -Wformat-truncation warnings 5 years ago
Charles R. Anderson 0ed73181eb GCC 10 compatibility: use extern in header files when declaring global variables 5 years ago
David Schweikert aba04241c7 add _GNU_SOURCE to fix some warnings 5 years ago
David Schweikert 410e66ddcc fix usage of open_ping_socket_ipv4/6 5 years ago
David Schweikert 18dcc6af70 get rid of &tz argument in gettimeofday (obsolete) 5 years ago
David Schweikert 99c0829df0
Merge pull request #153 from gsnw/develop
Create Azure Pipline Testbuild without test-14-ping-internet-hosts.pl
5 years ago
David Schweikert 88963ebb1b
Merge pull request #154 from pbhenson/fix_-4_bug
Fix -4 option when IPv6 disabled
5 years ago
David Schweikert 39a567d162
Merge pull request #163 from kbucheli/fail_on_interface_binding_errors
Fail on interface binding errors
5 years ago
Konrad Bucheli 745cf4b1cf make fping fail if it cannot bind the interface (-I) 5 years ago
Konrad Bucheli bc9ce2fdf1 make fping fail if it cannot bind the interface (-I) 5 years ago
Paul B. Henson 509f5a59cb
Fix -4 option when IPv6 disabled
When IPv6 is disabled, hints_ai_family is set to AF_INET at initialization, resulting in the error "can't specify both -4 and -6" if the -4 option is supplied. If there's no IPv6, make the -4 option a no-op.
5 years ago
German Service Network a77e2e6c18 Create Azure Pipline Testbuild without test-14-ping-internet-hosts.pl 5 years ago
brownowski 5883c6f272
Update fping.c
Should only increase num_alive if response is not a duplicate.  

In cases where multiple pings are sent, num_alive can increase past one for a host if a duplicate ping response is received while h->num_recv ==1.
6 years ago
David Schweikert 12961d59ec fix google dns names 6 years ago
David Schweikert 7c61ac54be update changelog 6 years ago
David Schweikert 1d24c3f48a Merge branch 'master' into develop 6 years ago
David Schweikert f8b327923e
Merge pull request #149 from stromnet/inet6-too-strict-check
Do not fail if using fping6 with -6 flag
6 years ago
Johan Ström 6fd4f8bd91 Do not fail if using fping6 with -6 flag
Mostly for backwards compatability
6 years ago
David Schweikert 54a1321775 update changelog 6 years ago
David Schweikert 4fa4c15530
Merge pull request #148 from wopfel/docu-stats-correction
Corrected long option name of -s to --stats
6 years ago
David Schweikert 151fef9312 fix internet test that uses a name with multiple a records 6 years ago
Bernd Arnold 4125a1922c Corrected long option name of -s to --stats
The option --src is an alias for the uppercase -S.

Stumbled upon this in the man page.

When running "fping -h", the option is printed correctly:
$ -s, --stats        print final stats
6 years ago
David Schweikert d6b67d84e6
Merge pull request #145 from Jesin/fixurl
Fix links to CHANGELOG.md and README.md
6 years ago
Jesin ec3b62cad5 Fix links to CHANGELOG.md and README.md 6 years ago
David Schweikert d6d037b900
Merge pull request #144 from xtaran/develop
README.md improvements
6 years ago
Axel Beckert 60c0ad3a6a Merge the two redundant mentions of the man page 6 years ago
Axel Beckert 0d4648c976 Add some missing full stops
Capitalize "github".
6 years ago
Axel Beckert 046d9e4a45 Improve Markdown formatting 6 years ago
Axel Beckert f4a5de41d3 Use HTTPS for link to fping homepage 6 years ago
David Schweikert f47dc1948a prepare release v4.2 6 years ago
David Schweikert a4522f1af2 Get rid of warning "timeout (-t) value larger than period (-p) produces unexpected results", fixes #142 6 years ago