From owner-freebsd-questions Sat Jan 6 15: 2:29 2001 From owner-freebsd-questions@FreeBSD.ORG Sat Jan 6 15:02:27 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from sm5.texas.rr.com (unknown [24.93.35.219]) by hub.freebsd.org (Postfix) with ESMTP id 9403C37B400 for ; Sat, 6 Jan 2001 15:02:27 -0800 (PST) Received: from satx.rr.com (cs160144-62.satx.rr.com [24.160.144.62]) by sm5.texas.rr.com (8.11.0/8.11.1) with ESMTP id f06Nure17725; Sat, 6 Jan 2001 17:56:53 -0600 Sender: root@sm5.texas.rr.com Message-ID: <3A57A3F5.DCCEEF08@satx.rr.com> Date: Sat, 06 Jan 2001 17:02:13 -0600 From: Charlie Root X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Will Yardley Cc: questions@FreeBSD.ORG Subject: Re: hey References: <3A57A474.CF12D250@hq.newdream.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Will Yardley wrote: > any ideas on how to disable the X11, RPC and submission ports below.... > i don't need them for anything > > # nmap localhost > > Starting nmap V. 2.53 by fyodor@insecure.org ( www.insecure.org/nmap/ ) > Interesting ports on localhost (127.0.0.1): > (The 1517 ports scanned but not shown below are in state: closed) > Port State Service > 22/tcp open ssh > 25/tcp open smtp > 80/tcp open http > 111/tcp open sunrpc > 587/tcp open submission > 6000/tcp open X11 > > Nmap run completed -- 1 IP address (1 host up) scanned in 8 seconds > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message kill portmapper.. ad this to /etc/rc.conf portmap_enable="NO" as far as X11 is concerned, I believe there is a way to turn off listening for active connections. Check the man pages, or use ipfw to block packets coming to that port To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message