Can rpc.mountd NOT be hardcoded to listen on 0.0.0.0?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I found that `rpc.mountd` is hardcoded to listen on NULL == INADDR_ANY == 0.0.0.0:

https://serverfault.com/questions/1110431/how-to-specify-a-specific-bind-address-for-nfs-kernel-server-on-debian-11-4/1163083#1163083

This makes it impossible to reduce the attack surface by e.g. restricting it to a VPN IP address.

Is there a technical reason for that (while other NFS daemons support `--host` flags and `host` config options), or is that just historical?

Thanks!




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux