11 Jul
2001
11 Jul
'01
11:19
Þann miðvikudagur 11 júlí 2001 10:54 skrifaðir þú:
Hi!
On Tue, 10 Jul 2001, Roman Drahtmueller wrote:
Hi
I have probs getting X to stop listening for connection on port 6000. I saw at the "SuSE Security FAQ (unofficial)" that to get it to stoping listening i should change /usr/X11R6/lib/X11/xdm/Xservers but
Change the line to read
:0 local /usr/X11R6/bin/X :0 vt07 -nolisten tcp
it should work.
On my SuSE 7.1 box it doesn't work either (yes, I *did* restart the X server!).
Any ideas? (Luckily, the workstation sits behind a firewall...)
Bye, Martin
On SuSE 7.1 ( kernel 2.2.x ) I'd do: ipchains -A input -p tcp -s ! a.b.c.d/32 -d a.b.c.d 6000 -j REJECT dunno yet how to use ports in iptables tho... a.b.c.d would be your ip -tosi