论坛风格切换切换到宽版
  • 740阅读
  • 2回复

[问题求助]有没有高手能够看懂下面的网关的cbq的filter [复制链接]

上一主题 下一主题
离线wshsky.
 
发帖
2033
C币
-263032
威望
340
贡献值
2
银元
-3
铜钱
4321
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
tc -s filter ls dev e.th1健康
filter pa.rent 1: protocol ip pref .1 u32 服务器
filter par.ent 1: protocol ip pr.ef 1 u32 fh 800: ht divisor 1 --- 印刷
filter. parent 1: protocol ip pref 1 u32 fh 800::800 orde.r .2048 key ht 800 bkt 0 flowid 1:44d (广告)
  match ac140c97/ff.fffff.f at 16           建材
filter parent 1: protocol ip pref 1 u32 fh .80.0::801 order 2049 k.ey ht 800 bkt 0 flowid 1:480 --- 印刷
  match ac140c94./ff.ffffff at 16服务器
filter paren.t 1: protocol ip .pref 1 u32 fh 800::802 or.der 2050 key ht 800 bkt 0 flowid 1:4a8 电脑
  match ac1.40c15/ffffffff at .16外贸
filter .parent 1: protocol ip pref 1 .u32 fh 800::803 order 2051 key ht 800 bkt 0. flowid 1:4b3 .
  match ac140c1c/ff.ffffff. at 16.
filter par.ent 1: protocol ip pref 1 u32 fh 800::804 order 2052 .key ht 800 bkt 0 flo.wid 1:4c5               乙肝
  match ac1.40c23/fffffff.f at 16(广告)
filter parent 1: protocol ip pref 1 u32 fh 800::805 order 2053. .k.ey ht 800 bkt 0 flowid 1:4cd 电影
  match ac140c19/ffffffff at .16.<性病>
filter parent 1: protocol ip pref 1 u32 fh 800::806 order .2054 key ht. 800 bkt 0. flowid 1:4d8 .
  match ac140c28/ffffffff at .1.6.
它的filter是按照什么来区.分的虚拟主机
我看了一.下是不是ac14是字节数电影
但是后面的16位在ip数据包.头里面是指16位表示,.这个有什么用.

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线cnstwb.
发帖
2149
C币
-235019
威望
398
贡献值
1
银元
-2
铜钱
4856
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
tc -s qdisc ls dev eth1
qdisc cbq 1: rate 100Mbit (bounded,isolated) prio no-transmit
Sent 3551491382 bytes 5941669 pkts (dropped 149, overlimits 1637461)
  borrowed 0 overactions 0 avgidle 0 undertime 0


tc -s class ls dev eth1
class cbq 1:77 parent 1:1 rate 2Mbit (bounded) prio 1
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 76 undertime 0
class cbq 1: root rate 100Mbit (bounded,isolated) prio no-transmit
Sent 3552330816 bytes 5942939 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 76 undertime 0
class cbq 1:4d8 parent 1:6e rate 192Kbit (bounded) prio 1
Sent 8849916 bytes 105809 pkts (dropped 0, overlimits 1980)
  borrowed 0 overactions 560 avgidle 953 undertime 0
class cbq 1:76 parent 1:1 rate 8Mbit (bounded) prio 1
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 76 undertime 0
class cbq 1:67 parent 1:1 rate 80Mbit (bounded) prio 1
Sent 5705114 bytes 6674 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 76 undertime 0
class cbq 1:1 parent 1: rate 100Mbit (bounded) prio 1
Sent 158169631 bytes 461213 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 76 undertime 0
class cbq 1:75 parent 1:1 rate 8Mbit (bounded) prio 1
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 76 undertime 0
class cbq 1:74 parent 1:1 rate 8Mbit (bounded) prio 1
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 76 undertime 0
class cbq 1:444 parent 1:68 rate 320Kbit (bounded) prio 1
Sent 116 bytes 2 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle -1465 undertime -1.65365e+09
class cbq 1:73 parent 1:1 rate 8Mbit (bounded) prio 1
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 76 undertime 0
class cbq 1:4cd parent 1:6e rate 192Kbit (bounded) prio 1
Sent 11055 bytes 201 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 953 undertime 0
class cbq 1:72 parent 1:1 rate 8Mbit (bounded) prio 1
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 76 undertime 0
class cbq 1:4a8 parent 1:6e rate 192Kbit (bounded) prio 1
Sent 4773039 bytes 11431 pkts (dropped 0, overlimits 182664)
  borrowed 0 overactions 3064 avgidle 953 undertime 0
