[ndnSIM] [EXT] Create new Interest and new Data from existing ones
pfang at umass.edu
Mon Apr 26 16:19:22 PDT 2021
You have done me a huge favor!
I have been working on coming up with a better idea to avoid the potential problems you have pointed out.
It helps a lot. Thank you.
> On Apr 25, 2021, at 3:08 PM, Junxiao Shi <shijunxiao at email.arizona.edu> wrote:
> Hi Puming
> I see two problems:
> 🔸 Who's signing the new Data? Applications would not work correctly if you break the signature.
> 🔸 If the original Interest name ends with an implicit digest component, how to create the new Interest? A direct transformation would not match the transformed Data.
> If you are trying to encapsulate the Data, you can set the wire encoding of the original Data as the payload of the original Data.
> However, this is incompatible with implicit digest.
> If the purpose is to affect forwarding, have a look into forwarding hint, which is the standard solution to "forward /a/b according to FIB entry /b".
> It not only preserves the signature, but also is compatible with implicit digest.
> Yours, Junxiao
> On Sun, Apr 25, 2021 at 11:18 Puming Fang <pfang at umass.edu <mailto:pfang at umass.edu>> wrote:
> Dear NDN team,
> I hope you are doing great!
> It’s me again. To move forward with my research work on NDN, I need to create new Interest and new Data from existing ones.
> Currently I am writing two applications for a specific node.
> 1. When the node receives Interest "/a/b”, it removes “/a” from “/a/b” and sends out the new Interest “/b” to request Data.
> 2. When the node receives Data “/b”, it adds “/a” to the Data “/b”, therefore, the Data is changed to “/a/b”. Then it sends out the Data “/a/b”.
> I have two questions. Any guidance would be greatly appreciated.
> 1. How to create new Interest and new Data from existing ones?
> 2. Since this node is both consumer and producer, would you recommend me to write one application that include these two functions or two separate applications and install them on one node?
> Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM