All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: Netfilter Developer Mailing List <netfilter-devel@vger.kernel.org>
Subject: Re: [patch] netfilter: xt_LOG: do print MAC header on FORWARD
Date: Mon, 15 Nov 2010 11:24:58 +0100	[thread overview]
Message-ID: <4CE10A7A.90808@trash.net> (raw)
In-Reply-To: <alpine.LNX.2.01.1011150229410.13295@obet.zrqbmnf.qr>

On 15.11.2010 02:30, Jan Engelhardt wrote:
> netfilter: xt_LOG: do print MAC header on FORWARD
> 
> I am observing consistent behavior even with bridges, so let's unlock
> this. xt_mac is already usable in FORWARD, too. Section 9 of
> http://ebtables.sourceforge.net/br_fw_ia/br_fw_ia.html#section9 says
> the MAC source address is changed, but my observation does not match
> that claim -- the MAC header is retained.

I've checked the code and I think you're right, even IPsec tunnels
make sure to preserve the original MAC header.

Applied, thanks.

      reply	other threads:[~2010-11-15 10:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-14 18:01 [patch] netfilter: xt_LOG: do print MAC header on FORWARD Jan Engelhardt
2010-11-15  1:30 ` Jan Engelhardt
2010-11-15 10:24   ` Patrick McHardy [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=4CE10A7A.90808@trash.net \
    --to=kaber@trash.net \
    --cc=jengelh@medozas.de \
    --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.