From owner-freebsd-security@FreeBSD.ORG Mon Oct 27 18:00:44 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 13CC816A4CE for ; Mon, 27 Oct 2003 18:00:44 -0800 (PST) Received: from walter.dfmm.org (walter.dfmm.org [209.151.233.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10C7443F3F for ; Mon, 27 Oct 2003 18:00:43 -0800 (PST) (envelope-from freebsd-security@dfmm.org) Received: (qmail 91111 invoked by uid 1000); 28 Oct 2003 02:00:42 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 28 Oct 2003 02:00:42 -0000 Date: Mon, 27 Oct 2003 18:00:42 -0800 (PST) From: Jason Stone X-X-Sender: jason@walter To: Wolfgang Kess In-Reply-To: Message-ID: <20031027175709.C38023@walter> References: <20031027211512.GA14467@stinky.trash.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: "freebsd-security@freebsd.org" 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: Tue, 28 Oct 2003 02:00:44 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > For gdm, the process is similar the line to start the X server is in > gdm.conf and would look like command=/usr/X11R6/bin/X -nolisten tcp. If you think that you might someday invoke X with a different display manager, you might consider replacing /usr/X11R6/bin/X with a shell script that calls "X.real -nolisten tcp" - this would make all methods of starting X not use the tcp port. On the other hand, you'll have to remember to maintain it when you upgrade. Also, it's probably a good idea to firewall of that port as well - defense in depth and all that. -Jason -------------------------------------------------------------------------- Freud himself was a bit of a cold fish, and one cannot avoid the suspicion that he was insufficiently fondled when he was an infant. -- Ashley Montagu -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) Comment: See https://private.idealab.com/public/jason/jason.gpg iD8DBQE/nc3KswXMWWtptckRAmsQAKDxtRh8bGXweESE9NdUnEjdZ2DyQgCguft3 fN08dEO9gEEudzWWuQJYSkY= =a1Up -----END PGP SIGNATURE-----