*BSD News Article 53652


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!usenet.eel.ufl.edu!tank.news.pipex.net!pipex!news.mathworks.com!newsfeed.internetmci.com!bloom-beacon.mit.edu!ai-lab!life.ai.mit.edu!kstailey
From: kstailey@hill.gnu.ai.mit.edu (Kenneth Stailey)
Newsgroups: comp.unix.bsd.misc,comp.sys.sequent
Subject: portmap question
Date: 26 Oct 1995 20:31:48 GMT
Organization: MIT Artificial Intelligence Lab
Lines: 27
Distribution: comp
Message-ID: <KSTAILEY.95Oct26163149@hill.gnu.ai.mit.edu>
NNTP-Posting-Host: hill.gnu.ai.mit.edu
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.misc:295 comp.sys.sequent:2911

Hi,

We have a copy of a backup application called REELbackup by StorageTek
on our Sequent Symmetry 2000.  It uses ONC RPC and registers itself
via portmap.  Here is the output from rpcinfo -p

   program vers proto   port
[normal stuff deleted]
 667777775    1   tcp    840  rllog
 667777771    1   tcp    847
 667777771    1   udp    849
 667777774    1   tcp    852
 667777770    1   tcp    851
 667777773    1   tcp    877
 667777772    1   tcp    885

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.

Can portmap choose TCP ports or does the application decide on the ports
and then tell the portmap daemon what they are?

Thanks for any help,

~Ken