From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] which executed first, tc or netfilter
Date: Sat, 11 Oct 2003 09:45:01 +0000 [thread overview]
Message-ID: <marc-lartc-106586559931420@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106585311324698@msgid-missing>
On Saturday 11 October 2003 08:16, zain arrifa'i wrote:
> I have several local networks connected to internet
> via a gateway, acting as SNAT box as well as shaper
> box.
>
> in some occasions, I got confused about which one is
> executed first inside the kernel; the SNAT rules
> postrouting chain, or the tc filter rules that
> classify packet for shaping/queueing.
>
> I need to know which source address I should use in
> the tc filter rules, the local IP source, or the
> public IP that used for SNAT.
>
> I have tried to look at tc -s ..show command result,
> or iptables -L result, but I'm not convinced yet.
>
> anybody has nice explanations about that?
Tc is the last thing that's done with a packet. So after SNAT and
postrouting.
Also see the KPTD (Kernel Packet Traveling Diagram) page at docum.org.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
prev parent reply other threads:[~2003-10-11 9:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-11 6:16 [LARTC] which executed first, tc or netfilter zain arrifa'i
2003-10-11 9:45 ` Stef Coene [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-106586559931420@msgid-missing \
--to=stef.coene@docum.org \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox