Project

General

Profile

Actions

Feature #4718

closed

Use exponential retry on nack in CertificateFetcherFromNetwork

Added by Ashlesh Gawande over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Security
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

Currently NLSR uses the CertificateFetcherDirectFetch which presents the following problems:

  • Sends two interests: one to the indicated face in LSA data and one to the network. In NLSR we know there is no route via network that's why we want to use the face id
  • Sends immediate retransmissions upon Nack (there is a todo in the code to "Retry for some amount of time")
  • The number of retransmissions are not tied to a particular certificate but are for the certificate fetcher overall

This is causing NLSR to not able to successfully fetch certificates and having a delayed convergence (illustration of the problem).

To operate correctly and fast, NLSR can use a CertificateFetcherStrictDirectFetch which has the following features:

  • Send only one interest to the specified face
  • Provide retransmission on nack, trying till the specified maximum time per certificate in an increasing interval (exponential or linear) before giving up

Related issues 2 (1 open1 closed)

Related to NLSR - Bug #4712: Slow convergence of Hyperbolic routing in Mini-NDNClosed

Actions
Related to ndn-cxx - Task #4880: Add randomness to exponential retry on Nack in CertificateFetcherFromNetworkNew

Actions
Actions

Also available in: Atom PDF