FreeBSD Bugzilla – Attachment 200253 Details for
Bug 234106
nfsv4 server ignores nfs_reserved_port_only="YES"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
modify the NFSv4 server so that it uses vfs.nfsd.nfs_privport
privport.patch (text/plain), 435 bytes, created by
Rick Macklem
on 2018-12-19 05:55:12 UTC
(
hide
)
Description:
modify the NFSv4 server so that it uses vfs.nfsd.nfs_privport
Filename:
MIME Type:
Creator:
Rick Macklem
Created:
2018-12-19 05:55:12 UTC
Size:
435 bytes
patch
obsolete
>--- fs/nfsserver/nfs_nfsdkrpc.c.sav 2018-12-18 17:18:36.612471000 -0800 >+++ fs/nfsserver/nfs_nfsdkrpc.c 2018-12-18 17:19:01.597029000 -0800 >@@ -166,7 +166,7 @@ nfssvc_program(struct svc_req *rqst, SVCXPRT *xprt) > nd.nd_mreq = NULL; > nd.nd_cred = NULL; > >- if (nfs_privport && (nd.nd_flag & ND_NFSV4) == 0) { >+ if (nfs_privport != 0) { > /* Check if source port is privileged */ > u_short port; > struct sockaddr *nam = nd.nd_nam;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 234106
: 200253