# # configuration file for rpc_psrv # # the port the proxy listens on Port 0 # Fully qualified IP address the proxy listens on (default is local IP address) # ListenAddress nnn.nnn.nnn.nnn # RPC services to be forwarded via UDP (change each ,3 to ,2 for NFS Version 2) UdpForward 100003,3:-::*:* 100005,3:100005:k:*:* 100003,3::k:- # the id the server should run as Id snfs # don't use the security features. overrides InsecurePort and InsecureMsg # Insecure no # accept requests coming from unreserved ports # InsecurePort no # don't check rpc credentials or program numbers of forwarded requests # InsecureMsg no # use a magic value (yes or no) # WithMagic yes # the magic value (hex or decimal) to detect when sync is lost # PacketMagic 0x6feeddcc # maximum reference count per XID mapping, to avoid superfluous retransmissions # MaxRefCount 1 # the ID string the proxy server expects to see from the remote client # IdString RPC Proxy Client # quiet logging (no logging) or not QuietMode no # logging to syslog (yes or no) LogToSyslog yes # logging facility (accepts the same facilities as SSH) # LogFacility DAEMON # keep portmapper entries as far as possible (yes or no) # if yes: old portmap entries are not unset before setting new ones, this # keeps external settings (e.g. by pmap_set) KeepPortmap yes # reap interval in seconds (for reaping stale XID mappings) ReapInterval 60 # the SSH command line to be executed # 2 possibilities: # give a Host, a TunnelCommand and a RemoteCommand. Defaults are: # TunnelCommand ssh ssh -c blowfish -x -oFallBackToRsh\ no # RemoteCommand rpc_pcl # The -M arguments for rpc_pcl are added according to UdpForward Host REMOTE RemoteCommand rpc_pcl -P -1 -e snfs-HOST-100005.log # Use this command line for a production environment: # SshCommand ssh ssh -c blowfish -x -oFallBackToRsh\ no REMOTE rpc_pcl -P -1 # Replace the above command with this one to generate a remote debugging log # in /var/log/rpc_pcl # SshCommand ssh ssh -C -x -oFallBackToRsh\ no REMOTE rpc_pcl -d -e pcl.log P -1 # NOTE: The arguments of SshCommand are used in execvp(): # the first argument is the file to be executed, the second one is # argv[0], etc. Whitespace delimits words; backslash quotes the # next character.