Date: Mon, 27 Oct 2003 20:45:31 -0500 (EST) From: Nigel Houghton <nigel@sourcefire.com> To: Wolfgang Kess <bsdlist@kess.ch> Cc: "freebsd-security@freebsd.org" <freebsd-security@freebsd.org> Subject: Re: How to disable XFree86 and wdm listening ports Message-ID: <Pine.LNX.4.58.0310272032170.533@ragrecevfr.fsrat.fbheprsver.pbz> In-Reply-To: <20031027211512.GA14467@stinky.trash.net> References: <20031027211512.GA14467@stinky.trash.net>
next in thread | previous in thread | raw e-mail | index | archive | help
wdm is a replacement for xdm and has it's own configuration directory, similar in nature to xdm but called wdm. There are different ways to achieve your desired result, you should find an appropriate place in /usr/X11R6/lib/X11/wdm/wdm-config to add the -nolisten tcp option to the server line similar to the xdm option you tried already. For gdm, the process is similar the line to start the X server is in gdm.conf and would look like command=3D/usr/X11R6/bin/X -nolisten tcp. There are other places this can be done, but these options might be easiest for you. You might also want to make sure you have XDMCP turned off also otherwise you'll be listening on udp 177 too. Around 10:15pm Wolfgang Kess said: WK :Hello, WK : WK :what is the right way to disable XFree86 and wdm listening WK :ports tcp 6000 and tcp 1024. WK : WK :I read in man XFree86 about the -nolisten tcp option WK :and tried to set in /usr/X11R6/lib/X11/xdm WK : WK ::0 local /usr/X11R6/bin/X -nolisten tcp WK : WK :but it was not successful. WK : WK : WK :What is the right way to close the ports without use of IPFW? WK : WK :Your help would be appreciated. WK : WK :Thank=B4s WK :Wolfgang WK : WK :_______________________________________________ WK :freebsd-security@freebsd.org mailing list WK :http://lists.freebsd.org/mailman/listinfo/freebsd-security WK :To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.= org" WK : ------------------------------------------------------------- Nigel Houghton Security Research Engineer Sourcefire Inc. Vulnerability Research Team "Mankind hasn't even got the technology to create a toupee that doesn't get big laughs." -- Lister
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.58.0310272032170.533>