Bekijk de volledige versie : wondershaper

24-07-2006, 07:58
is there a way to check if wondershaper is running?
it doesn't complaint when I run it, but I see no process...

24-07-2006, 09:02
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

24-07-2006, 13: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.

25-07-2006, 07:26
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?

25-07-2006, 09:29
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.

25-07-2006, 10: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.

25-07-2006, 17:31
Uh, I've tryed, but it seems that to shape incoming traffic, you need to create some virtual NIC...
it's pretty complicated.

25-07-2006, 22: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....

26-07-2006, 14:05
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.