Thread (21 messages) 21 messages, 8 authors, 2018-08-22

Re: [PATCH v1 0/3] WireGuard: Secure Network Tunnel

From: James Bottomley <James.Bottomley@HansenPartnership.com>
Date: 2018-08-13 18:04:42
Also in: linux-crypto, lkml

On Mon, 2018-08-13 at 10:55 -0700, Jason A. Donenfeld wrote:
quoted
but it's very hard for a flow classifier because you have to
The construction and identifier strings might not obviously help with
the extremely narrow idea you've brought up, but it is very important
for safely introducing additional versions. Namely, it prevents
against cross-protocol key reuse attacks and type confusion bugs. So
don't be too quick to dismiss the importance of these for
accomplishing what we're after.
I'm not saying a hash check isn't important for safety; I'm saying that
if you only have a hash of a dynamic part plus the protocol identifier
to go on it makes far more work for the flow classifier.  You can see
this easily if you contemplate the idea that the hash might be the
algorithm being changed.
quoted
so lets pick one of the above and try it out.
We have, multiple times, and it's absolutely trivial to do and works
well. The exact thing you're concerned about has already been
researched and worked with on live systems quite a bit over the last
3 years, and it works in a pretty straight forward way. I'm not sure
there's much more to add here: the thing you want is already there
and has been tested extensively. At this point the "pick one and
let's try it out!" is an old story, and the focus now is on making
sure the code quality and netdev api usage is correct for merging
Great, thanks, I'll look forward to seeing it in v2 then.

James
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help