<?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: CIDR Zone file merging for higher performance</title>
	<atom:link href="http://www.ipdeny.com/blog/zone-file-merging-for-higher-performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ipdeny.com/blog/zone-file-merging-for-higher-performance/</link>
	<description>All about IP and hosting industry</description>
	<lastBuildDate>Thu, 16 Dec 2010 23:05:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: IT_Architect</title>
		<link>http://www.ipdeny.com/blog/zone-file-merging-for-higher-performance/comment-page-1/#comment-9</link>
		<dc:creator>IT_Architect</dc:creator>
		<pubDate>Thu, 16 Dec 2010 23:05:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.ipdeny.com/blog/?p=18#comment-9</guid>
		<description>&lt;a href=&quot;#comment-3&quot; rel=&quot;nofollow&quot;&gt;@T Hackque &lt;/a&gt; 
I don&#039;t know Perl.  Can I use this script to compress IP addresses by calling it with a file name from the command line or....

Thanks!</description>
		<content:encoded><![CDATA[<p><a href="#comment-3" rel="nofollow">@T Hackque </a><br />
I don&#8217;t know Perl.  Can I use this script to compress IP addresses by calling it with a file name from the command line or&#8230;.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Picard</title>
		<link>http://www.ipdeny.com/blog/zone-file-merging-for-higher-performance/comment-page-1/#comment-5</link>
		<dc:creator>David Picard</dc:creator>
		<pubDate>Tue, 03 Aug 2010 12:32:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.ipdeny.com/blog/?p=18#comment-5</guid>
		<description>I have made significant modifications to a script initially posted by Vivek Gite at http://www.cyberciti.biz/faq/block-entier-country-using-iptables to address the performance issues and cache the zone updates from ipdeny for an iptables based firewall. The rationale for the changes and the altered script is available at http://psind.com/blog/2010/07/31/targeted-ip-blocking-align-web-services-to-your-target-markets/</description>
		<content:encoded><![CDATA[<p>I have made significant modifications to a script initially posted by Vivek Gite at <a href="http://www.cyberciti.biz/faq/block-entier-country-using-iptables" rel="nofollow">http://www.cyberciti.biz/faq/block-entier-country-using-iptables</a> to address the performance issues and cache the zone updates from ipdeny for an iptables based firewall. The rationale for the changes and the altered script is available at <a href="http://psind.com/blog/2010/07/31/targeted-ip-blocking-align-web-services-to-your-target-markets/" rel="nofollow">http://psind.com/blog/2010/07/31/targeted-ip-blocking-align-web-services-to-your-target-markets/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: T Hackque</title>
		<link>http://www.ipdeny.com/blog/zone-file-merging-for-higher-performance/comment-page-1/#comment-3</link>
		<dc:creator>T Hackque</dc:creator>
		<pubDate>Mon, 02 Aug 2010 14:01:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.ipdeny.com/blog/?p=18#comment-3</guid>
		<description>Umm, your blog software seems to have removed a few crucial characters, let&#039;s ty this:


#!/usr/bin/perl

use strict;
use warnings;

use NetAddr::IP;

my @addresses = ();

while(  ) {
    chomp;
    s/\s*#.*$//;

    next if( !length );

    push @addresses, NetAddr::IP-&gt;new( $_ );
}

exit unless( @addresses );

#print STDERR ( (scalar @addresses), &quot; addresses input, &quot; );

@addresses = NetAddr::IP::Compact(@addresses);
#print STDERR ( (scalar @addresses), &quot; addresses output\n&quot; );

print join( &quot;\n&quot;, @addresses ), &quot;\n&quot;;

exit;
</description>
		<content:encoded><![CDATA[<p>Umm, your blog software seems to have removed a few crucial characters, let&#8217;s ty this:</p>
<p>#!/usr/bin/perl</p>
<p>use strict;<br />
use warnings;</p>
<p>use NetAddr::IP;</p>
<p>my @addresses = ();</p>
<p>while(  ) {<br />
    chomp;<br />
    s/\s*#.*$//;</p>
<p>    next if( !length );</p>
<p>    push @addresses, NetAddr::IP-&gt;new( $_ );<br />
}</p>
<p>exit unless( @addresses );</p>
<p>#print STDERR ( (scalar @addresses), &#8221; addresses input, &#8221; );</p>
<p>@addresses = NetAddr::IP::Compact(@addresses);<br />
#print STDERR ( (scalar @addresses), &#8221; addresses output\n&#8221; );</p>
<p>print join( &#8220;\n&#8221;, @addresses ), &#8220;\n&#8221;;</p>
<p>exit;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

