20.01.2014 Views

Lectures notes for 2010 - KTH

Lectures notes for 2010 - KTH

Lectures notes for 2010 - KTH

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Port Mapper<br />

RPC server programs use ephemeral ports - thus we need a well known port to be<br />

able to find them<br />

Servers register themselves with a registrar - the port mapper<br />

(called rpcbind in SVR4 and other systems using TI-RPC)<br />

Port mapper is at well know port: 111/UDP and 111/TCP<br />

The port mapper is an RPC server with program number 100000, version 2, a TCP<br />

port of 111, a UDP port of 111.<br />

Servers register themselves with RPC calls and clients query with RPC calls:<br />

• PMAPPROC_SET - register an entry<br />

• PMAPPROC_UNSET - unregister an entry<br />

• PMAPPROC_GETPORT - get the port number of a given instance<br />

• PMAPPROC_DUMP - returns all entries (used by “rpcinfo -p”)<br />

Maguire Network File System (NFS) 5: 58 of 77<br />

maguire@kth.se <strong>2010</strong>.03.21 Internetworking/Internetteknik

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!