42 ms·
Here's the OpenVPN security announcements page: https://community.openvpn.net/openvpn/wiki/SecurityAnnouncements https://community.openvpn.net/openvpn/wiki/Sec
by tptacek 9y ago
Here's the OpenVPN security announcements page:
https://community.openvpn.net/openvpn/wiki/SecurityAnnouncements https://community.openvpn.net/openvpn/wiki/SecurityAnnouncem...
There was a serverside remote code execution vulnerability in OpenVPN less than a year ago.
OpenVPN is large and gnarly. It's not one of the better understood codebases. The assumption that software security assessors have closely inspected it would not be well-founded. It has had "formal" audits, but audits are point-in-time snapshots done under timebox conditions.
The point of WireGuard, from an assurance perspective, is that it's designed to mitigate these concerns. It is a VPN with most of the mechanism of legacy VPNs stripped out. Less mechanism = less attack surface. It's two orders of magnitude smaller than other VPNs in terms of lines of code. Less code = easier to review = more reviews. It's not just small: it's thoughtfully small, as the post we're commenting spells out.
OpenVPN is built on TLS. TLS is a complicated protocol. It needs to support a variety of different users and the complexity of that task shows in the protocol; that complexity (and legacy support) is also a big part of the vulnerability history of TLS. Ordinarily, it would be worth assuming the risks of TLS's complexity rather than building a custom transport protocol, because secure transport protocols can be tricky to get right. But WireGuard has had formal academic analysis (in addition to a Tamarin model) and inherits cryptographic design from work Trevor Perrin did. WireGuard's protocol only has to serve WireGuard's use case, and is significantly less likely to have cryptographic vulnerabilities than TLS or the OpenVPN system as a whole.
The right way to think about it is that OpenVPN is like Sendmail, and WireGuard is something closer to qmail.
- bradknowles 9y agoLikening WireGuard to qmail is not doing them any favours. DJB abandoned the qmail codebase years ago. When he was still actively maintaining qmail, I knew of multiple cases where bugs were reported, but DJB declared them to be "non problems" and therefore he didn't have to pay out his bug bounty. And yet those "non bugs" got fixed in the next release. DJB has a history of saying one thing a certain way, but when someone else says the exact same thing in slightly different way, he declares them to have committed heresy, libel, and/or slander, and then starts talking about filing a lawsuit against them. In fact, I wouldn't be too surprised if he were to threaten you with a lawsuit over comparing his product to WireGuard. I would recommend that maybe you might want to find a better way to explain the difference.
- tptacek 9y agoPlease take this weird decades-long argument you've had with Bernstein to a thread where it makes sense. My comparison has nothing to do with the attributes of qmail you're talking about. (https://cr.yp.to/qmail/knowles.html https://cr.yp.to/qmail/knowles.html)
- bradknowles 9y agoI submit that qmail, as a whole, has developed a bad reputation, due to some of the bizarre development methods employed by the author, and that has fundamentally crippled its adoption and continued use. But if "qmail is considered harmful", then I don't think that this is a comparison that the WireGuard people would want, and I don't think that it's a comparison that the Internet community as a whole would want. Find a better way to explain what WireGuard is and isn't, and I think the community as a whole will be better served. Feel free to reference preferred encryption algorithms, but frankly I wouldn't reference DJB anywhere. He and his cult of personality are enough of a lightning rod that I don't think anyone would want them associated with their project.
- tptacek 9y agoThe first post you wrote like this was flagged off the site. If enough people actually see this one, it will be too. What you're doing here is abusive and says more about you than about anything you're trying to argue. Please stop.