home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.protocols.tcp-ip
- Path: sparky!uunet!panther!panther3.panther.mot.com!ronf
- From: ronf@panther3.panther.mot.com (Ron Feigen)
- Subject: Re: Determining Port Numbers & The RPC Portmapper
- Message-ID: <1993Jan21.155457.27880@panther.mot.com>
- Sender: usenet@panther.mot.com
- Nntp-Posting-Host: panther3.panther.mot.com
- Organization: Motorola Panther Project, Chandler, AZ
- References: <1993Jan20.162611.25831@walter.bellcore.com> <1jki9vINNmr9@aludra.usc.edu>
- Date: Thu, 21 Jan 1993 15:54:57 GMT
- Lines: 47
-
- In article <1jki9vINNmr9@aludra.usc.edu> smiller@aludra.usc.edu (Stephen B. Miller) writes:
- >In article <1993Jan20.162611.25831@walter.bellcore.com> maritza@espresso.bae.bellcore.com (Maritza Ramirez) writes:
- >>
- >>
- >>I am trying to look for a solution to the problem of determining an
- >>unknown remote port number. I will appreciate any comments on the
- >>following situation:
- >>
- >> [text deleted, see earlier posting]
- >>
- >>Maritza
- >>
- >
- >I am beginning to work an identical problem here, but have not come up with
- >much more than you. I have considered trying the dynamic update features in
- >the BIND 4.8.3 code, but they are so poorly documented that I might be better
- >off writing my own application. My situation is further complicated by then
- >need to change the port number assignments dynamically, which might be done
- >by deregistering and reregistering with the portmapper. If anyone else has
- >ideas please feel free.....
- >
- >Steve Miller - smiller@aludra.usc.edu
- >
- >
-
- registerrpc will register a prog#/ver# with portmapper. Portmapper assigns the
- port #. svc_unregister() removes the entry. pmap_getport() looks up a prog#/
- version# on a host. You must of course know the host name, prog# and version#
- in advance. Be careful about having the same prog# with different version #s.
- Portmapper returns the port of a program with a match on prog #, but will give
- you the latest (I believe) version # if it doesn't find an exact match.
-
- Dig through the man pages, the info is skinny but most of it is there. There is
- also a book called "The Art of Distributed Application" by John R. Corbin.
- It is supposed to give lots of detail about Portmapper It is part of the Sun
- Tech Reference Library, published by Springer-Verlag.
-
-
- Ron
-
-
-
- --
-
- >
- Ron Feigen
- ronf@panther.mot.com
-