From owner-freebsd-questions Wed Jun 6 16:40:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 3596637B403 for ; Wed, 6 Jun 2001 16:40:45 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 22868 invoked by uid 100); 6 Jun 2001 23:40:44 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15134.49020.688085.91668@guru.mired.org> Date: Wed, 6 Jun 2001 18:40:44 -0500 To: "Corey Brune" Cc: questions@freebsd.org, kek971@mail.usask.ca Subject: Re: blocking ports?? In-Reply-To: <44852303@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ 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 Corey Brune types: > kek971@mail.usask.ca > > How can i block some services running on my freebsd box? > > In linux, ntsysv or linuxconf can be used in this case. > > but i don't know how to strip of some of services from my system... > > (especially, after running nmap or netstat, then i could see some useless ports are open.... ) > Edit /etc/inetd.conf or compile your kernel with firwall to block the ports. ipfw loads as a module on recent systems. I use it with GENERIC all the time. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message