From: David Miller <davem@davemloft.net>
To: lorenzo@google.com
Cc: netdev@vger.kernel.org, ja@ssi.bg, hannes@stressinduktion.org
Subject: Re: [PATCH v3] net: add a sysctl to reflect the fwmark on replies
Date: Mon, 07 Apr 2014 20:06:38 -0400 (EDT) [thread overview]
Message-ID: <20140407.200638.1315731010863669193.davem@davemloft.net> (raw)
In-Reply-To: <1396915131-20353-1-git-send-email-lorenzo@google.com>
From: Lorenzo Colitti <lorenzo@google.com>
Date: Tue, 8 Apr 2014 08:58:51 +0900
> Kernel-originated IP packets that have no user socket associated
> with them (e.g., ICMP errors and echo replies, TCP RSTs, etc.)
> are emitted with a mark of zero. Add a sysctl to make them have
> the same mark as the packet they are replying to.
>
> This allows an administrator that wishes to do so to use
> mark-based routing, firewalling, etc. for these replies by
> marking the original packets inbound.
>
> Tested using user-mode linux:
> - ICMP/ICMPv6 echo replies and errors.
> - TCP RST packets (IPv4 and IPv6).
>
> Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
This is a new feature, which should be targetted at net-next, which
is closed at this time.
Please resubmit this when the net-next tree opens back up, and
properly tag your subject line with "net-next" so that it is clear
what tree your change is targetted at.
Thanks.
next prev parent reply other threads:[~2014-04-08 0:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-07 23:58 [PATCH v3] net: add a sysctl to reflect the fwmark on replies Lorenzo Colitti
2014-04-08 0:06 ` David Miller [this message]
2014-04-08 0:22 ` Lorenzo Colitti
2014-04-08 0:30 ` David Miller
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=20140407.200638.1315731010863669193.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=hannes@stressinduktion.org \
--cc=ja@ssi.bg \
--cc=lorenzo@google.com \
--cc=netdev@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;
as well as URLs for NNTP newsgroup(s).