public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven@narfation.org>
To: Antonio Quartulli <antonio@meshcoding.com>
Cc: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Use safer default config for optional features
Date: Sat, 07 Feb 2015 08:27:29 +0100	[thread overview]
Message-ID: <54743686.1YRlhzGWHK@sven-edge> (raw)
In-Reply-To: <54D4BF9C.5010409@meshcoding.com>

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

On Friday 06 February 2015 14:20:28 Antonio Quartulli wrote:
> To me this looks like the caching effect of DAT: bat0 is likely to
> change MAC address everytime you recreate the interface (unless you
> statically assign the MAC) therefore I presume that the other node (the
> one which did not reboot) was still caching the old bat0 MAC address
> (each entry requires some minutes before being invalidated/refreshed).

Thanks for the explanation.

So you are basically saying that DAT cannot detect when some nodes found a 
conflict in their ARP table (when receiving IP packets with a different MAC 
for an IP or similar things)? And there is also the problem when no local 
information is stored and only a conflict with some data data on another 
unrelated node is happened.

The first conflict (the conflict in the local ARP table) is not detected 
because David wanted that batman-adv isn't accessing the ARP table?

> This means that any communication willing to contact the rebooted node
> was targetting the old address and therefore the two were not be able
> talk until the cache was refreshed.
> 
> Can this be the case?

Yes, unfortunately I hadn't the time to analyze it further and have no logs of 
any similar problem. Thats why I cannot check if this is contradicted by 
anything I've done (or not done). So it is a very plausible scenario which 
you've described.

Maybe Marek can tell me more why he chose to disable it.

Kind regards,
	Sven

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2015-02-07  7:27 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 [this message]
2015-02-07  8:58         ` Antonio Quartulli
2015-02-18  7:33 ` Marek Lindner
2015-02-18 17:18   ` Martin Hundebøll

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=54743686.1YRlhzGWHK@sven-edge \
    --to=sven@narfation.org \
    --cc=antonio@meshcoding.com \
    --cc=b.a.t.m.a.n@lists.open-mesh.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