From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carl-Daniel Hailfinger Subject: Re: MSAQ and SHAPING: A million dollar question Date: Thu, 01 Jun 2006 01:28:53 +0200 Message-ID: <447E26B5.1020308@gmx.net> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: Enigma Psi Cc: netfilter@lists.netfilter.org 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/