Commit Graph

627 Commits (948b58ee1f10d775aa33402db69af2b104b30c57)
 

Author SHA1 Message Date
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
David Schweikert 633ea983ed test robustness fixes 6 years ago
David Schweikert a74d32cfb1 Merge branch 'develop' of github.com:schweikert/fping into develop 6 years ago
David Schweikert 4b7d4cb536 Allow decimal numbers for '-t', '-i', '-p', and '-Q'. fixes #133 6 years ago
David Schweikert 69f11b104d rename --min_reachable again to --reachable, and update changelog 6 years ago
David Schweikert 80067fcdd5
Merge pull request #138 from deepak0004/develop
Adding -x option which allows user to specify a threshold and check if atleast those many hosts are active
6 years ago
deepak0004 03d821e983 Removing flag variable and its dependencies, printing required and reachable hosts, and changing initialisation of min_reachable 6 years ago
David Schweikert cc7316b7b8 CHANGELOG.md: add note about #139 6 years ago
deepak0004 af9b3bfbfe Adding separate exit codes for success or failure, and printing the number of reachable hosts 6 years ago
David Schweikert 6694668fdb
Merge pull request #139 from abelbeck/fping6
Add backward compatibility for fping6 sym-link

Using sym-links to select IPv6 is discouraged (because it doesn't work the same for IPv4), but I understand that this can help for some use cases (i.e. in particular for the embedded linux distro use case, where having two binaries is an issue). Also, I guess nobody is going to have a binary called fping6 and expect it to do IPv4, so, I guess, no harm done.
6 years ago
David Schweikert cc4a504d09 update changelog 6 years ago
David Schweikert 0a1983ca46
Merge pull request #140 from abelbeck/fix-no-ipv6-hang
Fix hang with '-6', with ipv6 kernel module, but not loaded
6 years ago
Lonnie Abelbeck 03e050a395 Fix hang with '-6', with ipv6 kernel module, but not loaded 6 years ago
Lonnie Abelbeck a82f40f246 Add backward compatibility for fping6 sym-link 6 years ago
deepak0004 9812557c71 Changing the exit code as per travis ci 6 years ago
deepak0004 8e33daed93 Adding travis ci tests for more coverage and rectifying a mistake 6 years ago
deepak0004 b18e930bed Making the reqd changes 6 years ago
deepak0004 7338b4b859 Adding -x option which allows user to specify a threshold and check if atleast those many hosts are active 6 years ago
David Schweikert 180c6dd8d0 fix whitespace 6 years ago
David Schweikert c380986972 add note about fixing #134 6 years ago