Computer Hope

Software => BSD, Linux, and Unix => Topic started by: robertthesnail on May 16, 2013, 03:49:55 PM

Title: Blacklisting protocols in CentOS 6
Post by: robertthesnail on May 16, 2013, 03:49:55 PM
Hello,

I need to disable unused protocols from being usable on a server that is running CentOS 6. I did some reasearch and found how to blacklist drivers in the modprobe.d blacklist file but can something similar be done for protocols?

Thank you

John
Title: Re: Blacklisting protocols in CentOS 6
Post by: DaveLembke on May 16, 2013, 06:06:17 PM
Each protocol would have a service associated with it. Knowing the service/protocol relationship you can disable the correct services for protocol usually. I havent worked with Cent OS in a while, but if you know how to enable/disable services and know the service name matching protocol, you should be able to disable it in system services. Then confirm that its disabled.

http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-services-chkconfig.html (http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-services-chkconfig.html)