EvilZone

Programming and Scripting => Projects and Discussion => : pyte May 20, 2013, 09:09:15 AM

: Bandwidth Limiter
: pyte May 20, 2013, 09:09:15 AM
I'm in pursuit of a python script to limit bandwidth consumption for my home network.
if anyone has such kindly aid .
: Re: Bandwidth Limiter
: xC May 20, 2013, 06:03:56 PM
Your router/modem should have these options built in. Go to settings and check it out.
: Re: Bandwidth Limiter
: namespace7 May 20, 2013, 06:19:56 PM
most free routers that you get from ISPs DO NOT have such options. Unless you bought your own router or flashed the firmware of that ISP router with something else. Just saying.

You need a more advanced router with QOS (Quality of Service) capabilities to do that on router level. These routers can be expensive for a home user, but you could just buy a cheap d-link wrt router and flush the firmware with DD-WRT dd-wrt will make your cheap router into a much more powerful device with options that are only available on 10 times more expensive routers. Of course QoS and bandwith limiting for each ip or even port are available.

Also there is some software available that can do what you want. For example for windows you can get NetLimiter which is quite nice.
For linux there are also a lot of ways to do this on software level, like shaping using software like MasterShaper (http://www.mastershaper.org/index.php/MasterShaper) (there are alot of linux "shapers" available).

Good luck.
: Re: Bandwidth Limiter
: pyte May 21, 2013, 06:59:10 AM
Thanx guys for your help.


here im trying to become kind of selfish in a way by designing a sript that wherever i go if i only manage to get it on the router, i have a lions share of the bandwidth.


about the inbuilt capabilities of the same , that's quite a good tip you've given there .
: Re: Bandwidth Limiter
: proxx May 21, 2013, 08:18:34 AM
I suggest trickle, its written in C and can be used from userspace iirc.
: Re: Bandwidth Limiter
: ohRLY June 13, 2013, 10:35:45 PM
Hi,
Also is possible create a virtual machine how proxy with a SO linux, where the QoS is controled by a Squid.

To work with bandwith control, you need know the service or port that you set a min or max in compliance/agreed.
Exist a possibility of you prefer setting for source or destination IP too, all is possible if you work to it.

If you continue with a script to manual setting on machine, please let me know to work together.
gL!
: Re: Bandwidth Limiter
: kenjoe41 June 13, 2013, 11:29:29 PM
Hi,
Also is possible create a virtual machine how proxy with a SO linux, where the QoS is controled by a Squid.

To work with bandwith control, you need know the service or port that you set a min or max in compliance/agreed.
Exist a possibility of you prefer setting for source or destination IP too, all is possible if you work to it.

If you continue with a script to manual setting on machine, please let me know to work together.
gL!
Dafuq!
: Re: Bandwidth Limiter
: ohRLY June 13, 2013, 11:45:53 PM
Dafuq!
I have experience in QoS, TCP / IP flags, OSI layer 1-7, WAN Acceleration, debuggin and others.
There are two type of people, those who are criticizing and do nothing and the people who bring solutions and are happy.
: Re: Bandwidth Limiter
: kenjoe41 June 14, 2013, 01:31:53 PM
I have experience in QoS, TCP / IP flags, OSI layer 1-7, WAN Acceleration, debuggin and others.
There are two type of people, those who are criticizing and do nothing and the people who bring solutions and are happy.
Woooh! Man, you know all that, am so excited to come to know a person like you. Can't wait to hear more,hooooooh.(http://cdn.memegenerator.net/instances/300x300/38459841.jpg)