News for hackers. Stuff that matters.
Re:Why not “Why not WireGuard?” by CalChris on Thursday April 23, 2020 @07:33PM (#22962874)
I’m not sure that coexistence works without a version number going over the wire.
Re:Why not “Why not WireGuard?” by XelNika on Thursday April 23, 2020 @07:38PM (#22962919)
Sure it does. They are two separate packages, run on two separate network ports and completely incompatible. Just pretend that WireGuard v2 is unrelated to WireGuard. "OpenVPN and WireGuard coexistence doesn't work without a version number going over the wire" would be an absurd statement and the same applies to WireGuard and WireGuard's descendants.
Re:Why not “Why not WireGuard?” by CalChris on Thursday April 23, 2020 @07:52PM (#22963035)
I suppose you’re right. It is left to the user to not try to connect v1 to v2. Not sure what happens if on Tuesday morning I connect my v1 client to what was on Monday night a v1 server.

That said, I admire opinionated design.

Re:Why not “Why not WireGuard?” by XelNika on Thursday April 23, 2020 @08:10PM (#22963162)
The two versions can run in parallel so you will never be in a situation where the sysadmin is forced to take down the v1 server to set up a v2 server. It's the sysadmins responsibility not to put users in that situation. Users might try to use the wrong version at first, but there's no reason for an admin to break the working VPN before the transition is complete.
Re:Why not “Why not WireGuard?” by microcolonel on Thursday April 23, 2020 @08:07PM (#22963144)
Speaking vaguely of this topic, the ciphersuite of WireGuard:

How much trouble do you think it would be for a CPU designer to include a ChaCha20 accelerator or some sort of round/double-round/quarter-round³ primitive? It seems like the cost would be an order of magnitude lower than something like an AES accelerator, and way easier to validate.

I keep wondering if it's going to be this year, the next, or the one after that; but ChaCha20† is getting really popular, so I can imagine something like this could be very valuable, especially on a chip for an infrastructure provider like CloudFlare‡ , or any VPN megacompany.

† which may have more rounds than necessary, good reason not to do all 20 in one primitive if that costs latency/throughput

‡ who use ChaCha-based TLS for devices with poor, nonexistent, or misconfigured AES accel.

³ this relatively straightforward operation https://github.com/jedisct1/libsodium/blob/master/src/libsod...