4 ms·
Because you can easily read and understand the code.
by ivanfon 9y ago
Because you can easily read and understand the code.
- dsacco 9y agoFor 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.
- zokier 9y agoI 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)
- zx2c4 9y agoMaybe I misunderstood your comment, but WireGuard is less than 4k LoC, which is a few orders of magnitude smaller than OpenVPN or IPsec.
- dsacco 9y agoYep you misunderstood, I was saying WireGuard has similar code complexity to the Go VPN implementation linked here :)