🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.protocols.tcp-ip
Article #7955

Re: Determining Port Numbers & The RPC Portmapper

#7955
From: Guy Harris
Date: Fri, 22 Jan 1993 04:00
30 lines
1979 bytes
>I was just wondering if it is possible to connect and send commands to the 
>RPC portmapper without using RPC calls (svc_xxx or pmap_xxx) but tli or 
>socket calls.

Well, yes, it is possible - after all, ultimately, the code that
implements RPC calls generally does so using sockets or TLI calls....

I.e., yes, you can do it, but the commands you send to it are just RPC
calls, so the only way to avoid using the RPC routines is to do just
what they do....

>The protocol specifications for the portmapper (appendix A of the RFC1057) 
>does not say anything about the low level commands that the portmapper 
>recognizes.

Yes, it does.  It gives a description, "in RPC Language", of the port
mapper protocol.  If the fact that the description is given "in RPC
Language" doesn't tell you that the port mapper is an RPC service, the
fact that section 7.4.2 says, in as many words:

   Broadcast calls use the Port Mapper RPC service to achieve their
   semantics.  See Appendix A for more information.

should sure give you a clue that it's an RPC service....

I.e., no, this isn't like an SMTP or FTP server, wherein you can just
type commands at it; it's an RPC server that's just like any other RPC
server, except that it has to have a well-known port number - after all,
it's kind of hard to ask the portmapper what the port number of the
portmapper is if you don't *already* know what its port number is.
Technical Details
Message-ID: <16563@auspex-gw.auspex.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!auspex-gw!guy
References: <1993Jan20.162611.25831@walter.bellcore.com> <1jki9vINNmr9@aludra.usc.edu> <1993Jan21.155457.27880@panther.mot.com> <1993Jan22.004203.5030@walter.bellcore.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!auspex-gw!guy
From: guy@Auspex.COM (Guy Harris)
Newsgroups: comp.protocols.tcp-ip
Subject: Re: Determining Port Numbers & The RPC Portmapper
Message-ID: <16563@auspex-gw.auspex.com>
Date: 22 Jan 93 04:00:39 GMT
References: <1993Jan20.162611.25831@walter.bellcore.com> <1jki9vINNmr9@aludra.usc.edu> <1993Jan21.155457.27880@panther.mot.com> <1993Jan22.004203.5030@walter.bellcore.com>
Sender: news@auspex-gw.auspex.com
Organization: Auspex Systems, Santa Clara
Lines: 30
Nntp-Posting-Host: auspex.auspex.com