TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Test your WireGuard connectivity and see global stats, no client needed

43 点作者 jamilbk9 个月前
Hi HN,<p>Some misbehaving networks drop WireGuard packets either by accident or on purpose. Commonly the latter is done with simple DPI rules that block the handshake initiation [1], but it could be applied to other message types as well.<p>We thought it would be great if there was tool for folks to use as a quick litmus test to see if this happening for them, without having to configure a client to send data through a random, functional WireGuard tunnel to an untrusted remote host. So we built probe.sh.<p>How it works:<p>- The probe.sh web app is an Elixir Phoenix app that spawns a few gen_udp servers across a variety of common UDP ports. - When a user visits the app, Probe starts a LiveView process and generates a unique cryptographic token to use for the test. - When the user runs the script shown, it first sends an HTTP request to start the test, followed by a series of UDP payloads, and finally either a complete or cancel request to end the test. - The UDP payloads are crafted to resemble real world WireGuard packets and sent with widely available tools like netcat (Unix) and System.Net.Sockets.UdpClient (Win) already on your OS. - The gen_udp server receives these payloads, and if they match one of the four WireGuard message types by header, it broadcasts test updates to the LiveView process for that test, and the test is marked as success. - The user is immediately shown the results of the test.<p>The entire tool is open source at <a href="https:&#x2F;&#x2F;github.com&#x2F;firezone&#x2F;probe">https:&#x2F;&#x2F;github.com&#x2F;firezone&#x2F;probe</a> (README contains guide for self-hosting) and you can find a FAQ with more useful info at <a href="https:&#x2F;&#x2F;probe.sh&#x2F;faq" rel="nofollow">https:&#x2F;&#x2F;probe.sh&#x2F;faq</a>. You can also see our tally of global results organized by country: <a href="https:&#x2F;&#x2F;probe.sh&#x2F;stats" rel="nofollow">https:&#x2F;&#x2F;probe.sh&#x2F;stats</a><p>We hope you find it useful for testing your network for WireGuard connectivity issues.<p>Thanks for reading - feedback welcome!<p>[1] <a href="https:&#x2F;&#x2F;x.com&#x2F;6h4n3m&#x2F;status&#x2F;1459462360003919875" rel="nofollow">https:&#x2F;&#x2F;x.com&#x2F;6h4n3m&#x2F;status&#x2F;1459462360003919875</a>

3 条评论

toomuchtodo9 个月前
Can a user provide the test results back to the central server? This would allow for wireguard censorship observability reporting, opt in of course.<p>Similar to the old ICSI Netalyzer: <a href="https:&#x2F;&#x2F;www.icsi.berkeley.edu&#x2F;icsi&#x2F;gazette&#x2F;2011&#x2F;09&#x2F;netalyzr-diagnostic-research-tool" rel="nofollow">https:&#x2F;&#x2F;www.icsi.berkeley.edu&#x2F;icsi&#x2F;gazette&#x2F;2011&#x2F;09&#x2F;netalyzr-...</a><p><a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20190402220256&#x2F;http:&#x2F;&#x2F;netalyzr.icsi.berkeley.edu&#x2F;papers.html" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20190402220256&#x2F;http:&#x2F;&#x2F;netalyzr.i...</a><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22260579">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22260579</a>
评论 #41211224 未加载
SushiHippie9 个月前
FYI this also does run via Termux on Android, which could be mentioned instead of the &quot;Android is not supported&quot; message
评论 #41213148 未加载
评论 #41213266 未加载
lisnake9 个月前
Awesome, now I can prove that my cell network (MegaFon Russia) blocks wireguard
评论 #41210371 未加载