syslog-ng and rails

Friday, September 5th, 2008

My Syslog-ng.conf file The interesting part is the final flag which tells the syslog not to process any further the message. This way the message stays only in the rails application logfile. log { source(src); filter(f_rails); destination(rails_log); flags(final); }; Here is the whole conf file (more...)

Microsoft has locked Windows Vista Home to only one language

Sunday, August 24th, 2008

Great! One of my friends has bouth a new laptop from USA and I want to change the base language of his operating system to Bulgarian. The Bulgarian language is fully support by Microsoft. My surprise was big when I got the "Only language please..." from the Regional Settings language switcher ...

Programs for Linux

Monday, May 12th, 2008

Ubunto repositories http://getdeb.net/ winetricks wget www.kegel.com/wine/winetricks example: ./winetricks winver=winxp example: ./winetricks vcrun2005 http://www.virtualbox.org/ Disk managment KDirStat and Baobab Security http://pakiti.sourceforge.net/ - monitor and install patches on multiple servers, supports ubunto, and rh games LiveCD

Software and Tutorial Links

Thursday, May 8th, 2008

IPTables Linux firewall with packet string-matching support http://www.securityfocus.com/infocus/1531 Firewall scripts http://linuxfirewall.start.bg/ http://www.puschitz.com/FirewallAndRouters.shtml Debian Kernel how-to http://myfreesoft.net/phpBB2/viewtopic.php?t=52 * in Bulgarian * Source: http://www.howtoforge.com/forums/showthread.php?t=21 http://www.howtoforge.com/kernel_compilation_debian Active Ports (Windows) http://www.microsoft.com/technet/sysinternals/Networking/TcpView.mspx Security and Audits Checks & updates http://sourceforge.net/projects/advchk RedHat - http://www.redhat.com/spacewalk/

Prevent DOS attacks with apache2

Wednesday, May 7th, 2008

The apache module that will do the job is called mod_dosevasive. The installation is easy. Download from http://www.nuclearelephant.com/projects/dosevasive/ extract it apxs2 -i -a -c mod_dosevasive20 Configure the apache2 Edit your httpd.conf (usually located in /usr/local/apache/conf/httpd.conf): Add: <IfModule mod_dosevasive20.c> DOSHashTableSize 3097 DOSPageCount 2 DOSSiteCount 50 DOSPageInterval 1 DOSSiteInterval 1 DOSBlockingPeriod ...