Secure-SHellDenyHosts is a log-based intrusion prevention security tool for SSH servers written in Python. It is intended to prevent brute-force attacks on SSH servers by monitoring invalid login attempts in the authentication log and blocking the originating IP addresses.

Open a Terminal and enter the following :

sudo apt-get install denyhosts

After installation edit the configuration file /etc/denyhosts.conf and change the email, and other settings as required. To edit the admin email settings open a terminal window and enter:

sudo vi /etc/denyhosts.conf

Change the following values as required on your server :

ADMIN_EMAIL = root@localhost
SMTP_HOST = localhost
SMTP_FROM = DenyHosts me@localhost

SecurityWhile Ubuntu comes secure and ready to use, many people decide to offer a wide range of services on their computer, such as running a FTP server or Apache. By default, /dev/shm is mounted read/write, with permission to execute programs. In recent years, many security mailing lists have noted many exploits where /dev/shm is used in an attack against a running service, such as httpd. Most of these exploits, however, rely on an insecure web application rather than a vulnerability in Apache or Ubuntu. There are a few reasons for it to be mounted read/write in specific configurations, such as real-time configuration of a Synaptics touchpad for laptops, but for servers and desktop installations there is no benefit to mounting /dev/shm read/write. To change this setting, edit the /etc/fstab file to include the following line:

sudo vi /etc/fstab

Add the following line and save. You will need to reboot for this setting to take effect :

tmpfs /dev/shm tmpfs defaults,noexec,nosuid 0 0

Alberta’s tar sands mines are the biggest, fastest growing, and most environmentally destructive construction project the world has ever seen. Ancient boreal forest is strip mined for bitumen–a toxic, tar-like form of heavy crude oil. The mining process leaves behind giant pools of toxic waste called “tailings ponds” that can be seen from outer space. The First Nations communities that live nearby can no longer hunt or fish from their ancestral land because of contaminated water, and are diagnosed with rare cancers at an unusually high rate.