hoptracker 1.0.0 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -0
  3. data/lib/hoptracker/prober.rb +3 -0
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5e7307d2bd6ca1b4c81545cce71b5f00433317992d0494493c6c7fd70f4e215
4
- data.tar.gz: 32b1e15dd7777677f9cc574443fec65a33069ca8ce472ccf66c2e5f300a9a2fa
3
+ metadata.gz: e943633142712cddfbc966d763ce5c39f8bc7e6a7ff19f3684be188607f65c19
4
+ data.tar.gz: 7753455c2d0b7da8fc1d4dd779f15a6b66394816700bbbe76ab1856c1c81b653
5
5
  SHA512:
6
- metadata.gz: ddea919a498c92c97a2c111d73a445e9823d5bf5387d427d6f42320eed5e826824b5e47f7af109cae5a926eabd70a0a7db32fb70e87521df5ef25aac5ab73f75
7
- data.tar.gz: 47fce4ef081ea017c6946c58ccd2a29669f815405ecdaf26f418c31769641254f68574961526a2819387fbd695e9d7a69f06201410914128e85aa31497858183
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.
@@ -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.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-21 00:00:00.000000000 Z
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.0.dev
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.