Lotterleben / AODVv2-Draft

0 stars 0 forks source link

RREP plausibility check #3

Closed Lotterleben closed 8 years ago

Lotterleben commented 8 years ago

-14 says

  1. If this RREP does not correspond to a RREQ generated or regenerated in the last RREQ_WAIT_TIME, ignore for further processing.

But it doesn't specify how to determine that the RREP corresponds to a RREQ (or not)– fix that.

Lotterleben commented 8 years ago

Idea (by Vicky)– turn Multicast Route Message Table into a "sent message table":

Incoming messages can be compared (just maybe in a slightly different way) to see if we already sent one that matches, rather than if we already received one that matches. Only a slight difference I think (I hope).

Lotterleben commented 8 years ago

Afaik we fixed this, I'll look for the proper commits later

Lotterleben commented 8 years ago

Yup, draft now says:

1. If the Multicast Route Message Set does not contain an entry where:

* RteMsg.OrigPrefix == RREP.OrigPrefix
* RteMsg.OrigPrefixLen == RREP.OrigPrefixLen
* RteMsg.TargAddr exists within RREP.TargPrefix
* RteMsg.OrigSeqNum <= RREP.OrigSeqNum
* RteMsg.MetricType == RREP.MetricType
* RteMsg.Timestamp > CurrentTime - RREQ_WAIT_TIME
* RteMsg.Interface == The interface on which the RREP was received

ignore this RREP for further processing, since it does not correspond to a previously sent RREQ.
charliep51 commented 8 years ago

Hello folks,

It's O.K. to provide these details but if they were not provided the original specification would still be O.K. In other words, "If this RREP does not correspond to a RREQ generated or regenerated in the last RREQ_WAIT_TIME, ignore for further processing" is pretty unambiguous and now we are being asked to write the program.

Regards, Charlie P.

On 5/17/2016 12:03 PM, Lotte Steenbrink wrote:

Yup, draft now says:

|1. If the Multicast Route Message Set does not contain an entry where:

  • RteMsg.OrigPrefix == RREP.OrigPrefix * RteMsg.OrigPrefixLen == RREP.OrigPrefixLen * RteMsg.TargAddr exists within RREP.TargPrefix * RteMsg.OrigSeqNum <= RREP.OrigSeqNum * RteMsg.MetricType == RREP.MetricType * RteMsg.Timestamp > CurrentTime - RREQ_WAIT_TIME * RteMsg.Interface == The interface on which the RREP was received ignore this RREP for further processing, since it does not correspond to a previously sent RREQ. |

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/Lotterleben/AODVv2-Draft/issues/3#issuecomment-219820370