| 1 | .\" @(#)portmap.8c 2.2 88/08/03 4.0 RPCSRC; from 1.10 88/03/14 SMI |
| 2 | .TH PORTMAP 8C "9 September 1987" |
| 3 | .SH NAME |
| 4 | portmap \- DARPA port to RPC program number mapper |
| 5 | .SH SYNOPSIS |
| 6 | .B /usr/etc/rpc.portmap |
| 7 | .SH DESCRIPTION |
| 8 | .IX "portmap command" "" "\fLportmap\fP \(em DARPA to RPC mapper" |
| 9 | .IX DARPA "to RPC mapper \(em \fLportmap\fP" |
| 10 | .B portmap |
| 11 | is a server that converts |
| 12 | .SM RPC |
| 13 | program numbers into |
| 14 | .SM DARPA |
| 15 | protocol port numbers. |
| 16 | It must be running in order to make |
| 17 | .SM RPC |
| 18 | calls. |
| 19 | .LP |
| 20 | When an |
| 21 | .SM RPC |
| 22 | server is started, it will tell |
| 23 | .B portmap |
| 24 | what port number it is listening to, and what |
| 25 | .SM RPC |
| 26 | program numbers it is prepared to serve. |
| 27 | When a client wishes to make an |
| 28 | .SM RPC |
| 29 | call to a given program number, |
| 30 | it will first contact |
| 31 | .B portmap |
| 32 | on the server machine to determine |
| 33 | the port number where |
| 34 | .SM RPC |
| 35 | packets should be sent. |
| 36 | .LP |
| 37 | Normally, standard |
| 38 | .SM RPC |
| 39 | servers are started by |
| 40 | .BR inetd (8C), |
| 41 | so |
| 42 | .B portmap |
| 43 | must be started before |
| 44 | .B inetd |
| 45 | is invoked. |
| 46 | .SH "SEE ALSO" |
| 47 | .BR inetd.conf (5), |
| 48 | .BR rpcinfo (8), |
| 49 | .BR inetd (8) |
| 50 | .SH BUGS |
| 51 | If |
| 52 | .B portmap |
| 53 | crashes, all servers must be restarted. |