News for hackers. Stuff that matters.
Re:Full WireGuard Support in ProtonVPN for Android by georgyo on Monday October 11, 2021 @05:23PM (#28833260)
All the replies to your comment seem like sales pitches that don't actually explain anything.

The difference between wireguard and OpenVPN is that there is no real negotiation between the client and server.

Connecting to OpenVPN can take several seconds as it authenticates you, figured out encryption algorithms, IP and route management. If the network or OpenVPN server hiccup, it drops you and you need to reconnect and renegotiate again.

Wireguard does not do this, the interface comes up regardless if the remote server is up. The client and server key have already been exchanged, the routing and ip are statically configured, so the server can just receive packets without any negotiation.

Clients are identified by their public key, so roaming and ip switches are seamless as well.

There actually is a very tiny amount of negotiation in that protocol has perfect forward secrecy, so the connection re keys every two minutes (hard codes time value).

Re:Full WireGuard Support in ProtonVPN for Android by SahAssar on Monday October 11, 2021 @05:41PM (#28833440)
> All the replies to your comment seem like sales pitches that don't actually explain anything.

It's sort of hard to provide any other than "yes/no" to a question like "Is WG stable/reliable", right?

For most uses the answer is probably "yes" but there are use cases (I'm guessing around auth and middleboxes that do not like UDP) where the answer would be "no".

Re:Full WireGuard Support in ProtonVPN for Android by wolverine876 on Monday October 11, 2021 @07:11PM (#28834151)
Regarding stability: WireGuard is widely used, Linus allowed it into the Linux kernel, and I haven't heard anyone mention stability problems.

WireGuard is also orders of magnitude more secure than OpenVPN.

Re:Full WireGuard Support in ProtonVPN for Android by TedDoesntTalk on Monday October 11, 2021 @07:54PM (#28834429)
> WireGuard is also orders of magnitude more secure than OpenVPN.

This entirely depends on how you configure OpenVPN, which encryption to allow it to support, HMAC, hashes, etc. If you configure it with maximum security, it is equally secure as WireGuard. If you configure it less so, then you allow older clients to connect.

Re:Full WireGuard Support in ProtonVPN for Android by BlackLotus89 on Monday October 11, 2021 @08:38PM (#28834669)
I think what the parent post meant isn't necessarily security in the transport, but security in the code.

The wireguard has around 4k LOC [0] and you can read and understand it in a weekend (or faster depending on your skill). Also you not only don't have to configure the ciphers, but you actually can't. If any of the chosen defaults isn't considered secure anymore they will be replaced [citation needed]. So even thought the code resides in the linux kernel you could still reasonably well argue that it is indeed on several levels more secure than OpenVPN. Here [1] is the whitepaper for anyone who is interested.

[0] https://git.zx2c4.com/wireguard-linux/tree/drivers/net/wireg...

[1] https://www.wireguard.com/papers/wireguard.pdf

Re:Full WireGuard Support in ProtonVPN for Android by tptacek on Tuesday October 12, 2021 @12:20AM (#28836004)
No, it does not depend on configuration. You cannot configure OpenVPN to be "equally as secure as WireGuard".
Re:Full WireGuard Support in ProtonVPN for Android by badrabbit on Tuesday October 12, 2021 @08:42PM (#28846899)
Thanks, that was very useful