A while back when I was starting this blog I was searching for a way to mitigate the possibilities of a DDOS or other attack against my site. Now this is a small site running on a pair of virtual machines, so it would not take much to knock it off the net. A friend
SFTP Chroot Jail on RHEL6 and CentOS6
Finally RedHat has stepped into the 21st century with the introduction of OpenSSH 5.3 in RHEL 6 / CentOS 6. Now we can finally build a working SFTP chroot jail within RedHat without having to build custom rpms or compile SSHd from source. This article will guide you through setting up SSHd and a couple
Building a SFTP chroot jail in Ubuntu 10.x
Normally I work with RHEL/ CentOS but since RedHat is so far behind the times in implementing the ‘Match’ directive for SSH – I have to use Ubuntu to setup this configuration. Rumor has it this will also work in RHEL 6 and CentOS 6, yet to be confirmed. What we are doing here is
Adding TLS support to Postfix
Enabling TLS in Postifx. Here are the needed lines to enable TLS within Postfix, this works on any of the modern Redhat version (RHEL/CentOS/Fedora). Add the following lines to the bottom of /etc/postfix/main.cf smtpd_use_tls = yes smtpd_tls_cert_file = /etc/pki/tls/certs/server.crt smtpd_tls_key_file = /etc/pki/tls/private/server.key smtpd_tls_CAfile = /etc/pki/tls/certs/ca_bundle.crt smtpd_tls_loglevel = 3 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s smtpd_tls_session_cache_database





