News for hackers. Stuff that matters.
Re:Show HN: Encrypted VPN in 2k lines of Go by dsacco on Thursday October 05, 2017 @08:54AM (#15408717)
For what it’s worth, this only really applies to a comparison against OpenVPN or IPSec. WireGuard has similar code complexity and size, and is approximately the same when compared against the incumbent VPN options.
Re:Show HN: Encrypted VPN in 2k lines of Go by zokier on Thursday October 05, 2017 @11:58AM (#15410192)
I don't think the comparison to Wireguard is apples-to-apples. Wireguard implements it's own semi-custom cryptosystem (Noise) whereas subnet rides on top of Go standard TLS implementation. So depending on how you view things, Wireguard is either much simpler (if you compare to the whole TLS stack) or much more complex (if you assume Go TLS to be reliable/trustworthy)
Re:Show HN: Encrypted VPN in 2k lines of Go by zx2c4 on Thursday October 05, 2017 @12:02PM (#15410235)
Maybe I misunderstood your comment, but WireGuard is less than 4k LoC, which is a few orders of magnitude smaller than OpenVPN or IPsec.
Re:Show HN: Encrypted VPN in 2k lines of Go by dsacco on Thursday October 05, 2017 @01:25PM (#15410863)
Yep you misunderstood, I was saying WireGuard has similar code complexity to the Go VPN implementation linked here :)