From owner-freebsd-security@FreeBSD.ORG Mon Oct 27 14:13:21 2003 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 141FE16A4B3 for ; Mon, 27 Oct 2003 14:13:21 -0800 (PST) Received: from web10105.mail.yahoo.com (web10105.mail.yahoo.com [216.136.130.55]) by mx1.FreeBSD.org (Postfix) with SMTP id 8094D43FAF for ; Mon, 27 Oct 2003 14:13:20 -0800 (PST) (envelope-from twigles@yahoo.com) Message-ID: <20031027221320.6829.qmail@web10105.mail.yahoo.com> Received: from [68.5.49.41] by web10105.mail.yahoo.com via HTTP; Mon, 27 Oct 2003 14:13:20 PST Date: Mon, 27 Oct 2003 14:13:20 -0800 (PST) From: twig les To: Wolfgang Kess , freebsd-security@freebsd.org In-Reply-To: <20031027211512.GA14467@stinky.trash.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: How to disable XFree86 and wdm listening ports X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2003 22:13:21 -0000 http://www.onlamp.com/pub/a/bsd/2002/08/08/FreeBSD_Basics.html To quote: "There are several ways to close this port; I've found the easiest is to become the superuser and edit /usr/X11R6/bin/startx. Find the serverargs line and change it so that it looks like this: serverargs="-nolisten tcp" Once you've saved your changes, start X as a regular user and rerun sockstat -4. If you didn't have any typos, X will start as usual, but port 6000 will be missing in your sockstat -4 output." I never run wdm so don't know there. --- Wolfgang Kess wrote: > Hello, > > what is the right way to disable XFree86 and wdm listening > ports tcp 6000 and tcp 1024. > > I read in man XFree86 about the -nolisten tcp option > and tried to set in /usr/X11R6/lib/X11/xdm > > :0 local /usr/X11R6/bin/X -nolisten tcp > > but it was not successful. > > > What is the right way to close the ports without use of IPFW? > > Your help would be appreciated. > > Thank´s > Wolfgang > > _______________________________________________ > freebsd-security@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-security > To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org" ===== ----------------------------------------------------------- Get a taste of Religion ... eat a priest! ----------------------------------------------------------- __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/