From: "Steen Suder, privat" <steen@suder.dk>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Re: HTB and filters on many levels - Workaround found
Date: Tue, 16 Sep 2003 17:59:25 +0000 [thread overview]
Message-ID: <marc-lartc-106373530432062@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105920585710369@msgid-missing>
Daniel Brahneborg wrote:
> I found a little workaround, but I'm not really happy with it.
<SNIP>
>>I then use iptables -j MARK to set a '1' if the traffic comes from
>>eth1. If not, it should end up in 1:2, and 1:1 and 1:2 should be able
>>to borrow from each other.
>
>
> What I do now is to use ipfilter to set marks on the packets for all six
> classes, and then set all filters on 1:0. A bit more work for iptables,
> but it seems to work. Is it a bug that a fiter can't be added to a class?
It's by design AFAIK.
Packets are enqueued at qdiscs and, thus, it is only meaningful to be
able to attach filters to qdiscs.
I may be wrong though...
Also, the HTB docs instructs the user to attach filters to the root.
--
Mvh. / Best regards,
Steen Suder <http://www.suder.dk/>
ICQ UIN 4133803
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2003-09-16 17:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-26 7:49 [LARTC] Re: HTB and filters on many levels - Workaround found Daniel Brahneborg
2003-09-16 17:59 ` Steen Suder, privat [this message]
2003-09-16 18:45 ` Stef Coene
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-106373530432062@msgid-missing \
--to=steen@suder.dk \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.