Skip to contentSkip to conversation

htb

LARTC devik 1 participant 1 message Jul 4, 2002

lore
Share & tools
lore

devik

author
#0 lore raw

Ok here is solution.

1) the filter is not swallowed. For inner filters you have to use "tc filter show dev lo parent 1:1". If you miss parent keyword nothing will be shown.

2) the code you attached can't work. You wanted to use "default" keyword to direct packets into 1:1 and then use filter attached to 1:1. It can't be done. default is resolved as last instance and MUST point to a LEAF. No other resolution is done then. To solve your prob use catchall u32 filter (src 0.0.0.0 0 f.e.). on 1: and flowid 1:1.

devik

Quoted 11 lines · Oswald Buddenhagen
Quoted 3 lines · Martin Devera

probably I can. but you have to create test case as simple as possible.

it can't get simpler than the attached, i guess ... :)
as opposed to my previous observations, filters attached to classes of of the root qdisc are "swallowed" as well (that means, they don't even show up in "tc filter show dev eth0").

Quoted 2 lines

I can't dig thru long codes .. no time. you know ..

Quoted 9 lines

yeah, i know this pain.

greetings

--
Hi! I'm a .signature virus! Copy me into your ~/.signature, please! --
Chaos, panic, and disorder - my work here is done.

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