Siemens Gigaset SE515 DSL Router

Hm, hab mich gerade das erste mal in meinem Leben richtig mit der Konfiguration unseres privaten DSL-Routers hier zuhause auseinandergesetzt, und siehe da: das Ding hat SNMP-Support! Steht nix von im Handbuch u auch nirgendwo in der Webconfig-Oberflaeche zu finden. Die Adresse zum aktivieren ist http://123.123.123.123/adm_snmp.htm Cool! Da kommen ungeahnte Moeglichkeiten des Traffic-Monitorings auf den Tisch :-)

Saving SSH options for specific host

Who doesn’t know that problem. You are working on a bunch of different hosts via ssh, and on all of them you need specific SSH Options. On the first the port differs, on the second you need to login with a different user than you are connected right now, on the third you need X-Forwarding and on the fourth you want to redirect a remote port to a local one. I knew that it is possible to save host-specific options in a ssh config file, but I never got arround to take a look at it. Now I found exactly that question – and the answer – in the popular german computer magazine CT. The file is

~/.ssh/config

The structure is rather simple. You specify a connectionname via

Host CONNECTIONNAME

and the belonging host via

HostName HOSTNAME

After that you can specify any options you want to for the connection (see man ssh_config). You can do it for as many hosts as you want. I just set it up and it is just to cool how much time it saves not to type all the stuff all the time.

Example:

Host stiffmaster
HostName 192.168.6.112
User prego
Port 33
LocalForward 6312 localhost:631
ForwardX11 yes

Now you just type ssh stiffmaster instead of ssh -X -L 6312:localhost:631 -p 33 prego@192.168.6.112. Isn’t that cool?? :-)

Improoving spamassassin

I’ve got a mailserver running that fetches mails from different accounts via fetchmail, scans them for viruses using clamav, filters for SPAM using spamassassin and then deliveres it to the mailbox and sorts them via procmail. Now Spamassassin just filtered arround 35-40% of all SPAM I recieved. My local.cf includes

use_bayes 1
bayes_auto_learn 1
bayes_auto_lern_threshold_nonspam 1
bayes_auto_lern_threshold_spam 14.00
bayes_ignore_header X-Spam-Flag
bayes_ignore_header X-Spam-Status

In order to recognize more SPAM i created a folder SPAM in my Mailbox and moved all SPAM I recieved into it. Now simply change to that folder and run a sa-learn –spam –progress * there, as well as a sa-learn –ham –progress * in your inbox and voila… SPAM-recognition by spamassassin starts improoving very fast :-)

(Thanks Diederik for the hint)