Re: How do I disable (close) ports?
On Tue, 4 Dec 2001, J. Paul Bruns-Bielkowicz wrote:
> I disabled all but a few ports in /etc/services, but I have
> tcp 0 0 pa237.olsztyn.sdi.t:111 18.104.22.168:1064
> when I netstat my machine. What exactly does this mean? I just want
> 25/tcp open smtp
> 37/tcp open time
> 66/tcp open sql*net
> 80/tcp open http
> 110/tcp open pop-3
> 443/tcp open https
> 3306/tcp open mysql
> open. How can I close ports 111 and 859? They are not enabled in
> J. Paul Bruns-Bielkowicz
> To UNSUBSCRIBE, email to email@example.com
> with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org
you can't close ports in /etc/services !
don't start the services (for example in inetd.conf or when you booting)
you can deinstall the services you don't need.
free source for free users! /v\ L I N U X
// \\ >Phear the Penguin<