Re: Re: How do I disable (close) ports?
----- Original Message -----
From: "Rolf Kutz" <kutz@gmx.de>
> J. Paul Bruns-Bielkowicz (jp@america.eu.org) wrote:
> >
> > I have a restricted services file and a default (open) services file.
Some
> > services are disabled, i.e.
> > 9/tcp open discard
> > 13/tcp open daytime
> > 109/tcp open pop-2
> > 987/tcp open unknown
> > by commenting them out of /etc/services.
>
> Commenting out things in /etc/services doesn't
> disable anything.
It seems to. The above ports were closed just by commenting them out of
/etc/services and then rebooting.
>If you want to disable services,
> edit /etc/inetd.conf, /etc/hosts.allow,
> /etc/hosts.deny and the scripts in /etc/init.d/,
> but maybe that's what you meant.
No, I just changed /etc/services
J. Paul Bruns-Bielkowicz
http://www.america.prv.pl
Reply to: