[Nfd-dev] problem with ndndump

Davide Pesavento davide.pesavento at lip6.fr
Wed Nov 29 15:02:12 PST 2017


I'm not familiar with ndndump, but I guess it means that one fragment of a
fragmented UDP packet was received. This should be IP-layer fragmentation,
not NDNLP fragmentation.

Best,
Davide

On Wed, Nov 29, 2017, 2:46 PM Gusev, Peter <peter at remap.ucla.edu> wrote:

> hi Davide,
>
> thanks, specifying “—enable-dump” helped.
>
> quick question regarding ndndump output:
>
> 1511984531.711156 From: 131.179.142.7, To: 131.179.142.116, Tunnel Type:
> UDP, INTEREST:
> /icear/user/peter/ndnrtc/%FD%02/video/back_camera/vp9/d/%FE%02e/%00%00?ndn.MustBeFresh=1&ndn.InterestLifetime=5000&ndn.Nonce=2149395040
> 1511984531.711331 From: 131.179.142.7, To: 131.179.142.116, Tunnel Type:
> UDP, INTEREST:
> /icear/user/peter/ndnrtc/%FD%02/video/back_camera/vp9/d/%FE%02e/_parity/%00%00?ndn.MustBeFresh=1&ndn.InterestLifetime=5000&ndn.Nonce=443621429
> 1511984531.711479 From: 131.179.142.7, To: 131.179.142.116, Tunnel Type:
> UDP, INTEREST:
> /icear/user/peter/ndnrtc/%FD%02/video/back_camera/vp9/d/%FE%02e/_manifest?ndn.ChildSelector=1&ndn.MustBeFresh=1&ndn.InterestLifetime=3000&ndn.Nonce=376186663
> 1511984531.719431 From: 131.179.142.116, To: 131.179.142.7, Tunnel Type:
> UDP, INCOMPLETE-PACKET, size: 1472
> 1511984531.778902 From: 131.179.142.116, To: 131.179.142.7, Tunnel Type:
> UDP, DATA:
> /icear/user/peter/ndnrtc/%FD%02/video/back_camera/vp9/d/%FE%02%60/_manifest/%FD%00/%00%00
> 1511984531.825865 From: 131.179.142.116, To: 131.179.142.7, Tunnel Type:
> UDP, DATA:
> /icear/user/peter/ndnrtc/%FD%02/video/back_camera/vp9/d/%FE%02a/%00%00
> 1511984531.853778 From: 131.179.142.116, To: 131.179.142.7, Tunnel Type:
> UDP, INCOMPLETE-PACKET, size: 1472
> 1511984531.854726 From: 131.179.142.116, To: 131.179.142.7, Tunnel Type:
> UDP, DATA:
> /icear/user/peter/ndnrtc/%FD%02/video/back_camera/vp9/d/%FE%02a/_manifest/%FD%00/%00%00
>
>
> how one should interpret “*INCOMPLETE-PACKET*” entry?
>
> Thanks,
>
> --
> Peter Gusev
>
>
>
> *peter at remap.ucla.edu <peter at remap.ucla.edu> +1 213 5872748 *
>
> *Research Scholar @ **REMAP UCLA* <http://remap.ucla.edu/>
> * Video streaming/ICN networks/Creative Development*
>
> On Nov 28, 2017, at 7:24 PM, Davide Pesavento <davide.pesavento at lip6.fr>
> wrote:
>
> Hi Peter,
>
> Generally speaking, if you build the master branch of ndn-tools from
> git, you need to use the master branch of ndn-cxx as well. There is no
> guarantee that it will work with an earlier release. If you prefer to
> use the official release, ndn-tools-0.5 should work with ndn-cxx-0.6.
>
> Note that you can use ./waf configure --enable-dump to build only ndndump.
>
> Best,
> Davide
>
> On Tue, Nov 28, 2017 at 5:22 PM, Gusev, Peter <peter at remap.ucla.edu>
> wrote:
>
> I’m getting Segmentation fault when using ndndump to capture packets, not
> sure why:
>
> $ sudo ndndump -i eno1 -f .*ndnrtc.*
> Segmentation fault (core dumped)
>
>
> $ ndndump --version
> ndndump 0.4-24-g11e74eb
> Segmentation fault (core dumped)
>
>
> I installed ndn-cxx using PPA.
> However, neither master branch of ndn-tools nor tag ndn-tools-0.5 builds:
>
>
> $ ./waf
> Waf: Entering directory `/home/peter/ndn-tools/build'
> [ 2/38] Compiling build/core/version.cpp
> [ 3/38] Compiling tools/peek/ndnpeek/ndnpeek.cpp
> [15/38] Compiling tools/ping/server/tracer.cpp
> [16/38] Compiling tools/ping/server/ndn-ping-server.cpp
> [17/38] Compiling tools/chunks/catchunks/aimd-rtt-estimator.cpp
> [18/38] Compiling tools/chunks/catchunks/aimd-statistics-collector.cpp
> [19/38] Compiling tools/chunks/catchunks/consumer.cpp
> [20/38] Compiling tools/chunks/catchunks/data-fetcher.cpp
> [21/38] Compiling tools/chunks/catchunks/discover-version-fixed.cpp
> [22/38] Compiling tools/chunks/catchunks/discover-version-iterative.cpp
> [23/38] Compiling tools/chunks/catchunks/discover-version.cpp
> [25/38] Compiling tools/chunks/catchunks/pipeline-interests-aimd.cpp
> [26/38] Compiling
> tools/chunks/catchunks/pipeline-interests-fixed-window.cpp
> ../tools/peek/ndnpeek/ndnpeek.cpp: In member function ‘ndn::Interest
> ndn::peek::NdnPeek::createInterest() const’:
> ../tools/peek/ndnpeek/ndnpeek.cpp:83:14: error: ‘class ndn::Interest’ has
> no
> member named ‘setForwardingHint’
>     interest.setForwardingHint(m_options.link->getDelegationList());
>              ^
> ../tools/peek/ndnpeek/ndnpeek.cpp:83:48: error: ‘class ndn::Link’ has no
> member named ‘getDelegationList’
>     interest.setForwardingHint(m_options.link->getDelegationList());
>                                                ^
>
> ../tools/chunks/catchunks/pipeline-interests-aimd.cpp: In member function
> ‘void ndn::chunks::aimd::PipelineInterestsAimd::handleData(const
> ndn::Interest&, const ndn::Data&)’:
> ../tools/chunks/catchunks/pipeline-interests-aimd.cpp:252:12: error: ‘const
> class ndn::Data’ has no member named ‘getCongestionMark’
>   if (data.getCongestionMark() > 0) {
>            ^
> ../tools/chunks/catchunks/pipeline-interests-aimd.cpp:261:69: error: ‘const
> class ndn::Data’ has no member named ‘getCongestionMark’
>           std::cerr << "Received congestion mark, value = " <<
> data.getCongestionMark()
>                                                                     ^
>
> Waf: Leaving directory `/home/peter/ndn-tools/build'
> Build failed
> -> task in 'peek-ndnpeek-objects' failed (exit status 1):
> {task 139814901679312: cxx ndnpeek.cpp -> ndnpeek.cpp.1.o}
> ['/usr/bin/g++', '-O2', '-g', '-pedantic', '-Wall', '-Wextra',
> '-Wnon-virtual-dtor', '-Wno-unused-parameter', '-fdiagnostics-color',
> '-std=c++11', '-pthread', '-pthread', '-I/home/peter/ndn-tools/build',
> '-I/home/peter/ndn-tools', '-I/usr/include', '-DHAVE_INTTYPES_H=1',
> '-DHAVE_STDINT_H=1', '-DHAVE_SYS_BITYPES_H=1', '-DHAVE_SYS_TYPES_H=1',
> '-DNDEBUG', '-DHAVE_NDN_CXX=1', '../tools/peek/ndnpeek/ndnpeek.cpp', '-c',
> '-o', '/home/peter/ndn-tools/build/tools/peek/ndnpeek/ndnpeek.cpp.1.o']
> -> task in 'ndncatchunks-objects' failed (exit status 1):
> {task 139814901799184: cxx pipeline-interests-aimd.cpp ->
> pipeline-interests-aimd.cpp.1.o}
> ['/usr/bin/g++', '-O2', '-g', '-pedantic', '-Wall', '-Wextra',
> '-Wnon-virtual-dtor', '-Wno-unused-parameter', '-fdiagnostics-color',
> '-std=c++11', '-pthread', '-pthread', '-I/home/peter/ndn-tools/build',
> '-I/home/peter/ndn-tools', '-I/usr/include', '-DHAVE_INTTYPES_H=1',
> '-DHAVE_STDINT_H=1', '-DHAVE_SYS_BITYPES_H=1', '-DHAVE_SYS_TYPES_H=1',
> '-DNDEBUG', '-DHAVE_NDN_CXX=1',
> '../tools/chunks/catchunks/pipeline-interests-aimd.cpp', '-c', '-o',
>
> '/home/peter/ndn-tools/build/tools/chunks/catchunks/pipeline-interests-aimd.cpp.1.o']
>
>
>
> Thanks,
>
> --
> Peter Gusev
>
> peter at remap.ucla.edu
> +1 213 5872748
>
> Research Scholar @ REMAP UCLA
> Video streaming/ICN networks/Creative Development
>
>
> _______________________________________________
> Nfd-dev mailing list
> Nfd-dev at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
>
>
> _______________________________________________
> Nfd-dev mailing list
> Nfd-dev at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20171129/f38e5800/attachment.html>


More information about the Nfd-dev mailing list