[LARTC] Pr. Host Shaping Maker

Linux Advanced Routing and Traffic Control

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

 



Hey

In search for tools to control shaping bandwidth pr. host, i have developed
a little php script, which can make scripts which can be used to control the
bw of the clients. It far from finished, but as it is now, it works as it
should and can shape many clients.

Im waiting for some information about filter hashing, then i'm going to
implement that into the script, which makes it run alot faster when many
hundres host are shaped.

You can fetch script here

http://www.silverwolf.dk/firewall.php.txt

Copy it into your favorite php installation and mv it to firewall.php and
run it. There's some config at the top, to favorise it to your system and
clients.

When the php site is called it send all the output directly to the browser,
just press view source when it's done loading and then you can see it's fine
and ready to be pasted to a .sh file at your linux box.

Then just chmod +x the file you have putted the output into, and run it :)
It's should work perfectly.

As updates i might implement over the next weeks is: ignore list, server
host specified bw, htb shaping and filter hashing which will be the first i
get onto when i know more about it.

You can see a output by just going to http://www.silverwolf.dk/firewall.php
. That's the file i'm developing on, so maybe some parse-errors sometimes.

Hope it will help somebody, i can see it's the topic many times. And it's on
time we find a good solution for it.

Remember that i've only developed on it one day, so maybe not the best
shaping rules.

If you wanna change and making it better, please let me know the changes at
mb@xxxxxxxxxx I would really appreciate it and please keep my name in the
file.

Regards
Matias Bjørling



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