From owner-freebsd-questions Thu Sep 14 11:29:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scaup.prod.itd.earthlink.net (scaup.prod.itd.earthlink.net [207.217.121.49]) by hub.freebsd.org (Postfix) with ESMTP id 8AB3137B422 for ; Thu, 14 Sep 2000 11:29:20 -0700 (PDT) Received: from gaea.mindspring.com (1Cust165.tnt1.hershey.pa.da.uu.net [63.23.225.165]) by scaup.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id LAA00147; Thu, 14 Sep 2000 11:29:17 -0700 (PDT) Message-Id: <4.3.2.7.2.20000914143235.00b70f00@pop.mindspring.com> X-Sender: marisombra@pop.mindspring.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Thu, 14 Sep 2000 14:33:57 -0400 To: Paul Nelson , "'freebsd-questions@freebsd.org'" From: "Dan Z." Subject: Re: Disabling smtp, & sunrpc In-Reply-To: <623E8805873DD411A6620004AC4C883535D7F6@FEI0018M001> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greets, In /etc/rc.conf or /etc/defaults.conf you need the following: sendmail_enable="NO" portmap_enable="NO" Hope that helps. ciao, Daniel J. Zaccariello At 01:55 PM 9/14/00 -0400, Paul Nelson wrote: >I am having a little bit of a dilemma. I am setting up a new box to just be >my ftp server. All of that is done, except locking it down. I don't want to >put ipfw on it. What I am trying to do is have just ssh, and ftp. I have >gotten it down to this. > >21 - ftp open >22 - ssh open >25 - smtp open >111 - sunrpc open > > I am trying to close 111, and 25. w/ 25 I have commented out anything in >/etc/services and /etc/inetd.conf that would open a port, and I have >re-started inetd, but to no avail port 25 is still open!?! has anyone come >across this that can help me? > >now for 111 (sunrpc) the only thing that I could find was /etc/rpc and I >commented out 'portmapper 100000 portmap sunrpc' and I restarted the box.... >but if you port scan the host it says that 25, and 111 are still open!?! > > If anyone can point me in the right direction w/ this I would greatly >appreciate it. >thanks, > -Paul > > >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