From owner-freebsd-questions Mon May 27 10: 1:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hobbiton.shire.net (frogmorton.shire.net [204.228.145.136]) by hub.freebsd.org (Postfix) with ESMTP id 779BE37B401 for ; Mon, 27 May 2002 10:01:51 -0700 (PDT) Received: from [68.64.98.90] (helo=localhost) by hobbiton.shire.net with asmtp (Exim 3.36 #8) id 17CNsh-000FSY-00 for freebsd-questions@freebsd.org; Mon, 27 May 2002 13:02:03 -0400 Date: Mon, 27 May 2002 13:01:48 -0400 Subject: Re: portmap_enable=NO and *.sunrpc LISTEN Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v481) From: Chad Leigh -- Shire.Net LLC To: freebsd-questions@freebsd.org Content-Transfer-Encoding: 7bit In-Reply-To: <7A21ED7A-715E-11D6-8626-000502EDE760@shire.net> Message-Id: <6EEA550B-7193-11D6-880C-000502E29155@shire.net> X-Mailer: Apple Mail (2.481) 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 On Monday, May 27, 2002, at 06:42 , Chad Leigh -- Shire.Net LLC wrote: > Hi > > I am a little dense. I have "portmap_enable=NO" in rc.conf (both > /etc/defaults/rc.conf and /etc/rc.conf it turns out). My understanding > is that this should not start portmap service. But when I do > > host# lsof | grep sunrpc > portmap 77 daemon 3u IPv4 0xe303fec0 0t0 UDP > *:sunrpc > portmap 77 daemon 4u IPv4 0xe3280d80 0t0 TCP > *:sunrpc (LISTEN) > host# > > It appears to be running. I first noticed this when doing a netstat -a > and looking for *. as I am trying to eliminate the * for all IP > addresses on the machine for network services so that I can experiment > with the jail concept. > > I am wondering where else or how this portmap service could get > started? I looked for the word "portmap" in /etc/* and found nothing > interesting. OK, I got the answer myself -- nfs server is being started which will start the portmapper service for you even when you specify NO. OK, no problem. But how do I specify a specific IP to bind to for portmasp on the TCP side? -h flag (%man portmap) specifies for UDP purposes, the port, but on the TCP side, when I try it, it still listens on *.sunrpc TCP but only my host.sunrpc for UDP. I need to make it do only the host.sunrpc for LISTEN on TCP too. Any help appreciated. Thanks Chad > > Thanks > Chad > > > 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