From owner-freebsd-ports Fri Oct 26 6:54: 2 2001 Delivered-To: freebsd-ports@freebsd.org Received: from jochem.dyndns.org (cc40670-a.groni1.gr.nl.home.com [217.120.131.23]) by hub.freebsd.org (Postfix) with ESMTP id 6ABA437B405; Fri, 26 Oct 2001 06:53:58 -0700 (PDT) Received: (from jochem@localhost) by jochem.dyndns.org (8.11.6/8.11.6) id f9QDrt244835; Fri, 26 Oct 2001 15:53:55 +0200 (CEST) (envelope-from jochem) Date: Fri, 26 Oct 2001 15:53:55 +0200 From: Jochem Kossen To: ports@FreeBSD.ORG Cc: jmz@FreeBSD.ORG Subject: x11/XFree86-4: patch to make XFree86-4 a _little_ bit more secure Message-ID: <20011026155354.A44808@jochem.dyndns.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi there, I always hate the fact that when i start X, port 6000 is listening. Attached file patches startx to use X with the '-nolisten tcp' option. My idea behind this is that most people who use X don't need the network options of it, those who do, are wise enough to change it in `which startx`... Secure by default? :) I haven't made a PR of this since it's not really a bug, i could do that if people want that... Save the file to something like /usr/ports/x11/XFree86-4/files/patch-startx and it should work Jochem -- Fortune cookie says: "The Computer made me do it." --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch-startx --- programs/xinit/startx.cpp.orig Fri Oct 26 15:38:56 2001 +++ programs/xinit/startx.cpp Fri Oct 26 15:39:25 2001 @@ -54,7 +54,7 @@ sysclientrc=XINITDIR/xinitrc sysserverrc=XINITDIR/xserverrc defaultclientargs="" -defaultserverargs="" +defaultserverargs="-nolisten tcp" clientargs="" serverargs="" --FCuugMFkClbJLl1L-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message