From: Jarek Poplawski <jarkao2@gmail.com>
To: "Paweł Staszewski" <pstaszewski@itcare.pl>
Cc: jamal <hadi@cyberus.ca>,
Linux Network Development list <netdev@vger.kernel.org>
Subject: Re: iproute2 action/policer question
Date: Mon, 15 Jun 2009 22:07:05 +0200 [thread overview]
Message-ID: <20090615200705.GA3724@ami.dom.local> (raw)
In-Reply-To: <4A368025.5000902@itcare.pl>
On Mon, Jun 15, 2009 at 07:08:53PM +0200, Paweł Staszewski wrote:
...
> But what with ipt -j MARK ?
> Where i can catch this mark ?
> Or i can't catch packet like this, but then for what will be this ipt
> action ?
>
>
> Because if i understand correct this action works like iptables -j MARK
> in POSTROUTING mangle ?
As I wrote before I don't know these things enough, but it's probably
not exactly like using iptables; I guess it's after POSTROUTING if
used at egress or before PREROUTING if at ingress, and you could easily
check this in case of ingress: it should be visible by all iptables
hooks on it's way. So it's probably mostly useful on ingress, like in
doc examples. In case of egress if it's not redirected anywhere, as
I mentionned before, you could detect it e.g. with fw filter called
after ipt, but I'm not sure it's very useful here.
Jarek P.
next prev parent reply other threads:[~2009-06-15 20:07 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-09 20:10 iproute2 action/policer question Paweł Staszewski
2009-06-15 11:19 ` Jarek Poplawski
2009-06-15 13:32 ` jamal
2009-06-15 14:52 ` Jarek Poplawski
2009-06-15 16:09 ` Paweł Staszewski
2009-06-15 16:37 ` Jarek Poplawski
2009-06-15 16:44 ` Jarek Poplawski
2009-06-15 17:08 ` Paweł Staszewski
2009-06-15 20:07 ` Jarek Poplawski [this message]
2009-06-16 12:04 ` jamal
2009-06-17 6:14 ` Jarek Poplawski
2009-06-17 6:28 ` Jarek Poplawski
2009-06-17 6:45 ` Jarek Poplawski
2009-06-17 9:01 ` Denys Fedoryschenko
2009-06-17 9:26 ` Jarek Poplawski
2009-06-17 13:09 ` jamal
2009-06-17 13:30 ` Andreas Henriksson
2009-06-17 19:43 ` Jarek Poplawski
2009-06-18 13:19 ` jamal
2009-06-18 18:39 ` Jarek Poplawski
2009-06-15 21:47 ` [PATCH] " Jarek Poplawski
2009-06-16 12:07 ` jamal
2009-06-16 18:33 ` [PATCH v2] " Jarek Poplawski
2009-06-17 9:33 ` Paweł Staszewski
2009-06-18 1:57 ` David Miller
2009-06-15 16:13 ` Paweł Staszewski
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=20090615200705.GA3724@ami.dom.local \
--to=jarkao2@gmail.com \
--cc=hadi@cyberus.ca \
--cc=netdev@vger.kernel.org \
--cc=pstaszewski@itcare.pl \
/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;
as well as URLs for NNTP newsgroup(s).