From mboxrd@z Thu Jan 1 00:00:00 1970 From: Damion de Soto Date: Mon, 29 Mar 2004 23:15:17 +0000 Subject: Re: [LARTC] noprioportsrc Message-Id: <4068AE05.1010808@snapgear.com> List-Id: References: <200403291208.12134.finbert@sbcglobal.net> In-Reply-To: <200403291208.12134.finbert@sbcglobal.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hi Richard, > I've been trying to get wondershaper 1.1a to let me set NOPRIOPORTSRC, but I > cannot get it to work properly. This may be the same problem i discovered a while ago when I used the wondershaper as a base for my own rules. I've fonud trying to make bittorrent behave itself is quite difficult. The 3 classes have rates specified as UPLINK, 9*$UPLINK/10 and 8*$UPLINK/10 This means the sum of the 3 classes is greater than the parent. You may want to specify the rates as something lower that add up to UPLINK, and then specify the ceil value for each class. > 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)? I use iptables to change the TOS bit of any packets in that range, then make a u32 filter for those TOS bits. regards, -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Damion de Soto - Software Engineer email: damion@snapgear.com SnapGear - A CyberGuard Company --- ph: +61 7 3435 2809 | Custom Embedded Solutions fax: +61 7 3891 3630 | and Security Appliances web: http://www.snapgear.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- Free Embedded Linux Distro at http://www.snapgear.org --- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/