[ndnSIM] About "ndnSIM format " and " ccnb format"

Alex Afanasyev alexander.afanasyev at ucla.edu
Wed Aug 14 10:59:00 PDT 2013


Hi!

The wireshark plugin does not know how to handle NDN packets that are not encapsulated into TCP or UDP.

There are a couple of things you can do:
1/ (ideal) update wireshark plugin so it knows that PPP protocol 0x0077 means NDN packets and process them exactly as UDP packet payload
2/ use ndndump (https://github.com/cawka/ndndump)
3/ use UDP tunnels in ndnSIM.  It is way harder to set up the simulation this way, but not impossible.  You can basically combine ndn-simple-with-pcap.cc  and ndn-simple-udp.cc scenarios.

---
Alex

On Aug 14, 2013, at 7:23 AM, seugxj <seugxj2012 at 163.com> wrote:

> Hi  Alex,
>    
>   Thank you very much for your answers.  But, I still have a questions as follows:
> I want to use wireshark 1.8.6 to  analysis the traffic file  --- "ndn-simple-with-pcap.pcap "  which is in ccnb format.  
> And I installed  the wireshark 1.8.6 with ccn plugins successfully  as the  README-wireshark-1.8.txt ( https://github.com/ProjectCCNx/ccnx/tree/master/apps/wireshark) indicated. There was no error in  the whole installtion .
> 
> But when I opend the "ndn-simple-with-pcap.pcap " in wireshark 1.8.6, ! The displ ay is as follows:
> 
>     No.   Time        Source           Destination     Protocol Length   Info
>       1   0.000000    N/A                   N/A                   0x0077   33       PPP Unknown (0x0077)
>       2   0.010248    N/A                   N/A                   0x0077   33       PPP Unknown (0x0077)
> &! nbsp;&nbs p;    3   0.020496    N/A                   N/A                   0x0077   1063    PPP Unknown (0x0077)
>       4   0.038984    N/A                   N/A                   0x0077   1063    PPP Unknown (0x0077)
>       5   0.100000    N/A                   N/A              &nb! sp;     0x0077   34        PPP Unknown (0x0077)
>         ..........
> 
> I think this is  not the right display. There must be something did't work  in my wireshark 1.8.6. But  I still can't find the cause after spending  a  long time.  
>  
> I also tried the  wireshark 1.6.2 as README-wireshark-1.6.txt ( https://github.com/ProjectCCNx/ccnx/tree/master/apps/wireshark) indicated. But The display was as the same as before. 
> 
> 
> Can the traffice file "ndn-simple-with-pcap.pcap "  not be viewed  in this way ?
> Could you give me some advice ?
> 
> 
> 
> 
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

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


More information about the ndnSIM mailing list