OpenVPN is very complicated and for that reason I use sshuttle[1] which is very simple. It does require that you own an sshd running on an endpoint somewhere (like a VPS or an EC2 instance or your own server somewhere) - but if you can clear that hurdle, you end up with a very elegant and simple solution. [1] https://github.com/sshuttle/sshuttle
Important security vulnerabilities in OpenVPN
61–70 of 97 posts
Re: Important security vulnerabilities in OpenVPN
#62Earlier quoted context omitted.
By the lack of any serious vulnerabilities over the past years. If you're willing to give it a go, an Apache bug would've fetched you 200K$ at the latest Pwn2Own.
This was pretty bad for openssh: https://www.qualys.com/2016/01/14/cve-2016-0777-cve-2016-077...
Re: Important security vulnerabilities in OpenVPN
#63I tried out this script once and it worked well:
Re: Important security vulnerabilities in OpenVPN
#64OpenVPN users are advised to upgrade[1] "as soon as possible."
[1] https://openvpn.net/index.php/open-source/downloads.html
Re: Important security vulnerabilities in OpenVPN
#65Vulnerability #2 is a good example of why OpenSSL is a minefield even for a competent coder. For such a security-critical library it's pretty insane that the API is so unfriendly, bordering on hostile. > The correct way to do this is to call GENERAL_NAMES_free. This is because sk_GENERAL_NAME_free frees only the containing structure, whereas GENERAL_NAMES_free frees the structure AND its items. And later: > Here, the…
Holy moly. It took me about five attempts just to spot the difference in the two names. Can it even be fixed at this point, or does it need to start fresh?
Re: Important security vulnerabilities in OpenVPN
#66Earlier quoted context omitted.
The LibreSSL fork tries to do exactly that: Although they still provide the original OpenSSL API for existing applications, they add a much simpler and hassle-free API on top of it ("libtls" [1]), with the goal that all applications will be switched part-by-part to the new interface. [1] https://www.openbsd.org/papers/libtls-fsec-2015/
Does it make sense to stop recommending OpenSSL and start recommending LibreSSL now?
Re: Important security vulnerabilities in OpenVPN
#67OpenVPN is very complicated and for that reason I use sshuttle[1] which is very simple. It does require that you own an sshd running on an endpoint somewhere (like a VPS or an EC2 instance or your own server somewhere) - but if you can clear that hurdle, you end up with a very elegant and simple solution. [1] https://github.com/sshuttle/sshuttle
Re: Important security vulnerabilities in OpenVPN
#68I was thinking of switching to L2TP instead. Would there be any downsides? I tried out this script once and it worked well: https://github.com/hwdsl2/setup-ipsec-vpn
Re: Important security vulnerabilities in OpenVPN
#69I’m gonna take the burden (someone would do that eventually anyway) and ask: how many of those issues would have been completely prevented by using a safer language such as Rust? How many would have been mitigated? I’m not a system programmer and the article, while indeed interesting, can be a little obscure.
Many of these bugs are specific to memory-unsafe languages. Writing in a memory-safe language would prevent many of these vulnerabilities. It would not stop all vulnerabilities.
Re: Important security vulnerabilities in OpenVPN
#70Earlier quoted context omitted.
You don't need necessarily to be using a specific service. You can configure your own OpenVPN server quite easily, and use the available vanilla client applications to connect to it.
The fun part is that a somewhat premium (read: more bandwidth) VPN option will cost around the same as a lower tier VPS. So, if you're willing to put up with the 10-15 commands, editing a couple configuration files, and copying config and cert files over, you can get your own VPN and a Linux server to use.