TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Shortwire: The smallest VPN that connects two computers via the Internet

50 pointsby nogajun10 months ago

8 comments

axoltl10 months ago
I took a quick look at the crypto design here, and it is deeply flawed. Please don&#x27;t use this.<p>The key exchange is simply an XOR of the pre-shared key with the session key instead of a proper key wrapping, there&#x27;s no chaining mode specified for the AES encryption as far as I can see and perhaps most critically none of the data is authenticated.<p>A great example of &quot;don&#x27;t roll your own crypto&quot;.
评论 #41215291 未加载
评论 #41215517 未加载
评论 #41214618 未加载
评论 #41214288 未加载
评论 #41214622 未加载
评论 #41214043 未加载
suprjami9 months ago
Not sure why this needs to exist. Wireguard is quicker and easier, and apparently has much better security.
评论 #41214105 未加载
评论 #41215323 未加载
johnklos9 months ago
tinc [1] is very lightweight and simple to set up. There&#x27;s also ssh -w for quick and easy tun-over-Internet connections.<p>[1] <a href="https:&#x2F;&#x2F;www.tinc-vpn.org" rel="nofollow">https:&#x2F;&#x2F;www.tinc-vpn.org</a>
fulafel9 months ago
You can also use IPSec with manual keys which works out of the box tools and is standard, interops with other platforms as well, even with router OSes. On linux side eg like this: <a href="https:&#x2F;&#x2F;unix.stackexchange.com&#x2F;questions&#x2F;638436&#x2F;rekey-ipsec-using-ip-xfrm" rel="nofollow">https:&#x2F;&#x2F;unix.stackexchange.com&#x2F;questions&#x2F;638436&#x2F;rekey-ipsec-...</a>
jwr9 months ago
This is a good time to mention vpncloud, a fantastic Linux-daemon solution for connecting several cloud machines together without relying on cloud provider dependent VPNs. I&#x27;ve been using vpncloud in production for several years now and it has been rock solid and reliable.
评论 #41216152 未加载
mojyack9 months ago
I&#x27;ve made some improvements to shortwire, including support for ChaCha20-Poly1305 in addition to AES.<p>It may not perfect, but I think it&#x27;s a lot better.
aborsy9 months ago
Here is a dead simple VPN, by the developer of libsodium<p><a href="https:&#x2F;&#x2F;github.com&#x2F;jedisct1&#x2F;dsvpn">https:&#x2F;&#x2F;github.com&#x2F;jedisct1&#x2F;dsvpn</a>
firesteelrain9 months ago
This looks alot like stunnel to me which is a much more mature and better product.