From: "Julián Muñoz" <jmunoz@telefonica.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] IMQ losing marks ??
Date: Wed, 29 May 2002 17:50:35 +0000 [thread overview]
Message-ID: <marc-lartc-102269469203373@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102269043430957@msgid-missing>
> >
> >So, the " --set-mark 0x10020" trick is not working in this case ??
> >
Yes, it is the conclusion. With "tc filter" the packets go to the desired
queue, Devik's trick doesn't work in this case :-)
On Wed, 29 May 2002, Patrick McHardy wrote:
> Julián Muñoz wrote:
>
> >I am marking incoming packets this way:
> >
> >iptables -A PREROUTING -t mangle -i eth0 -j IMQ
> >iptables -A PREROUTING -t mangle --protocol tcp --destination 443 \
> > -j MARK --set-mark 0x10020
> >
> >
> >On the IMQ device I have a htb queue.
> >
> >But all the traffic is put in the *default* htb queue, and not in the good
> >one, it seems like the mark is lost ?
> >
> marks are definitely not lost, i'm classifying based on netfilter marks
> (and fw classifier) and nothing
> gets lost there ...
>
> >
> >
> >I am using a pretty similar configuration on transmite the output queue of
> >eth0, and it is working perfectly.
> >
> >I have try :
> > - change the marks, in order to not have interferences of the ones done
> > by iptables in the transmit queue.
> >
> hmm there shouldn't be any interferences, marks for imq usually done in
> PREROUTING, marks for egress in
> OUTPUT or POSTROUTING ..
>
> >
> > - put -i eth0, or -i imq0 in the iptable who marks the packet.
> >
> -i imq0 will never match. packets never come in through the imq device,
> they only pass the attached qdisc.
>
> >
> >So, the " --set-mark 0x10020" trick is not working in this case ??
> >
> i have not tried it myself this way, but imq is doing nothing that would
> prevent it.
> maybe devik has an answer for us (i never tried nf_mark for
> classification, is it supposed to work this way ?)
>
> bye
> patrick
>
>
--
__o
_ \<_
(_)/(_)
Saludos de Julián
EA4ACL
-.-
Foro Wireless Madrid
http://opennetworks.rg3.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2002-05-29 17:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-29 16:39 [LARTC] IMQ losing marks ?? Julián Muñoz
2002-05-29 17:50 ` Julián Muñoz [this message]
2002-05-29 19:21 ` Martin Devera
2002-05-29 19:24 ` Ciprian Niculescu
2002-05-29 21:50 ` Julián Muñoz
2002-05-30 10:04 ` Julián Muñoz
2002-05-31 8:27 ` Martin Devera
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-102269469203373@msgid-missing \
--to=jmunoz@telefonica.net \
--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.