Linux System Admins Blog

System admins of Promet – an e-commerce, high availability Open Source web shop – share their findings

Linux System Admins Blog header image 4

Entries from March 2009

Scanning for Conficker with Nmap

March 31st, 2009 · 1 Comment

While Conficker is not a new worm it has been getting much press lately. Even though Redmond released a patch late October it is estimated that 5 to 10 million PC have been infected. The industry has been aware of this worm for some time and has mounted a fairly impressive counter attack.

[Read more →]

Tags: Installation

Rush to stake a claim in the cloud

March 30th, 2009 · No Comments

Last week I was on a conference call with some potential client when one of the senior business people said: “And then we could use cloud computing or something, to get this application in the hands of everyone”.  
That’s when I thought – wow – this term really has penetrated into the mainstream.  Cloud Computing [...]

[Read more →]

Tags: cloud computing

Adding Custom Mantis Bug Status

March 24th, 2009 · 1 Comment

This post will guide you in adding new or custom ticket status on your Mantis bug tracker installation. In our case we will refer the new status as GTG (GoodToGo). Ticket will have this status if it is ready to push to production.
To do this we need to edit two files, config_inc.php and [...]

[Read more →]

Tags: Installation

Remove passphrase from private key

March 23rd, 2009 · No Comments

We have several SSL to transfer to our new load-balancer (Nginx) and all of the private keys contain passphrase. During Nginx (same with Apache) service restart it requires to enter the passphrase of all certificates, so we need to remove it.
This task is very simple, you only need to issue this command:
/usr/sbin/openssl rsa -in [...]

[Read more →]

Tags: Installation

HEUR:Trojan.Script.Iframe

March 22nd, 2009 · 55 Comments

One of my friend asked for help about virus appearing on his sites (mostly WordPress sites).  I checked it out and my Kaspersky Internet Security blocked the pages from loading, so i downloaded the files manually and scanned with Kaspersky to determine affected files.

I noticed that the affected files were PHP and HTML only and [...]

[Read more →]

Tags: News · Security

ASA allow passive ftp traffic

March 17th, 2009 · 3 Comments

Many ftp client will try to establish a passive connection with a server by default. A passive connection will use a high numbered unprivileged port range greater then 1023 (PASV) instead of port 20 (PORT). Most ftp servers specify different ranges that are to be used for passive connections.

[Read more →]

Tags: Security · cisco

ffmpeg new major release

March 10th, 2009 · 1 Comment

FFMPEG announces a new release today.  It releases version 0.5
The slashodot peculated this ffmpeg related post to the top of its news today:
After many years of release-free development, FFmpeg, the most widely used audio and video codec library, has finally returned to a regular release schedule with the long-awaited version 0.5
Here is a very abbreviated [...]

[Read more →]

Tags: ffmpeg

Running ASDM client from your Linux desktop

March 10th, 2009 · 1 Comment

For those of us who use Linux as a desktop replacement for Windows would find it nice to be able to run the ASDM client natively. If you haven’t upgraded your ASA/PIX to the latest ASDM you should do so. The steps are described here.

[Read more →]

Tags: cisco · desktop

Force url to use SSL/https

March 9th, 2009 · 9 Comments

In some cases you would want to have your site use SSL (https://) at all times you can do this by using:
1.) Using Htaccess/mod_rewrite. You only need to create a .htaccess file on your home directory and add the codes below:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R,L]
</IfModule>

The above codes may not work on [...]

[Read more →]

Tags: hosting

Drupal performance tips from DrupalCon

March 5th, 2009 · 1 Comment

increasing drupal performance notes from drupal con dc 2009

[Read more →]

Tags: Performance · drupal · monitoring