Date: Mon, 27 Oct 2003 14:13:20 -0800 (PST) From: twig les <twigles@yahoo.com> To: Wolfgang Kess <bsdlist@kess.ch>, freebsd-security@freebsd.org Subject: Re: How to disable XFree86 and wdm listening ports Message-ID: <20031027221320.6829.qmail@web10105.mail.yahoo.com> In-Reply-To: <20031027211512.GA14467@stinky.trash.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <bsdlist@kess.ch> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031027221320.6829.qmail>