免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: hedandi
打印 上一主题 下一主题

[网络管理] local process的ebtables匹配问题 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2008-07-17 12:55 |只看该作者
http://linux.chinaunix.net/bbs/r ... amp;goto=nextoldset
是这个帖子吧,好像没有人回答啊,这个就是本地包的问题,我也是在这里不明白是怎么回事的,那个导图,我搜索了cu中所有关于ebtables的帖子,没有这个呢.版主知道大概是在那个版么,谢谢啊

论坛徽章:
0
12 [报告]
发表于 2008-07-17 13:01 |只看该作者
file:///C:/Documents%20and%20Settings/Administrator/Local%20Settings/Temporary%20Internet%20Files/Content.IE5/POFNCMDZ/bridge2c%5B1%5D.png
这个图片里面的local process之后数据包经过的链不对么,bridging的过程是什么样的呢?

论坛徽章:
0
13 [报告]
发表于 2008-07-17 13:03 |只看该作者
D:\My Documents\My Pictures\bridge2c.png

论坛徽章:
0
14 [报告]
发表于 2008-07-17 13:12 |只看该作者
http://ebtables.sourceforge.net/br_fw_ia/br_fw_ia.html#section2是这个文档上的图片,那个OUTPUT 的hook就是filter表的OUTPUT链啊

论坛徽章:
0
15 [报告]
发表于 2008-07-17 13:23 |只看该作者
[img][/img]

Locally originated frames will, after the bridging decision, traverse the nat OUTPUT, the filter OUTPUT and the nat POSTROUTING chains. The nat OUTPUT chain allows to alter the destination MAC address and the filter OUTPUT chain allows to filter frames originating from the bridge box. Note that the nat OUTPUT chain is traversed after the bridging decision, so this is actually too late. We should change this. The nat POSTROUTING chain is the same one as described above.

是由于红色字体所述的原因么,那么这样的话,在哪里去匹配本地发出的包呢?

[ 本帖最后由 hedandi 于 2008-7-17 13:40 编辑 ]

bridge2f.png (13.71 KB, 下载次数: 3)

bridge2f.png

bridge2f.png (13.71 KB, 下载次数: 7)

bridge2f.png

论坛徽章:
0
16 [报告]
发表于 2008-07-17 13:26 |只看该作者
这个是总的流程图:[img][/img]

bridge2c.png (22.74 KB, 下载次数: 5)

bridge2c.png

论坛徽章:
0
17 [报告]
发表于 2008-07-17 17:35 |只看该作者
恩,请问有哪位大侠对ebtables比较了解不

论坛徽章:
0
18 [报告]
发表于 2008-07-18 11:30 |只看该作者
记得ebtables主要是针对二层的控制吧
这里研究ebtables的似乎不多
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP