Re: Regarding Static Port Numbers in OpenAFS

Jeffrey Altman <[email protected]> Mon, 16 Jun 2008 09:20:04 -0400
Newsgroups gmane.comp.file-systems.openafs.devel.win32
Organization Secure Endpoints Inc.
Message-ID <[email protected]>
OpenAFS uses the port numbers that were assigned to the AFS protocol in 
the 80s by IANA.  There are thousands of application protocols that have 
port number assignments.  You can find a list at

   http://www.iana.org/assignments/port-numbers

If you are using the 1.4.x or above OpenAFS file servers, the client 
port does not have to be port 7001.   The service ports must still be 
the well-known port numbers because neither CellServDB files nor the DNS 
AFSDB records can specify a port number at which the VLserver can be 
found and the VLServer cannot tell the clients on which port the File 
Servers can be found.

Jeffrey Altman



Bharat Kulkarni wrote:
> Hi,
> As it looks like OpenAFS makes use of static ports. Like ....port 7000 
> for fileserver, and 7001 client, which looks to be hard coded.
> 
> Can any one please clear my queries as follows ?
> 
> 1. I was wondering as to why did OpenAFS not make use of the portmapper 
> service (135) like what NFS does. This will prevent from having a 
> requirement of static port? Any clue.
> 
> 2. Also are there any applications in this world other than OpenAFS who 
> make use of static ports which are beyound the standart 0-1024 range ? 
> If so , why would there be such a need to use static ports?
> 
> Thanks much in advance,
> 
> -Bharat.
smime.p7s (application/x-pkcs7-signature, 3.3 KB) - not displayed