Commit Graph

685 Commits (11a48b4de1e750eccbb8f96c4866d0810c0387f5)
 

Author SHA1 Message Date
David Schweikert 8dc0b7f39a correctly call getnameinfo() 2 years ago
David Schweikert 041ba7acb8 reformat 2 years ago
Thomas Klausner 5d3eee1105 NetBSD/alpha is not affected by the "broken alpha headers" bug. 3 years ago
David Schweikert ab1ed993ba fix socket4 vs socket6 typo (#249, thanks @sfan5) 3 years ago
David Schweikert e975a4339b fix unprivileged ping broken in v5.1 (fixes #248) 3 years ago
David Schweikert 87c9b29d86 update changelog and 5.1 release date 3 years ago
David Schweikert ae49f4d933 Update autotools and fix code coverage issues. 3 years ago
Erik Auerswald c67f6deb51 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.
3 years ago
German Service Network 948b58ee1f Remove dublicate include time.h entry 3 years ago
David Schweikert 3ecfbb7c1e GH action test 3 years ago
David Schweikert 2d574aa1d1
Create codeql-analysis.yml (#241)
Create codeql-analysis.yml
3 years ago
David Schweikert 052b58be65
Merge pull request #240 from auerswal/doc-fixes
Documentation improvements
3 years ago
Erik Auerswald 36b652b358 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.
3 years ago
Erik Auerswald 1452bf362e 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.
3 years ago
David Schweikert 477e6776ce
Merge pull request #236 from schweikert/travis-fix
Prepare 5.1 release
3 years ago
David Schweikert cbe7a92c14 prepare 5.1 release 3 years ago
David Schweikert bbaa365526 more travis stability fixes 3 years ago
David Schweikert cf03fa5bdb skip timing test on macos 3 years ago
David Schweikert f1d3615706
Merge pull request #217 from gsnw/bug/203
Fixed wrong timestamp under Free- and OpenBSD and macOS
3 years ago
German Service Network 04af04c839 Fixed wrong timestamp under Free- and OpenBSD and macOS 3 years ago
David Schweikert 749127f525
Merge pull request #227 from aafbsd/patch-1
fix getnameinfo
3 years ago
David Schweikert 03aea81617
Merge pull request #229 from gsnw/bug/219
use formatstring macro PRId64 in print_netdata for output int64_t
3 years ago
David Schweikert df5f072ddd
Merge pull request #235 from schweikert/travis-fix
make travis testing more robust
3 years ago
David Schweikert 7b3cf2593a fix travis build 3 years ago
David Schweikert ca3cf3a347
Merge pull request #232 from zdyxry/spec
Use setcap to specify specific files
3 years ago
Yiran Zhou 029da075e2 Use setcap to specify specific files 3 years ago
David Schweikert 19ddae8fdc
Merge pull request #226 from k0ste/help
Netdata feature: use host instead name as family label
3 years ago
German Service Network ea0eda41f1 use formatstring macro PRId64 in print_netdata for output int64_t 3 years ago
aafbsd bbe847a5d9
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
3 years ago
David Schweikert b4aeda17fd
Merge pull request #215 from normanr/develop
Allow -4 option to be given multiple times when IPv6 is enabled.
3 years ago
Konstantin Shalygin b46c161bb3
Netdata feature: use host instead name as family label
Fixes https://github.com/netdata/netdata/issues/11336
3 years ago
David Schweikert d05a7e7bf9
Merge pull request #208 from timgates42/bugfix_typo_permanently
docs: fix simple typo, permanetly -> permanently
3 years ago
Norman Rasmussen e432f46e01 Allow -4 option to be given multiple times when IPv6 is enabled. 4 years ago
Tim Gates 95df9d00f5
docs: fix simple typo, permanetly -> permanently
There is a small typo in src/fping.c.

Should read `permanently` rather than `permanetly`.
4 years ago
David Schweikert eac20347ba
Merge pull request #200 from simetnicbr/for-upstream/privileged-SO_BINDTODEVICE
fping: retain privileges until after privileged setsockopt
4 years ago
David Schweikert 49673f7862
Merge pull request #198 from dinoex/develop
- fix regression introduced in fping 4.3
4 years ago
David Schweikert ce9d6b351e
Merge pull request #197 from gsnw/develop
Update Azure Pipline based on travis-ci tuning
4 years ago
Henrique de Moraes Holschuh 59d83ed402 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.
4 years ago
Dirk Meyer 31f76f6071 - 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
4 years ago
German Service Network f2b2cdf620 Update Azure Pipline based on travis-ci tuning 4 years ago
David Schweikert 296de3d7a2 small fixes to changelog 4 years ago
David Schweikert 03bfc48ff4 travis-ci: fix deploy stage 4 years ago
David Schweikert 5f5220939d travis-ci: fix deploy stage 4 years ago
David Schweikert f6e3d7194d prepare 5.0 release 4 years ago
David Schweikert 57d49f2d8e move coverity scan to a script, so that it doesn't run for every job 4 years ago
David Schweikert 2ca8edeaf6 change license field in fping.spec to something that seems better matching, fixes #192 4 years ago
David Schweikert 0d8f3cef2a move coverity scan to a script, so that it doesn't run for every job 4 years ago
David Schweikert aeea60a0e0 move coverity scan to a script, so that it doesn't run for every job 4 years ago
David Schweikert 5a6a61cb32 update coverage badge link 4 years ago
David Schweikert 4f16eea49f use int64_t for time-related variables 4 years ago