* [B.A.T.M.A.N.] Possible OGM forwarding misbehavior
[not found] <CAG7VhQSjyQRtCZfC9FUr1f+Fxg6mdwFfBJZOyXowhmW7r+a-eA@mail.gmail.com>
@ 2012-05-13 8:56 ` Daniele Furlan
2012-05-14 9:15 ` Marek Lindner
0 siblings, 1 reply; 2+ messages in thread
From: Daniele Furlan @ 2012-05-13 8:56 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
Hi all,
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.
Regards
--
Daniele Furlan
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [B.A.T.M.A.N.] Possible OGM forwarding misbehavior
2012-05-13 8:56 ` [B.A.T.M.A.N.] Possible OGM forwarding misbehavior Daniele Furlan
@ 2012-05-14 9:15 ` Marek Lindner
0 siblings, 0 replies; 2+ messages in thread
From: Marek Lindner @ 2012-05-14 9:15 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-14 9:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAG7VhQSjyQRtCZfC9FUr1f+Fxg6mdwFfBJZOyXowhmW7r+a-eA@mail.gmail.com>
2012-05-13 8:56 ` [B.A.T.M.A.N.] Possible OGM forwarding misbehavior Daniele Furlan
2012-05-14 9:15 ` Marek Lindner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox