免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1101 | 回复: 2
打印 上一主题 下一主题

l7filter 桥 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-12-30 16:35 |只看该作者 |倒序浏览
有一个桥br1由eth0和eth1组成, 通过l7filter统计http流量,br1上是有数据的,但是指定网卡(eth0)上没有数据,具体信息如下,怎么才能上eth0上有数据呢?
求指教!

-bash-3.2# ifconfig
br1       Link encap:Ethernet  HWaddr 00:E0:4C:05:4C:90  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:36512 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3240261 (3.0 MiB)  TX bytes:0 (0.0 B)

eth0      Link encap:Ethernet  HWaddr 00:E0:4C:05:4C:90  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:552503 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10842 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100000
          RX bytes:78715897 (75.0 MiB)  TX bytes:3503170 (3.3 MiB)
          Interrupt:28 Base address:0x8000

eth1      Link encap:Ethernet  HWaddr 00:E0:4C:05:4C:91  
          UP BROADCAST RUNNING PROMISC  MTU:1500  Metric:1
          RX packets:7787 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21620 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100000
          RX bytes:1195935 (1.1 MiB)  TX bytes:8972275 (8.5 MiB)
          Interrupt:29 Base address:0xc000
         
         
-bash-3.2# brctl show
bridge name     bridge id               STP enabled     interfaces
br1             8000.00e04c054c90       no               eth0
                                                                        eth1
                                                        
-bash-3.2# iptables -t mangle -nvL
Chain PREROUTING (policy ACCEPT 246K packets, 24M bytes)
pkts bytes target     prot opt in     out     source               destination         
    0     0            all  --  eth0   *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto http
3771 2670K            all  --  br1    *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto http
      
Chain POSTROUTING (policy ACCEPT 191K packets, 17M bytes)
pkts bytes target     prot opt in     out     source               destination         
    0     0            all  --  *      eth0    0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto http
3771 2670K            all  --  *      br1     0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto http

论坛徽章:
3
2015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:51:162015年亚洲杯之阿曼
日期:2015-04-07 20:00:59
2 [报告]
发表于 2011-12-30 17:23 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
3 [报告]
发表于 2011-12-30 17:59 |只看该作者
不好意思,因为在系统管理模块发了该贴,一直未得到回复,才在该模块又发了一次

   
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP