Yet another ssh brute force attack and how to protect against it with iptables and sshguard

By chance, i looked into syslog ( /var/log/syslog ) and saw a ssh attempt to login from a ip outside local network. It was a brute force attack that started 7 days ago.. See down the post how to protect ssh from further attacks. Looking at the logs ( tail -n 200000 /var/log/syslog ) noticed… Continue reading Yet another ssh brute force attack and how to protect against it with iptables and sshguard

How to change sound from two sound cards

I have two sound cards. One is the inboard and the other is a USB card. I’m toggling often between them so i created this simple script: (see the end for link to files) #!/bin/bash dir=/home/username/ if [[ “$1” = “-l” ]] || [[ ! -n “$1” ]]; then cat /proc/asound/cards exit fi card=`grep “^… Continue reading How to change sound from two sound cards

How to start a new X server with Quake wars to work as a minimizer for GNU/Linux

I’ve played Enemy territory since early 2006 in GNU/Linux and one of the things i missed from the beginning was the lack of a good minimiser. There was a ET minimiser ( ET Switch ) but it didn’t worked very well. So an alternate solution was the even more elegant solution of launching a new… Continue reading How to start a new X server with Quake wars to work as a minimizer for GNU/Linux

How to create and remove a soft link, symlink or symbolic link

A soft link, or more common, a symlink, is link a shortcut to the targeted file or directory. So when is removed the original target stays present. This is the opposite of a hard link which is a reference to the target and so, if the hard link is removed, so is the target. A… Continue reading How to create and remove a soft link, symlink or symbolic link