public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: "Linus Lüssing" <linus.luessing@web.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: Mon, 4 Jan 2010 22:45:44 +0100	[thread overview]
Message-ID: <20100104214544.GA20853@Sellars> (raw)
In-Reply-To: <591bc9931001041223m13d96837o4d4f95afa08e42e2@mail.gmail.com>

Hi,

despite the general, internal filtering rules it would be great to
be able to fetch the best gateway (the gateway with the best
BTM-TQ value) via /proc. So people would have the chance to use
the basic gatewaying feature with just a switch in batman-adv,
while people that want to do more complex filtering could fetch it
from /proc and use ebtables on top for example. Maybe even a
sorted list of all gateways in /proc would be nice to be able to
set up some more advanced (fall-back) scenarios with other
measuring methods/tools. And on the other hand we'd have the
possibility of batman-adv not interfering too much with the other
layers, instead tools explicitly designed for layer 2, 3, ...
have an interface to fetch the gateway information then which only
batman-adv knew before.
I think I've been talking about this partly with Marek a couple of
weeks ago before.

Cheers, Linus

On Tue, Jan 05, 2010 at 09:23:42AM +1300, Donald Gordon wrote:
> Hi
> 
> On Tue, Jan 5, 2010 at 4:44 AM, Marek Lindner <lindner_marek@yahoo.de>wrote:
> 
> >
> > * The third patch checks whether locally received packets are DHCP queries
> > and
> > forwards them via uncicast to the best gateway instead of broadcasting
> > them.
> >
> > Would it be possible to decide via a more general mechanism, maybe via a
> BPF filter, which packets get sent to the gateway?  For instance, it would
> be nice to be able to say that all ARP requests for *.*.*.1 also got sent to
> the gateway direct :-)  This would also make adding IPv6 support trivial,
> it'd just be another (or a more complex) BPF filter.
> 
> donald

> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@lists.open-mesh.net
> https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n


  parent reply	other threads:[~2010-01-04 21:45 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 [this message]
2010-01-04 22:27     ` Donald Gordon
2010-01-05  6:31 ` Andrew Lunn
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=20100104214544.GA20853@Sellars \
    --to=linus.luessing@web.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox