LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-18-2011, 04:42 AM   #1
antoineC
LQ Newbie
 
Registered: Jul 2011
Posts: 3

Rep: Reputation: Disabled
QoS with tc: problems filtering PPP SES


Hello,

i am trying to apply filters on a device. I have no problems to filter ip protocol, matching on distant port for example.

But i have ppp packet on my interface, and i cannot filter them. When I had the following filter:
tc filter add dev ethoa0 parent 1: protocol ppp_ses u32 match u32 0x00000000 0x00000000 at 0 flowid 1:80
There is a kernel panic crash in the function u32_classify, because of an acces to the adress 0 when the interface try to send the first ppp packet.

The call stack is the following:
[<801d9cd4>] u32_classify+0x84/0x268
[<801cf7a8>] tc_classify+0x6c/0xa4
[<801d1860>] htb_classify+0x70/0x264
[<801d20e8>] htb_enqueue+0x28/0x27c
[<801bd524>] dev_tx_lower+0x238/0x2ec
[<801bd640>] dev_queue_xmit+0x68/0x78
[<c0433ca8>] rg_pppoe_output+0xb8/0xd8 [one_module]
[<c043604c>] pppsyncstart+0x1e8/0x320 [one_module]
[<c0436504>] pppoutput+0x380/0x3d8 [one_module]
[<c042dc18>] rg_ppp_write+0x23c/0x25c [one_module]
[<c03f550c>] kos_chardev_write+0x2c/0x38 [one_module]
[<80078354>] vfs_write+0xa8/0x1b0
[<80078550>] sys_write+0x54/0xa0
[<8001a970>] stack_done+0x20/0x40

Does any body have an idea how to solve my problem? What can I do to filter ppp packet?
 
Old 07-18-2011, 11:07 AM   #2
antoineC
LQ Newbie
 
Registered: Jul 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
It seems that the acces depends on the "at X"

I try this filter:

tc filter add dev ethoa0 parent 1: protocol ppp_ses u32 match u32 0x00000000 0x00000000 at -4 flowid 1:80

And the kernel panic is no causes by an acces to 0xFFFFFFFC

Any one got any idea?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] What are the consequences if I delete one of the elvis.ses file ethereal1m Linux - Software 2 08-25-2010 11:17 AM
etablish one connection ppp between a client ppp and a server ppp camilla261086 Linux - Server 2 07-20-2010 07:09 AM
PPP filtering question wootletootle Slackware 2 06-14-2005 04:53 PM
CFdisk only ses 10GBytes of my 20GByte Hard Disk Heath Slackware 1 06-08-2004 02:21 PM
kernel does not support ppp filtering? l2g Slackware 11 04-30-2004 06:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration