From: "Martin Hundebøll" <martin@hundeboll.net>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@lists.open-mesh.org>
Cc: Sven Eckelmann <sven@narfation.org>
Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Use safer default config for optional features
Date: Wed, 18 Feb 2015 18:18:28 +0100 [thread overview]
Message-ID: <54E4C964.5050304@hundeboll.net> (raw)
In-Reply-To: <3583975.lz5Xt4SSRR@voltaire>
Hi Sven, Marek,
On 2015-02-18 08:33, Marek Lindner wrote:
> On Thursday, February 05, 2015 17:22:53 Sven Eckelmann wrote:
>> The current default settings for optional features in batman-adv seems to be
>> based around the idea that the user only compiles what he requires. They
>> will automatically enabled when they are compiled in. For example the
>> network coding part of batman-adv is by default disabled in the out-of-tree
>> module but will be enabled when the code is compiled during the module
>> build.
>>
>> But distributions like Debian just enable all features of the batman-adv
>> kernel module and hope that more experimental features or features with
>> possible negative effects have to be enabled using some runtime
>> configuration interface.
>
> Interesting point. Based on what you are saying we definitely should review our
> policy and agree on sane defaults.
Sane defaults have always been one of the great values of batman-adv...
>> The network_coding feature can help in specific setups but also has
>> drawbacks and is not disabled by default in the out-of-tree module.
>> Disabling by default in the runtime config seems to be also quite sane.
>
> This feature requires the wifi driver to support promisc mode. We should keep
> it disabled.
I think the problem Sven mentions, is that some distro's build their
kernels with all_yes, and so network coding is always built in. Since NC
is enabled by default (runtime) when compiled in, it may run even when
promisc mode is not enabled/supported.
So I suggest NC being disabled runtime by default.
>> The distributed_arp_table is in theory a good solution to reduce connection
>> problems in large networks caused by ARP packet loss. Unfortunatelly, it
>> seems to also break ARP resolution in simple mesh setups. The only solution
>> which seems to be used by AP firmwares seems to be the deactivation of this
>> feature. Disabling this feature by default until the problem was understood
>> and fixed may help new deployments to create a working mesh. Tuning of the
>> mesh can still be done by them in case DAT works in their setup.
>
> I vote for keeping DAT enabled.
++
>> The bridge_loop_avoidance is the only feature which is disabled by default
>> but may be necessary even in simple setups. Packet loops may even be
>> created during the initial node setup when this is not enabled. This is
>> different than STP on bridges because mesh is usually used on Adhoc WiFi.
>> Having two nodes (by accident) in the same LAN segment and in the same mesh
>> network is rather common in this situation.
>
> Agreed.
++
--
Kind Regards,
Martin Hundebøll
Frederiks Allé 99A, 1.th
8000 Aarhus C
+45 61 65 54 61
martin@hundeboll.net
prev parent reply other threads:[~2015-02-18 17:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-05 16:22 [B.A.T.M.A.N.] [PATCH] batman-adv: Use safer default config for optional features Sven Eckelmann
2015-02-06 7:26 ` Antonio Quartulli
2015-02-06 12:38 ` Sven Eckelmann
2015-02-06 13:20 ` Antonio Quartulli
2015-02-07 7:27 ` Sven Eckelmann
2015-02-07 8:58 ` Antonio Quartulli
2015-02-18 7:33 ` Marek Lindner
2015-02-18 17:18 ` Martin Hundebøll [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=54E4C964.5050304@hundeboll.net \
--to=martin@hundeboll.net \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=sven@narfation.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