lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 29 Jul 2008 12:48:23 +0000
From:	Jarek Poplawski <jarkao2@...il.com>
To:	Denys Fedoryshchenko <denys@...p.net.lb>
Cc:	netdev@...r.kernel.org
Subject: Re: incoming interface + ifb0

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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