[ndnSIM] encryption in ndnSim

Alex Afanasyev alexander.afanasyev at ucla.edu
Wed Apr 30 21:06:31 PDT 2014


Hi Leonid,

My opinion on this is that it doesn't make sense to run actual encryption.  Since it is simulation, you can always know which packet is "good" and which is "bad" (either with some evil bit or some other way).  Just in case, with Data::SetSignature in ndnSIM you can easily implement the "evil bit" approach in your simulation scenario.

Moreover, NS-3 normally passes around packets with virtual payload.  This payload is not actual data, but just a counter, tracking how much data is in the payload.  If you would do signing/encryption, then you would have to pass around actual packets, which could have significant impact on memory.

On Apr 30, 2014, at 3:28 AM, L.Zeynalvand <zeynalvand at ce.sharif.edu> wrote:

> Hi All,
> To simulate protocols which use encryption, does it make any difference to actually encrypt the payload and decrypt it on the other side? I guess it will make the simulation significantly slower and won't affect the final simulation results since (again as I guess) it is transparent to current version of ndnSim.
> 
> Best Regards.
> 
> -- 
> Leonid Zeynalvand
> M.Sc Information Technology
> Sharif University of Technology




More information about the ndnSIM mailing list