public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Adrian Reyer <are@lihas.de>
To: Simon Wunderlich <sw@simonwunderlich.de>
Cc: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] No rebroadcast on mesh links
Date: Wed, 30 Mar 2016 15:58:42 +0200	[thread overview]
Message-ID: <20160330135842.GA19985@r2d2.s.lihas.de> (raw)
In-Reply-To: <34764958.y3lWsCmXTL@prime>

[-- Attachment #1: Type: text/plain, Size: 4368 bytes --]

Hi Simon,

On Wed, Mar 30, 2016 at 01:58:31PM +0200, Simon Wunderlich wrote:
> I don't think we have to pull out every possible case here. People will always 
> be creative in designing their networks, even if their would be some easier or 
> better approaches[tm]. Not supporting everything is not a flaw in my opinion, 
> at least as long as we support sound alternatives.

Sure.

> For example, I don't see why we would need to support not-forwarding/not-full 
> mesh VPNs. We could just require every mesh participant to run batman-adv, and 
> not supporting setups where, for example, the "master" node doesn't speak 
> batman-adv, since that could be easily enabled. If there are multiple 
> independent VPN links, those could be done in seperate interfaces. Is that 
> assumption correct? (Maybe Freifunk people could tell a little bit more).

While I don't expect anyone to support anyone elses strange setups, I
see no reason to explicitly destroy other setups.
batman-adv has an interface, by default bat0, this is similar to a
bridge. Attached to that are the various real interfaces, wlan0, eth0,
tap0, whatever. And we talk about the broadcasts on those
sub-interfaces, not about bat0.
We run batman-adv on every node and requiring batman developers to
support setups that refuse to use their code would seem very strange to
me.
A current setup of a freifunk gateway in my freifunk-community hast 2
interfaces attached to a batman instance, 1 fastd reaching all the
nodes, here we absolutely need rebroadcasts and 1 tinc interface
connecting alle the gateways, there we have full mesh due to tinc
already and don't need rebroadcasts. Both interfaces are just
tap-Devices, e.g. tap0 and tap1.

> So far, I see the following scenarios:
> Broadcast needed:
>  * WiFi Ad-Hoc
>  * WiFi AP
>  * Ethernet to WiFi Ad-Hoc bridges (is that even used?)
> Broadcast not needed
>  * WiFi Point to Point links
>  * Ethernet
>  * VPNs (at least common setups)
> As a very easy rule of thumb, we could say that rebroadcasts on the same 
> interface should always be enabled on WiFi and disabled on everything else. 
> Even if we still agree to introduce a flag to change that, that could still be 
> a sound default. Would you agree?

No, a sound default is the behaviour we have now. In worst case it
wastes bandwidth, but works. No matter what exact capabilities an
interface has. A changed default would instantly break every
freifunk-community using batman as to my knowledge they all use a vpn to
connect to GWs that *needs* rebroadcasts

> We try to minimize flags and settings in general as a design goal. Other 
> implementations we looked at have too many "tunable" parameters, people 
> writing in forums/mailing lists how and why these settings should be set 
> without really understanding it ... This is why we try to not expose 
> everything, even if we would leave a little bit of room for improvement.

I understand this concern very much and I am aware of many, many samples
on where things fail due to people just copy&pasting stuff someone else
said in some completly different context.
I appreciate the idea of the developers to do as few tunables as
possible and while I don't regard myself as single-minded, I can't think
of a decent, fail-save method of doing an automated detection of the
thing I expect from this flag.
Be aware, I talk about a single flag only, I want to get rid of the
re-broadcasts on interfaces that don't need it. I don't care if there
are 1 or 100 rebroadcasts on interfaces that need it and a performance
flaw with the latter as batman handles it has not come to my attention
as of now. For the first in contrary, I see the impact all the time.

> I'm not against the flags, but its good to have a discussion to find out what 
> is really needed ...

I appreciate this discussion as it shows the various pros and cons and
enables me to understand how other peoples setups look like, what they
focus on and, no matter what the result is, enables me to improove my
setups.

Regards,
	Adrian
-- 
LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
Fon: +49 (7 11) 78 28 50 90 - Fax:  +49 (7 11) 78 28 50 91
Mail: lihas@lihas.de - Web: http://lihas.de
Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 465 bytes --]

  reply	other threads:[~2016-03-30 13:58 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-25 21:35 [B.A.T.M.A.N.] No rebroadcast on mesh links Roland Volkmann
2016-03-25 22:46 ` Sven Eckelmann
2016-03-25 23:19   ` Roland Volkmann
2016-03-27  2:38     ` Marek Lindner
2016-03-28 13:43       ` Roland Volkmann
2016-03-28 14:43         ` Marek Lindner
2016-03-28 19:11           ` Linus Lüssing
2016-03-28 21:19             ` Roland Volkmann
2016-03-28 23:52               ` Linus Lüssing
2016-03-29  8:37                 ` Adrian Reyer
2016-03-29  9:50                   ` Sven Eckelmann
2016-03-29 17:59                     ` Adrian Reyer
2016-03-29 18:55                       ` Sven Eckelmann
2016-03-29 23:37                         ` Roland Volkmann
2016-03-30  2:15                           ` Marek Lindner
2016-03-30  8:00                           ` Sven Eckelmann
2016-03-30  9:09                             ` Roland Volkmann
2016-03-30 12:23                         ` Sven Eckelmann
2016-03-30 11:58                   ` Simon Wunderlich
2016-03-30 13:58                     ` Adrian Reyer [this message]
2016-03-30 16:08                       ` Sven Eckelmann
2016-03-30 19:55                         ` Adrian Reyer
2016-03-31 12:11                       ` Simon Wunderlich
2016-03-31 12:21                         ` Simon Wunderlich
2016-03-31 15:54                           ` Antonio Quartulli
2016-03-31 16:25                           ` Linus Lüssing
2016-03-31 15:35                         ` Linus Lüssing
2016-03-31 15:49                           ` Antonio Quartulli
2016-03-31 16:53                             ` Linus Lüssing
2016-03-31 16:01                         ` Antonio Quartulli
2016-03-31 17:17                           ` Linus Lüssing
2016-04-13 12:17                         ` Simon Wunderlich
2016-04-13 12:22                           ` Sven Eckelmann
2016-03-29  0:02               ` Linus Lüssing
2016-03-29  6:38                 ` Roland Volkmann
2016-03-30  8:08                 ` Simon Wunderlich

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=20160330135842.GA19985@r2d2.s.lihas.de \
    --to=are@lihas.de \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=sw@simonwunderlich.de \
    /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