search for: tc_bin

Displaying 2 results from an estimated 2 matches for "tc_bin".

Did you mean: cabin
2006 Sep 21
0
layer7 http
...I try to use layer7 filter to classify packets. I have a proble with http match. This protocol seems to work well with l7-filter (http://l7-filter.sourceforge.net/protocols) but for me nothing is filtering in http class. Someone can help me ? Here is my script : #!/bin/bash IPT_BIN=/sbin/iptables TC_BIN=/sbin/tc INTER_OUT=ppp0 LINK_RATE_UP=1000Kbit RATE_ACK=200Kbit RATE_DEFAULT=100Kbit RATE_12=12Kbit RATE_13=13Kbit RATE_14=14Kbit NB_filtre_12=1 NB_filtre_13=2 NB_filtre_14=4 PROTO_12_1=http PROTO_13_1=skypeout PROTO_13_2=skypetoskype PROTO_14_1=edonkey PROTO_14_2=gnutella PROTO_14_3=applejuice P...
2005 Nov 12
4
Borrowing between HTB classes not working as expectd.
...39;'ll list off all the tc commands executed. How I wanted this to work is higher priority classes to get a shot at bandwidth first in excess of the base rates on all the other classes. #!/usr/bin/perl -w use strict; my $dev = $ARGV[0]; my $speed_down = $ARGV[1]; my $speed_up = $ARGV[2]; my $tc_bin = "/sbin/tc"; tc("qdisc del dev $dev root"); tc("qdisc add dev $dev root handle 1:0 htb r2q 1 default 4"); tc("class add dev $dev parent 1:0 classid 1:2 htb ". "rate " . int($speed_up * 0.85) . "kbit "....