View Single Post
  #5   (View Single Post)  
Old 12th July 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,984
Default

I'm glad to learn you have a root cause.

NFS uses ports indirectly. NFS is one of a number of RPC services that can use a variety of port numbers. To find out the port numbers, the client contacts the portmap daemon listening on the server (at port 111 for both UDP and TCP) to learn what destination port numbers to use for further communication. With the -p option of the rpcinfo(8) command, you can have your OpenBSD client list all of the port numbers offered by the portmap daemon running on your Solaris server.

When I probe one of my NFS servers, I see:
Code:
$ rpcinfo -p netbook
   program vers proto    port
    100000    2      tcp     111  portmapper
    100000    2      udp     111  portmapper
    100005    1      udp     901  mountd
    100005    3      udp     901  mountd
    100005    1      tcp     747  mountd
    100005    3      tcp     747  mountd
    100003    2      udp    2049  nfs
    100003    3      udp    2049  nfs
    100003    2      tcp    2049  nfs
    100003    3      tcp    2049  nfs
    100026    1      udp     714  bootparam
$
Reply With Quote