Bekijk de volledige versie : wondershaper
is there a way to check if wondershaper is running?
it doesn't complaint when I run it, but I see no process...
Wondershaper is a script that manipulates the iptables configuration and the way the Linux kernel treates ip packages. It does this only once at boot-time, so you won't see a running process.
Check the iptables config using:
iptables -L
marcnesium
24-07-2006, 14:36
Another possibility is to watch the traffic. Install nload-package with
ipkg install nload
Type nload -h to see how to use it. It's very useful...
Ciao Marc.
Thanks, I've checked with iptables and nload, but I'm still not sure it's really working.
I looked at the wshaper script and I wonder - it's pretty flexible. Maybe too much for what I need. Would someone be so nice to explain me if an how is it possible to write own script - I guess it must be a matter of couple of lines.
What I want is only to give the low priority to local torrent ports 56881 to 56889
Anyone, please?
Have you searched the forum yet? There's an old, but pretty large topic about wondershaper here somewhere. This topic contains links to documentation and some examples.
marcnesium
25-07-2006, 11:29
I have similar problems like you and I have to admit, that the syntax is quiet complicated. For further information read the following:
- http://wiki.wl500g.info/index.php/PackageWondershaper
- Wondershaper QoS discussion on AsusForum (http://wl500g.info/showthread.php?t=752)
- http://www.docum.org/docum.org/docs/BB/BB.php (http://www.docum.org/docum.org/docs/BB/BB.php)
- http://lartc.org/lartc.html (http://lartc.org/lartc.html)
I haven't customized the wsahper-script, yet, but perhaps we can manage that together...
Ciao Marc.
Uh, I've tryed, but it seems that to shape incoming traffic, you need to create some virtual NIC...
it's pretty complicated.
marcnesium
25-07-2006, 23:01
What I read is, that you can't shape incoming traffic. But the income of wan is the outgoing of eth1 - and this you can shape. Theoretically. I can not :confused: ... because I'm not deep enough in this script....
maybe someone who is reading this will take a minute to write those few complicated lines...
So the idea is to give the chosen local TCP ports low priority for both directions.