From: Fabio Marcone <fabio.marcone@duet.it>
To: netfilter@vger.kernel.org
Subject: Re: IMQ and marking
Date: Tue, 21 Jul 2009 16:21:26 +0200 [thread overview]
Message-ID: <4A65CEE6.9050004@duet.it> (raw)
In-Reply-To: <4A65A1A4.4020805@duet.it>
In a post in a forum I see this:
iptables -t mangle -A PREROUTING -m owner --pid-owner <PID of process> -
-j MARK --set-mark 2
iptables -t mangle -A PREROUTING -j IMQ --todev 0
the second rule is used? so, rule matching in mangle table is not blocking?
Fabio
> Hi!
> I'm studying how to introduce traffic shaping in a linux router
> (debian). I mark packets in prerouting using mac source to forward
> packets on a selected WAN interface.
> I need to use mangle in PREROUTING to send packects (in input) to a
> imqX interface.
> Is there a conflict between mark and IMQ?
> If so, how it can be solved?
>
> Thanks in advance,
> Fabio Marcone
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-07-21 14:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-21 11:08 IMQ and marking Fabio Marcone
2009-07-21 14:21 ` Fabio Marcone [this message]
2009-07-21 15:28 ` Pascal Hambourg
2009-07-27 8:23 ` Покотиленко Костик
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=4A65CEE6.9050004@duet.it \
--to=fabio.marcone@duet.it \
--cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox