public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Marek Lindner <lindner_marek@yahoo.de>
To: 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.] [PATCHv5 2/3] batman-adv: detect not yet announced clients
Date: Tue, 17 Jul 2012 12:43:28 +0200	[thread overview]
Message-ID: <201207171243.28870.lindner_marek@yahoo.de> (raw)
In-Reply-To: <1341524310-26740-1-git-send-email-ordex@autistici.org>

On Thursday, July 05, 2012 23:38:29 Antonio Quartulli wrote:
> With the current TT mechanism a new client joining the network is not
> immediately able to communicate with other hosts because its MAC address
> has not been announced yet. This situation holds until the first OGM
> containing its joining event will be spread over the mesh network.
> 
> This behaviour can be acceptable in networks where the originator interval
> is a small value (e.g. 1sec) but if that value is set to an higher time
> (e.g. 5secs) the client could suffer from several malfunctions like DHCP
> client timeouts, etc.
> 
> This patch adds an early detection mechanism that makes nodes in the
> network able to recognise "not yet announced clients" by means of the
> broadcast packets they emitted on connection (e.g. ARP or DHCP request).
> The added client will then be confirmed upon receiving the OGM claiming it
> or purged if such OGM is not received within a fixed amount of time.
> 
> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
> ---
> 
> Changes since v4:
>  - roam_at was wrongly substituted by added_at in the ..global_to_purge()
>    function
> 
>  main.h              |    1 +
>  packet.h            |    1 +
>  translation-table.c |  125
> ++++++++++++++++++++++++++++++++++++++------------- translation-table.h
> |    4 +-
>  types.h             |    1 +
>  5 files changed, 100 insertions(+), 32 deletions(-)

Applied in revision 724d05c.

Thanks,
Marek

      parent reply	other threads:[~2012-07-17 10:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-05 21:38 [B.A.T.M.A.N.] [PATCHv5 2/3] batman-adv: detect not yet announced clients Antonio Quartulli
2012-07-05 21:38 ` [B.A.T.M.A.N.] [PATCHv5 3/3] batman-adv: change interface_rx to get orig node Antonio Quartulli
2012-07-17 10:43   ` Marek Lindner
2012-07-17 10:43 ` Marek Lindner [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=201207171243.28870.lindner_marek@yahoo.de \
    --to=lindner_marek@yahoo.de \
    --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