From: Marek Lindner <lindner_marek@yahoo.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@lists.open-mesh.net>
Subject: Re: [B.A.T.M.A.N.] batman-adv gateway support
Date: Tue, 5 Jan 2010 17:50:37 +0800 [thread overview]
Message-ID: <201001051750.37976.lindner_marek@yahoo.de> (raw)
In-Reply-To: <20100105063146.GE9585@lunn.ch>
On Tuesday 05 January 2010 14:31:46 Andrew Lunn wrote:
> Can this be made a bit more robust? An easy DoS would be to offer to
> be a gateway, but not run DHCP. All my near neighbours then fail to
> get an IP address and i have quiet network with more bandwidth for
> myself.
Good point. Before I had another scheme in mind: DHCP requests are broadcasted
but the batman-adv client would filter the responses preferring the selected
gateway if its reply is available. Of course, that is more complex to
implement.
> Could we inspect the DHCP packet a bit more deeply, look for DHCP
> discovery packets, unicast 3 in 4 to the best gateway, broadcast 1 in
> 4 as a fallback.
I'm not sure this approach is feasible. As soon as we broadcast a single
packet we might end up with a badly chosen gateway.
The batman daemon is able to blacklist broken gateways and switches to another
one. We may want to do the same.
Regards,
Marek
prev parent reply other threads:[~2010-01-05 9:50 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-04 15:44 [B.A.T.M.A.N.] batman-adv gateway support Marek Lindner
2010-01-04 15:46 ` [B.A.T.M.A.N.] [PATCH 1/3] batman-adv: adding gateway functionality Marek Lindner
2010-01-04 15:46 ` [B.A.T.M.A.N.] [PATCH 2/3] batctl: add support for gateway mode Marek Lindner
2010-01-04 15:46 ` [B.A.T.M.A.N.] [PATCH 3/3] batman-adv: send DHCP requests directly to the chosen gw Marek Lindner
2010-01-05 6:43 ` Andrew Lunn
2010-01-05 10:00 ` Marek Lindner
2010-01-05 11:09 ` Andrew Lunn
2010-01-04 16:48 ` [B.A.T.M.A.N.] batman-adv gateway support predrag balorda
2010-01-04 16:55 ` Sven Eckelmann
[not found] ` <de7865071001040856u1b661bdcxb319ffe60b2b367b@mail.gmail.com>
2010-01-04 17:02 ` Sven Eckelmann
2010-01-04 20:23 ` Donald Gordon
2010-01-04 20:58 ` Andrew Lunn
2010-01-04 21:20 ` Donald Gordon
2010-01-04 21:45 ` Linus Lüssing
2010-01-04 22:27 ` Donald Gordon
2010-01-05 6:31 ` Andrew Lunn
2010-01-05 9:50 ` Marek Lindner [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=201001051750.37976.lindner_marek@yahoo.de \
--to=lindner_marek@yahoo.de \
--cc=b.a.t.m.a.n@lists.open-mesh.net \
--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