Actions
Bug #1556
closedForwarder repeats Data received from multicast group
Start date:
04/29/2014
Due date:
% Done:
100%
Estimated time:
4.00 h
Description
Topology: A,B,C connected on the same Ethernet switch
Steps to reproduce:
- run Wireshark or tcpdump to observe traffic
- start NFD on A,B,C with UDP multicast enabled
- on host B, run ndn-traffic-server to server
ndn:/test-mcast
- on host A, add FIB entry
ndn:/test-mcast
toward UDP multicast face - on host A, run ndn-tlv-peek to request
ndn:/test-mcast/B/1
Actual: after B sends a Data packet to the multicast group, C repeats the Data packet to the multicast group
Expected: C does not repeat the Data packet
Relevant log lines from C:
1398806704.842483 DEBUG: [Forwarder] onIncomingInterest face=3 interest=/test-mcast/B/1
1398806704.842640 DEBUG: [Forwarder] onInterestReject interest=/test-mcast/B/1
1398806704.852856 DEBUG: [Forwarder] onIncomingData face=3 data=/test-mcast/B/1
1398806704.853038 DEBUG: [Forwarder] onIncomingData matching=/test-mcast/B/1
1398806704.853153 DEBUG: [Strategy] beforeSatisfyPendingInterest pitEntry=/test-mcast/B/1 inFace=3 data=/test-mcast/B/1
1398806704.853318 DEBUG: [Forwarder] onOutgoingData face=3 data=/test-mcast/B/1
Updated by Junxiao Shi over 10 years ago
- Estimated time set to 4.00 h
This problem is caused by:
- C receives the Interest but cannot forward it, so BestRouteStrategy rejects it
- PIT entry is kept for loop detection purpose "for a short while"
- matching Data arrives
- C thinks the PIT entry is still active, and does not check whether inFace equals pending downstream
- Data is sent
Updated by Junxiao Shi over 10 years ago
- Priority changed from Normal to Urgent
Similar problem exists for unicast face.
1400047223.669974 DEBUG: [Forwarder] onIncomingData face=6 data=/P/ping/0/600
1400047223.670158 DEBUG: [Forwarder] onIncomingData matching=/P/ping/0/600
1400047223.670429 DEBUG: [Forwarder] onOutgoingData face=4 data=/P/ping/0/600
1400047223.670491 DEBUG: [Forwarder] onOutgoingData face=6 data=/P/ping/0/600
Updated by Junxiao Shi over 10 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 70
Fixed in a private branch.
Will upload after #1596 is approved.
Updated by Junxiao Shi over 10 years ago
- Status changed from Resolved to Code review
Updated by Junxiao Shi over 10 years ago
- Status changed from Code review to Closed
- % Done changed from 70 to 100
Actions