From: Patrick McHardy <kaber@trash.net>
To: Krzysztof Oledzki <ole@ans.pl>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: Wrong MAC with vlans in LOG
Date: Mon, 06 Aug 2007 14:31:48 +0200 [thread overview]
Message-ID: <46B714B4.3040802@trash.net> (raw)
In-Reply-To: <Pine.LNX.4.64.0708061331010.23493@bizon.gios.gov.pl>
Krzysztof Oledzki wrote:
> Hello,
>
> Just discovered that -j LOG produces wrong MAC=(...) with non
> hardware-accelerated vlans:
>
> IN=vlan6 OUT= MAC=00:0e:0c:a1:ba:ce:00:01:42:2f:3a:60:08:00
> SRC=38.102.233.175 DST=XXX.XXX.XXX.XXX LEN=225 TOS=0x00 PREC=0x00 TTL=46
> ID=0 DF PROTO=UDP SPT=4679 DPT=23020 LEN=205
>
> Please notice that mac address is two bytes longer than it should be and
> the additional 08:00 is an ethertype value: 0x0800 - IPv4.
>
> Any ideas?
That also happends for normal ethernet packets. We decided that its
not worth potentially breaking parsers to fix this, ipt_LOG is not
very well suited for anything but debugging anyway.
prev parent reply other threads:[~2007-08-06 12:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-06 11:53 Wrong MAC with vlans in LOG Krzysztof Oledzki
2007-08-06 12:31 ` 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=46B714B4.3040802@trash.net \
--to=kaber@trash.net \
--cc=netfilter-devel@lists.netfilter.org \
--cc=ole@ans.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 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.