Copyright (c) 1989 The Regents of the University of California.
All rights reserved.
Redistribution and use in source and binary forms are permitted
provided that the above copyright notice and this paragraph are
duplicated in all such forms and that any documentation,
advertising materials, and other materials related to such
distribution and use acknowledge that the software was developed
by the University of California, Berkeley. The name of the
University may not be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
@(#)nfsd.8 5.4 (Berkeley) 01/04/90
The default values for filtermask and filtervalue are 0, which accepts
requests from all client source_addr's.
Alternately, the most secure values you could use for
filtermask and
filtervalue would be:
although your subnet or net number and mask will be just as good
in most cases.
All rights reserved.
Redistribution and use in source and binary forms are permitted
provided that the above copyright notice and this paragraph are
duplicated in all such forms and that any documentation,
advertising materials, and other materials related to such
distribution and use acknowledge that the software was developed
by the University of California, Berkeley. The name of the
University may not be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
@(#)nfsd.8 5.4 (Berkeley) 01/04/90
NFSD 8 ""
C 7 NAME
nfsd - remote NFS server
SYNOPSIS
/sbin/nfsd [
numdaemons [
filtermask filtervalue ] ]
DESCRIPTION
Nfsd runs on a server machine to service
NFS requests from client machines.
At least one
nfsd must be running for a machine to operate as a server.
The option
numdaemons defines how many
nfsd daemons to start;
if unspecified, only a single daemon will be started.
A server should typically run enough daemons to handle
the maximum level of concurrency from its clients,
typically four to six.
The options filtermask and filtervalue may be specified to restrict the clients serviced by filtering incoming source addresses. They are expressed in Internet standard "." notation. The algorithm is simply:
if ((filtermask & source_addr) == filtervalue)
accept request
filtervalue = (inet_addr1 & inet_addr2 & ... & inet_addrN)
filtermask = ~(inet_addr1 | inet_addr2 | ... | inet_addrN) | filtervalue
Nfsd listens for service requests at the port indicated in the NFS server specification; see ``Network File System Protocol Specification, RFC1094''
SEE ALSO
nfsstat (1), nfssvc (2), mountd (8), portmap (8)