Skip to content

Instantly share code, notes, and snippets.

@yourdesigncoza
yourdesigncoza / fail2ban-ubuntu-wordpress-ssh-non-default-port
Created April 25, 2013 13:04
Fail2ban is an intrusion prevention framework written in the Python programming language. I've added additional security for unauthorised WP login attempts and SSH security to non default port
# Fail2ban is an intrusion prevention framework written in the Python programming language. I've added additional security for unauthorised WP login attempts and SSH security to non default port
# IMPORTANT : add your own data or parameters, I make use of double segments [[ your variable ]]. eg. ssh root@[[ 96.172.44.11 ]] should be replaced with ssh [email protected] where "888.88.88.88" is your value, variable etc. I have a habit of using ":::" to indicate line ending and end of paragraph, crazy I know but be warned its just how I write ::: All notes are for my own use & should you use any it's at your own risk, it's NOT a Tutorial :::
# References
# http://www.fail2ban.org/wiki/index.php/MANUAL_0_8
# https://www.digitalocean.com/community/articles/how-to-protect-ssh-with-fail2ban-on-ubuntu-12-04
# http://www.dp.cx/blog/postfix---fail2ban---win.html
# http://en.wikipedia.org/wiki/Fail2ban
# http://www.imrazor.de/wordpress/?p=875
@yourdesigncoza
yourdesigncoza / monit-deamon-server-monitor
Created April 19, 2013 15:59
Monit is a utility for managing and monitoring, processes, programs, files, directories and file systems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations ::: " a great little utility that monitors your daemons " In Short it lets you know when your Apache server goes d…
# Monit is a utility for managing and monitoring, processes, programs, files, directories and file systems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations ::: " a great little utility that monitors your daemons "
# in Short it lets you know when your Apache server goes down, when you reach your pre-determined memory usage. It will also restart key components should they stop working, for instance your web server ( apache ) might "crash" due to a DDOS attack or similar, monit will attempt to restart said services notifying you of whats going on, depending on your mmonit configuration :::
# Official site : http://mmonit.com/
# IMPORTANT : add your own data or parameters, I make use of double segments [[ your variable ]]. eg. ssh root@[[ 96.172.44.11 ]] should be replaced with ssh [email protected] where "888.88.88.88" is your value, variable etc. I have a habit of using ":::" to indicate line ending and end of paragraph, crazy I
@yourdesigncoza
yourdesigncoza / ubuntu-ssmtp-install
Created April 19, 2013 14:44
I ( Michael ) needed a basic mail transfer to perform basic SERVER mail functions ::: After searching it seems using sSMTP is the best bet ::: sSMTP a simple alternative to Sendmail ::: What is sSMTP ? It's an extremely simple MTA ( mail Transfer Application ), effective and simple way of getting mail off a system to your mail hub. NOTE ! it is …
# I ( Michael ) needed a basic mail transfer to perform basic server mail functions ::: After searching it seems using sSMTP is the best bet ::: sSMTP a simple alternative to Sendmail :::
# What is sSMTP ?
# It's an extremely simple MTA ( mail Transfer Application ), effective and simple way of getting mail off a system to your mail hub.
# NOTE ! it is all it does it does not receive mail, expand aliases or manage a queue.
# IMPORTANT : add your own data or parameters, I make use of double segments [[ your variable ]]. eg. ssh root@[[ 96.172.44.11 ]] should be replaced with ssh [email protected] where "888.88.88.88" is your value, variable etc. I have a habit of using ":::" to indicate line ending and end of paragraph, crazy I know but be warned its just how I write ::: All notes are for my own use & should you use any it's at your own risk, it's NOT a Tutorial :::
# I'm new to server side setup so if I've erred or you know of a better way PLS. contribute :::