On Wed, Jun 13, 2001 at 01:14:53PM -0400, Sean Morgan wrote: > I've noticed a disturbing behavior in the version of xdm distributed in the x > strike force's 4.1.0 prerelease series where xdm seems to listen on random > ports > in the 30000-60000 range. I'm not quite sure about this as I don't know > exactly > how to look up which program is using which port, though the listening > behavior > seems to be solely dependant on xdm running. If it makes any difference, I > discovered this while running an 'nmap -p 1- localhost' out of sheer boredom > and > so far as I can tell all of the 'nolisten' options are set correctly in xdm's > config files.
try root# lsof -i | grep LISTEN see http://packages.debian.org/lsof for details. serendipity strikes again (this is getting spooky) check out the sig: -- DEBIAN NEWBIE TIP #19 from Dave Sherohman <[EMAIL PROTECTED]> : How do you determine WHICH NETWORK SERVICES ARE OPEN (active)? Try "netstat -a | grep LISTEN". To see numeric values (instead of the common names for services using a particular port) then try "netstat -na" instead. For more info, look at "man netstat". Also try "lsof -i" as root. "man lsof" for details. =Will Trillich <[EMAIL PROTECTED]> Also see http://newbieDoc.sourceForge.net/ ...