class cbq 1:71 parent 1:1 rate 8Mbit (bounded) prio 1
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 76 undertime 0
class cbq 1:70 parent 1:1 rate 8Mbit (bounded) prio 1
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 76 undertime 0
class cbq 1:6e parent 1:1 rate 8Mbit (bounded) prio 1
Sent 136262404 bytes 439226 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 76 undertime 0
class cbq 1:6f parent 1:1 rate 8Mbit (bounded) prio 1
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 76 undertime 0
class cbq 1:6c parent 1:1 rate 8Mbit (bounded) prio 1
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 76 undertime 0
class cbq 1:6d parent 1:1 rate 8Mbit (bounded) prio 1
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 76 undertime 0
class cbq 1:4b3 parent 1:6e rate 192Kbit (bounded) prio 1
Sent 8435514 bytes 100225 pkts (dropped 0, overlimits 1929)
  borrowed 0 overactions 477 avgidle 953 undertime 0
class cbq 1:480 parent 1:6e rate 192Kbit (bounded) prio 1
Sent 11645235 bytes 15102 pkts (dropped 0, overlimits 521163)
  borrowed 0 overactions 7286 avgidle 953 undertime 0
class cbq 1:6a parent 1:1 rate 8Mbit (bounded) prio 1
Sent 1215 bytes 5 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 76 undertime 0
class cbq 1:44d parent 1:6e rate 192Kbit (bounded) prio 1
Sent 3448879 bytes 5689 pkts (dropped 0, overlimits 94066)
  borrowed 0 overactions 2236 avgidle 953 undertime 0
class cbq 1:4c5 parent 1:6e rate 192Kbit (bounded) prio 1
Sent 8052642 bytes 89149 pkts (dropped 0, overlimits 87266)
  borrowed 0 overactions 1475 avgidle 953 undertime 0
class cbq 1:6b parent 1:1 rate 2Mbit (bounded) prio 1
Sent 3288669 bytes 3626 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle -1576 undertime 4.60925e+08
class cbq 1:79 parent 1:1 rate 8Mbit (bounded) prio 1
Sent 2968 bytes 15 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle -40 undertime -1.64779e+09
class cbq 1:68 parent 1:1 rate 8Mbit (bounded) prio 1
Sent 6216376 bytes 5289 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 17 undertime 0
class cbq 1:78 parent 1:1 rate 8Mbit (bounded) prio 1
Sent 186066 bytes 621 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 76 undertime 0
class cbq 1:69 parent 1:1 rate 8Mbit (bounded) prio 1
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 76 undertime 0

tc -s filter ls dev eth1
filter parent 1: protocol ip pref 1 u32
filter parent 1: protocol ip pref 1 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 1 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:44d
  match ac140c97/ffffffff at 16
filter parent 1: protocol ip pref 1 u32 fh 800::801 order 2049 key ht 800 bkt 0 flowid 1:480
  match ac140c94/ffffffff at 16
filter parent 1: protocol ip pref 1 u32 fh 800::802 order 2050 key ht 800 bkt 0 flowid 1:4a8
  match ac140c15/ffffffff at 16
filter parent 1: protocol ip pref 1 u32 fh 800::803 order 2051 key ht 800 bkt 0 flowid 1:4b3
  match ac140c1c/ffffffff at 16
filter parent 1: protocol ip pref 1 u32 fh 800::804 order 2052 key ht 800 bkt 0 flowid 1:4c5
  match ac140c23/ffffffff at 16
filter parent 1: protocol ip pref 1 u32 fh 800::805 order 2053 key ht 800 bkt 0 flowid 1:4cd
  match ac140c19/ffffffff at 16
filter parent 1: protocol ip pref 1 u32 fh 800::806 order 2054 key ht 800 bkt 0 flowid 1:4d8
  match ac140c28/ffffffff at 16

这个是它的全部的cbq的配置.
它的filter好像是动态生成的.

离线jguzhou.
发帖
2015
C币
-235266
威望
407
贡献值
1
银元
-4
铜钱
4616
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
按照优先级
快速回复
限100 字节
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
 
上一个 下一个