]>
 
 
git.gsnw.org Git - fping.git/log 
 
 
 
 
 
 
 
 
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 
 
David van Leusen  [Mon, 27 Jul 2020 13:39:53 +0000  (15:39 +0200)] 
 
implement finish handler through flag instead of direct call in signal handler 
 
David Schweikert  [Sun, 26 Jul 2020 09:43:45 +0000  (11:43 +0200)] 
 
Merge pull request #193 from schweikert/timeout-events 
 
refactored event loop, now for each ping create both next-ping+timeout events 
 
David Schweikert  [Sun, 26 Jul 2020 05:55:55 +0000  (07:55 +0200)] 
 
refactored event loop, now for each ping we create both a ping and a timeout event 
 
Steven Noonan  [Wed, 10 Jun 2020 02:35:03 +0000  (19:35 -0700)] 
 
only use getsockname() for identity with SOCK_DGRAM sockets 
 
Signed-off-by: Steven Noonan <steven@uplinklabs.net>  
David Schweikert  [Sun, 12 Jul 2020 12:40:02 +0000  (14:40 +0200)] 
 
update CHANGELOG 
 
David Schweikert  [Sun, 12 Jul 2020 12:38:40 +0000  (14:38 +0200)] 
 
Merge pull request #187 from Polynomial-C/disable-ipv6_build_fix 
 
Fix build with --disable-ipv6 
 
Lars Wendler  [Sun, 12 Jul 2020 11:55:44 +0000  (13:55 +0200)] 
 
Fix build with --disable-ipv6 
 
Otherwise build breaks with: 
 
fping.c:399:14: error: ‘ident6’ undeclared (first use in this function); did you mean ‘ident4’? 
  399 |     ident4 = ident6 = getpid() & 0xFFFF; 
      |              ^~~~~~ 
      |              ident4 
 
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>  
David Schweikert  [Sat, 11 Jul 2020 14:22:26 +0000  (16:22 +0200)] 
 
Merge branch 'v4.x' into develop 
 
David Schweikert  [Sat, 11 Jul 2020 14:18:15 +0000  (16:18 +0200)] 
 
avoid including ci/build in dist tarball 
 
David Schweikert  [Sat, 11 Jul 2020 14:04:27 +0000  (16:04 +0200)] 
 
prepare for version 5.x 
 
David Schweikert  [Sat, 11 Jul 2020 14:00:53 +0000  (16:00 +0200)] 
 
update changelog 
 
David Schweikert  [Sat, 11 Jul 2020 13:59:19 +0000  (15:59 +0200)] 
 
Merge pull request #136 from tycho/high-resolution-clock-sources 
 
Move to 1us resolution for latency measurements 
 
David Schweikert  [Sat, 11 Jul 2020 13:53:37 +0000  (15:53 +0200)] 
 
prepare release 4.3 
 
David Schweikert  [Sat, 11 Jul 2020 13:53:29 +0000  (15:53 +0200)] 
 
get rid of deprecated bzero() 
 
David Schweikert  [Sat, 11 Jul 2020 13:10:39 +0000  (15:10 +0200)] 
 
Use line buffering for stdout. fixes #179 
 
David Schweikert  [Sun, 28 Jun 2020 20:31:06 +0000  (22:31 +0200)] 
 
add missing files from tar.gz (ci, contrib, README.md) - fixes #178 
 
David Schweikert  [Sun, 28 Jun 2020 20:23:09 +0000  (22:23 +0200)] 
 
update changelog 
 
David Schweikert  [Sun, 28 Jun 2020 20:14:15 +0000  (22:14 +0200)] 
 
Merge pull request #151 from brownowski/duplicate-patch-1 
 
Only increase num_alive if response is not a duplicate 
 
David Schweikert  [Sat, 27 Jun 2020 05:56:43 +0000  (07:56 +0200)] 
 
Merge pull request #185 from laddp/develop 
 
Add SIGQUIT summary support similar to ping 
 
Patrick Ladd  [Fri, 12 Jun 2020 22:51:06 +0000  (18:51 -0400)] 
 
Add SIGQUIT summary support similar to ping
This reverts commit 
3b3877f651af816006ab620f7a189c2c1a3fad8a .
 
David Schweikert  [Sun, 1 Mar 2020 06:39:31 +0000  (07:39 +0100)] 
 
Merge pull request #172 from vlvkobal/develop 
 
Fix xmt stats in Netdata output 
 
Steven Noonan  [Thu, 27 Feb 2020 21:51:50 +0000  (13:51 -0800)] 
 
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>  
Steven Noonan  [Sun, 30 Sep 2018 21:06:09 +0000  (14:06 -0700)] 
 
move to 1us resolution for latency measurement 
 
Signed-off-by: Steven Noonan <steven@uplinklabs.net>  
Steven Noonan  [Sun, 30 Sep 2018 21:05:39 +0000  (14:05 -0700)] 
 
allow passing hex or decimal arguments to -z (debug) flag 
 
Signed-off-by: Steven Noonan <steven@uplinklabs.net>  
Steven Noonan  [Sun, 1 Apr 2018 06:43:41 +0000  (23:43 -0700)] 
 
main: add missing getopt_long specification for -z debug argument 
 
Signed-off-by: Steven Noonan <steven@uplinklabs.net>  
David Schweikert  [Sun, 1 Mar 2020 06:39:31 +0000  (07:39 +0100)] 
 
Merge pull request #172 from vlvkobal/develop 
 
Fix xmt stats in Netdata output 
 
David Schweikert  [Sat, 29 Feb 2020 07:37:16 +0000  (08:37 +0100)] 
 
Merge pull request #174 from tycho/macos-unbreak-getaddrinfo 
 
macos: use AI_UNUSABLE hint for getaddrinfo() 
 
David Schweikert  [Sat, 29 Feb 2020 07:36:49 +0000  (08:36 +0100)] 
 
Merge pull request #173 from tycho/linux-unprivileged-ping 
 
Linux unprivileged ping support 
 
Steven Noonan  [Thu, 27 Feb 2020 21:04:34 +0000  (13:04 -0800)] 
 
test-11-nopriv: check Linux GID permission for unprivileged ping 
 
Signed-off-by: Steven Noonan <steven@uplinklabs.net>  
Steven Noonan  [Thu, 27 Feb 2020 20:16:21 +0000  (12:16 -0800)] 
 
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>  
Steven Noonan  [Thu, 27 Feb 2020 18:53:25 +0000  (10:53 -0800)] 
 
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>  
Steven Noonan  [Thu, 27 Feb 2020 19:14:07 +0000  (11:14 -0800)] 
 
macos: use AI_UNUSABLE hint for getaddrinfo() 
 
Signed-off-by: Steven Noonan <steven@uplinklabs.net>