nfs: Permit null requests (aka server pings) from non-reserved ports
authorratchov <ratchov@openbsd.org>
Fri, 19 Apr 2024 06:50:37 +0000 (06:50 +0000)
committerratchov <ratchov@openbsd.org>
Fri, 19 Apr 2024 06:50:37 +0000 (06:50 +0000)
commit9ca5b5eb457be4807fb0493bcc586edb11ee26b7
treea0e384c23612f654d1a773bd40ba1bdb1be43b43
parent16245c627d2aeaa4a4eb304731e38785494ed886
nfs: Permit null requests (aka server pings) from non-reserved ports

Unfortunately, this is recommended by rfc 2623 and used by Linux
nfs-utils to mount NFS exports. So until nfs-utils switches into
using reserved ports, this is needed to mount OpenBSD file-systems
on most (all?) Linux distros.

Bits from claudio, ok millert
sys/nfs/nfs_socket.c
sys/nfs/nfs_syscalls.c