[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I disable (close) ports?



On Tue, Dec 04, 2001 at 09:18:09PM +0100, J. Paul Bruns-Bielkowicz wrote:
> Hi,
> I disabled all but a few ports in /etc/services, but I have
> tcp        0      0 pa237.olsztyn.sdi.t:111 80.116.215.37:1064
> ESTABLISHED
> when I netstat my machine. What exactly does this mean? I just want

/etc/services is only a databse of service/port mappings.  Removal from
there does not prevent the service from running.  The netstat enty you
have listed is probably an _outgoing_ connection, not something listening.
Run netstat with -p to find process id's associated with ports.

-Adam



Reply to: