Date: Sun, 17 Dec 2000 23:04:46 -0800
From: Ben Rosenberg
Message-ID: <20001217230446.C8005@suse.com>
Subject: Re: [SLE] Closing Open Ports ?
Greg,
/etc/services is just a list of ports associated with services. If
one wants to close the ports then you would have to comment out the
line associated with them in the inetd.conf file and restart inetd.
This is basic Unix/Linux thing .. it works this way on my Solaris
(sparc) box, SuSE Linux box and my freeBSD box.. It's inetd that
controls these things..not /etc/services.
Regards,
* Greg Thomas (ethant@pacificnet.net) [001217 22:11]:
-**-
-**-Yes, but once you kill the process associated with the port, if it is
-**-commented out of /etc/services the daemon should not start up
-**-the next time init scripts are run. This is an indirect way of
-**-doing things, though. Haven't checked this on Linux but Solaris,
-**-HP-UX, and OpenBSD behave this way.
-**-
--
Ben Rosenberg mailto:brosenb@suse.com
***************************************
SuSE Inc.
580 Second St Suite 210
Oakland CA 94607 U.S.A
Tel: 1-510-628-3380 EXT:5086
Fax: 1-510-628-3381
***************************************
"My opinions are not a reflection of
the opinions of SuSE Inc."