jbaublitz / neli

Rust type safe netlink library
BSD 3-Clause "New" or "Revised" License
180 stars 35 forks source link

Add methods to control strict input checking for route sockets #213

Closed cgzones closed 1 year ago

cgzones commented 1 year ago

Supported since Linux 4.20.

See https://kernel.org/doc/html/next/userspace-api/netlink/intro.html#strict-checking

jbaublitz commented 1 year ago

Hi @cgzones, thanks for the contribution! If I'm understanding this correctly, this basically is a toggle to validate all attributes for routing netlink even if they are not needed by the kernel for the given request, is that correct?

cgzones commented 1 year ago

To the best of my knowledge, yes.