mangle 表

由 faint 在 06-28-2004 21:06 发表:

mangle 表

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呢??


由 KindGeorge 在 06-30-2004 17:02 发表:


关于mangle的确很少见用.用的比较高当:

允许通过改变包的内容进一步"纠正"包.例如此表可以对包进行整形,使之为特定的VPN客户备用.

链名:PREROUTING,POSTROUTING,OUTPUT,INPUT,FORWARD.

可使用的目标动作:TTL,TOS,MARK


由 faint 在 06-30-2004 17:19

Published At
Categories with 服务器类
comments powered by Disqus