Files
ndn-tools/tests/dump/README.md
T
Junxiao Shi 022bddf47d dump: recognize LINUX_SLL link-type
refs #3061

Change-Id: Idf50a70f17a1c9ffedbed5697ca11070d35e95a3
2016-11-24 23:15:20 +00:00

1.2 KiB

Testing Instructions

This folder contains a tcpdump trace that can be used to manually check the correctness of ndndump.

Test Cases / Trace File Description

1. NDNLPv2 NACK

Trace file: nack.pcap

Trace summary: Six IPv4 UDP packets, carrying NDN interests and NACK packets. Twelve IPv4 TCP packets, carrying NDN interests and NACK packets.

Expected result of the capture:

  • 3 NDN interests are captured with UDP tunnel type.

  • 3 NACKs are captured with UDP tunnel type and the NACK reasons:

    • Congestion
    • Duplicate
    • None
  • 3 NDN interests are captured with TCP tunnel type.

  • 4 NACKs are captured with TCP tunnel type and the NACK reasons:

    • Congestion
    • Duplicate
    • None
    • None

Trace file: LINUXSLL-udp4.pcap LINUXSLL-udp6.pcap LINUXSLL-tcp4.pcap LINUXSLL-tcp6.pcap

These traces are captured inside an OpenVZ container which uses LINUX_SLL (Linux cooked) link-type.

Expected result: Some Interests and Data should be displayed from udp4 and tcp4 traces. Currently nothing is displayed from udp6 and tcp6 traces because ndndump lacks IPv6 support until Feature 3861.