<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Block IP Addresses by Country</title>
	<atom:link href="http://www.tylernichols.com/webmaster-tips/blocking-ip-addresses-by-country/feed" rel="self" type="application/rss+xml" />
	<link>http://www.tylernichols.com/webmaster-tips/blocking-ip-addresses-by-country</link>
	<description></description>
	<lastBuildDate>Fri, 03 Feb 2012 00:31:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Dmitry Dulepov</title>
		<link>http://www.tylernichols.com/webmaster-tips/blocking-ip-addresses-by-country/comment-page-1#comment-20771</link>
		<dc:creator>Dmitry Dulepov</dc:creator>
		<pubDate>Mon, 02 Jan 2012 18:30:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.tylernichols.com/?p=67#comment-20771</guid>
		<description>You can do that also with mod_security to really block by country. Typical rule:

SecRule         REQUEST_URI             &quot;.*&quot;       &quot;chain,drop,logdata:&#039;Country is: %{geo.country_code} (%{geo.city})&#039;&quot;
SecRule         REMOTE_ADDR             &quot;@geoLookup&quot;            &quot;chain&quot;
SecRule         GEO:COUNTRY_CODE        &quot;@pm A1 AP BR CN RU&quot;

The first two country codes are special: anonymous proxies, etc.</description>
		<content:encoded><![CDATA[<p>You can do that also with mod_security to really block by country. Typical rule:</p>
<p>SecRule         REQUEST_URI             &#8220;.*&#8221;       &#8220;chain,drop,logdata:&#8217;Country is: %{geo.country_code} (%{geo.city})&#8217;&#8221;<br />
SecRule         REMOTE_ADDR             &#8220;@geoLookup&#8221;            &#8220;chain&#8221;<br />
SecRule         GEO:COUNTRY_CODE        &#8220;@pm A1 AP BR CN RU&#8221;</p>
<p>The first two country codes are special: anonymous proxies, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Delerium</title>
		<link>http://www.tylernichols.com/webmaster-tips/blocking-ip-addresses-by-country/comment-page-1#comment-7059</link>
		<dc:creator>Delerium</dc:creator>
		<pubDate>Thu, 22 Oct 2009 19:29:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.tylernichols.com/?p=67#comment-7059</guid>
		<description>I disagree with Dawn Young, merely on the fact that IP2Location will only give 1 country per listing anonymously, and 30 per country if you register with them. As I hate registering for a site just to use something one time, I find the others much more user friendly, even if they aren&#039;t up to date.  Likewise another solution would be to make a php script that checked the country of the IP address visiting, and banned accordingly. It could even create a log of IP ranges for you to put into htaccess.</description>
		<content:encoded><![CDATA[<p>I disagree with Dawn Young, merely on the fact that IP2Location will only give 1 country per listing anonymously, and 30 per country if you register with them. As I hate registering for a site just to use something one time, I find the others much more user friendly, even if they aren&#8217;t up to date.  Likewise another solution would be to make a php script that checked the country of the IP address visiting, and banned accordingly. It could even create a log of IP ranges for you to put into htaccess.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dawn Young</title>
		<link>http://www.tylernichols.com/webmaster-tips/blocking-ip-addresses-by-country/comment-page-1#comment-7034</link>
		<dc:creator>Dawn Young</dc:creator>
		<pubDate>Fri, 02 Oct 2009 03:40:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.tylernichols.com/?p=67#comment-7034</guid>
		<description>Besides IPDeny, Block a Country and Country IP Blocks, IP2Location also offers the free blocking service.

http://www.ip2location.com/blockvisitorsbycountry.aspx

I personally prefer IP2Location because they have more up-to-date IP Country Database. 

Just my personal opinion.</description>
		<content:encoded><![CDATA[<p>Besides IPDeny, Block a Country and Country IP Blocks, IP2Location also offers the free blocking service.</p>
<p><a href="http://www.ip2location.com/blockvisitorsbycountry.aspx" rel="nofollow">http://www.ip2location.com/blockvisitorsbycountry.aspx</a></p>
<p>I personally prefer IP2Location because they have more up-to-date IP Country Database. </p>
<p>Just my personal opinion.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

