Traffic shaper based on UIDs

Linux Advanced Routing and Traffic Control

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

 



Hello!

I need assistance to solve my problem related to traffic shaping based on 
the user ids.

The problem: each unix user (of the linux host) has to be limited with 
incoming channel (internet) bandwidth.  I need this to implement
internet access solution based on ltsp (http://www.ltsp.org).

As far as I know the best way to shape traffic in linux is CBQ.
But there is no filter based on unix user id (the reason is clear for 
everybody -- ip packet doesn't contain this information).

I've found the very interesting netfilter patches at the patch-o-matic: 

http://www.netfilter.org/patch-o-matic/pom-extra.html#pom-extra-owner-socketlookup
http://www.netfilter.org/patch-o-matic/pom-extra.html#pom-extra-owner-supgids
http://www.netfilter.org/patch-o-matic/pom-extra.html#pom-extra-ip_queue_vwmark

Am I on the right way?  How can I combine the power of netfilter and 
traffic control systems to solve my problem?

I am new in this topic, so excuse me if my questions are too simple or "dummy" ::-)

Thank you beforehand!
-- 
Sincerely yours, Vitaly Repin
Ice Brains Software, ltd
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux