Commit Graph

13 Commits

Author SHA1 Message Date
64101b1dfd Add IPv4 address column to output table
- Added IPv4 endpoint address as a new column in the results table
- Adjusted column formatting to accommodate the new 15-character wide column
- Makes it easier to see which IP addresses correspond to each relay
2025-07-14 05:40:09 -07:00
7652472953 Revert all timing and worker optimizations to fix broken measurements
- Restored original timeout values:
  - Liveness check: 3 seconds
  - Latency measurement: 10 seconds
- Restored original ping settings:
  - Count: 5 pings
  - Interval: 1 second
- Restored original worker counts:
  - Liveness workers: 20
  - Latency workers: 30

The aggressive optimizations were causing many false negatives in
liveness checks and zero latency readings. The original conservative
values ensure reliable measurements even if slower.
2025-07-14 05:35:45 -07:00
463a0a6cd5 Fix broken latency measurements with more conservative optimizations
- Increased ping interval to 500ms (was too aggressive at 200ms)
- Set reasonable timeouts: 2s for liveness, 5s for latency
- Reduced workers to 40/60 (from 50/100) to avoid overwhelming network
- Kept reduction from 5 to 3 pings for modest speed improvement

The previous 200ms interval was causing the ping library to return
0 latency for all measurements, making results meaningless.
2025-07-14 05:32:35 -07:00
df3c6c6a0e Optimize latency checks for significantly faster performance
- Reduced ping interval from 1s to 200ms (5x faster per relay)
- Reduced ping count from 5 to 3 (still reliable, but faster)
- Increased latency workers from 30 to 100 (3.3x more parallelism)
- Increased liveness workers from 20 to 50 (2.5x more parallelism)
- Reduced timeouts: liveness from 3s to 1s, latency from 10s to 3s
- Expected speedup: ~10x faster overall execution time
2025-07-14 05:30:27 -07:00
0fe71520c5 Fix zero latency bug by validating ping statistics
- Added validation to detect and handle invalid zero latency measurements
- When MinRtt is 0 but packets were received, fall back to AvgRtt
- Added -debug flag to help diagnose ping statistics issues
- Added debug logging to show raw ping statistics for zero latency cases
- Prevents impossible 0s latency readings for remote servers
2025-07-14 05:22:05 -07:00
93e478755e Fix compile issue and add -force flag to bypass VPN check
- Updated golang.org/x/net dependency to fix linking error with syscall.recvmsg
- Added -force flag to allow running the tool while connected to VPN
- Fixed linter errors: replaced deprecated ioutil with io/os, added error handling
- Added test, fmt, and lint targets to Makefile
2025-07-14 05:16:24 -07:00
7f736db2cc update readme 2024-06-09 09:08:56 -07:00
4dd5e871f8 add readme and license 2024-06-09 08:51:51 -07:00
20d4f1bdc7 add bin/ dir 2024-06-09 07:53:46 -07:00
de48e9ae24 update .gitignore and makefile 2024-06-09 07:53:11 -07:00
2b16955b18 ignore build artifact 2024-06-09 07:43:00 -07:00
001f54c5e0 latest 2024-06-09 07:40:44 -07:00
d312f07fa8 initial 2024-06-05 00:24:36 -07:00