Re: Why wdm opens a TCP port?
"Eric G. Miller" wrote:
>
> On Thu, May 16, 2002 at 03:01:23PM -0400, Noah Meyerhans wrote:
> > On Thu, May 16, 2002 at 10:34:32AM +0300, Petteri Heinonen wrote:
> > > Does anybody know how to configure wdm so that it doesn't open
> > > TCP port 1030 when started? I guess this is not a big security
> > > threat, but I've tried to keep open ports in minimum, and I
> > > can't see why this one would be necessary either. I have to
> > > admit that I don't know the purpose of this open port, but for
> > > example gdm, which I've used in some other boxes, doesn't, at
> > > least by default, open any ports.
> >
> > Edit /etc/X11/wdm/Xservers and add '-nolisten tcp' to the line that
> > looks like
> > :0 local /usr/bin/X11/X
> >
> > See if that fixes things. If not, then it's a bug and I must fix it
> > since I am the wdm maintainer.
>
> Only thing is, the X ports are 6000-7, according to /etc/services.
> Sure the 1030 port is not for some local use only? Is it always the
> same port? The ports doesn't appear to match any "reserved" ones in
> /etc/services... Don't use wdm myself, so...
>
> --
> Eric G. Miller <egm2@jps.net>
Yes, it's not the _X_ which keeps open the port, but the _wdm_. But the
port indeed changed every time I restarted the wdm. I just restarted it
couple of times, and the port numbers were 1083, 1084, 1085, etc. Very
odd...
--
Petteri Heinonen addr: Varvikonkatu 1 C 19
phone: +358 50 3363286 33820 Tampere FIN
email: heinonep@cs.tut.fi
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: