netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jarek Poplawski <jarkao2@gmail.com>
To: Denys Fedoryshchenko <denys@visp.net.lb>
Cc: netdev@vger.kernel.org
Subject: Re: incoming interface + ifb0
Date: Tue, 29 Jul 2008 12:48:23 +0000	[thread overview]
Message-ID: <20080729124823.GA26788@ff.dom.local> (raw)
In-Reply-To: <200807291322.10084.denys@visp.net.lb>

On 29-07-2008 12:22, Denys Fedoryshchenko wrote:
> Sorry that i am asking in kernel maillist, probably it is wrong. Maybe right place is lartc only, but probably kernel lacking something too :-)
> 
> Question is:
> I have plenty pppX interfaces. I want to shape traffic coming over this interfaces.
> Before i was doing over m_ipt and MARK, then redirect to ifb0 and there was doing filter by fwmark.
> But m_ipt seems needs serious rewrite, and plus it is not very clean way to do (performance wise).
> 
> Alternative way is to shape on outgoing interface, but it is not clean, in case if there is multiple outgoing interfaces. 
> I tried to filter on ifb by ematch - rt_iif, dev - no luck. by route fromif - no luck. Is there some way i miss?

I didn't use this nor checked enough, so I can be wrong, but
since ingress with ifb0 is in prerouting, you probably can't use
rt_iif. You shouldn't filter at ifb on "dev" neither - it's "ifb"
at the moment. You need to match skb->iif with something (flow?).

Jarek P.

  reply	other threads:[~2008-07-29 12:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-29 10:22 incoming interface + ifb0 Denys Fedoryshchenko
2008-07-29 12:48 ` Jarek Poplawski [this message]
2008-07-29 13:26   ` Denys Fedoryshchenko
2008-07-29 18:31     ` Jarek Poplawski

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=20080729124823.GA26788@ff.dom.local \
    --to=jarkao2@gmail.com \
    --cc=denys@visp.net.lb \
    --cc=netdev@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;
as well as URLs for NNTP newsgroup(s).