[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LSU.2.00.0909180046410.20781@obet.zrqbmnf.qr>
Date: Fri, 18 Sep 2009 00:50:09 +0200 (CEST)
From: Jan Engelhardt <jengelh@...ozas.de>
To: Mikulas Patocka <mikulas@...ax.karlin.mff.cuni.cz>
cc: netfilter-devel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [ANNOUNCE] new iptables module match large amount of ip
addresses
On Thursday 2009-09-17 21:15, Mikulas Patocka wrote:
>
>Here I submit an iptables module that can match large amounts (millions)
>of ip addresses efficiently using binary search.
So you just reinvented xt_geoip...
>- fast matching of large amount of ip addresses using binary search.
>- an ability to match ranges of addresses or address/mask subnets.
>- fast loading of the addresses (on Pentium 3 850, 2 million addresses
>load in 5.5s, if they are already sorted in the file, the load time is
>just 1.5s).
>- memory efficient --- consumes only 8 bytes per address.
xt_geoip uses less than that -- 8 bytes per range. Of course it depends
on the data, but on the average, since large netblocks is used, it's
much better than 8 per address.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists