All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] tcf_action_destroy destroying
@ 2006-01-25  2:41 bend chen
  2006-01-25 15:20 ` gypsy
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bend chen @ 2006-01-25  2:41 UTC (permalink / raw)
  To: lartc


[-- Attachment #1.1: Type: text/plain, Size: 2846 bytes --]

Hi,lartc
   
  I used iproute-060110 with iptables1.3.4 on gentoo 2005r1 kernel 2.6.14-5.
  I find some error messages in system logfile:
   
  HTB: quantum of class 10001 is big. Consider r2q change.
HTB: quantum of class 10010 is big. Consider r2q change.
tcf_action_init_1: successfull police
HTB: quantum of class 20001 is big. Consider r2q change.
HTB: quantum of class 20020 is big. Consider r2q change.
HTB: quantum of class 10001 is big. Consider r2q change.
HTB: quantum of class 10010 is big. Consider r2q change.
tcf_action_destroy destroying dcf0ba60 next 00000000
tcf_action_init_1: successfull police
HTB: quantum of class 20001 is big. Consider r2q change.
HTB: quantum of class 20020 is big. Consider r2q change.
   
  and this is my script:
   
  /root/ct/sbin/ct qdisc del dev eth0 root ;
/root/ct/sbin/ct qdisc del dev eth0 ingress ;
/root/ct/sbin/ct qdisc add dev eth0 root handle 1: htb default 10 r2q 1;
/root/ct/sbin/ct class add dev eth0 parent 1: classid 1:1  htb rate 10000kbps;
/root/ct/sbin/ct class add dev eth0 parent 1:1 classid 1:10 htb rate 9990kbps ceil 10000kbps;
/root/ct/sbin/ct class add dev eth0 parent 1:1 classid 1:11 htb rate 10kbps;
/root/ct/sbin/ct qdisc add dev eth0 parent 1:10 handle 13: sfq perturb 5;
/root/ct/sbin/ct qdisc add dev eth0 parent 1:11 handle 14: sfq perturb 5;
/root/ct/sbin/ct filter add dev eth0 parent 1: protocol ip handle 1 fw classid 1:10;
/root/ct/sbin/ct filter add dev eth0 parent 1: protocol ip handle 2 fw classid 1:11;
  /root/ct/sbin/ct qdisc del dev eth1 root;
/root/ct/sbin/ct qdisc add dev eth1 root handle 2: htb default 20 r2q 1;
/root/ct/sbin/ct class add dev eth1 parent 2: classid 2:1 htb rate 10000kbps;
/root/ct/sbin/ct class add dev eth1 parent 2:1 classid 2:20 htb rate 990kbps ceil 10000kbps;
/root/ct/sbin/ct class add dev eth1 parent 2:1 classid 2:21 htb rate 100kbps;
/root/ct/sbin/ct qdisc add dev eth1 parent 2:20 handle 15: sfq perturb 5;
/root/ct/sbin/ct qdisc add dev eth1 parent 2:21 handle 16: sfq perturb 5;
/root/ct/sbin/ct filter add dev eth1 parent 2: protocol ip handle 3 fw classid 2:20;
/root/ct/sbin/ct filter add dev eth1 parent 2: protocol ip handle 4 fw classid 2:21;
iptables -t mangle -F;
iptables -F;
iptables -t mangle -A FORWARD -m physdev --physdev-in eth1 --physdev-out eth0 -m layer7 --l7proto bittorrent -j  MARK  --set-mark 0x2 ;
iptables -t mangle -A FORWARD -m physdev --physdev-in eth1 --physdev-out eth0 -m layer7 --l7proto bittorrent -j  RETURN;
iptables -t mangle -A FORWARD -m physdev --physdev-in eth0 --physdev-out eth1 -m layer7 --l7proto bittorrent -j  MARK  --set-mark 0x4 ;
iptables -t mangle -A FORWARD -m physdev --physdev-in eth0 --physdev-out eth1 -m layer7 --l7proto bittorrent -j RETURN;

  thanks your help.

		
---------------------------------
 雅虎1G免费邮箱百分百防垃圾信
 雅虎助手-搜索、杀毒、防骚扰  

[-- Attachment #1.2: Type: text/html, Size: 3228 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-01-28  6:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-25  2:41 [LARTC] tcf_action_destroy destroying bend chen
2006-01-25 15:20 ` gypsy
2006-01-26  8:35 ` bend chen
2006-01-28  3:36 ` gypsy
2006-01-28  6:15 ` bend chen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.