Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2001 15:53:55 +0200
From:      Jochem Kossen <j.kossen@home.nl>
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>

next in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011026155354.A44808>