[ndnSIM] Producer as Forwarder

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Thu Mar 1 09:01:20 PST 2018


Hi,

I am not aware of what exactly you are trying to do, but I do not think it is correct for producers to receive an Interest that does not contain a prefix that has been registered by them.

Given that you work on a wireless setup, I guess you have encountered the issue that the first hop forwarder will not further forward the Interest. This has to do with the fact that you have a single face on this node and the Interest cannot be forwarded through the same face it was received unless it is received by the application and the application explicitly sends it out again. This can be solved in 2 ways. A quick workaround is this one:

https://github.com/4th-ndn-hackathon/ndnSIM-Mobile-Simulation-Package/commit/cadcfc41ff1b6bed617f700f822507c4dcd0f63c#diff-1a4db57f4023b0a643984ca81a91b1c8R386 <https://github.com/4th-ndn-hackathon/ndnSIM-Mobile-Simulation-Package/commit/cadcfc41ff1b6bed617f700f822507c4dcd0f63c#diff-1a4db57f4023b0a643984ca81a91b1c8R386>

A systematic approach to deal with that is to create an application on intermediate nodes that will act as a consumer and producer at the same time in the sense that it will receive all the Interests and re-express them.

Thanks,

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA

> On Feb 28, 2018, at 8:49 PM, Iel Cadence <ielumiere97 at gmail.com> wrote:
> 
> Good day! 
> I was wondering if, in a wireless scenario, I can make a producer (say, Producer A) forward an interest to other producers if the interest it received is not for Producer A?
> Thanks in advance!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180301/052ef77f/attachment.html>


More information about the ndnSIM mailing list