On Tue, Jan 07, 2025 at 10:51:19PM +0000, Kangjing Huang wrote: > This is good to know. However, since the SMB protocol explicitly calls > for enumeration of all network interfaces on the server host, > including their RDMA capabilities, I believe this is a sensible > exception to the layering rule. Or is there anyway else to do this > enumeration from the kernel space? No, it's not a sensible exception. It's a massive data leak and a completely idiotic protocol feasture Linux should not support. If the protocol requires a lsit of network interfaces, a Linux server should require explicitly require that list to be configured and not expose private information to the untrusted network.