Firewall Wizards mailing list archives
Re: SUN RPC portmapper
From: Doug Hughes <Doug.Hughes () Eng Auburn EDU>
Date: Wed, 23 Sep 1998 11:17:05 -0500
There really isn't as far as I know. Some services are relatively fixed (e.g. NFS - 2049, network lock manager 4045), but the rest are mostly randomly assigned at ports above 32768. When your server registers with rpcbind/portmap, portmap assigns it a port. Then, when a client requests an RPC service, it contacts portmap/rpcbind to resolve the RPC number to a port and protocol (udp,tcp,tli, whatever)It's been a few years since I looked at the code, but as I recall applications bind to their own ports and simply notify the portmapper what they're using.
He's entirely correct, mea cupla. The server starts, binds a random port, and then tells the rpcbind/portmap daemon what port(s) it's listening on and what service(s) it provides. -- ____________________________________________________________________________ Doug Hughes Engineering Network Services System/Net Admin Auburn University doug () eng auburn edu
Current thread:
- re: SUN RPC portmapper Sadofsky, Jerry (Sep 21)
- re: SUN RPC portmapper Doug Hughes (Sep 22)
- <Possible follow-ups>
- Re: SUN RPC portmapper Steven M. Bellovin (Sep 23)
- Re: SUN RPC portmapper Doug Hughes (Sep 24)
- Re: SUN RPC portmapper Chip Christian (Sep 24)