Re: [B.A.T.M.A.N.] Migration to Batman

Marek Lindner
2012-04-12T22:13:48Z

On Thursday, April 12, 2012 19:10:42 Mitar wrote:
> On Thu, Apr 12, 2012 at 2:00 PM, Antonio Quartulli <ordex@autistici.org>
wrote:
> > but only when the packet format (or something really
> > crucial) is touched.
>
> But couldn't the packet format be made so that unknown values in there
> are simply ignored? And also ignore unknown packet types? So that at
> least connectivity is possible, but not as good as it could be? For
> example, if we have some node which reconnects after a month, it would
> be great that it still is able to connect, so that we can at least
> upgrade it.

Yes, exactly that is on the feature todo list (and more) to ensure better
backward compatibility in the future.

> > exactly. You can add/remove interfaces at run-time. Creating a bridge
> > with all the tunnels would not be good because it would not make
> > batman-adv exploit the interface diversity.
>
> And it would also see all nodes as directly connected together? So:
>
> [nodeA] --- [tunA on server, tunB on server] --- [nodeB]
>
> If I bridge tunA and tunB together, nodeA will think that there is
> only one hop to nodeB, no?

Correct.

Regards,
Marek