-   Linux - General (
-   -   Mangle Table (

santhosh23 06-23-2007 10:00 PM

Mangle Table

I am experimenting with iptables.I couldn't get much infomration on Mangle table.i searched in net but they weren't much useeful,so please let me know the link / doc where i could find info about the mangle table


SlackDaemon 06-23-2007 10:27 PM

Its used to manipulate IP header fields in packets so that your TCP/IP software knows what precedence to give it. You can also MARK packets and use it in conjunction with a queuing discipline such as HTB/CBQ to control bandwidth.
Its the first table that is checked when a packet is processed (checked before 'filter' and 'nat' tables). edit: to be more precise, each chain in the mangle tables is checked before chains in the 'filter' and 'nat' table. e.g. - PREROUTING in 'mangle' is checked before PREROUTING in the 'nat' table and so on and so forth.

santhosh23 06-24-2007 08:52 PM

Thanks for the info

All times are GMT -5. The time now is 07:25 AM.