http://www.lagom.nl/lcd-test/black.php
Tagadministration
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
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 pane.
I want to use one language but I don’t want English I want Bulgarian. Why I cant switch it?
The solution come from Vistalizator. This software has fixed all my troubles. Now I have two languages on my Windows Vista Home (who said that Vista Home dosn’t support two languages :) ?
Someone has made already forum/topic where you can express what you feel working with Microsoft products.
Ubunto repositories
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
- 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/
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 10 DOSEmailNotify someuser@somedomain.com DOSSystemCommand "/dir/command %s" </IfModule>
Then you can restart
- /etc/init.d/apache2 restart
Be carefull because the options are extremly important. For example if your web application use one file as a controller all the requests will go to this file you will got very often such errors:
client denied by server configuration
Here is a short help on the configuration options
- DOSHashTableSize: is the size of the table of URL and IP combined - DOSPageCount: is the number of same page requests from the same IP during an interval that will cause that IP to be added to the block list. - DOSSiteCount: is the number of pages requested of a site by the same IP during an interval which will cause the IP to be added to the block list. - DOSPageInterval: is the interval that the hash table for IPs and URLs is erased (in seconds) - DOSSiteInterval: is the intervale that the hash table of IPs is erased (in seconds) - DOSBlockingPeriod: is the time the IP is blacked (in seconds) - DOSEmailNotify: can be used to notify by sending an email everytime an IP is blocked - DOSSystemCommand: is the command used to execute a command when an IP is blocked. It can be used to add a block the user from a firewall or router. - DOSWhiteList: can be used to whitelist IPs such as 127.0.0.1
© 2024 Gudasoft
Theme by Anders Norén — Up ↑