From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Harout Hedeshian <harouth@codeaurora.org>
Cc: netfilter-devel@vger.kernel.org, 'Lorenzo Colitti' <lorenzo@google.com>
Subject: Re: [PATCH nf-next] netfilter: xt_socket: add XT_SOCKET_RESTORESKMARK flag
Date: Tue, 16 Jun 2015 17:02:03 +0200 [thread overview]
Message-ID: <20150616150203.GA3513@salvia> (raw)
In-Reply-To: <008a01d0a839$c4bb0ee0$4e312ca0$@codeaurora.org>
On Tue, Jun 16, 2015 at 07:38:44AM -0600, Harout Hedeshian wrote:
[...]
> > Now the 2 hypothetical applications can differentiate their sockets
> > based on a mark value set with SO_MARK.
> >
> > iptables -t mangle -I PREROUTING -m socket --transparent \
> > --restore-skmark -j action
> > iptables -t mangle -I PREROUTING -m socket --transparent \
> > --restore-skmark -j action
>
> Oops, redundant command in the commit message. I'll submit a v2 if we are
> happy with the rest of the patch.
Never mind, I'll mangle this myself here before applying it.
> > iptables -t mangle -A action -m mark --mark 10 -j action2
> > iptables -t mangle -A action -m mark --mark 11 -j action3
prev parent reply other threads:[~2015-06-16 14:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-16 0:40 [PATCH nf-next] netfilter: xt_socket: add XT_SOCKET_RESTORESKMARK flag Harout Hedeshian
2015-06-16 13:38 ` Harout Hedeshian
2015-06-16 15:02 ` Pablo Neira Ayuso [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=20150616150203.GA3513@salvia \
--to=pablo@netfilter.org \
--cc=harouth@codeaurora.org \
--cc=lorenzo@google.com \
--cc=netfilter-devel@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.