Author Archives: Urs

Plesk (11) – Redirect Webmail to HTTPS

By default the webmail interfaces of Plesk is running unsecured on port 80. That’s bad, really bad (Shame on you Parallels!). There are some guides out there to fix that, but they are all wrong in my eyes. Some are made for old releases, others are changing stuff in files which are overwritten on update or regeneration of config files. But … Continue reading

Posted in Apache, CentOS, Linux, Plesk | 3 Comments

Limit/prevent SSH brute force attempts

If you (have to) run a public available SSH server, you may have noticed already that there are a lot of brute force attacks trying to guess a user and password (have a look into /var/log/secure ). If you did it the correct way, you only allow public keys to authenticate of course. But maybe you can’t, because the client … Continue reading

Posted in CentOS, Firewalls, Linux, Security | Tagged , , , , | 1 Comment

Quick tip: [bash] Execute multiple files in a directory at once

Today i created a bunch of scripts which i have to execute one by one from time to time. The order doesn’t matter. So i simply can execute this one-liner:

Posted in Linux, Quick tip | Tagged , , | Leave a comment

Slow DNS lookup on CentOS 6 machines

Slow DNS lookups can have many reasons. Mostly they are easy to fix because it simply is a wrong IP address of the DNS  f.ex. But today i had a harder one, but was easy to fix if you know how… Looking up an address with dig works all the time, but when puppet gets its plugins or other files … Continue reading

Posted in CentOS, Linux | Tagged , , | Leave a comment

Quickly find large vmware.log files

Because one of our VMs had an error while taking a snapshot, i wanted to have a look inside vmware.log. Recognized that it was more than three GB in size. That’s not normal at all. In vSphere 5.1 VMware changed the way it rotates the vmware.log file. The setting “log.rotateSize” doesn’t exists anymore. It now uses a bandwith/rate limit, which … Continue reading

Posted in VMware | Tagged , , , , | Leave a comment