From owner-freebsd-questions Wed Oct 31 17:48:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from atkielski.com (atkielski.com [161.58.232.69]) by hub.freebsd.org (Postfix) with ESMTP id D9AB837B407 for ; Wed, 31 Oct 2001 17:48:17 -0800 (PST) Received: from contactdish (ASt-Lambert-101-2-1-14.abo.wanadoo.fr [193.251.59.14]) by atkielski.com (8.11.6) id fA11lvl06967; Thu, 1 Nov 2001 02:47:57 +0100 (CET) Message-ID: <001101c16277$46a93890$0a00000a@atkielski.com> From: "Anthony Atkielski" To: "FreeBSD Questions" References: <004101c16254$10ed3300$0a00000a@atkielski.com> <004101c16254$10ed3300$0a00000a@atkielski.com> <5.1.0.14.2.20011031194145.00a3e9d0@mail.utexas.edu> Subject: Re: What does portmap do? Date: Thu, 1 Nov 2001 02:48:14 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thanks. I've disabled it, as I won't be running NFS or NIS or anything that uses RPC (as far as I know) for the foreseeable future. ----- Original Message ----- From: "Oscar Ricardo Silva" To: Sent: Thursday, November 01, 2001 02:44 Subject: Re: What does portmap do? > A couple of portmap descriptions: > > The portmapper manages RPC connections, which are used by protocols such as > NFS and NIS. The portmap server must be running on machines which act as > servers for protocols which make use of the RPC mechanism. > > > Portmap is a server that converts RPC program numbers into DARPA protocol > port numbers. It must be running in order to make RPC calls. > > When an RPC server is started, it will tell portmap what port number it is > listening to, and what RPC program numbers it is prepared to serve. When a > client wishes to make an RPC call to a given program number, it will first > contact portmap on the server machine to determine the port number where > RPC packets should be sent. > > > I usually disable it on install but if it's running, you can disable by > adding the following to /etc/rc.conf : > > portmap_enable="NO" > > Unless you're running NFS or NIS you should disable it. > > > Oscar > > At 04:06 PM 10/31/2001 -0800, Gary W. Swearingen, you wrote: > >"Anthony Atkielski" writes: > > > > > I see portmap running in top. Apparently it is a daemon associated > > with RPC. > > > However, I don't recall installing any RPC stuff on my machine. Should > > it be > > > there, and what does it to? I am concerned because RPC can be an open > > door to > > > security breaches. > > > >I think it comes with the basic OS as /usr/sbin/portmap and with a man > >page. Or you could read about it at > >http://www.rt.com/man/portmap.8.html > > > >Many people don't need to run it (or RPC). NFS and some inetd functions > >need it, IIRC. > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-questions" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message