This file details the methods used to secure systems. The basic requirement of all security is to prevent "hackers" from disrupting the normal operations of the system. The second requirement is to protect private data from unauthorized access. The third is to allow authorized users to do whatever they want from wherever they want. Most solutions to the first two requirements usually conflict with the third.
Don't run old software, don't run software you don't need, don't allow just anyone to connect to the services you do offer, don't run stuff as root.
A /tmp placed on an independent partition, and mounted noexec, nosuid along with chattr +a on logs, and +i on important directories like /sbin, /bin and the like is a fair policy. It won't stop a hacker, but it will likely stop a worm.
BIND can be run as a user other than root, and it can chroot itself to some other directory. If you choose the latter, this is the list of files required in the chrooted area, in addition to the DNS data, on RedHat 6.1. Use ldd on the binaries to get a list of shared libraries. to pub in lib
.: dev etc lib usr var ./dev: null random zero ./etc: group ld.so.cache ld.so.conf named.conf passwd rndc.key ./usr: lib sbin ./usr/sbin: named named-bootconf named-checkconf named-checkzone ./var: log named run ./var/log: ./var/named: ./var/run: named ./var/run/named: named.pid
Newer sendmail can give up root after opening the sendmail socket. Especially if you're not doing any local delivery, this is a good idea.
Since the US has (partly) removed it head from it's nether-regions wrt crypto exports, and the RSA patents have expired, the compilation instructions are moot, openssl and mod_ssl are available with your OS.
(Compile and) install the openssl packages, configure mod_ssl --with-apxs=/usr/sbin/apxs if your apache is preinstalled.
Assuming you know the limitations of not paying for a certificate
You should also grab the Makefile and ca-bundle.crt from ?? and place it in SSLCACertificatePath, along with your self-signed certificate RootCA/certs/00.pem
Create a directory for revocation certificates and point SSLCARevocationPath to it.
cp Tokens/wwwkey.pem Tokens/wwwkey.pem.org
openssl rsa -in Tokens/wwwkey.pem.org -out Tokens/wwwkey.pem
Repeat the MakeCert.sh for all the servers you need.
The main aim of LinSec is to introduce Mandatory Access Control (MAC) mechanism into Linux (as opposed to existing Discretionary Access Control mechanism). LinSec model is based on:
Tony Lill, Tony.Lill@AJLC.Waterloo.ON.CA President, A. J. Lill Consultants (519) 241 2461 539 Grand Valley Dr., Cambridge, Ont. fax/data (519) 650 3571 "Welcome to All Things UNIX, where if it's not UNIX, it's CRAP!"