<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gudasoft &#187; administration</title>
	<atom:link href="http://www.gudasoft.com/tag/administration/feed" rel="self" type="application/rss+xml" />
	<link>http://www.gudasoft.com</link>
	<description>Impossible is nothing</description>
	<lastBuildDate>Thu, 06 Oct 2011 07:17:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Tools for calibrating LCD monitors</title>
		<link>http://www.gudasoft.com/english/linux/administration-linux/05/14/893/tools-for-calibrating-monitors/2009</link>
		<comments>http://www.gudasoft.com/english/linux/administration-linux/05/14/893/tools-for-calibrating-monitors/2009#comments</comments>
		<pubDate>Thu, 14 May 2009 10:48:26 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[hardware]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=893</guid>
		<description><![CDATA[http://www.lagom.nl/lcd-test/black.php]]></description>
			<content:encoded><![CDATA[<p>http://www.lagom.nl/lcd-test/black.php</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/english/linux/administration-linux/05/14/893/tools-for-calibrating-monitors/2009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>System monitoring</title>
		<link>http://www.gudasoft.com/uncategorized/01/25/502/system-monitoring/2009</link>
		<comments>http://www.gudasoft.com/uncategorized/01/25/502/system-monitoring/2009#comments</comments>
		<pubDate>Sun, 25 Jan 2009 11:44:19 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[monitor]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/uncategorized/01/25/502/system-monitoring/2009</guid>
		<description><![CDATA[http://pandorafms.org/ http://ganglia.info/?page_id=66 ntop]]></description>
			<content:encoded><![CDATA[<p>http://pandorafms.org/</p>
<p>http://ganglia.info/?page_id=66</p>
<p>ntop</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/uncategorized/01/25/502/system-monitoring/2009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>syslog-ng and rails</title>
		<link>http://www.gudasoft.com/uncategorized/09/05/116/syslog-ng-and-rails/2008</link>
		<comments>http://www.gudasoft.com/uncategorized/09/05/116/syslog-ng-and-rails/2008#comments</comments>
		<pubDate>Fri, 05 Sep 2008 11:13:10 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=116</guid>
		<description><![CDATA[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 options { chain_hostnames(off); sync(0);dns_cache(2000); dns_cache_expire(87600); # The default action of [...]]]></description>
			<content:encoded><![CDATA[<h1>My Syslog-ng.conf file</h1>
<p>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.</p>
<p><code>log { source(src); filter(f_rails); destination(rails_log); flags(final); };</code></p>
<p>Here is the whole conf file</p>
<p><span id="more-116"></span><br />
<code><br />
options {<br />
chain_hostnames(off);<br />
sync(0);dns_cache(2000);<br />
dns_cache_expire(87600);<br />
# The default action of syslog-ng 1.6.0 is to log a STATS line<br />
# to the file every 10 minutes.  That's pretty ugly after a while.<br />
# Change it to every 12 hours so you get a nice daily update of<br />
# how many messages syslog-ng missed (0).<br />
stats(43200);<br />
};</code></p>
<p>destination messages { file(&#8220;/var/log/messages&#8221;); };</p>
<p># By default messages are logged to tty12&#8230;<br />
# destination console_all { file(&#8220;/dev/tty12&#8243;); };<br />
# &#8230;if you intend to use /dev/console for programs like xconsole<br />
# you can comment out the destination line above that references /dev/tty12<br />
# and uncomment the line below.<br />
#destination console_all { file(&#8220;/dev/console&#8221;); };</p>
<p>source src {<br />
unix-stream(&#8220;/dev/log&#8221; max-connections(256));<br />
internal();<br />
file(&#8220;/proc/kmsg&#8221;);<br />
};</p>
<p>destination rails_log { file(&#8220;/var/log/system3.log&#8221;); };<br />
filter f_rails { program(&#8220;rails.*&#8221;); };<br />
log { source(src); filter(f_rails); destination(rails_log); flags(final); };</p>
<p>log { source(src); destination(messages); };<br />
log { source(src); destination(console_all); };</p>
<p>On my last Debian Etch installation I have to commeted the &#8220;source src&#8221; and added just those lines</p>
<p># we will use the default source configuration</p>
<p>#source src {<br />
#unix-stream(&#8220;/dev/log&#8221; max-connections(256));<br />
#internal();<br />
#file(&#8220;/proc/kmsg&#8221;);<br />
#};</p>
<p>destination rails_log { file(&#8220;/var/log/system3.log&#8221;); };<br />
filter f_rails { program(&#8220;rails.*&#8221;); };<br />
log { source(s_all); filter(f_rails); destination(rails_log); flags(final); };</p>
<p>Put this at the beginig of the log {} directives because we need want the final flag to take affect.</p>
<p>http://www.blueboxgrp.com/news/2009/06/unified_rails_logging_with_syslog-ng</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/uncategorized/09/05/116/syslog-ng-and-rails/2008/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft has locked Windows Vista Home to only one language</title>
		<link>http://www.gudasoft.com/uncategorized/08/24/109/microsoft-has-locked-windows-vista-home-to-only-one-language/2008</link>
		<comments>http://www.gudasoft.com/uncategorized/08/24/109/microsoft-has-locked-windows-vista-home-to-only-one-language/2008#comments</comments>
		<pubDate>Sun, 24 Aug 2008 12:52:15 +0000</pubDate>
		<dc:creator>guda</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[administration]]></category>

		<guid isPermaLink="false">http://www.gudasoft.com/?p=109</guid>
		<description><![CDATA[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 &#8220;Only language please&#8230;&#8221; from the Regional Settings language switcher pane. I want to [...]]]></description>
			<content:encoded><![CDATA[<p>Great!</p>
<p>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 &#8220;Only language please&#8230;&#8221; from the Regional Settings language switcher pane.</p>
<p>I want to use one language but I don&#8217;t want English I want Bulgarian. Why I cant switch it?</p>
<p>The solution come from <a href="http://www.froggie.sk/download.html">Vistalizator. </a>This software has fixed all my troubles. Now I have two languages on my Windows Vista Home (who said that Vista Home dosn&#8217;t support two languages :) ?</p>
<p>Someone has made already forum/<a href="http://www.justrage.com/article.php/fuck_microsoft_and_their_garbage">topic</a> where you can express what you feel working with Microsoft products.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/uncategorized/08/24/109/microsoft-has-locked-windows-vista-home-to-only-one-language/2008/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programs for Linux</title>
		<link>http://www.gudasoft.com/english/linux/05/12/24/programs-for-linux/2008</link>
		<comments>http://www.gudasoft.com/english/linux/05/12/24/programs-for-linux/2008#comments</comments>
		<pubDate>Mon, 12 May 2008 08:45:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[administration]]></category>

		<guid isPermaLink="false">http://blog.gudasoft.com/?p=24</guid>
		<description><![CDATA[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/ &#8211; monitor and install patches on multiple servers, supports ubunto, and rh games LiveCD]]></description>
			<content:encoded><![CDATA[<p>Ubunto repositories</p>
<p style="padding-left: 30px;">http://getdeb.net/</p>
<p>winetricks</p>
<p style="padding-left: 30px;"><span style="font-family: &quot;Verdana [microsoft]&quot;;">wget www.kegel.com/wine/winetricks<br />
example: ./winetricks winver=winxp<br />
</span><span style="font-family: &quot;Verdana [microsoft]&quot;;">example: </span><span style="font-family: &quot;Verdana [microsoft]&quot;;"> ./winetricks vcrun2005</span></p>
<p>http://www.virtualbox.org/</p>
<p>Disk managment<br />
KDirStat and Baobab </p>
<p>Security</p>
<p>http://pakiti.sourceforge.net/ &#8211; monitor and install patches on multiple servers, supports ubunto, and rh</p>
<p>games</p>
<p style="padding-left: 30px;"><a href="http://www.ibiblio.org/onebase/onebaselinux.com/About/features/featggo.php">LiveCD</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/english/linux/05/12/24/programs-for-linux/2008/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Software and Tutorial Links</title>
		<link>http://www.gudasoft.com/uncategorized/05/08/19/software-and-tutorial-links/2008</link>
		<comments>http://www.gudasoft.com/uncategorized/05/08/19/software-and-tutorial-links/2008#comments</comments>
		<pubDate>Thu, 08 May 2008 10:40:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[administration]]></category>

		<guid isPermaLink="false">http://blog.gudasoft.com/?p=19</guid>
		<description><![CDATA[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 &#38; updates http://sourceforge.net/projects/advchk RedHat &#8211; http://www.redhat.com/spacewalk/]]></description>
			<content:encoded><![CDATA[<dl>
<dt>IPTables </dt>
<dt style="padding-left: 30px;">Linux firewall with packet string-matching support</dt>
<dt style="padding-left: 60px;">http://www.securityfocus.com/infocus/1531</dt>
<dt style="padding-left: 30px;">Firewall scripts</dt>
<dt style="padding-left: 60px;">http://linuxfirewall.start.bg/</dt>
<dt style="padding-left: 60px;">http://www.puschitz.com/FirewallAndRouters.shtml </dt>
<dd></dd>
<dt>Debian Kernel how-to</dt>
<dd>http://myfreesoft.net/phpBB2/viewtopic.php?t=52 * in Bulgarian * </dd>
<dd style="padding-left: 30px;">Source: http://www.howtoforge.com/forums/showthread.php?t=21 </dd>
<dd>http://www.howtoforge.com/kernel_compilation_debian</dd>
<dd></dd>
<dt>Active Ports (Windows)</dt>
<dd><a href="http://www.microsoft.com/technet/sysinternals/Networking/TcpView.mspx">http://www.microsoft.com/technet/sysinternals/Networking/TcpView.mspx</a></dd>
<dt>Security and Audits Checks &amp; updates</dt>
<dd>http://sourceforge.net/projects/advchk</dd>
<dd>RedHat &#8211; http://www.redhat.com/spacewalk/</dd>
</dl>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/uncategorized/05/08/19/software-and-tutorial-links/2008/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prevent DOS attacks with apache2</title>
		<link>http://www.gudasoft.com/uncategorized/05/07/16/prevent-dos-attacks-with-apache2/2008</link>
		<comments>http://www.gudasoft.com/uncategorized/05/07/16/prevent-dos-attacks-with-apache2/2008#comments</comments>
		<pubDate>Wed, 07 May 2008 19:00:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[administration]]></category>

		<guid isPermaLink="false">http://blog.gudasoft.com/?p=16</guid>
		<description><![CDATA[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: &#60;IfModule mod_dosevasive20.c&#62; DOSHashTableSize 3097 DOSPageCount 2 DOSSiteCount 50 DOSPageInterval 1 DOSSiteInterval 1 DOSBlockingPeriod 10 DOSEmailNotify someuser@somedomain.com DOSSystemCommand "/dir/command %s" [...]]]></description>
			<content:encoded><![CDATA[<p>The apache module that will do the job is called mod_dosevasive. The installation is easy.</p>
<ul>
<li>Download from   	<a href="http://www.nuclearelephant.com/projects/dosevasive/" target="_blank">http://www.nuclearelephant.com/projects/dosevasive/</a></li>
<li>extract it</li>
<li>apxs2 -i -a -c mod_dosevasive20</li>
</ul>
<p>Configure the apache2</p>
<p>Edit your httpd.conf (usually located in /usr/local/apache/conf/httpd.conf):<br />
Add:<br />
<code></p>
<pre>
&lt;IfModule mod_dosevasive20.c&gt;
  DOSHashTableSize 3097
  DOSPageCount 2
  DOSSiteCount 50
  DOSPageInterval 1
  DOSSiteInterval 1
  DOSBlockingPeriod 10
  DOSEmailNotify someuser@somedomain.com
  DOSSystemCommand "/dir/command  %s"
&lt;/IfModule&gt;
</pre>
<p></code><br />
Then you can restart</p>
<ul>
<li>/etc/init.d/apache2 restart</li>
</ul>
<p>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:</p>
<div><strong><code>client denied by server configuration</code></strong></div>
<p>Here is a short help on the configuration options</p>
<pre>- 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</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.gudasoft.com/uncategorized/05/07/16/prevent-dos-attacks-with-apache2/2008/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

