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.
5 years ago
David Schweikert
12961d59ec
fix google dns names
5 years ago
David Schweikert
7c61ac54be
update changelog
5 years ago
David Schweikert
1d24c3f48a
Merge branch 'master' into develop
5 years ago
David Schweikert
f8b327923e
Merge pull request #149 from stromnet/inet6-too-strict-check
...
Do not fail if using fping6 with -6 flag
5 years ago
Johan Ström
6fd4f8bd91
Do not fail if using fping6 with -6 flag
...
Mostly for backwards compatability
5 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
David Schweikert
8cff0657be
Merge pull request #134 from Polynomial-C/v4.1_diable-ipv6_fix
...
Fix build with --disable-ipv6
6 years ago
Lars Wendler
aa4a5f681a
Fix build with --disable-ipv6
...
Otheriwse build breaks with:
fping.c:690:24: error: ‘socket6’ undeclared (first use in this function);
did you mean ‘socket4’?
6 years ago
David Schweikert
f9e1964160
prepare release
6 years ago
David Schweikert
1a660bd63b
Add note about #132
6 years ago
David Schweikert
1b47fba939
Merge pull request #132 from gsnw/develop
...
Fix FreeBSD ipv6 build
6 years ago
German-Service-Network
d9acc8e5a7
Fix FreeBSD ipv6 build
...
Source: https://svnweb.freebsd.org/ports/head/net/fping/files/patch-configure.ac?revision=473606&view=markup
Fix build fping with ipv6 support on FreeBSD
6 years ago
David Schweikert
b4277e33a9
fix --help test, prepare 4.1 release
6 years ago
David Schweikert
df7a819fd9
Allow running fping --help even when raw socket can't be opened, fixes #131
6 years ago
David Schweikert
b2d35174c9
Fix segfault introduced with #118 change, thanks Simon
7 years ago
David Schweikert
d46f298e62
fix test-14-ping-internet-hosts.pl failing
7 years ago