SHA256
1
0
forked from pool/tcping

Compare commits

...

10 Commits

Author SHA256 Message Date
65b063394c Accepting request 1125281 from network:utilities
- update to 2.4.0:
  * new feature: add `-i` to specify the interval between sending
    probes.
  * new feature: add `-I` to specify the source interface to use
    for sending probes.
  * new feature: add `-t` to specify a custom timeout for probes.
  * new feature: add `--db` to specify the path and file name to
    store tcping output to sqlite database. e.g. `--db
    /tmp/tcping.db`.
  * fix: add `rtt` to JSON output
  * refactor: remove unnecessary custom types
  * refactor: memory align `structs`
  * refactor: Debian packaging instructions

OBS-URL: https://build.opensuse.org/request/show/1125281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcping?expand=0&rev=5
2023-11-13 21:21:42 +00:00
6ede90eb09 OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcping?expand=0&rev=12 2023-11-12 20:49:59 +00:00
84c355a692 - update to 2.4.0:
* new feature: add `-i` to specify the interval between sending
    probes.
  * new feature: add `-I` to specify the source interface to use
    for sending probes.
  * new feature: add `-t` to specify a custom timeout for probes.
  * new feature: add `--db` to specify the path and file name to
    store tcping output to sqlite database. e.g. `--db
    /tmp/tcping.db`.
  * fix: add `rtt` to JSON output
  * refactor: remove unnecessary custom types
  * refactor: memory align `structs`
  * refactor: Debian packaging instructions

OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcping?expand=0&rev=11
2023-11-12 20:34:36 +00:00
df6e0d21ea Accepting request 1107100 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1107100
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcping?expand=0&rev=4
2023-08-28 15:18:29 +00:00
b4c7736b78 Accepting request 1106169 from home:mnhauke
- Update to version 2.0.0
  * new feature: add -c or count flag to exit TCPING after a
    certain amount of probes specified by user.
  * fix: packet loss NaN when program terminated too quickly.
  * fix: random IP address selector index out of range bug.
  * fix: display format of IPv4 embedded in IPv6 addresses.
  * fix: time report bug. Everything is now accurate.
  * docs: improve documentation.
- Update to version 1.22.1
  * new feature: implement JSON output.
  * new feature: implement JSON output prettifier.
  * fix IP version selection bug when -4 or -6 flags are passed.
- Update to version 1.21.1
  * make stats struct fields' names uniform.
  * add | separator to summary report for better visibility.
  * fix retry resolve logic.
- Update to version 1.21.0
  * add option to enforce the use of IPv4 -4 or IPv6 -6 addresses
    only.
  * instead of always picking the first, randomly pick an address
    from the list of resolved IP addresses.
- Update to version 1.20.0
  * add hostname, IP and port number to summary output.

OBS-URL: https://build.opensuse.org/request/show/1106169
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcping?expand=0&rev=9
2023-08-28 12:17:51 +00:00
006e38e5c9 Accepting request 1078158 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1078158
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcping?expand=0&rev=3
2023-04-09 16:41:29 +00:00
Martin Hauke
88988c5afc Accepting request 1077909 from home:mnhauke
- Update to version 1.19.2
  * display stats even if all the probes had failed update version

OBS-URL: https://build.opensuse.org/request/show/1077909
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcping?expand=0&rev=7
2023-04-09 09:34:30 +00:00
8f86b9807e Accepting request 1069492 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1069492
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcping?expand=0&rev=2
2023-03-06 17:55:18 +00:00
Martin Hauke
c44ddaef29 Accepting request 1069491 from home:mnhauke
Fix version number in the changelog

OBS-URL: https://build.opensuse.org/request/show/1069491
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcping?expand=0&rev=5
2023-03-05 21:48:44 +00:00
Martin Hauke
e38ff8f12c Accepting request 1069414 from home:mnhauke
- Update to version 1.9.1
  * close TCP connections faster to lessen the resource
    utilization on target.

- Update to version 1.19.0
  * implmenet sub-millisecond timing report to make it suitable
    for Data center and Cloud environments.
  * fix downtime report miscalculation.
  * misc fixes

OBS-URL: https://build.opensuse.org/request/show/1069414
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcping?expand=0&rev=4
2023-03-05 10:44:31 +00:00
6 changed files with 80 additions and 14 deletions

View File

@@ -1,8 +1,8 @@
<services>
<service name="download_files" mode="disabled" />
<service mode="disabled" name="set_version">
<service name="download_files" mode="manual" />
<service mode="manual" name="set_version">
<param name="basename">tcping</param>
</service>
<service name="go_modules" mode="disabled">
<service name="go_modules" mode="manual">
</service>
</services>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:66b8817dab6b3a910fe24c20e1a2d795f6a53ce1a16c265ce62ce53d8d6d0586
size 2275891

3
tcping-2.4.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a66eefb9c5de8814490a23f64f680324ee726ce64395025a18a77206c4ad9120
size 1774972

View File

@@ -1,3 +1,69 @@
-------------------------------------------------------------------
Sun Nov 12 20:34:02 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.4.0:
* new feature: add `-i` to specify the interval between sending
probes.
* new feature: add `-I` to specify the source interface to use
for sending probes.
* new feature: add `-t` to specify a custom timeout for probes.
* new feature: add `--db` to specify the path and file name to
store tcping output to sqlite database. e.g. `--db
/tmp/tcping.db`.
* fix: add `rtt` to JSON output
* refactor: remove unnecessary custom types
* refactor: memory align `structs`
* refactor: Debian packaging instructions
-------------------------------------------------------------------
Sun Aug 27 14:52:34 UTC 2023 - Martin Hauke <mardnh@gmx.de>
- Update to version 2.0.0
* new feature: add -c or count flag to exit TCPING after a
certain amount of probes specified by user.
* fix: packet loss NaN when program terminated too quickly.
* fix: random IP address selector index out of range bug.
* fix: display format of IPv4 embedded in IPv6 addresses.
* fix: time report bug. Everything is now accurate.
* docs: improve documentation.
- Update to version 1.22.1
* new feature: implement JSON output.
* new feature: implement JSON output prettifier.
* fix IP version selection bug when -4 or -6 flags are passed.
- Update to version 1.21.1
* make stats struct fields' names uniform.
* add | separator to summary report for better visibility.
* fix retry resolve logic.
- Update to version 1.21.0
* add option to enforce the use of IPv4 -4 or IPv6 -6 addresses
only.
* instead of always picking the first, randomly pick an address
from the list of resolved IP addresses.
- Update to version 1.20.0
* add hostname, IP and port number to summary output.
-------------------------------------------------------------------
Fri Apr 7 19:00:45 UTC 2023 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.19.2
* display stats even if all the probes had failed update version
-------------------------------------------------------------------
Sat Mar 4 16:52:49 UTC 2023 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.19.1
* close TCP connections faster to lessen the resource
utilization on target.
-------------------------------------------------------------------
Sun Feb 26 13:33:47 UTC 2023 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.19.0
* implmenet sub-millisecond timing report to make it suitable
for Data center and Cloud environments.
* fix downtime report miscalculation.
* misc fixes
-------------------------------------------------------------------
Sat Oct 15 12:29:28 UTC 2022 - Martin Hauke <mardnh@gmx.de>

View File

@@ -1,7 +1,8 @@
#
# spec file for package tcping
#
# Copyright (c) 2022, Martin Hauke <mardnh@gmx.de>
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2022-2023, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,8 +16,9 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: tcping
Version: 1.12.1
Version: 2.4.0
Release: 0
Summary: A ping program for TCP ports
License: MIT
@@ -27,7 +29,6 @@ Source: https://github.com/pouriyajamshidi/tcping/archive/refs/tags/v%{v
Source1: vendor.tar.gz
BuildRequires: go >= 1.18
BuildRequires: golang-packaging
%{go_provides}
%description
TCPing will send TCP probes to an IP address or a hostname specified
@@ -58,11 +59,10 @@ would be illustrative enough.
%autosetup -p 1 -a 1
%build
%{goprep} github.com/pouriyajamshidi/tcping
%{gobuild} -mod=vendor .
go build -mod=vendor -buildmode=pie -trimpath -o tcping
%install
%{goinstall}
install -m 755 -D tcping %{buildroot}/%{_bindir}/tcping
%files
%license LICENSE

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2f2652f0ea542144b0b8ce8678d7f07b084899b10045638399a48da32a2f9903
size 690580
oid sha256:23e57ed64f4354d1fd4c547ac7721566f34c50a74fc6d993560e6ad5b1110005
size 3136460