hoptracker 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/hoptracker/prober.rb +3 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e943633142712cddfbc966d763ce5c39f8bc7e6a7ff19f3684be188607f65c19
|
4
|
+
data.tar.gz: 7753455c2d0b7da8fc1d4dd779f15a6b66394816700bbbe76ab1856c1c81b653
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bdcf2c492bd372a45b34c1b3363704d6d723a248d062565c0cfc912107055523cf5bf80299616a02fe8fe3ca0c2c8d951b48ce15909bee81ebf2ea8dff5d833
|
7
|
+
data.tar.gz: ba8e1a201c6c9ceaed1f5e9ff592e04b7bd50e3f13cc77dad975f1d51ab081b08d50f5cc9a4e0ffdf583261a297dbe339f7f14a5f4b6e9d62bca6bfde4bc399f
|
data/README.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# hoptracker
|
2
2
|
|
3
|
+
hoptracker is a paris-traceroute-like program that can discover the hops in the path, the path MTU and where it changes, measure the TTL/hop limit, guess asymmetric return paths and measure the latency to each hop.
|
4
|
+
|
5
|
+
To use hoptracker to its full extent, please use a Ruby version that has PR#9930 included on GitHub or otherwise closes bug #20258.
|
6
|
+
|
3
7
|
hoptracker has the following range of functions:
|
4
8
|
- Determine the hops on the path.
|
5
9
|
- Determine the MTU of the path and where it changes.
|
data/lib/hoptracker/prober.rb
CHANGED
@@ -306,6 +306,9 @@ module HopTracker
|
|
306
306
|
|
307
307
|
begin
|
308
308
|
@socket.sendmsg "#{payload_length_information}#{payload}#{"\0" * padding_length}", 0
|
309
|
+
rescue Errno::ECONNREFUSED => e
|
310
|
+
# This error message only seems to occur once, but it cancels the sending process. Since it does not occur again after one time, the packet should simply be sent again.
|
311
|
+
retry
|
309
312
|
rescue Errno::EMSGSIZE => e
|
310
313
|
# Ignore MTU errors when sending, as we process the error later when receiving the error message
|
311
314
|
# warn "Failed to send probe: #{e.message} - that's okay!"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hoptracker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marek Küthe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: '0'
|
91
91
|
requirements: []
|
92
|
-
rubygems_version: 3.6
|
92
|
+
rubygems_version: 3.5.6
|
93
93
|
signing_key:
|
94
94
|
specification_version: 4
|
95
95
|
summary: traceroute-like program for measuring hops, path MTU, TTL and latency.
|