Monthly archives: April 2013
CSF Firewall Blocking VPN Internet Access
My CSF firewall seemed to be blocking internet access using my VPN. I could connect to it but could not use the internet connection. Here is a solution to the problem: Create File vim /etc/csf/csfpre.sh Insert This iptables -A INPUT -i eth0 -p tcp –dport 1723 -j ACCEPT iptables -A INPUT -i eth0 -p gre […]
Final Day of Testing
Install SVN::Notify on CentOS
This assumes you already have an SVN repository setup. First download perl pre-requisites: yum install perl-CPAN perl -MCPAN -e 'install SVN::Notify' perl -MCPAN -e 'install SVN::Notify::HTML::ColorDiff' or yum install perl perl -MCPAN -e 'install SVN::Notify' perl -MCPAN -e 'install SVN::Notify::HTML::ColorDiff' Next download SVN Notify from CPAN: cd /home wget http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/SVN-Notify-2.83.tar.gz tar zxf SVN-Notify-2.83.tar.gz cd SVN-Notify-2.83/ […]
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” […]
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 […]
Fuji X100 – Out of Camera JPG vs Converted RAW
Clues are in the file name.
MySQL Restart – CentOS 6
/etc/init.d/mysql restart