All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
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 07:31:46 +0100	[thread overview]
Message-ID: <20100105063146.GE9585@lunn.ch> (raw)
In-Reply-To: <201001042344.02273.lindner_marek@yahoo.de>

> * The third patch checks whether locally received packets are DHCP
> queries and forwards them via uncicast to the best gateway instead
> of broadcasting them.

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.

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.

  Andrew

  parent reply	other threads:[~2010-01-05  6:31 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 [this message]
2010-01-05  9:50   ` Marek Lindner

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=20100105063146.GE9585@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=b.a.t.m.a.n@lists.open-mesh.net \
    /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.