Skip to contentSkip to conversation

wondershaper kills eth0

LARTC Ludovic Drolez 3 participants 6 messages Oct 31, 2002 – Nov 4, 2002

lore
Share & tools
lore
#0 lore raw

Hi !

Which distribution do you use ?
I have a similar problem with Debian Woody and the stock 2.4.18 kernel:
- when 'ingress' is activated all incoming packets are dropped.

I've tried the same wondershaper script on a Mandrake with a 2.4.18 kernel, and it works !!

I've tried Mandrake's iproute utilities on the Debian...without success so it seems to be a kernel problem.

Regards,

Signature · 7 lines
Ludovic DROLEZ                                       Free&ALter Soft
152, rue de Grigy - Technopole Metz 2000                  57070 METZ
tel : 03 87 75 55 21                            fax : 03 87 75 19 26

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#1 lore raw

Very interesting!

I'm using Debian Stable (woody) right now with the default 2.4.18 kernel. Hrmm... I wonder what option it is lacking??? Why is 'ingress' broke???

I have been trying to find the default .config file for the debian kernel, but I can not find it! I don't know why it's so hard to find, but it is not included with the source for some reason!

If you find out anything let me know! I would really like to get my hands on the default .config file as well!

Thanks,
Rob

Quoted 6 lines · On Thu, 31 Oct 2002 18:28:13 +0100 Ludovic Drolez…

Hi !

Which distribution do you use ?
I have a similar problem with Debian Woody and the stock 2.4.18 kernel:
- when 'ingress' is activated all incoming packets are dropped.

Quoted 15 lines

I've tried the same wondershaper script on a Mandrake with a 2.4.18 kernel, and it works !!

I've tried Mandrake's iproute utilities on the Debian...without success so it seems to be a kernel problem.

Regards,

Signature · 7 lines
Ludovic DROLEZ                                       Free&ALter Soft
152, rue de Grigy - Technopole Metz 2000                  57070 METZ
tel : 03 87 75 55 21                            fax : 03 87 75 19 26

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw
In reply to Ludovic Drolez

After doing a little searching, I found this in a post about ingressing causing all packets to be droped w/ the debian default kernel:

"Problem sovled.

I needed to set CONFIG_NET_CLS_POLICE=y and CONFIG_NET_QOS=y in the kernel config. After this (and a recompile) shaping works perfectly.
"

now to find the .config for the 2.4.18 debian kernel...

-Rob

Quoted 6 lines · On Thu, 31 Oct 2002 18:28:13 +0100 Ludovic Drolez…

Hi !

Which distribution do you use ?
I have a similar problem with Debian Woody and the stock 2.4.18 kernel:
- when 'ingress' is activated all incoming packets are dropped.

Quoted 15 lines

I've tried the same wondershaper script on a Mandrake with a 2.4.18 kernel, and it works !!

I've tried Mandrake's iproute utilities on the Debian...without success so it seems to be a kernel problem.

Regards,

Signature · 7 lines
Ludovic DROLEZ                                       Free&ALter Soft
152, rue de Grigy - Technopole Metz 2000                  57070 METZ
tel : 03 87 75 55 21                            fax : 03 87 75 19 26

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#3 lore raw
In reply to Ludovic Drolez

--On Thursday, October 31, 2002 4:29 PM -0500 Rob <[email protected]>

Quoted 5 lines · wrote:

"Problem sovled.

I needed to set CONFIG_NET_CLS_POLICE=y and CONFIG_NET_QOS=y in the kernel config. After this (and a recompile) shaping works perfectly. "

Interesting. Still, selecting a non-existent filter should give an error message, not stop all traffic. Sounds like the kernel may not be adequately checking the parameters.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#4 lore raw
In reply to Ludovic Drolez

Yea, it seems like it would give an error BUT I do have "sch_ingress" loaded as a module, so somehow those two (maybe one) kernel options effect ingress... I'm going to try to find them and read the help because I have no clue why they are important.

-Rob

Quoted 9 lines · On Thu, 31 Oct 2002 17:36:28 -0800 Kenneth Porter <[email protected]> wrote:
Quoted 5 lines

"Problem sovled.

I needed to set CONFIG_NET_CLS_POLICE=y and CONFIG_NET_QOS=y in the kernel config. After this (and a recompile) shaping works perfectly. "

Interesting. Still, selecting a non-existent filter should give an error message, not stop all traffic. Sounds like the kernel may not be adequately checking the parameters.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#5 lore raw
In reply to Ludovic Drolez
Quoted 3 lines

I have been trying to find the default .config file for the debian kernel, but I can not find it! I don't know why it's so hard to find, but it is not included with the source for some reason!

It can be found in /boot (/boot/config-2.4.* )

Signature · 7 lines
Ludovic DROLEZ                                       Free&ALter Soft
152, rue de Grigy - Technopole Metz 2000                  57070 METZ
tel : 03 87 75 55 21                            fax : 03 87 75 19 26

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/