| To: | ericr@ipro.net |
|---|---|
| Subject: | Re: [LARTC] Massive filtering |
| From: | Corey Hickey <bugfood-ml@fatooh.org> |
| Date: | Sat, 12 May 2007 14:51:33 -0700 |
| Cc: | lartc@mailman.ds9a.nl |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | lartc-list@securepoint.com |
| Delivered-to: | lartc@outpost.ds9a.nl |
| In-reply-to: | <200705050130.AA2025718096@ipro.net> |
| List-archive: | <http://mailman.ds9a.nl/pipermail/lartc> |
| List-help: | <mailto:lartc-request@mailman.ds9a.nl?subject=help> |
| List-id: | "Mailinglist of the Linux Advanced Routing & Traffic Control project" <lartc.mailman.ds9a.nl> |
| List-post: | <mailto:lartc@mailman.ds9a.nl> |
| List-subscribe: | <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe> |
| List-unsubscribe: | <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe> |
| References: | <200705050130.AA2025718096@ipro.net> |
| Sender: | lartc-bounces@mailman.ds9a.nl |
| User-agent: | Icedove 1.5.0.10 (X11/20070328) |
ericr wrote: > I am trying to build a trafic control rule set for a huge NATed > network, and I have it working for single known addresses but I need > to scale it to 16M potential client addresses. I'm using iptables > for NAT. Incoming traffic is simple because I can match destination > address, outgoing traffic I use iptables IPMARK then tc match mark > and it works perfectly if I build rules for each client individually. > I am worried about performance as the client list increases. > > I need to place client IPs into classes like routers, freeloaders, > lite-access, premium-access, etc. I have no problem with rewriting > rules on the fly. It is easy to pop in a rule change any time a user > authenticates or is disconnected for inactivity. I don't know what exactly it is you're doing, but here's a thought. Do you control the allocation of addresses via DHCP? If so, it might be faster/easier to simply set up IP ranges for your separate classes of user. 10.1.0.0/16 routers 10.2.0.0/16 freeloaders 10.3.0.0/16 ...etc... Then you can use single matches in iptables/tc to identify packets to/from each class. -Corey _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [LARTC] HTB and bursts, Andy Furniss |
|---|---|
| Next by Date: | [LARTC] IP address change management, Sachin K |
| Previous by Thread: | Re: [LARTC] Massive filtering, Stanislav Kruchinin |
| Next by Thread: | [LARTC] julian's patches and custom routing, Alex Girchenko |
| Indexes: | [Date] [Thread] [Top] [All Lists] |