Detecting Conficker with nmap

As the Conficker worm is vastly discussed and getting a lot of attention, latest nmap version can detect it, won't post here how, here's the direct link to the resource:

http://www.net-security.org/secworld.php?id=7252

more…

Restoring the MBR on RHEL/CentOS servers

It happens that the MBR is getting bad (after os updates/power failures, etc)
We can restore it in a few minutes if we have a RHEL/CentOS install CD at hand, or if we have a PXE server nearby.

Boot the system from the install cd,
at the boot ...

more…

Freebsd php-fpm fastcgi server init script

#!/bin/sh

# PROVIDE: phpfpm
# KEYWORD: shutdown

#
# Add the following lines to /etc/rc.conf to enable php-fpm:
#
#phpfpm_enable="YES"
#
#

. /etc/rc.subr

name=phpfpm
rcvar=`set_rcvar`

command="/usr/local/sbin/php-fpm"
command_args=""
pidfile=/usr/local/logs/php-fpm.pid
required_files=/usr/local/etc/php-fpm.conf

# set defaults

phpfpm_enable=${phpfpm_enable:-"NO"}

start_cmd ...
more…

How to check SpamAssassin version

Quick one-liner for checking spamassassin version:

[root@server ~]# perl -MMail::SpamAssassin -e 'print $Mail::SpamAssassin::VERSION;'
3.002004
more…

OpenSUSE developers announced csync

Andreas Schneider has unleashed the first public release candidate of csync 0.42, which is now available as source from the csync Web site, or via one-click for openSUSE 11.0 and 11.1.

Project homepage: http://www.csync.org/

This tool looks like a promising alternative to unison, which ...

more…

Parallels decided to drop qmail?

While installing latest Parallels Plesk version (9.0), noticed an unusual option :) :

Different mailservers
16. (*) Qmail mailserver
17. ( ) Postfix mailserver

Could this be true, that Parallels finally decided to drop Qmail?
Now don't get me wrong, but qmail wasn't updated for 10 years already, and any additional feature ...

more…

2009 will be a second longer | Happy new year!

Found a confirmation of this in my system logs:

Jan  1 01:59:59 (none) kernel: Clock: inserting leap second 23:59:60 UTC

:)

Btw,

 _________________
( Happy new Year! ) 
 -----------------     
    \   ^__^      
     \  (oo)\_______
        (__)\       )\/\
           ||----w |
           ||     ||
more…

Icewarp Merak mail server not working behind a smtp relay

Just migrated an email server to a dedicated server at GoDaddy, and according to their policies, 25 TCP port is blocked "to prevent spam", and they force us to use their smtp relay for mail delivery.

After properly configuring all delivery related settings, server still could not send emails.

A ...

more…

Installing SVN server on FreeBSD

Quick installation of SVN on FreeBSD, access by svn:// protocol

portinstall subversion
mkdir /home/svn-repo
pw user add -n svn -u 3690 -d /home/svn-repo
chown svn:svn /home/svn-repo/
chsh -s /bin/false svn

Add to /etc/rc.conf:

svnserve_enable="YES"
svnserve_data="/home/svn-repo"
svnserve_user="svn"
svnserve_group="svn"

Start ...

more…

vsftpd - chroot users to their homedir

Open the vsftpd configuration file - /etc/vsftpd/vsftpd.conf

nano /etc/vsftpd/vsftpd.conf

Make sure following line exists (and uncommented):

chroot_local_user=YES

Save and close the file. Restart vsftpd.

/etc/init.d/vsftpd restart
more…