Re: kernel mode pppoe ppp if + ifb + mirred redirect, ethernet packets in ifb?!
From: jamal <hidden>
Date: 2009-10-12 22:11:37
On Tue, 2009-10-13 at 00:54 +0300, Denys Fedoryschenko wrote:
I don't have problem with existing behaviour, since i am using other way of shaping, for my case using pktedit to assign priority to SKB and shaping by it.
I am dissapointed Denys, you dont like ipt?;->
But generally problem is was told by one of russian developers who is working on firmware for few models of broadband routers, he asked to help on ISP forum, and if possible to explain this to someone who can give advice, and maybe tell that probably there is a bug.
[..]
If it is not, then just simple question, it will work reliably if i just use u32 filter with offset on ifb?
Yes, of course you can if you add offset sizeof pppoe header. But: It looks like there is a genuine need for this feature. The challenge is: I am trying to be generic across devices of many different types (ethernet, atm, virtual etc) at many entry points, ingress, egress local, forwarding etc. This feature that this person would need will only work if you _know_ what you are doing; i.e in this case, I can very easily turn it off with a simple command - but the user must know that they do this on ingress side. I can cook a very quick patch for kernel and user space - you think this user can test it? cheers, jamal