Re: best approach for blocklist

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

 



Dennis J. wrote:
Hi,
I'm wondering what the most efficient way to implement a blocklist is. We are basically talking about blocking a few thousand IPs. Does iptables do some internal optimizations when blocking based on a source address or would it be better to, say, create a chain for each class A net (e.g. 83.0.0.0/8) and then add the IPs in that range to that class to make the matching more efficient?

Have you considered ipset? I use it in various ways, sometimes to allow, sometimes to deny. It supports IPs, NETs, ports, etc.
--
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