[huskerlug] cbq examples

  • From: "J.R. Wessels" <jwessels@xxxxxxxxxxx>
  • To: Husker Linux Users Group <huskerlug@xxxxxxxxxxxxx>
  • Date: Wed, 4 Dec 2002 17:08:27 -0600

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Just an FYI.  I have been using CBQ for my bandwidth limiting needs 
at home for quite a while.  Today I had a need to beef up the setup, 
and now have some fairly complex rules that actually work.

If you want to have at them, they can be found on my website:
http://ranko.homelinux.net/technology.shtml

For example, what I can do now with it is if any of my roommates ever 
use Kazaa or Gnutella, they can pump up the bandwidth usage as much 
as they want but it will never go above 300k.  Also, for web/ftp/ssh 
usage it will try to each up as much free as it can but if there is a 
game or audio streaming connection that needs some bandwidth it will 
give them priority since it is more "realtime" intensive.  For the 
webserver since I don't use the machine much at night, it gives the 
server more pipe at night and then in the morning automatically 
lowers it back.

The hard part was figuring out a way to do the rules for what a 
packet falls in.  Since I was more familiar with iptables and it is 
more flexible in its rules, I had it mark the packets into different 
numbers.  Each number I then tell cbq to be a different class.

Reason I'm posting the info here is I never did find any useful 
advanced examples on the net.

- -- 
J.R. Wessels
jwessels@xxxxxxxxxxx

GnuPG fingerprint: 7BBC 7CCF E57A A892 A151 2B98 4DCC 6282 E416 9164
Public key found on http://ranko.homelinux.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE97or4TcxiguQWkWQRAnFYAKCW0fHkbWfE/t1fNxoci2IEFneXqACeIToZ
eDxQPF9xxfMlousyBfYpXsY=
=SVuL
-----END PGP SIGNATURE-----

----
Husker Linux Users Group mailing list
To unsubscribe, send a message to huskerlug-request@xxxxxxxxxxxxx
with a subject of UNSUBSCRIBE


Other related posts:

  • » [huskerlug] cbq examples