[Bug 1585] fixes open xdm ports

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 12 14:47:51 PDT 2004


Please do not reply to this email: if you want to comment on the bug, go to          
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1585        
   

sndirsch at suse.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED




------- Additional Comments From sndirsch at suse.de  2004-10-12 14:47 -------
This is fixed a long time ago. I wonder why this patch still went in. And this 
was the result: 
 
void 
CreateWellKnownSockets (void) 
{ 
    char *name = localHostname (); 
    registerHostname (name, strlen (name)); 
 
    if (request_port == 0) 
        return; 
 
    if (request_port == 0)  
       return;  
 
#if defined(IPv6) && defined(AF_INET6) 
    chooserFd = socket (AF_INET6, SOCK_STREAM, 0); 
    if (chooserFd == -1) 
#endif 
 
 
# cvs log socket.c 
[...] 
revision 1.3 
date: 2004-07-06 00:44:39 +0000;  author: anholt;  state: Exp;  lines: +4 -1 
XFree86 bugzilla #1376: xdm opens random tcp sockets 
 
"Even when DisplayManager.requestPort is set to 0, xdm will open a 
chooserFd tcp socket on all interfaces. This apparently cannot be 
disabled by configuration and presents a possible security risk. Older 
versions of xdm/socket.c appear to have checked and aborted if 
request_port == 0, but the current one does not..." 
 
==> CLOSE INVALID         
   
   
--         
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email       
   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list