How do you close ports and/or shut down servers running on these ports
(is this synonymous?). I run Mandrake 7.1 and I need to find an answer
to this because my @Home service provider has informed me that I cannot
have servers running on my machine (obviously set up by default since I
don't know how to set them up).  This is not allowed according to the
contract because it allows mail relaying (spam).  In other words they
will cut me off if it is not fixed.

Their tests indicated that the following ports/servers were
open/running:
Port        State    Service
25/tcp    open    smtp
80/tcp    open    http
111/tcp    open    sunrpc
113/tcp    open    auth
515/tcp    open    printer
6000/tcp    open    X11

Running 'netsys -a' confirmed the above. I commented out fields in
/etc/inetd.conf for any (all) services I don't need, but of course the
above services are not in this file. I then tried commenting out the
above services (that I could find) in /etc/services, but this didn't
seem to do anything (and yes, I rebooted because I don't know how to
properly reset the system any other way). [As an aside, what IS the
effect of commenting out services from /etc/services? It doesn't look
serious...yet.]

I read that I may have to do something with the files in /etc/rc.d, but
the instructions seemed to based on a different directory layout than is
used by Mandrake/Red Hat.

Any help would be greatly appreciated.

Thanks in advance.

Reply via email to