Skip to contentSkip to conversation

Resolved: HTB filters' parent

LARTC Denis Ovsienko 3 participants 3 messages Dec 23, 2005 – Dec 24, 2005

lore
Share & tools
lore
#0 lore raw

I have examined user's configuration and found that while child classes had correct filters, the root qdisc hadn't any filter that could direct packets to lower classes. Most examples attach filters to root qdisc for unknown reason. The information on LARTC web-site (which is gone ATM, but nobody cares about that) was incorrect. You don't have to attach all filters to root qdisc, HTB code handles filters as well as CBQ does. The issue is resolved, Martin, thank you for help.

Signature · 5 lines
    DO4-UANIC
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#1 lore raw
Quoted 7 lines · Denis Ovsienko

I have examined user's configuration and found that while child classes had correct filters, the root qdisc hadn't any filter that could direct packets to lower classes. Most examples attach filters to root qdisc for unknown reason. The information on LARTC web-site (which is gone ATM, but nobody cares about that) was incorrect. You don't have to attach all filters to root qdisc, HTB code handles filters as well as CBQ does. The issue is resolved, Martin, thank you for help.

Sorry, Denis, I have missed your first message.

When I twidded with htb, I noticed that filters do work being attached to child classes, too. There was some limitations, as far as i can remember (filters can drop packets even to upper classes but can not drop to different branches... or otherwise...), but it worked. It was necessary, of course, cascade filters to have it working.

Quoted 7 lines
Signature · 6 lines
-- 
    DO4-UANIC
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Signature · 9 lines
  _,-=._              /|_/|
  `-.}   `=._,.-=-._.,  @ @._,
     `._ _,-.   )      _,.-'
        `    G.m-"^m`m'        Dmytro O. Redchuk

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#2 lore raw
In reply to Denis Ovsienko

so by saying the issue is resolved, you mean that there was an issue:) i bumped into it myself-not being able to create filters and make them work unless they were attached to the root qdisc.
what do i do to get this fixed version(i hope that s what you meant by saying it was resolved)?
thank you
and merry christmas:)

Quoted 8 lines · Denis Ovsienko

I have examined user's configuration and found that while child classes had correct filters, the root qdisc hadn't any filter that could direct packets to lower classes. Most examples attach filters to root qdisc for unknown reason. The information on LARTC web-site (which is gone ATM, but nobody cares about that) was incorrect. You don't have to attach all filters to root qdisc, HTB code handles filters as well as CBQ does. The issue is resolved, Martin, thank you for help.

Quoted 7 lines

--
DO4-UANIC
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc