33 Commits

Author SHA256 Message Date
f0ce9d9848 - update to 5.5:
* New option -J / --json for JSON output. See doc/fping-json.md
    for the JSON schema. This feature is still in alpha and the
    schema might change in future releases
  * The -g, --generate option now also supports IPv6 addresses
  * New option --seqmap-timeout to control the time after which
    sequence numbers can be used again
  * Fix OpenBSD sprintf() warning
  * Fix fallback to SO\_TIMESTAMP if SO\_TIMESTAMPNS is not
    available
  * Typo fix in error message when SO\_BINDTODEVICE fails
  * Options --print-tos and --print-ttl now also work for IPv6,
    and no longer require privileges
  * Report received ICMPv6 error messages
  * Suppress duplicate reports in count mode with -q, --quiet or
    -Q, --squiet
  * Switch to alpine-based multi-stage Docker build to reduce
    image size and improve build performance;
  * Print receive ping moved to new functions
  * Avoid unsigned overflow when determining the memory size to
    save response times on systems where size\_t is the same as
    unsigned int
  * Document the new minimum value for the -p option
  * Fix build without IPv6 support
  * Fix debug build use of dbg_printf in fping.c
  * Remove MacOS-specific test for -I option
  * GitHub Actions fixes (thanks @gsnw-sebast)
  * Fix measurement of time for timed reports (-Q) to start after
    DNS name resolution.
- Update to 5.4:

OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=62
2026-01-02 10:08:11 +00:00
323971b807 Accepting request 1307025 from home:mgrossu:branches:network:utilities
- Update to 5.4:  
  * Memory allocation safety checks for event storage (thanks David.A for the bug report)
  * Fix off-by-one boundary check in seqmap code (thanks David.A for the bug report)
  * The minimum value for the period (-p flag) is now 0.001 milliseconds

OBS-URL: https://build.opensuse.org/request/show/1307025
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=60
2025-09-25 05:25:53 +00:00
fc5bbc26c0 Accepting request 1235075 from home:ateixeira:branches:network:utilities
- Update to 5.3:
  * New option --icmp-timestamp to send ICMP timestamp requests (ICMP type 13)
    instead of ICMP Echo requests (#353 #363, thanks @auerswal and @gsnw-sebast)
  * New option --print-ttl to print returned TTL value (#354, thanks @nalves599)
  * New option --print-tos to print returned TOS value (#335 #346 #347, thanks
    @auerswal and @gsnw-sebast)
  * New option --check-source (#334, thanks @auerswal)
  * Predefined various timestamp formats (#321, thanks @auerswal and @gsnw-sebast)
  * Print cumulative stats with -Q SECS,cumulative (#315, thanks @auerswal)
  * ci: Upgrade actions/upload-artifact to v4 (#360, thanks @gsnw-sebast)
  * ci: Azure Pipeline only trigger when changes are made in the development branch
    (#359, thanks @gsnw-sebast)
  * ci: Upgrade actions/upload-artifact to v3 (#355, thanks @pevik)
  * ci: Azure Pipeline YAML add docker build (#354, thanks @gsnw-sebast)
  * Dockerfile: change distribution from ubuntu to debian (#350, thanks
    @gsnw-sebast)
  * Fix warning unused parameter 'reply_timestamp' under macOS (#348, thanks
    @gsnw-sebast)
  * Fix increase maximum -s value to 65507 (#344, thanks @pevik)
  * ci: use File::Temp to create temporary directory (#343, thanks @auerswal)
  * Fix -k, --fwmark with setuid fping executable (#342, thanks @auerswal)
  * Another batch of additional tests (take 2) (#341, thanks @auerswal)
  * Document that -a and -u are overridden by -c and -C (#338, thanks @auerswal)
  * Fix macOS build warning sets SEQMAP_TIMEOUT_IN_NSSEQMAP_TIMEOUT_IN_NS as INT64_C
    (#336, thanks @gsnw-sebast)
  * Fix inconsistent limits for address generation via -g, --generator using either
    range or CIDR (#331, thanks @auerswal)
  * Some additional tests (#329, thanks @auerswal)
  * ci: skip an unreliable test on macOS (#328, thanks @auerswal)
  * Fix incorrect return-value check for a scanf like function (CWE-253) (#323,

OBS-URL: https://build.opensuse.org/request/show/1235075
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=58
2025-01-07 12:44:23 +00:00
6c98b6a31a - update to 5.2:
* New option -X / --fast-reachable to exit immediately once N
    hosts have been found
  * New option -k / -fwmark to set Linux fwmark mask (#289,
  * Always output fatal error messages
  * Fallback to SO\_TIMESTAMP if SO\_TIMESTAMPNS is not available
  * Fix running in unprivileged mode
  * Fix build issue for NetBSD/alpha
  * Fix build issue for OpenBSD/alpha
  * Fix build warning for long int usage
  * Fix build error with musl libc
  * Fix to guard against division by zero
  * Decouple -a/-u effects from -c
  * Added contrib/Dockerfile
  * Update github action os images
    (#91, Don Bowman)
  + Feature:
- Enable missing ipv6 support
- update to 3.4
- add ipv6 support (bnc#555691)
- removed bogus self-provides

OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=56
2024-05-09 18:53:34 +00:00
Danilo Spinella
62a105be44 Accepting request 956817 from home:dspinella:branches:network:utilities
- Update to 5.1:
  * Netdata: use host instead name as family label
  * Netdata: use formatstring macro PRId64
  * Allow -4 option to be given multiple times
  * Documentation fix
  * Retain privileges until after privileged setsockopt
  * Set bind to source only when option is set
  * Fix getnameinfo not called properly for IPv4
  * Documentation updates

OBS-URL: https://build.opensuse.org/request/show/956817
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=55
2022-02-22 16:49:51 +00:00
16b4852ebd Accepting request 840039 from home:mgerstner:branches:network:utilities
- no longer invoke permissions macros for fping. It now uses ICMP_RAW sockets
  instead (bsc#1174504).

OBS-URL: https://build.opensuse.org/request/show/840039
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=53
2020-10-21 22:21:04 +00:00
1976e9206a Accepting request 827348 from home:dirkmueller:branches:network:utilities
- update to 5.0:
  - In non-quiet loop and count mode, a line is printed for every lost packet
    8.8.8.8 : xmt/rcv/%loss = 2/2/0%, min/avg/max = 12.3/12.5/12.8
    8.8.8.7 : xmt/rcv/%loss = 2/0/100%
  - The returned size in bytes now always excludes the IP header, so if before it
    reported '84 bytes' e.g. when using 'fping -l', now it reports '64 bytes'.
    This is to make the reported size consistent with ping(8) from iputils and
    also with fping when pinging a IPv6 host (which never included the IPv6
    header size).
  - The number of sent pings is only counted when the pings are received or have
    timed out, ensuring that the loss ratio will be always correct. This makes it
    possible, for example, to use loop mode (-l) with interval statistics (-Q)
    and a timeout larger than period, without having the issue that initially
    some pings would be reported as missing (#193)
  - Improved precision of measurements from 10us to 1us (#136, thanks @tycho)
  - The reported size of received packets is now always correct on Linux even for
    packets > 4096 bytes.

OBS-URL: https://build.opensuse.org/request/show/827348
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=51
2020-08-18 14:08:52 +00:00
9def0040d0 Accepting request 822870 from home:AndreasStieger:branches:network:utilities
fping 4.4

OBS-URL: https://build.opensuse.org/request/show/822870
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=49
2020-07-27 09:20:19 +00:00
4d21839acb Accepting request 820566 from home:AndreasStieger:branches:network:utilities
- add upstream signing key and validate source signature

OBS-URL: https://build.opensuse.org/request/show/820566
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=47
2020-07-13 13:29:02 +00:00
Lars Vogdt
a36746203c - correct download URL (upstream is using .gz instead of bz2)
- refreshed fping-4.2-gcc10-extern.patch

OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=45
2020-06-14 15:45:56 +00:00
Lars Vogdt
d450d9923d Accepting request 812602 from home:kstreitova:branches:network:utilities
- add fping-4.2-gcc10-extern.patch to fix build with GCC10

OBS-URL: https://build.opensuse.org/request/show/812602
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=41
2020-06-11 10:04:32 +00:00
Lars Vogdt
0a3554d56f - bzip2 the sources
- package COPYING file instead of INSTALL file
- use permission settings only on SLE-15 and newer

OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=40
2019-03-06 13:10:48 +00:00
Lars Vogdt
407b125d65 Accepting request 678366 from home:seanlew:branches:network:utilities
Update fping

OBS-URL: https://build.opensuse.org/request/show/678366
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=39
2019-03-06 13:00:54 +00:00
21e5dd03da Accepting request 636882 from home:kstreitova:branches:network:utilities
- Update to version 4.1
  * Fix problem when socket fd is 0
  * Fix running on servers with disabled IPv6
  * Allow running "fping -h" or "--help" even when raw socket
    can't be opened
  * Fix build issue with FreeBSD and IPv6

OBS-URL: https://build.opensuse.org/request/show/636882
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=37
2018-09-21 09:55:48 +00:00
fa65bc01af Accepting request 556647 from home:AndreasStieger:branches:network:utilities
- fping now has cap_net_raw, fix build in Factory (bsc#1047921)

OBS-URL: https://build.opensuse.org/request/show/556647
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=35
2017-12-13 12:08:09 +00:00
OBS User mrdocs
5ffaaab81d Accepting request 505457 from home:scarabeus_iv:branches:network:utilities
- Cleanup a bit with spec-cleaner basically just to use new make_install
  macro

OBS-URL: https://build.opensuse.org/request/show/505457
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=33
2017-06-23 00:55:55 +00:00
OBS User mrdocs
e2f9533bc4 Accepting request 494587 from home:jengelh:branches:network:utilities
- Do away with %__ macro indirections.

OBS-URL: https://build.opensuse.org/request/show/494587
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=31
2017-05-11 20:07:24 +00:00
OBS User mrdocs
18127c8b74 Accepting request 493503 from home:dliedke:branches:network:utilities
Update to version 4.0

OBS-URL: https://build.opensuse.org/request/show/493503
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=30
2017-05-11 02:33:59 +00:00
65123e8f6e Accepting request 460865 from home:dliedke:branches:network:utilities
Update to version 3.16

OBS-URL: https://build.opensuse.org/request/show/460865
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=28
2017-03-05 20:12:52 +00:00
86b2b97e0d Accepting request 344624 from home:Zaitor:branches:network:utilities
Update

OBS-URL: https://build.opensuse.org/request/show/344624
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=26
2015-11-17 09:09:39 +00:00
723bfb482b Accepting request 232619 from home:Zaitor:branches:network:utilities
Update to version 3.10

OBS-URL: https://build.opensuse.org/request/show/232619
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=24
2014-05-05 18:21:52 +00:00
OBS User mrdocs
a6ba4a10eb Accepting request 225188 from home:Zaitor:branches:network:utilities
- Update to version 3.9:
  + Fix random output on socket error (#56).
  + Support ppc64le architecture by including alpha libtool
    version.
  + Fix compilation problem on FreeBSD (#57).
  + Initial test suite and continous intergration (with
    travis-ci.org / coveralls.io).
  + Don't output usage information on error.
- Changes from version 3.8:
  + Fix segmentation fault introduced in version 3.7 with loop mode
    (#55).
- Changes from version 3.7:
  + Allow running as non-root on Mac OS X by using non-privileged
    ICMP (#7).
  + Remove unnecessary IPv6 socket options.
  + Fix again compatibility issue with FreeBSD.
  + Fix fping hanging forever on permanent sendto failure.
  + Fix duplicate echo reply packets causing early stop in count
    mode (#53).
- Changes from version 3.6:
  + Fix loop issue after 65536 pings (#12).
  + Minimum ping data size is now 0.
  + Removed setsockopt IPV6_CHECKSUM, which shouldn't be set and
    breaks compiling on Solaris.
  + Fix wrong min RTT value with -Q option (#51).
- Drop export CFLAGS="%optflags -D_GNU_SOURCE -fwhole-program", it
  breaks the build.

OBS-URL: https://build.opensuse.org/request/show/225188
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=22
2014-03-09 05:32:21 +00:00
Pascal Bleser
0a1977b710 Accepting request 195576 from home:Zaitor:branches:network:utilities
Update to version 3.5

OBS-URL: https://build.opensuse.org/request/show/195576
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=20
2013-08-18 22:45:06 +00:00
79c1b33315 Accepting request 150502 from home:elvigia:branches:network:utilities
- Enable missing ipv6 support 
- tweak out CFLAGS.

OBS-URL: https://build.opensuse.org/request/show/150502
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=18
2013-01-31 06:40:27 +00:00
56dedb0a03 - update to 3.4
* Revert "Output statistics to stdout instead of stderr", because
    it breaks tools assuming the output goes to stderr

OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=16
2012-10-16 10:01:05 +00:00
Pascal Bleser
b5d28a8e4d 3.3
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=14
2012-08-20 19:22:46 +00:00
Wojtek Dziewięcki
a5692a9bf1 -Update to 3.2
* Improve documentation for -g option (G.W. Haywood)
  * Performance optimization for big select timeouts (#10, Andrey
  * Bondarenko)
    * Fix restart of select call after interrupt signal (#8, Boian
    * Bonev)
      * Fix infinite loop caused by linked list corruption (#11,
      * Boian Bonev)

OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=12
2012-06-08 10:36:18 +00:00
69c9076fac Accepting request 121561 from home:Zaitor:branches:network:utilities
Update to ver 3.1

OBS-URL: https://build.opensuse.org/request/show/121561
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=10
2012-05-20 22:30:56 +00:00
8fc7956423 update to fping-3.0
OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=7
2012-02-08 11:27:45 +00:00
Sascha Peilicke
8617bed729 Accepting request 83748 from network:utilities
- Apply packaging guidelines (remove redundant/obsolete
  tags/sections from specfile, etc.) (forwarded request 83545 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/83748
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fping?expand=0&rev=11
2011-09-20 10:55:24 +00:00
OBS User autobuild
4dd5e48aae Accepting request 24684 from network:utilities
Copy from network:utilities/fping based on submit request 24684 from user puzel

OBS-URL: https://build.opensuse.org/request/show/24684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fping?expand=0&rev=6
2009-11-20 13:06:27 +00:00
OBS User unknown
9d55e2f46e OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fping?expand=0&rev=2 2008-02-08 16:57:08 +00:00
OBS User unknown
43ea488cb2 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fping?expand=0&rev=1 2007-01-15 23:12:53 +00:00