NAME

portmapper - port mapper

synopsis

portmapper [ -ds ] [ -t tcpaddr ] [ -u udpaddr ]

DESCRIPTION

Portmapper maps sun rpc services to port numbers. A service is identified by the triplet program, version, protocol. All three are numerical. Common programs are 100000 for portmapper itself and 100003 for NFS. Ports for different versions of a program can be registered, and for different protocols (udp or tcp).

Portmapper allows new registrations over the network, on tcpaddr and udpaddr (``tcp!*!sunrpc'' and ``udp!*!sunrpc'' by default). It also allows registrations through the file /chan/portmapper. RPC servers register by writing one line per registration: program version tcp|udp port. Where program, version and port are numerical. The registrations remain valid until the file is closed.

Option -s causes portmapper to run in the foreground. By default it goes into the background after claiming tcp/udp ports and /chan/portmapper. Option -d prints debugging information.

SOURCE

/appl/cmd/portmapper.b
/appl/lib/portmaprpc.b
/appl/lib/portmaprpc.m
/appl/lib/sunrpc.b

SEE ALSO

nfssrv(1),
RFC1833, ``Binding Protocols for ONC RPC Version 2'',

portmapper(1 ) Rev:  Sat Dec 12 18:03:34 GMT 2009