On Sat, 20 Oct 2001, Marc Wilson wrote: > On Sat, Oct 20, 2001 at 07:18:25PM -0700, Jeff Coppock wrote: > > Just for grins, I removed every udp listing in > > /etc/services and restarted inetd and the scan came back the > > same. I figure this is normal, but if someone can confirm this > > behaviour, I'd really appreciate it. > > Adding or removing lines in /etc/services doesn't open or close ports... > this is a common misconception. Removing what's listening on a particular > port is what closes that port.
A good way to find out what process is listening on a port is to load the lsof package and use "lsof -i" (as root so that you'll see everything). [EMAIL PROTECTED] | An ounce of perception, http://www.debian.org | a pound of obscure... | (Peart)