[Ndn-interest] Request for NDN Primer

Mohammad Ishfaque Jahan Rafee mij.rafee.1344 at gmail.com
Fri Jan 10 07:29:21 PST 2020

Hi Junxiao,
I tried running the nfdc cs /Rafee/my-second-packet command. However, the
system outputs No such command: cs /Rafee/my-second-packet . But
interestingly I can see the manpages for nfdc-cs. For your information, I
installed the tools from apt repositories. I didn't compile from source.

On Thu, Jan 9, 2020 at 5:44 PM Junxiao Shi <shijunxiao at email.arizona.edu>

> Hi Rafee
> I transferred the content using ndncat. I tried to do a binary comparison,
>> as there's no way to play the video on the server. However, I think there's
>> some overhead like segment inside the mp4 file transferred by ndn. Other
>> than that, the file transferred successfully.
> There's still some problems with logging in ndncat command, such as some
> logs are written to stdout and showing up in output files. I still need to
> improve in this area.
> For now, remove NDNTS_PKTTRACE=1 from the command line and try again.
> After that, the output file should binary equal the input file. It should
> not contain log messages or packet headers.
>> When I check https://nlsr-status.netlify.com/, I can't find my content
>> at /Rafee/my-second-packet/33=%00. However, when I try the command ndnpeek
>> -p /Rafee/my-second-packet/33=%00, it produces the following output Rafee's
>> first packet. Where is it being served from? Is it being served locally?
>> If yes, how to purge the local cache?
> The prefix announce would be named /Rafee/my-second-packet, and does not
> contain the segment number.
> If the producer is not running, the prefix announce disappears within 10
> minutes.
> ndnpeek connects to local NFD and may use local cache. ndncat does not use
> local cache unless you ask it to connect to local NFD.
> To delete Data from local NFD cache, execute nfdc cs
> /Rafee/my-second-packet command.
>> Also, how to set a lifetime for content?
> Data packet does not have lifetime limit. It is valid forever and may stay
> in caches indefinitely. To transfer a different file, choose a different
> name prefix.
> ndncat does not fully support version discovery yet, so that the commands
> I gave do not automatically add version number in the name. I still need to
> improve in this area.
> And more importantly, How do I find this information without bothering you
>> over email?
> You may also post on Twitter with hashtag #NDNts
> <https://twitter.com/hashtag/NDNts?f=live> .
> Yours, Junxiao
>> On Thu, Jan 9, 2020 at 1:12 PM Junxiao Shi <shijunxiao at email.arizona.edu>
>> wrote:
>>> If you just want to transfer a video file, you can still use ndncat
>>> <https://github.com/yoursunny/NDNts/tree/284d3d9f0b6b8c83a746e763d09ab00637f2d5a4/packages/cat>.
>>> ndncat put reads from standard input, and ndncat get writes to standard
>>> output. Thus, you can do something like:
>>> savi.testbed.named-data.net:6363 NDNTS_PKTTRACE=1 ndncat put
>>> /Rafee/my-video.mp4 --ver=none  < my-video.mp4
>>> NDNTS_UPLINK=udp://savi.testbed.named-data.net:6363 NDNTS_PKTTRACE=1
>>> ndncat get /Rafee/my-video.mp4 --ver=none > my-video.mp4
>>> However, currently the producer would buffer all Data packets in memory,
>>> so that you can only transfer small files (500MB is fine on a 8GB
>>> laptop, maybe more).

Best Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20200110/40a1d12f/attachment.html>

More information about the Ndn-interest mailing list