From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] complex; ifb, masq et omnia
Date: Wed, 08 Mar 2006 12:30:20 +0000 [thread overview]
Message-ID: <440ECE5C.8020600@dsl.pipex.com> (raw)
In-Reply-To: <200603061853.54320.kyf@arterm.pl>
Krzysztof Matusik wrote:
> Hi all.
>
> I'm using Jamal's ifb virtual interface from new kernel. Redirecting incoming
> traffic from external interface like that:
> # tc [blahbla] match u32 0 0 flowid 1:0 action mirred egress redirect dev ifb0
> to ifb to shape it.
>
> The problem is that I'm using MASQUERADE by netfilter also. That redirected
> traffic coming from internet gets to ifb _before_ DNAT is done. So I cannot
> filter or mark it in other way by ip dst address to differ between forwarded
> and incoming traffic to my node.
>
> Goal is to find a solution how to let tc filter find the difference between
> forwarded and incoming traffic in that redirected traffic coming to ifb
> device so shaping/queueing could be done elegantly :-)
> (well, infact this traffic goes off ifb device and then gets routed and masqed
> etc- by egress queue)
>
> Anybody got any nice ideas?
You still need to use IMQ for this situation at this time.
There has been talk of making an ematch that can get netfilter state.
Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
prev parent reply other threads:[~2006-03-08 12:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-06 17:53 [LARTC] complex; ifb, masq et omnia Krzysztof Matusik
2006-03-08 12:30 ` Andy Furniss [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=440ECE5C.8020600@dsl.pipex.com \
--to=andy.furniss@dsl.pipex.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.