<?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>Kamilski.com</title>
	<atom:link href="http://kamilski.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://kamilski.com</link>
	<description>Personal Developer Blog</description>
	<lastBuildDate>Fri, 18 Jun 2010 16:36:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to install PHP-APC on a Debian Server</title>
		<link>http://kamilski.com/2010/05/22/how-to-install-php-apc-on-a-debian-server/</link>
		<comments>http://kamilski.com/2010/05/22/how-to-install-php-apc-on-a-debian-server/#comments</comments>
		<pubDate>Sat, 22 May 2010 10:09:08 +0000</pubDate>
		<dc:creator>Mithras</dc:creator>
				<category><![CDATA[Serveradministration]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[alternative php cache]]></category>
		<category><![CDATA[APC]]></category>
		<category><![CDATA[apt-get install php-apc]]></category>
		<category><![CDATA[how to install php-apc on a debian server]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[installing php-apc on debian]]></category>

		<guid isPermaLink="false">http://kamilski.com/?p=47</guid>
		<description><![CDATA[The Alternative PHP Cache is - like the name says- a common php cache used by many websites. It accelerates the website delivery from the server to the user by caching often used code.
If you want to use the Alternative PHP Cache,  you just need to install the php-apc.
Follow these stepps:
1. Log into your server [...]]]></description>
			<content:encoded><![CDATA[<p>The Alternative PHP Cache is - like the name says- a common php cache used by many websites. It accelerates the website delivery from the server to the user by caching often used code.</p>
<p>If you want to use the Alternative PHP Cache,  you just need to install the php-apc.</p>
<p>Follow these stepps:</p>
<p>1. Log into your server by ssh</p>
<p>2. If you are ROOT run this code:</p>
<blockquote><p>apt-get install php-apc</p></blockquote>
<p>3. If you aren't ROOT run this code:</p>
<blockquote><p>su apt-get install php-apc</p></blockquote>
<p>That's all. Note: don't use this in a development system, because changes on the code can take some time before showing their effect.</p>
]]></content:encoded>
			<wfw:commentRss>http://kamilski.com/2010/05/22/how-to-install-php-apc-on-a-debian-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>BinLayerChecker released</title>
		<link>http://kamilski.com/2010/03/28/binlayerchecker-released/</link>
		<comments>http://kamilski.com/2010/03/28/binlayerchecker-released/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 13:57:18 +0000</pubDate>
		<dc:creator>Mithras</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Binlayer.com]]></category>
		<category><![CDATA[Binlayer.de]]></category>
		<category><![CDATA[BinLayerChekcer]]></category>
		<category><![CDATA[Cross-plattform application]]></category>
		<category><![CDATA[JDOM]]></category>

		<guid isPermaLink="false">http://kamilski.com/?p=28</guid>
		<description><![CDATA[BinLayerChecker is a JAVA-application for the advertismentnetwork Binlayer.  The program allows you to view your earnings from binlayer without  visiting the website. The program works on nearly every plattform.
If you want to know more, visit: http://kamilski.com/downloads/binlayerchecker/
]]></description>
			<content:encoded><![CDATA[<p>BinLayerChecker is a JAVA-application for the advertismentnetwork <a title="Binlayer" href="http://binlayer.com/" target="_blank">Binlayer</a>.  The program allows you to view your earnings from binlayer without  visiting the website. The program works on nearly every plattform.</p>
<p>If you want to know more, visit: <a title="BinLayerChekcer" href="http://kamilski.com/downloads/binlayerchecker/" target="_self">http://kamilski.com/downloads/binlayerchecker/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kamilski.com/2010/03/28/binlayerchecker-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to secure a SSH / Secure Shell with denyhosts?</title>
		<link>http://kamilski.com/2010/01/26/how-to-secure-a-ssh-secure-shell-with-denyhosts/</link>
		<comments>http://kamilski.com/2010/01/26/how-to-secure-a-ssh-secure-shell-with-denyhosts/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 22:10:42 +0000</pubDate>
		<dc:creator>Mithras</dc:creator>
				<category><![CDATA[Serveradministration]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[denyhosts]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[how to secure the ssh]]></category>
		<category><![CDATA[prevent hacking]]></category>
		<category><![CDATA[secure ssh]]></category>
		<category><![CDATA[server security]]></category>
		<category><![CDATA[serveradinistration]]></category>

		<guid isPermaLink="false">http://kamilski.com/?p=14</guid>
		<description><![CDATA[You don't know what SSH is? Look here: http://kamilski.com/2010/01/26/what-is-ssh-secure-shell/

Many server owners have a bad feeling when they think about SSH-access and the security of their server, because they are afraid that someone can break their password and abuse their server for warez or crash a big company site hosted on this server. There are many [...]]]></description>
			<content:encoded><![CDATA[<p>You don't know what SSH is? Look here: <a href="http://kamilski.com/2010/01/26/what-is-ssh-secure-shell/" target="_self">http://kamilski.com/2010/01/26/what-is-ssh-secure-shell/</a></p>
<div style="float: right;"><a href="http://www.amazon.com/gp/product/0596008953?ie=UTF8&amp;tag=mytwitterprox-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0596008953"><img src="http://kamilski.com/wp-content/pictures/41Lh-eeLJLL__SL160_.jpg" border="0" alt="" /></a><img style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=mytwitterprox-20&amp;l=as2&amp;o=1&amp;a=0596008953" border="0" alt="" width="1" height="1" /></div>
<p>Many server owners have a bad feeling when they think about SSH-access and the security of their server, because they are afraid that someone can break their password and abuse their server for warez or crash a big company site hosted on this server. There are many many bad things and scenarios which can happen to everyone of us. For some of us it would be a worst-case-scenario to lose the own server and as a result to lose money.</p>
<p><strong>How do hackers/botnets attack?</strong></p>
<p>The most attacks from hackers/bot nets are brute force attacks. First of all they try all words from a list of the most used passwords to guess the password for the root-account. If this fails they try to break your password by trying every combination from a specific dictionary. Some dictionaries have 1000 words, others 5 million. It depends on the hacker/botnet.</p>
<p><strong>How can I secure my SSH-access?</strong></p>
<p>Try <a title="DenyHosts" href="http://denyhosts.sourceforge.net/" target="_blank">DenyHosts</a></p>
<p><strong>How does DenyHosts work?</strong></p>
<p>Let's start with the auth.log file. The auth.log is a file that saves every (tried) access to your server. It looks something like this:</p>
<blockquote><p>Nov 8 12:24:56 v229031102 sshd[2261]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=38.106.70.69 user=root<br />
Nov 8 12:24:58 v229031102 sshd[2261]: Failed password for root from 38.106.70.69 port 52170 ssh2<br />
Nov 8 12:24:59 v229031102 sshd[2314]: error writing /proc/self/oom_adj: Permission denied</p></blockquote>
<p>As you can see it saves the user name, the IP and the process. Denyhosts checks every 30 seconds if there have been some failed access attempts to your server. It counts the failed accesses from one IP. If the failed access attempts have reached a specific number (standard is 5) denyhosts inserts the IP into the /etc/hosts.deny file. This file contains all IPs which are forbidden to access your server in any way. The maximum failed access attempts for the root-account are/is 1. The IP will be banned for a specific time (more info's later).</p>
<p><strong>How do I install Denyhosts?</strong></p>
<p>I will write the install instructions for Debian/Ubuntu, because most people are using Debian or Debian based Linux distributions. Install Denyhosts with the following command:</p>
<blockquote><p>sudo apt-get install denyhosts</p></blockquote>
<p>If you are allready root, use this:</p>
<blockquote><p>apt-get install denyhosts</p></blockquote>
<p>Change the directory to /etc/. Now open the "denyhosts.conf" with your favorite editor, for example nano:</p>
<blockquote><p>nano denyhosts.conf</p></blockquote>
<p>Search for "DAEMON_SLEEP = 30s". Here you can set the interval how often Denyhosts should check the auth.log file. With "PURGE_DENY = 1d" you can set the duration of the ban. It's your choice: set it to 1 month if you want, but remember that your hosts.deny file will grow and grow every day. The last option I want to present you is "DAEMON_PURGE = 1d". It starts the cleaning process of the hosts.deny file and deletes the aged entries. It´s enough if you start this process once a day.</p>
<p>When you are done, save the file with "CTRL+O" and exit with "CTRL+X". Restart the Denyhosts-daemon: "/etc/init.d/denyhosts restart"</p>
<p>Note: Some older Ubuntu versions don't have the hosts.deny file. You have to create it on your own: "touch /etc/hosts.deny".</p>
]]></content:encoded>
			<wfw:commentRss>http://kamilski.com/2010/01/26/how-to-secure-a-ssh-secure-shell-with-denyhosts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What is SSH / Secure Shell?</title>
		<link>http://kamilski.com/2010/01/26/what-is-ssh-secure-shell/</link>
		<comments>http://kamilski.com/2010/01/26/what-is-ssh-secure-shell/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 22:08:05 +0000</pubDate>
		<dc:creator>Mithras</dc:creator>
				<category><![CDATA[Serveradministration]]></category>
		<category><![CDATA[secure shell]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[what is ssh]]></category>
		<category><![CDATA[what is the secure shell]]></category>

		<guid isPermaLink="false">http://kamilski.com/?p=12</guid>
		<description><![CDATA[The SSH is a secured shell, which allows you to send commands to a server or exchange data between your server and your pc/Mac/whatever. It creates a secure channel between both points.
SSH is most frequently used to manage servers remotely and it is installed in nearly all popular distributions of Linux/Unix systems. The secure shell [...]]]></description>
			<content:encoded><![CDATA[<p>The SSH is a secured shell, which allows you to send commands to a server or exchange data between your server and your pc/Mac/whatever. It creates a secure channel between both points.</p>
<p>SSH is most frequently used to manage servers remotely and it is installed in nearly all popular distributions of Linux/Unix systems. The secure shell is popular because it establishes a secure connection between your pc and server using public-key cryptography BEFORE the user enters the username and password.</p>
<div style="float: right;"><a href="http://www.amazon.com/gp/product/0596008953?ie=UTF8&amp;tag=mytwitterprox-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0596008953"><img src="http://kamilski.com/wp-content/pictures/41Lh-eeLJLL__SL160_.jpg" border="0" alt="" /></a><img style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=mytwitterprox-20&amp;l=as2&amp;o=1&amp;a=0596008953" border="0" alt="" width="1" height="1" /></div>
<p>Clients for SSH under Windows:</p>
<ol>
<li>PuTTy</li>
<li>WinSCP (based on PuTTy)</li>
</ol>
<p>Click on the link to view more clients on wikipedia: <a title="SSH clients on wikipedia.org" href="http://en.wikipedia.org/wiki/Comparison_of_SSH_clients" target="_blank">http://en.wikipedia.org/wiki/Comparison_of_SSH_clients</a></p>
<p>Linux/Unix systems:<br />
Most operating systems have allready a build-in client.</p>
<p>If you would like to know more read a book about SSH and the commands you can use.</p>
]]></content:encoded>
			<wfw:commentRss>http://kamilski.com/2010/01/26/what-is-ssh-secure-shell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bad traffic block generator</title>
		<link>http://kamilski.com/2010/01/26/bad-traffic-block-generator/</link>
		<comments>http://kamilski.com/2010/01/26/bad-traffic-block-generator/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 22:03:29 +0000</pubDate>
		<dc:creator>Mithras</dc:creator>
				<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[bad traffic]]></category>
		<category><![CDATA[bad traffic block generator]]></category>
		<category><![CDATA[block countries]]></category>
		<category><![CDATA[code generator]]></category>
		<category><![CDATA[generator]]></category>
		<category><![CDATA[how to block bad traffic]]></category>

		<guid isPermaLink="false">http://kamilski.com/?p=9</guid>
		<description><![CDATA[As I have already posted, "bad traffic" comes from countries like the Islamic Republic of Iran, Iraq or Saudi Arabia and also China. If you don't know what "bad traffic" is, read this post: "What is Bad Traffic?"
As you can see bad traffic depends on his origin, in fact on the country from where the [...]]]></description>
			<content:encoded><![CDATA[<p>As I have already posted, "bad traffic" comes from countries like the Islamic Republic of Iran, Iraq or Saudi Arabia and also China. If you don't know what "bad traffic" is, read this post: <a title="What is bad traffic?" href="http://kamilski.com/2010/01/26/what-is-bad-traffic/" target="_blank">"What is Bad Traffic?"</a></p>
<p>As you can see bad traffic depends on his origin, in fact on the country from where the user comes from. It would make no sense to block the users IP-address, because most users are getting dynamic IPs from their Internet Service Providers. When you block a users IP-address, he will get a new IP-address, when he dial into the Internet next time.</p>
<p><strong>What is the solution for this problem?</strong></p>
<p>We have to block the whole country. In this case we won't get "bad traffic" from this country anymore. I have created a <a title="Click here for the code generator" href="http://youarebanned.info/webmasters.php" target="_blank">code generator</a> and a script, which will allow you to block countries by putting three lines of code into your sites. Here is the link: <a title="Click here for the code generator" href="http://youarebanned.info/webmasters.php" target="_blank">http://youarebanned.info/webmasters.php</a></p>
<p><strong>How does the script work?</strong></p>
<p>This script compares the users IP-address with the IP-ranges of the blocked country. I have to mention, that this script does not use a database like MySQL or PostgreSQL. So you don't have to run a SQL-server, which will use much RAM and CPU. So how does it work? The IP-ranges are stored in a file: the GeoIP.dat from Maxminds. When Maxminds publishes a new updated version of their GeoIP-database, you can update the file by downloading it again. No SQL import or others steps needed.</p>
<p><strong>What are the advantages of this script?</strong></p>
<ul>
<li>You don't need any Database like MySQL or PostgreSQL, because the IP-ranges and country names are stored in one file.</li>
<li>Updates are done by downloading the GeoIP.dat, so you don't need to update a database like MySQL or PostgreSQL.</li>
<li>You don't need (almost) any programming skills. The script is so simples as it could be.</li>
<li>You select where to insert the code: people from China are spamming you board with bots? put the code into the log-in-page and get rid of them. People from the Islamic Republic of Iran, Iraq or Saudi Arabia are using your web proxy to watch porn? Put the code into your proxified page. You can earn money, when they click on some advertisement on the front page and block them afterwards.</li>
</ul>
<p>You will find detailed instructions and examples on how to install the code on normal sites, but also detailed examples for Glype, Zelune and PHProxy. Here is the link again: <a title="Click here for the code generator" href="http://youarebanned.info/webmasters.php" target="_blank">http://youarebanned.info/webmasters.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kamilski.com/2010/01/26/bad-traffic-block-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is &quot;bad traffic&quot;?</title>
		<link>http://kamilski.com/2010/01/26/what-is-bad-traffic/</link>
		<comments>http://kamilski.com/2010/01/26/what-is-bad-traffic/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 22:01:33 +0000</pubDate>
		<dc:creator>Mithras</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[bad traffic]]></category>
		<category><![CDATA[definition of bad traffic]]></category>
		<category><![CDATA[earn money with advertisment]]></category>

		<guid isPermaLink="false">http://kamilski.com/?p=7</guid>
		<description><![CDATA[First of all we have to take a look on "good traffic":
"Good traffic" is Internet traffic to a website or a web service, which can be monetized by advertisement or in some other ways. In this case the webmaster earns enough to pay for the server/hosting and gets perhaps some extra money for himself.
"Bad traffic" [...]]]></description>
			<content:encoded><![CDATA[<p>First of all we have to take a look on "good traffic":</p>
<p>"Good traffic" is Internet traffic to a website or a web service, which can be monetized by advertisement or in some other ways. In this case the webmaster earns enough to pay for the server/hosting and gets perhaps some extra money for himself.</p>
<p>"Bad traffic" is Internet traffic to a website or other web services, that create a huge amount of traffic and by this, costs to the webmaster. The difference between "good" and "bad traffic" is, that webmasters have big problems to monetize "bad traffic". Because they get really small money for the clicks on advertisement.</p>
<p>Bad traffic is often abusive. Lets take a look on an example: web proxies (<a href="http://mytwitterproxy.com">http://mytwitterproxy.com</a>) get much abusive traffic from the Islamic Republic of Iran, Iraq or Saudi Arabia. Users from this countries often visit pornographic content and create massive traffic. When they click on advertisement, there clicks are mostly less worth than one US-cent. As you can see, the income does not cover the expanses.</p>
<p>We assume, that you can categorize good and bad traffic by their origin. In fact you can say that good traffic (good to monetize) comes from North America and from countries in Europe. Really "bad traffic" comes from the Near-East-Countries and from some Asian countries.</p>
<p>This is only <span style="text-decoration: underline;">one</span> possible definition of good and bad traffic.</p>
]]></content:encoded>
			<wfw:commentRss>http://kamilski.com/2010/01/26/what-is-bad-traffic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Start of Kamilski.com</title>
		<link>http://kamilski.com/2010/01/26/start-of-kamilski-com/</link>
		<comments>http://kamilski.com/2010/01/26/start-of-kamilski-com/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 22:00:00 +0000</pubDate>
		<dc:creator>Mithras</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[kamilski.com]]></category>
		<category><![CDATA[start of kamilski.com]]></category>

		<guid isPermaLink="false">http://kamilski.com/?p=4</guid>
		<description><![CDATA[Welcome to kamilski.com. This is a personal blog, where I will publish my own sites and applications, which are written in different programming languages.
]]></description>
			<content:encoded><![CDATA[<p>Welcome to <a title="kamilski.com" href="http://kamilski.com" target="_self">kamilski.com</a>. This is a personal blog, where I will publish my own sites and applications, which are written in different programming languages.</p>
]]></content:encoded>
			<wfw:commentRss>http://kamilski.com/2010/01/26/start-of-kamilski-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
