]>
 
 
git.gsnw.org Git - fping.git/log 
 
 
 
 
 
 
 
 
Erik Auerswald  [Tue, 6 Feb 2024 20:42:55 +0000  (21:42 +0100)] 
 
Test that negative numbers are not accepted 
 
Erik Auerswald  [Tue, 6 Feb 2024 19:20:23 +0000  (20:20 +0100)] 
 
Fix a comment describing a test 
 
Erik Auerswald  [Tue, 9 Jan 2024 11:40:46 +0000  (12:40 +0100)] 
 
Defensive coding: guard against a division by zero 
 
In the function print_per_system_stats(), if packets have been 
lost, the number of sent packets is checked to be positive before 
dividing by it.  If no packets have been lost, this is not checked. 
Either the existing check is not needed, or both code paths need 
the check. 
 
The function print_per_system_splits() is quite similar to 
print_per_system_stats(), and has the equivalent guards against a 
division by zero in both code paths, not just one of them. 
 
In the spirit of defensive coding, I think it is better to be safe 
and add the missing guard against a division by zero. 
 
Erik Auerswald  [Wed, 10 Jan 2024 09:47:12 +0000  (10:47 +0100)] 
 
Update exit status description in man page 
 
With the options -x and -X, fping does not require all hosts to 
be reachable for an exit status of 0. 
 
This addresses a comment in issue #99 suggesting such a man page 
update. 
 
Erik Auerswald  [Mon, 8 Jan 2024 08:35:49 +0000  (09:35 +0100)] 
 
Test examples from man page 
 
The man page gives two examples combining -C and -q, but 
these combinations are not yet tested.  Add tests to help 
ensure the documented examples continue to work. 
 
Erik Auerswald  [Mon, 8 Jan 2024 08:16:29 +0000  (09:16 +0100)] 
 
Add test for option combination -Q SECS -o 
 
The -o option adds outage duration to the periodic reports. 
Each report shows the outage since the last report, not since 
the beginning. 
 
Erik Auerswald  [Mon, 8 Jan 2024 08:15:04 +0000  (09:15 +0100)] 
 
Add longer test for -Q SECS 
 
The statistics printed every SECS seconds show the results 
since the the last report, not since the beginning.  Also, 
every report starts with a timestamp. 
 
Erik Auerswald  [Mon, 8 Jan 2024 08:12:59 +0000  (09:12 +0100)] 
 
Test that -g does not accept IPv6 
 
Erik Auerswald  [Mon, 8 Jan 2024 08:12:09 +0000  (09:12 +0100)] 
 
Test edge case behavior of "fping -g" 
 
* wrong number or kind of arguments fails and prints usage; 
* an empty range silently pings nothing and fping returns 1; 
* a too large range fails with an error message; 
* a zero CIDR prefix length fails with an error message. 
 
deepkv  [Fri, 15 Dec 2023 16:25:00 +0000  (17:25 +0100)] 
 
Add --fwmark/-k option for Linux 
 
German Service Network  [Fri, 15 Sep 2023 19:20:14 +0000  (21:20 +0200)] 
 
Change obsolete macro from AC_CANONICAL_SYSTEM to AC_CANONICAL_TARGET 
 
German Service Network  [Sun, 10 Sep 2023 08:33:33 +0000  (10:33 +0200)] 
 
Move the OS detection to configure.ac script to set the use of clock_realtime 
 
German Service Network  [Fri, 15 Sep 2023 19:41:42 +0000  (21:41 +0200)] 
 
Fix deprected github action ubuntu-18.04 to ubuntu-22.04 
 
German Service Network  [Wed, 1 Nov 2023 07:39:57 +0000  (08:39 +0100)] 
 
Checking obsolete macro AC_PROG_CC_STDC as of autoconf-2.70 
 
German Service Network  [Sat, 30 Sep 2023 19:12:59 +0000  (21:12 +0200)] 
 
Checking obsolete macro AC_GNU_SOURCE as of autoconf-2.62 
 
darless  [Thu, 31 Aug 2023 15:28:21 +0000  (10:28 -0500)] 
 
Remove dockerfile from root 
 
darless1  [Tue, 6 Dec 2022 19:03:16 +0000  (13:03 -0600)] 
 
Move to contrib folder 
 
darless1  [Tue, 6 Dec 2022 18:52:41 +0000  (12:52 -0600)] 
 
Dockerfile for fping 
 
German Service Network  [Sun, 3 Sep 2023 07:30:06 +0000  (09:30 +0200)] 
 
Repair the faulty test 15 
 
ilyam8  [Tue, 12 Apr 2022 07:35:14 +0000  (10:35 +0300)] 
 
remove host from netdata chart titles 
 
ilyam8  [Wed, 1 Jun 2022 16:33:24 +0000  (19:33 +0300)] 
 
remove www 
 
ilyam8  [Wed, 1 Jun 2022 16:29:55 +0000  (19:29 +0300)] 
 
update netdata link 
 
Vincent OLLIVIER  [Sun, 27 Nov 2022 04:08:37 +0000  (23:08 -0500)] 
 
Updating documentation regarding root requirements since for --file parameter 
 
Khem Raj  [Mon, 29 Aug 2022 22:41:51 +0000  (15:41 -0700)] 
 
fping: Initialize msghdr struct in a portable way 
 
Initializing the structure assuming glibc layout results in 
compile errors on musl, therefore do partial intialization and then 
assigning the members individually. 
 
Signed-off-by: Khem Raj <raj.khem@gmail.com>  
German Service Network  [Sun, 31 Jul 2022 06:53:57 +0000  (08:53 +0200)] 
 
Test for fping: add option to exit immediately once N hosts have been found 
 
German Service Network  [Sat, 30 Jul 2022 10:39:54 +0000  (12:39 +0200)] 
 
fping: add option to exit immeditely once N hosts have been found 
 
German Service Network  [Sun, 24 Jul 2022 08:54:38 +0000  (10:54 +0200)] 
 
Fixing build warning long int on seqmap.c line 84 
 
German Service Network  [Sun, 28 May 2023 19:03:22 +0000  (21:03 +0200)] 
 
OpenBSD is not affected by the "broken alpha headers" bug, too. 
 
German Service Network  [Sat, 19 Aug 2023 20:12:26 +0000  (22:12 +0200)] 
 
Fallback to SO_TIMESTAMP if SO_TIMESTAMPNS is not available 
 
David Schweikert  [Fri, 21 Oct 2022 13:34:37 +0000  (15:34 +0200)] 
 
correctly call getnameinfo() 
 
David Schweikert  [Fri, 21 Oct 2022 13:31:19 +0000  (15:31 +0200)] 
 
reformat 
 
Thomas Klausner  [Fri, 13 May 2022 04:49:52 +0000  (06:49 +0200)] 
 
NetBSD/alpha is not affected by the "broken alpha headers" bug. 
 
David Schweikert  [Sat, 5 Mar 2022 15:58:47 +0000  (16:58 +0100)] 
 
fix socket4 vs socket6 typo (#249, thanks @sfan5) 
 
David Schweikert  [Sun, 13 Feb 2022 16:45:57 +0000  (17:45 +0100)] 
 
fix unprivileged ping broken in v5.1 (fixes #248) 
 
David Schweikert  [Sun, 6 Feb 2022 13:20:39 +0000  (14:20 +0100)] 
 
update changelog and 5.1 release date 
 
David Schweikert  [Sun, 6 Feb 2022 12:55:40 +0000  (13:55 +0100)] 
 
Update autotools and fix code coverage issues. 
 
Erik Auerswald  [Sat, 5 Feb 2022 11:41:00 +0000  (12:41 +0100)] 
 
add missing files to autoclean.sh 
 
At least on my system (Ubuntu GNU/Linux 18.04.6 LTS), autoclean.sh 
misses three files: compile, doc/Makefile, and src/Makefile.  Add 
them. 
 
German Service Network  [Sun, 6 Feb 2022 11:40:47 +0000  (12:40 +0100)] 
 
Remove dublicate include time.h entry 
 
David Schweikert  [Sun, 23 Jan 2022 17:04:19 +0000  (18:04 +0100)] 
 
GH action test 
 
David Schweikert  [Sun, 30 Jan 2022 20:41:45 +0000  (21:41 +0100)] 
 
Create codeql-analysis.yml (#241) 
 
Create codeql-analysis.yml 
 
David Schweikert  [Sun, 30 Jan 2022 17:02:08 +0000  (18:02 +0100)] 
 
Merge pull request #240 from auerswal/doc-fixes 
 
Documentation improvements 
 
Erik Auerswald  [Sun, 30 Jan 2022 12:30:05 +0000  (13:30 +0100)] 
 
Improve -Q documentation 
 
The `-Q, --squiet=SECS` option does not replace the summary 
statistics of `-q, --quiets`, but adds interval summary 
statistics every SECS seconds to the output. 
 
Erik Auerswald  [Sun, 30 Jan 2022 12:10:29 +0000  (13:10 +0100)] 
 
Improve -d and -n documentation 
 
* Adjust `fping.pod` entries for `-d, --rdns` and `-n, --name`: 
 
  * The code performs reverse DNS lookups on the given targets, 
    not on source addresses from ICMP Echo Responses or ICMP 
    error messages.  Adjust the `-d` description to reflect this. 
 
  * The sentence describing `-n` seems incomplete, so provide a 
    completion in similar spirit to `-d`. 
 
* Add `-d, --rdns` to `-h, --help` output since `-d` and `-n` are 
  no longer equivalent. 
 
David Schweikert  [Fri, 31 Dec 2021 16:44:28 +0000  (17:44 +0100)] 
 
Merge pull request #236 from schweikert/travis-fix 
 
Prepare 5.1 release 
 
David Schweikert  [Thu, 30 Dec 2021 11:49:56 +0000  (12:49 +0100)] 
 
prepare 5.1 release 
 
David Schweikert  [Thu, 30 Dec 2021 13:41:35 +0000  (14:41 +0100)] 
 
more travis stability fixes 
 
David Schweikert  [Thu, 30 Dec 2021 11:30:23 +0000  (12:30 +0100)] 
 
skip timing test on macos 
 
David Schweikert  [Fri, 31 Dec 2021 16:12:05 +0000  (17:12 +0100)] 
 
Merge pull request #217 from gsnw/bug/203 
 
Fixed wrong timestamp under Free- and OpenBSD and macOS 
 
German Service Network  [Fri, 12 Mar 2021 21:27:59 +0000  (22:27 +0100)] 
 
Fixed wrong timestamp under Free- and OpenBSD and macOS 
 
David Schweikert  [Thu, 30 Dec 2021 09:29:08 +0000  (10:29 +0100)] 
 
Merge pull request #227 from aafbsd/patch-1 
 
fix getnameinfo 
 
David Schweikert  [Thu, 30 Dec 2021 09:27:42 +0000  (10:27 +0100)] 
 
Merge pull request #229 from gsnw/bug/219 
 
use formatstring macro PRId64 in print_netdata for output int64_t 
 
David Schweikert  [Thu, 30 Dec 2021 09:26:22 +0000  (10:26 +0100)] 
 
Merge pull request #235 from schweikert/travis-fix 
 
make travis testing more robust 
 
David Schweikert  [Wed, 29 Dec 2021 14:50:29 +0000  (15:50 +0100)] 
 
fix travis build 
 
David Schweikert  [Sun, 21 Nov 2021 12:26:27 +0000  (13:26 +0100)] 
 
Merge pull request #232 from zdyxry/spec 
 
Use setcap to specify specific files 
 
Yiran Zhou  [Sat, 20 Nov 2021 00:23:34 +0000  (08:23 +0800)] 
 
Use setcap to specify specific files 
 
David Schweikert  [Wed, 22 Sep 2021 06:46:37 +0000  (08:46 +0200)] 
 
Merge pull request #226 from k0ste/help 
 
Netdata feature: use host instead name as family label 
 
German Service Network  [Sat, 14 Aug 2021 10:44:02 +0000  (12:44 +0200)] 
 
use formatstring macro PRId64 in print_netdata for output int64_t 
 
aafbsd  [Sat, 7 Aug 2021 09:51:04 +0000  (11:51 +0200)] 
 
Update fping.c 
 
getnameinfo() was not called properly for IPv4 (didn't check v6). 
Additionally, one might also want to check the result code, call gai_strerror() and inform the user if s.th. goes wrong 
 
David Schweikert  [Sat, 7 Aug 2021 06:33:55 +0000  (08:33 +0200)] 
 
Merge pull request #215 from normanr/develop 
 
Allow -4 option to be given multiple times when IPv6 is enabled. 
 
Konstantin Shalygin  [Fri, 6 Aug 2021 17:29:30 +0000  (20:29 +0300)] 
 
Netdata feature: use host instead name as family label 
 
Fixes https://github.com/netdata/netdata/issues/11336 
 
David Schweikert  [Sun, 18 Jul 2021 15:45:56 +0000  (17:45 +0200)] 
 
Merge pull request #208 from timgates42/bugfix_typo_permanently 
 
docs: fix simple typo, permanetly -> permanently 
 
Norman Rasmussen  [Mon, 1 Mar 2021 06:28:44 +0000  (22:28 -0800)] 
 
Allow -4 option to be given multiple times when IPv6 is enabled. 
 
Tim Gates  [Wed, 16 Dec 2020 19:12:56 +0000  (06:12 +1100)] 
 
docs: fix simple typo, permanetly -> permanently 
 
There is a small typo in src/fping.c. 
 
Should read `permanently` rather than `permanetly`. 
 
David Schweikert  [Sat, 17 Oct 2020 06:37:53 +0000  (08:37 +0200)] 
 
Merge pull request #200 from simetnicbr/for-upstream/privileged-SO_BINDTODEVICE 
 
fping: retain privileges until after privileged setsockopt 
 
David Schweikert  [Sat, 17 Oct 2020 06:29:00 +0000  (08:29 +0200)] 
 
Merge pull request #198 from dinoex/develop 
 
- fix regression introduced in fping 4.3 
 
David Schweikert  [Sat, 17 Oct 2020 06:27:44 +0000  (08:27 +0200)] 
 
Merge pull request #197 from gsnw/develop 
 
Update Azure Pipline based on travis-ci tuning 
 
Henrique de Moraes Holschuh  [Mon, 24 Aug 2020 23:00:53 +0000  (20:00 -0300)] 
 
fping: retain privileges until after privileged setsockopt 
 
On Linux, one needs privileges to setsockopt(SO_BINDTODEVICE), and the 
current code would drop setuid root privileges too soon. 
 
Temporarily drop privileges instead, and raise them back to issue the 
privileged setsockopt().  Once we know we won't need to do any further 
privileged setsockopt(), permanently drop privileges. 
 
For now, assume SO_BINDTODEVICE is the only setsockopt that needs this. 
 
Dirk Meyer  [Thu, 20 Aug 2020 06:13:42 +0000  (08:13 +0200)] 
 
- fix regression introduced in fping 4.3 
bind to source only when option was set. 
this allows to work in jails and lxc with custom IPs. 
this allows IPv4 only and IPv6 only hosts 
 
German Service Network  [Fri, 7 Aug 2020 18:30:11 +0000  (20:30 +0200)] 
 
Update Azure Pipline based on travis-ci tuning 
 
David Schweikert  [Wed, 5 Aug 2020 12:24:16 +0000  (14:24 +0200)] 
 
small fixes to changelog 
 
David Schweikert  [Wed, 5 Aug 2020 11:05:20 +0000  (14:05 +0300)] 
 
travis-ci: fix deploy stage 
 
David Schweikert  [Wed, 5 Aug 2020 10:59:46 +0000  (13:59 +0300)] 
 
travis-ci: fix deploy stage 
 
David Schweikert  [Wed, 5 Aug 2020 10:50:32 +0000  (13:50 +0300)] 
 
prepare 5.0 release 
 
David Schweikert  [Wed, 5 Aug 2020 06:16:49 +0000  (09:16 +0300)] 
 
move coverity scan to a script, so that it doesn't run for every job 
 
David Schweikert  [Wed, 5 Aug 2020 06:15:23 +0000  (09:15 +0300)] 
 
change license field in fping.spec to something that seems better matching, fixes #192 
 
David Schweikert  [Wed, 5 Aug 2020 06:08:53 +0000  (09:08 +0300)] 
 
move coverity scan to a script, so that it doesn't run for every job 
 
David Schweikert  [Wed, 5 Aug 2020 06:01:38 +0000  (09:01 +0300)] 
 
move coverity scan to a script, so that it doesn't run for every job 
 
David Schweikert  [Wed, 5 Aug 2020 05:22:04 +0000  (08:22 +0300)] 
 
update coverage badge link 
 
David Schweikert  [Wed, 5 Aug 2020 04:59:42 +0000  (07:59 +0300)] 
 
use int64_t for time-related variables 
 
David Schweikert  [Tue, 4 Aug 2020 12:30:41 +0000  (15:30 +0300)] 
 
remove debug output 
 
David Schweikert  [Tue, 4 Aug 2020 12:28:29 +0000  (15:28 +0300)] 
 
use int64_t everywhere, instead of long and 10us values 
 
David Schweikert  [Tue, 4 Aug 2020 05:59:07 +0000  (08:59 +0300)] 
 
Merge branch 'testing-improvements' into develop 
 
David Schweikert  [Tue, 4 Aug 2020 04:45:23 +0000  (07:45 +0300)] 
 
more travis-ci improvements 
 
David Schweikert  [Mon, 3 Aug 2020 19:54:58 +0000  (22:54 +0300)] 
 
Merge pull request #196 from schweikert/travis-improvements 
 
Travis CI improvements, add macos testing 
 
David Schweikert  [Mon, 3 Aug 2020 19:31:26 +0000  (22:31 +0300)] 
 
travis-ci improvements 
 
David Schweikert  [Mon, 3 Aug 2020 19:24:29 +0000  (22:24 +0300)] 
 
travis-ci: use xenial autotools instead of building them 
 
David Schweikert  [Mon, 3 Aug 2020 05:48:45 +0000  (07:48 +0200)] 
 
travis-ci improvements, add macos testing 
 
David Schweikert  [Sun, 2 Aug 2020 16:16:15 +0000  (18:16 +0200)] 
 
add a not about unprivileged mode 
 
David Schweikert  [Sun, 2 Aug 2020 15:48:31 +0000  (17:48 +0200)] 
 
always exclude IP header in returned size 
 
David Schweikert  [Thu, 30 Jul 2020 07:04:04 +0000  (09:04 +0200)] 
 
print lost pings in loop and count mode, fixes #175 
 
David Schweikert  [Wed, 29 Jul 2020 16:15:46 +0000  (18:15 +0200)] 
 
revert sprint_tm change doing apparent wrong casting 
 
David Schweikert  [Wed, 29 Jul 2020 16:00:19 +0000  (18:00 +0200)] 
 
fix compiler warning 
 
David Schweikert  [Wed, 29 Jul 2020 15:24:56 +0000  (17:24 +0200)] 
 
small formatting fixes to printed time 
 
David Schweikert  [Wed, 29 Jul 2020 06:52:34 +0000  (08:52 +0200)] 
 
use int64_t whenever time is stored, fixes #195 
 
David Schweikert  [Wed, 29 Jul 2020 06:25:29 +0000  (08:25 +0200)] 
 
use int64_t instead of struct timespec everywhere 
 
This should be more efficient and is also easier to read. 
 
David Schweikert  [Tue, 28 Jul 2020 14:21:29 +0000  (16:21 +0200)] 
 
remove unused host_entry fields 
 
David Schweikert  [Tue, 28 Jul 2020 06:24:08 +0000  (08:24 +0200)] 
 
Merge branch 'develop' of github.com:schweikert/fping into develop 
 
David Schweikert  [Tue, 28 Jul 2020 06:23:48 +0000  (08:23 +0200)] 
 
simplify timespec conversions to ns, prepare mocking of receive_packet 
 
David Schweikert  [Mon, 27 Jul 2020 15:39:52 +0000  (17:39 +0200)] 
 
Merge pull request #194 from Kiskae/portable_signals 
 
Improve portability of signal handling 
 
David van Leusen  [Mon, 27 Jul 2020 13:48:20 +0000  (15:48 +0200)] 
 
use sigaction when possible