Skip to Content

blog post

CentOS – Install ClamAV

Install ClamAV using yum:

yum install clamav clamd

ClamAV service should be automatically started but this will make sure it is started everytime your server is rebooted:

/etc/init.d/clamd on
chkconfig clamd on
/etc/init.d/clamd start

Update ClamAV virus definitions:

freshclam

Daily scan/Daily cron job:

Create cron file:

vim /etc/cron.daily/daily_clamav

Add this to using vim (change SCAN_DIR=”/home” to what you want):

#!/bin/bash
SCAN_DIR="/home"
LOG_FILE="/var/log/clamav/daily_clam.log"

/usr/bin/clamscan -i -r $SCAN_DIR >> $LOG_FILE

Make the cron file executable:

chmod +x /etc/cron.daily/daily_clamav
blog post

CSF Firewall Configured

Latest hack attempts:

211.167.103.172 # lfd: (sshd) Failed SSH login from 211.167.103.172 (CN/China/reserve.cableplus.com.cn): 5 in the last 3600 secs – Wed Apr 10 02:00:28 2013
93.187.35.34 # lfd: (pop3d) Failed POP3 login from 93.187.35.34 (US/United States/-): 10 in the last 3600 secs – Wed Apr 10 13:10:12 2013
198.98.122.145 # lfd: (sshd) Failed SSH login from 198.98.122.145 (US/United States/-): 5 in the last 3600 secs – Wed Apr 10 15:10:21 2013
37.247.52.109 # lfd: (sshd) Failed SSH login from 37.247.52.109 (IT/Italy/-): 5 in the last 3600 secs – Wed Apr 10 15:51:27 2013
199.168.136.126 # lfd: (sshd) Failed SSH login from 199.168.136.126 (US/United States/-): 5 in the last 3600 secs – Wed Apr 10 17:51:32 2013149.254.234.172 # lfd: (sshd) Failed SSH login from 149.254.234.172 (GB/United Kingdom/-): 5 in the last 3600 secs – Wed Apr 10 21:48:52 2013
122.226.160.19 # lfd: (sshd) Failed SSH login from 122.226.160.19 (CN/China/-): 5 in the last 3600 secs – Thu Apr 11 04:19:05 2013
50.115.175.200 # lfd: (sshd) Failed SSH login from 50.115.175.200 (US/United States/2013.rocketsender.info): 5 in the last 3600 secs – Thu Apr 11 12:18:10 2013
198.46.144.32 # lfd: (sshd) Failed SSH login from 198.46.144.32 (US/United States/-): 5 in the last 3600 secs – Thu Apr 11 12:20:20 2013
42.121.48.1 # lfd: (sshd) Failed SSH login from 42.121.48.1 (CN/China/-): 5 in the last 3600 secs – Thu Apr 11 12:53:11 2013
115.115.123.138 # lfd: (sshd) Failed SSH login from 115.115.123.138 (IN/India/115.115.123.138.static-ernakulam.tcl.net.in): 5 in the last 3600 secs – Thu Apr 11 16:17:07 2013
202.100.221.46 # lfd: (sshd) Failed SSH login from 202.100.221.46 (CN/China/-): 5 in the last 3600 secs – Thu Apr 11 16:51:13 2013
63.143.41.197 # lfd: (sshd) Failed SSH login from 63.143.41.197 (US/United States/197-41-143-63.static.reverse.lstn.net): 5 in the last 3600 secs – Thu Apr 11 20:38:48 2013
200.38.75.72 # lfd: (sshd) Failed SSH login from 200.38.75.72 (MX/Mexico/demodigitool.gsl.com.mx): 5 in the last 3600 secs – Thu Apr 11 23:18:03 2013
23.29.125.118 # lfd: (sshd) Failed SSH login from 23.29.125.118 (US/United States/-): 5 in the last 3600 secs – Fri Apr 12 00:08:42 2013
208.87.240.212 # lfd: (sshd) Failed SSH login from 208.87.240.212 (US/United States/ns212.youthpdas.info): 5 in the last 3600 secs – Fri Apr 12 01:04:23 2013
76.116.184.137 # lfd: (smtpauth) Failed SMTP AUTH login from 76.116.184.137 (US/United States/c-76-116-184-137.hsd1.pa.comcast.net): 5 in the last 3600 secs – Fri Apr 12 07:16:26 2013
185.19.93.130 # lfd: (sshd) Failed SSH login from 185.19.93.130 (TR/Turkey/host-185-19-93-130.ttnetdc.com): 5 in the last 3600 secs – Fri Apr 12 13:48:52 2013
115.68.22.162 # lfd: (sshd) Failed SSH login from 115.68.22.162 (KR/Korea, Republic of/-): 5 in the last 3600 secs – Fri Apr 12 13:54:27 2013
103.31.154.218 # lfd: (sshd) Failed SSH login from 103.31.154.218 (BD/Bangladesh/-): 5 in the last 3600 secs – Fri Apr 12 13:56:17 2013
199.201.124.22 # lfd: (sshd) Failed SSH login from 199.201.124.22 (CA/Canada/-): 5 in the last 3600 secs – Fri Apr 12 18:03:50 2013

blog post

Fuji X100 – Out of Camera JPG vs Converted RAW

DSCF4759-converted

DSCF4759-ooc

Clues are in the file name.

blog post

MySQL Restart – CentOS 6

/etc/init.d/mysql restart
blog post

RKHunter Installation

Installation

wget #download url here
tar -zxvf rkhunter-1.4.tar.gz
cd rkhunter-1.4 
./installer.sh --install

Run Scan

/usr/local/bin/rkhunter -c
blog post

Headlight

DSCF4701

blog post

Nice Healthy Lunch

Picture taken with Victor’s Canon 60D and Sigma 35mm 1.4.

IMG_4860

blog post

Mitsubishi

Taken with my X100. Heavily post processed.

DSCF4691