From: Nicolas <nicolas@no-spam.net>
To: bridge@lists.linux-foundation.org
Subject: Re: [Bridge] Ethernet+Wireless Bridge?
Date: Fri, 02 May 2008 14:04:27 +0200 [thread overview]
Message-ID: <481B034B.70606@no-spam.net> (raw)
In-Reply-To: <20080428125307.GB3499@tuxdriver.com>
John W. Linville a écrit :
>
> Spoofing the source MAC is actually forbidden by the 802.11 standard.
My two cents :
We all agree about the fact that most current wireless implementations
do not permit spoofing the source MAC, probably for many good and
several bad reasons.
But wouldn't it be possible, as a temporary and dirty fix, to simply
send any outgoing frames with the wireless interface MAC as the source
MAC when the bridge send on a wireless interface ?
Of course, this breaks the bridge transparency principle and might cause
serious problem with BPDU, but on a simple (or simpler) configuration,
without STP, this might work well for most level 3+ services. For
example, an ARP answer can come for a different source MAC than the one
stated in the ARP payload. So ARP should work well, even if the source
MAC might look strange for someone having a close look at the frame.
Also, the bridge global MAC (of br0) might be forced to the MAC of the
wireless interface if there is only a single wireless interface in the
bridge, probably causing BPDU to work well too.
This is only theoretical and - I admit - a very dirty fix into the
bridge code, but... better than noting. And by the way, may be this can
be setup using ebtable, which is cleaner !
Any comments ?
Nicolas.
next prev parent reply other threads:[~2008-05-02 12:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-28 9:25 [Bridge] Ethernet+Wireless Bridge? "Peter Valdemar Mørch (Lists)"
2008-04-28 12:53 ` John W. Linville
2008-04-28 14:04 ` Mark S. Mathews
2008-04-28 15:29 ` "Peter Valdemar Mørch (Lists)"
2008-04-28 16:28 ` John W. Linville
2008-04-29 10:29 ` "Peter Valdemar Mørch (Lists)"
2008-04-29 12:10 ` Srinivas M.A.
2008-04-29 13:15 ` John W. Linville
2008-04-29 15:22 ` "Peter Valdemar Mørch (Lists)"
2008-04-29 17:22 ` John W. Linville
2008-05-02 12:04 ` Nicolas [this message]
2008-05-02 18:32 ` John W. Linville
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=481B034B.70606@no-spam.net \
--to=nicolas@no-spam.net \
--cc=bridge@lists.linux-foundation.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.