From: Patrick Turley <pturley@rocksteady.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] MARK target question
Date: Mon, 10 May 2004 16:47:55 +0000 [thread overview]
Message-ID: <409FB23B.1080703@rocksteady.com> (raw)
In-Reply-To: <20040509000035.GA15048@rabbit.us>
Peter Rabbitson wrote:
> This is more of a NF question but it is tightly related to LARTC as well. In the following example:
>
> -t mangle -A PREROUTING -i eth0 -j MARK 0x1
> ....
> -t mangle -A INPUT -i eth0 -j MARK 0x2
>
> Since MARK is a non-terminatring target, what would be the resulting mark on a packet comming from the outside and
> destined for a local process?
The mark would be 0 until the packet hits the first rule. After that, it
would be 1 through the remainder of the PREROUTING chains. After
routing, it would pass to the INPUT chains where it would change to 2
when it hits the second rule and would remain 2 through the rest of the
INPUT chains.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
prev parent reply other threads:[~2004-05-10 16:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-09 0:00 [LARTC] MARK target question Peter Rabbitson
2004-05-09 8:42 ` Stef Coene
2004-05-10 16:47 ` Patrick Turley [this message]
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=409FB23B.1080703@rocksteady.com \
--to=pturley@rocksteady.com \
--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.