forked from pool/tcping
Compare commits
10 Commits
6acc57b1a0
...
65b063394c
Author | SHA256 | Date | |
---|---|---|---|
65b063394c | |||
6ede90eb09 | |||
84c355a692 | |||
df6e0d21ea | |||
b4c7736b78 | |||
006e38e5c9 | |||
|
88988c5afc | ||
8f86b9807e | |||
|
c44ddaef29 | ||
|
e38ff8f12c |
6
_service
6
_service
@@ -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>
|
||||
|
@@ -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
3
tcping-2.4.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a66eefb9c5de8814490a23f64f680324ee726ce64395025a18a77206c4ad9120
|
||||
size 1774972
|
@@ -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>
|
||||
|
||||
|
12
tcping.spec
12
tcping.spec
@@ -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
|
||||
|
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2f2652f0ea542144b0b8ce8678d7f07b084899b10045638399a48da32a2f9903
|
||||
size 690580
|
||||
oid sha256:23e57ed64f4354d1fd4c547ac7721566f34c50a74fc6d993560e6ad5b1110005
|
||||
size 3136460
|
||||
|
Reference in New Issue
Block a user