Handling a large number of IPs efficiently
From: Bill Davidsen (davidsen_at_tmr.com)
Date: 12/27/03
- Next message: Silviu Minut: "10/100 network cards"
- Previous message: Bill Davidsen: "Re: On demand PPP - iptables - RH9.0"
- Next in thread: jack: "Re: Handling a large number of IPs efficiently"
- Reply: jack: "Re: Handling a large number of IPs efficiently"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 27 Dec 2003 10:45:19 -0500
I have a site which is going to want to allow access from certain site
only. A large number of sites, and not neatly grouped in CIDR blocks. A
few thousand IP addresses, in fact. Unfortunately iptables doesn't seem
to do this well, using a linear progression rather than a hash or similar.
I think I can do this using netlink socket, but before I jump in with
what looks to be an ugly solution, is there a better way I've missed? Or
a nice example of doing something similar with netlink?
-- bill davidsen <davidsen@tmr.com> CTO TMR Associates, Inc Doing interesting things with small computers since 1979
- Next message: Silviu Minut: "10/100 network cards"
- Previous message: Bill Davidsen: "Re: On demand PPP - iptables - RH9.0"
- Next in thread: jack: "Re: Handling a large number of IPs efficiently"
- Reply: jack: "Re: Handling a large number of IPs efficiently"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]