Project

General

Profile

Task #1620

NullFace and reserved FaceId

Added by Junxiao Shi over 5 years ago. Updated about 5 years ago.

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

100%

Estimated time:
3.00 h

Description

Develop a NullFace which has no underlying transport and drops every outgoing packet.

Modify FaceTable FaceId assignment algorithm:

  • FaceId 1~255 are reserved for special faces such as InternalFace and NullFace
  • Ordinary faces are assigned FaceIds of 256 or above

Purpose: a blackhole FIB entry can be created by adding the well-known FaceId of the NullFace as its sole nexthop.


Related issues

Related to NFD - Task #1622: Special FaceId for ContentStoreClosed

History

#1 Updated by Junxiao Shi over 5 years ago

  • Related to Task #1622: Special FaceId for ContentStore added

#2 Updated by Junxiao Shi about 5 years ago

  • Status changed from New to In Progress
  • Assignee set to Junxiao Shi
  • Target version set to v0.3

#3 Updated by Junxiao Shi about 5 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 0 to 100

#4 Updated by Davide Pesavento about 5 years ago

Junxiao Shi wrote:

  • FaceId 1~255 are reserved for special faces such as InternalFace and NullFace

Why are we not using FaceId == 0 for anything?

#5 Updated by Junxiao Shi about 5 years ago

Why are we not using FaceId == 0 for anything?

The assignment is arbitrary.

It's better to leave 0 unassigned, just like IANA reserves the first and last block of class C IP addresses (until CIDR is introduced).

#6 Updated by Junxiao Shi about 5 years ago

  • Status changed from Code review to Closed

Also available in: Atom PDF