Project

General

Profile

Actions

Task #1559

closed

Enable wildcard in authorize section of NFD configuration file

Added by Yingdi Yu over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Management
Target version:
Start date:
04/29/2014
Due date:
% Done:

100%

Estimated time:

Description

The authorize section in NFD configuration specifies how to validate NFD command interest.
For some NFD command interest (such as Face management), validation may not be required.
Therefore it would be desired to support wildcard in the authorize section.
An example would be:

authorize
{
  certfile any
  privileges
  {
    faces
  }
}

Since NFD use CommandInterestValidator, this change also requires CommandInterestValidator to support wildcard.

Actions #1

Updated by Junxiao Shi over 10 years ago

  • Description updated (diff)

All ControlCommands SHOULD be validated.

If some operation does not need validation, it SHOULD NOT be designed as a ControlCommand.

Actions #2

Updated by Alex Afanasyev over 10 years ago

Yes. Nobody argues that they "should". The other thing is that we should have a simple ability to turn this validation off, at least for the initial roll out.

This issue is to make sure we have consistent dumb (no-verify) behavior for RIB management and and other FIB management tasks (another option would be to switch FIB authorization to validator-config, but I would expect this to take much longer that this simple hack).

Actions #3

Updated by Alex Afanasyev over 10 years ago

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

Updated by Alex Afanasyev over 10 years ago

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

Updated by Yingdi Yu over 10 years ago

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

Updated by Alex Afanasyev over 10 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF