Project

General

Profile

Actions

Task #1620

closed

NullFace and reserved FaceId

Added by Junxiao Shi almost 10 years ago. Updated almost 10 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 1 (0 open1 closed)

Related to NFD - Task #1622: Special FaceId for ContentStoreClosedJunxiao Shi

Actions
Actions #1

Updated by Junxiao Shi almost 10 years ago

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

Updated by Junxiao Shi almost 10 years ago

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

Updated by Junxiao Shi almost 10 years ago

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

Updated by Davide Pesavento almost 10 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?

Actions #5

Updated by Junxiao Shi almost 10 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).

Actions #6

Updated by Junxiao Shi almost 10 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF