Commit Graph

137 Commits (180c6dd8d0abfd3ce0accbf1e78d07060a5e226f)

Author SHA1 Message Date
David Schweikert 180c6dd8d0 fix whitespace 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 b4277e33a9 fix --help test, prepare 4.1 release 7 years ago
David Schweikert df7a819fd9 Allow running fping --help even when raw socket can't be opened, fixes #131 7 years ago
David Schweikert b2d35174c9 Fix segfault introduced with #118 change, thanks Simon 7 years ago
David Schweikert bb0eeaaeba Fix running on servers with disabled IPv6, fixes #118 7 years ago
Ramon Novoa c950ceccea Return -1 when socket_can_read times out.
0 is a valid file descriptor. Use -1 instead to signal a timeout.
7 years ago
David Schweikert 5d84ad4c94 avoid duplicate hosts with -m 8 years ago
David Schweikert 2ac223ed34 improve help text 8 years ago
David Schweikert 7f54300634 improve help text 8 years ago
David Schweikert c2d86786e2 fix compiler warning 8 years ago
David Schweikert cbfdcb40ff -i/-p restrictions only enforced with ./configure --enable-safe-limits, change -i default from 25 to 10 8 years ago
David Schweikert 94f976910a reword a bit help text for #32 8 years ago
David Schweikert 80a45dc165 reformat 8 years ago
David Schweikert 7592cc2a19 discard late packets, auto-adjust timeout for -c/-C/-l, fixes #32 8 years ago
David Schweikert 24ce982e5b improve coverage 8 years ago
David Schweikert d18ad321de long options, better example 8 years ago
David Schweikert bab585e9fa new option --rdns 8 years ago
David Schweikert 2a86182f95 make help a bit narrower 8 years ago
David Schweikert 4f672b9b62 work on long option names, #73 8 years ago
David Schweikert 6bd608bf7a initial work on long option names, #73 8 years ago
David Schweikert 9be8d6cb5d remove references to fping6 8 years ago
David Schweikert d9f86182e8 fix setting of IPv4 source address 8 years ago
David Schweikert 48ec5600e0 fix compatibility issue with GNU Hurd 8 years ago
David Schweikert 725893402d reformat 8 years ago
David Schweikert e5c3839073 integrate optparse (https://github.com/skeeto/optparse) 8 years ago
David Schweikert 9787dd0136 sync with develop 8 years ago
David Schweikert 6b99b7bb89 compatibility fixes and prepare rc2 8 years ago
David Schweikert 35d52d0b30 Fix option -m to return all IPs of a hostname 8 years ago
David Schweikert 98269fb83e unification work 8 years ago
David Schweikert 12971e5409 ipv4/ipv6 unification fixes 8 years ago
David Schweikert 3c53d9be3f first version of fping that can do ipv4 and ipv6 at the same time 8 years ago
David Schweikert 8d4c69998d unification work 8 years ago
David Schweikert 4262e74ff9 more cleanup 8 years ago
David Schweikert e827b6719a another attempt at fixing coverity warning 8 years ago
David Schweikert 64d41f6295 coverity scan fixes 8 years ago
David Schweikert 23d4a021fc fix warnings 8 years ago
David Schweikert 324242b144 space / formatting fixes and remove unused code 8 years ago
David Schweikert d017390cbc remove trailing whitespace, fix mixed whitespace 8 years ago
David Schweikert 9d2daa77c8 remove trailing whitespace 8 years ago
David Schweikert 9adb9a8480 Merge branch 'develop' into unify 8 years ago
David Schweikert b5046cfa78 Fix -M expecting an argument, when it shouldn't 8 years ago
David Schweikert c090cd770d work on ipv4/ipv6 unification 8 years ago
David Schweikert e71164de22 restart work on ipv4/ipv6 unification 8 years ago
David Schweikert 8481d7432a simplify restrictions, fixes #29, #32 8 years ago
David Schweikert 2cf801fdfb Support kernel-timestamping of received packet, fixes #46 8 years ago
David Schweikert 926c104e90 Fix -q not suppressing some ICMP error messages, fixes #83 8 years ago
David Schweikert 099d873253 AIX compatibility, fixes #69 8 years ago
David Schweikert 356e7b3a69 fix compatibility issue with MacOS in release 3.14 (fixes #109) 8 years ago
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