noprioportsrc

Linux Advanced Routing and Traffic Control

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

 



I've been trying to get wondershaper 1.1a to let me set NOPRIOPORTSRC, but I 
cannot get it to work properly.

If I leave NOPRIOPORTSRC blank, the uplink is limited to what I set it to.  
But if I put 

NOPRIOPORTSRC="80 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 
6893 6894 6895 6896 6897 6898 6899 6900"

to make my bitorrents and my http server not effect my traffic for gaming and 
other stuff, the traffic is no longer limited!  I have it set at 400uplink 
(on a 600kbps upload) and instead of it locking at ~400kbps upload like it 
does when I leave NOPRIOPORTSRC blank, it acts as if there is no traffic 
shaping on the line.

To make things more interesting, after running the wondershaper script 
(without anything in NOPRIOPORTSRC) I manually tried to issue the command:
tc filter add dev eth0 parent 1: protocol ip prio 15 u32 match ip sport 6881 
0xffff flowid 1:30
to try and make port 6881 have lower priority.  Before issuing this command, 
my upload remains a constant 50kb/s up, and once I hit enter, my upload jumps 
up as if the wondershaper is not even there.

Am I doing something wrong?  On a side note, Is there an easy way to span 
ports instead of manually typing them all out (like 6881-6900)?

Thanks for your time.
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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