From: Sven Eckelmann <sven@narfation.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Andre Kasper <Andre.Kasper@gmx.de>
Subject: Re: [B.A.T.M.A.N.] [PATCH] batctl: Validate translated mac addresses
Date: Tue, 17 Apr 2018 10:35:15 +0200 [thread overview]
Message-ID: <6026006.aG0Bno4Z56@bentobox> (raw)
In-Reply-To: <20180413181618.24144-1-sven@narfation.org>
[-- Attachment #1: Type: text/plain, Size: 1131 bytes --]
On Freitag, 13. April 2018 20:16:18 CEST Sven Eckelmann wrote:
> The IP translation layer is using the neighbor table of the kernel to get
> the unicast link layer (mac) address for IP(v4|v6) addresses. The kernel
> can not only return unicast mac addresses to such an RTM_GETNEIGH request
> but also zero mac address. Such an address must be considered invalid
> because the global translation table may not only contain a unique client
> mac address entry for it. The translation from client mac to originator
> will therefore most likely return an unexpected originator.
>
> Dropping these kind of (bogus) results avoids confusions while using things
> like batctl's ping or traceroute.
>
> Reported-by: Andre Kasper <Andre.Kasper@gmx.de>
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
> Cc: Andre Kasper <Andre.Kasper@gmx.de>
>
> See https://www.open-mesh.org/issues/353
Applied in 9f22e3d0ed2a [1]. But the ticket is not marked as resolved but it
seems like the reporter wants a different behavior.
Kind regards,
Sven
[1] https://git.open-mesh.org/batctl.git/commit/9f22e3d0ed2a3d83479f3db3b570f49218024249
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2018-04-17 8:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-13 18:16 [B.A.T.M.A.N.] [PATCH] batctl: Validate translated mac addresses Sven Eckelmann
2018-04-14 2:34 ` Antonio Quartulli
2018-04-14 7:10 ` Sven Eckelmann
2018-04-14 8:11 ` Antonio Quartulli
2018-04-14 9:20 ` Sven Eckelmann
2018-04-14 9:35 ` Antonio Quartulli
2018-04-14 9:36 ` Antonio Quartulli
2018-04-17 8:35 ` Sven Eckelmann [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=6026006.aG0Bno4Z56@bentobox \
--to=sven@narfation.org \
--cc=Andre.Kasper@gmx.de \
--cc=b.a.t.m.a.n@lists.open-mesh.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