Linux

Archive for the ‘Security’

Quickly install a server in Ubuntu

It doesn’t get easier than this. Open up a terminal in Ubuntu and type sudo tasksel An ncurses screen will then allow you not only to install a LAMP server in three moves but also select a Samba, Tomcat Java server[...]


Spy on your users through SSH

You just connected through SSH and are wondering what your users are doing. Do a cat /dev/vcs1 and this will show you what happens on the first console. If someone is typing, you’ll be able to get an output of his [...]


IPTABLES - blocking IPs simplified

You can block an IP from IPTABLES by using iptables -I INPUT -s 192.168.0.88 -j DROP You can simplify things a little bit by using a shell script and a predefined text file containing the IPs we want to be blocked. Eit[...]


Hide yourself while web browsing

You don’t want your administrator to find out which sites you have been visiting lately. Use SSH for a secure connection. Create a local proxy to run on port 8000: ssh -C -D 8000 -p 443 user@address.com aft which y[...]