LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1007|回复: 3

mangle 表

[复制链接]
发表于 2004-6-28 21:06:35 | 显示全部楼层 |阅读模式
mangle:
This table is used for specialized packet alteration.  Until
kernel  2.4.17  it  had two built-in chains: PREROUTING (for
altering incoming packets before routing)  and  OUTPUT  (for
altering  locally-generated  packets before routing).  Since
kernel 2.4.18, three other built-in  chains  are  also  sup-
ported: INPUT (for packets coming into the box itself), FOR-
WARD (for altering packets being routed  through  the  box),
and  POSTROUTING  (for altering packets as they are about to
go out).

发现大家使用mangle表的比较少。

一般情况,在什么状况下才使用mangles呢??
发表于 2004-6-30 17:02:50 | 显示全部楼层
关于mangle的确很少见用.用的比较高当:
允许通过改变包的内容进一步"纠正"包.例如此表可以对包进行整形,使之为特定的VPN客户备用.
链名REROUTING,POSTROUTING,OUTPUT,INPUT,FORWARD.
可使用的目标动作:TTL,TOS,MARK
 楼主| 发表于 2004-6-30 17:19:03 | 显示全部楼层
是的,看了些文档才知道mangle的确用在一些高级应用的地方。偶在想,把filter和nat表的规则应用在mangle上到底会有多大的差别?
发表于 2004-7-1 09:43:05 | 显示全部楼层
只看到对包的修改,自己也没在意,很少去用,只是有时防火墙里把它也关闭。
兄弟细心啊!期待兄弟的指教哦!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表