MSAQ and SHAPING: A million dollar question

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Thu Jun 1 01:28:53 CEST 2006


Enigma Psi wrote:
> Now, if someone understood all this...can he, or she, tell me where on
> the Earh does the MASQ (SNAT-POSTROUTING) code sit inside the kernel
> in relation with EGRESS shaping code?

qdisc is the first thing a packets hits after coming from the nic.
Then, packet filtering/mangling/routing happens.
qdisc is the latest thing a packet hits before entering the nic.

In the iptables world, POSTROUTING is indeed the last point at which
a packet is seen by iptables.


Regards,
Carl-Daniel
-- 
http://www.hailfinger.org/



More information about the netfilter mailing list