Thread (24 messages) 24 messages, 3 authors, 2021-08-12

Re: [RFCv2 1/9] tcp: authopt: Initial support and key management

From: Dmitry Safonov <hidden>
Date: 2021-08-11 20:26:17
Also in: lkml, netdev

On 8/11/21 8:11 PM, Leonard Crestez wrote:
On 11.08.2021 16:42, David Ahern wrote:
[..]
quoted
any proposed simplification needs to be well explained and how it
relates to the RFC spec.
The local_id only exists between userspace and kernel so it's not really
covered by the RFC.

There are objections to this and it seems to be unhelpful for userspace
zo I will replace it with match by binding.

BTW: another somewhat dubious simplification is that I offloaded the RFC
requirement to never add overlapping keys to userspace. So if userspace
adds keys with same recvid that match the same TCP 4-tuple then
connections will just start failing.

It's arguably fine to allow userspace misconfiguration to cause failures.
I think it's fine. But worth documenting. Also, keep in mind that
someone in userspace with his funny ideas might start relying on such
behavior in future.

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