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...)
Posted in Uncategorized | No Comments »
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 ...
Posted in Uncategorized | No Comments »
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
Posted in linux | No Comments »
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/
Posted in Administration, Uncategorized | No Comments »
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 ...
Posted in Uncategorized | No Comments »