From: Joakim Tjernlund <joakim.tjernlund@transmode.se>
To: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: pppoe relay and MAC address filtering
Date: Thu, 16 Apr 2015 11:34:34 +0000 [thread overview]
Message-ID: <1429184073.12901.34.camel@transmode.se> (raw)
I have create pppoe session over a pppoe relay socket:
A B and C are Linux nodes, B impl. a relay socket so
that A and B can create a pppoe session:
A ifA---------ifB0 B ifB1----------ifC C
Now I noticed that if ifB0 is in promisc mode it picks up other pppoe pkgs which
are meant for some other pppoe session to another node(D) and relays this
pkg to node C!
To me this looks like the pppoe relay socket does not check if the DST MAC on
pppoe pkgs received over ifB0 matches ifB0 MAC address?
Instead the relay socket happily relays any pppoe pkg as long as the session id matches.
This feels like a bug to me, comments?
Jocke
reply other threads:[~2015-04-16 11:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1429184073.12901.34.camel@transmode.se \
--to=joakim.tjernlund@transmode.se \
--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).