From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Mon, 14 May 2012 17:15:27 +0800 References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201205141715.27604.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] Possible OGM forwarding misbehavior Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking Hi, > incidentally I noticed that with the modification that introduced the > 'NOT_BEST_NEXT_HOP' flag only OGM coming from best next hop neighbour > are forwarded in case of multi-hop originators. > > The problem is that in the routing code it is forwarded only the first OGM > received with a fresh sequence number (that could be received from a > sub-optimal router). > > This means that if the OGM from best next hop neighbour is not received as > the first OGM, it is not forwarded and I think this can be a problem. > > Maybe it can be better to maintain also an index of the last FORWARDED > sequence number instead of checking the last RECEIVED sequence number. do you mind sending a patch for this ? That would make it easier to understand what you have in mind. Regards, Marek