home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / protocol / tcpip / 6053 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.9 KB

  1. Path: sparky!uunet!auspex-gw!guy
  2. From: guy@Auspex.COM (Guy Harris)
  3. Newsgroups: comp.protocols.tcp-ip
  4. Subject: Re: Determining Port Numbers & The RPC Portmapper
  5. Message-ID: <16563@auspex-gw.auspex.com>
  6. Date: 22 Jan 93 04:00:39 GMT
  7. References: <1993Jan20.162611.25831@walter.bellcore.com> <1jki9vINNmr9@aludra.usc.edu> <1993Jan21.155457.27880@panther.mot.com> <1993Jan22.004203.5030@walter.bellcore.com>
  8. Sender: news@auspex-gw.auspex.com
  9. Organization: Auspex Systems, Santa Clara
  10. Lines: 30
  11. Nntp-Posting-Host: auspex.auspex.com
  12.  
  13. >I was just wondering if it is possible to connect and send commands to the 
  14. >RPC portmapper without using RPC calls (svc_xxx or pmap_xxx) but tli or 
  15. >socket calls.
  16.  
  17. Well, yes, it is possible - after all, ultimately, the code that
  18. implements RPC calls generally does so using sockets or TLI calls....
  19.  
  20. I.e., yes, you can do it, but the commands you send to it are just RPC
  21. calls, so the only way to avoid using the RPC routines is to do just
  22. what they do....
  23.  
  24. >The protocol specifications for the portmapper (appendix A of the RFC1057) 
  25. >does not say anything about the low level commands that the portmapper 
  26. >recognizes.
  27.  
  28. Yes, it does.  It gives a description, "in RPC Language", of the port
  29. mapper protocol.  If the fact that the description is given "in RPC
  30. Language" doesn't tell you that the port mapper is an RPC service, the
  31. fact that section 7.4.2 says, in as many words:
  32.  
  33.    Broadcast calls use the Port Mapper RPC service to achieve their
  34.    semantics.  See Appendix A for more information.
  35.  
  36. should sure give you a clue that it's an RPC service....
  37.  
  38. I.e., no, this isn't like an SMTP or FTP server, wherein you can just
  39. type commands at it; it's an RPC server that's just like any other RPC
  40. server, except that it has to have a well-known port number - after all,
  41. it's kind of hard to ask the portmapper what the port number of the
  42. portmapper is if you don't *already* know what its port number is.
  43.