Security
Showing results for 
Search instead for 
Do you mean 

portmapper - is it really required?

Super Advisor

portmapper - is it really required?

 
6 REPLIES
Exalted Contributor Exalted Contributor

Re: portmapper - is it really required?

from /etc/inetd.conf

# rpc services, registered by inetd with portmap
# Do not uncomment these unless you are running portmap!

In all things, the answer is sometimes.

If you want to use rpc, you need to run portmap.

11i

Regards,

hope you are well.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Exalted Contributor Exalted Contributor

Re: portmapper - is it really required?

Should have added this in. thought of it after the fact.

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90129/B2355-90129_top.html&con=/hpux/onlinedocs/B2355-90129/00/02/260-con.html&toc=/hpux/onlinedocs/B2355-90129/00/02/260-toc.html&searchterms=portmap&queryid=20030714-231459

Just becasue its 10.x manual doesn't mean its not relavent.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Honored Contributor Honored Contributor

Re: portmapper - is it really required?

Hi Maria

It depends on what services you are running and what version of HP-UX.

portmapper has been replaced by rpcbind as of 11.x.

portmapper is a service that maps rpc addresses to rpc program numbers. Any application that uses RPC is contacted through portmapper or rpcbind daemon. NFS is an example of an application that requires rpcbind to be running.

In what context are you asking the question. Are you seeing a portmapper process running?

Cheers
Con
Super Advisor

Re: portmapper - is it really required?

Thankyou so far for you replies to my empty question...I didnt even realise that I had sent an empty one, and now there are two entries for the same question! I have the details of my question in the other entry!!!
Sorry, but thanks
Maria
Occasional Visitor

Re: portmapper - is it really required?

Hello, can you please tell me what Portmapper is used for? I think it was used in conjunction with Silo Tape drives connected to Nonstop systems. What else is it used for? Thanks.

Honored Contributor Honored Contributor

Re: portmapper - is it really required?

It is a required component for all SunRPC services.

 

NFS and NIS are probably the most well known of those, but for example EMC (ex-Legato) NetWorker backup software presents as a SunRPC service.

 

SunRPC services may be located in variable port numbers, so there must be a mechanism that allows a client to find the service it's looking for. The SunRPC portmapper (also known as rpcbind) is always in port 111 (both TCP and UDP) and all the other SunRPC services are supposed to register with it.

 

There are standard port number conventions for certain SunRPC services - for example, the main NFS service should in modern systems be in port 2049. Some other SunRPC services may optionally be bound to a fixed port if required, but there may not be a well-defined standard port number for all of them.

 

If you're thinking about disabling portmapper/rpcbind on a particular host, run "rpcinfo -p". If the output only includes lines referring to port 111, there are no active SunRPC services other than the portmapper itself, and so it can probably be safely disabled.

MK