Re: xtables/geoip vs ipset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 2010-12-10 00:14, Mr Dash Four wrote:

>Currently I am employing a large number of ipsets (about 30k+ subnets 
>in total) which hold IP subnets fetched from whatever the latest 
>version of the geoip database I have sourced and compiled.
>
>I am aware that xtables also have the geoip target, though was 
>wandering what the performance is like compared to having the same IP 
>subnets loaded with ipset. Has anyone tested/compared these two 
>matching methods?
>
>I know the performance of iptables when it deals with large number of 
>ip addresses is absolutely abysmal, so never tried to use the geoip 
>target, so just wanted to see if that has changed?

The geoip target uses a bisection search, so the US database's 
19000-something entries are testable in roughly 15 steps.
Since it does not need any extra structures, it only takes as much 
kernel memory as the .iv0 file on disk.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux