*BSD News Article 53977


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!pravda.aa.msen.com!spool.mu.edu!howland.reston.ans.net!Germany.EU.net!Dortmund.Germany.EU.net!interface-business.de!not-for-mail
From: j@interface-business.de (J Wunsch)
Newsgroups: comp.unix.bsd.misc
Subject: Re: portmap question
Date: 30 Oct 1995 14:20:02 +0100
Organization: interface business GmbH, Dresden
Lines: 18
Distribution: comp
Message-ID: <472je2$n7@ida.interface-business.de>
References: <KSTAILEY.95Oct26163149@hill.gnu.ai.mit.edu>
NNTP-Posting-Host: ida.interface-business.de

Kenneth Stailey <kstailey@hill.gnu.ai.mit.edu> wrote:

>My question (which I asked to StorageTek) is "how does this application
>determine what TCP port numbers to use?"  StorageTek said that portmap
>chooses the TCP port numbers, but this does not seem true to me based on
>what I have read from the portmap manual pages and source code.

That's actually what portmap is for.  It maps a program and version
number into a TCP or UDP port.

The story is that Sun intented to register a bunch of dedicated IP
ports when they were implementing NFS, but they haven't been allowed.
So they've been using just one registered port (111 on TCP and UDP for
the portmapper itself), and invented a more flexible scenario.
-- 
J"org Wunsch					       Unix support engineer
joerg_wunsch@interface-business.de
					[private: http://www.sax.de/~joerg/]