https://redmine.named-data.net/https://redmine.named-data.net/favicon.ico?14759811232015-06-06T09:37:08ZNDN project issue tracking systemNFD - Feature #2856: Confine registered prefix within identityhttps://redmine.named-data.net/issues/2856?journal_id=103082015-06-06T09:37:08ZJunxiao Shi
<ul></ul><p>20150605 conference call concludes that ndn-cxx <strong>ValidatorConfig</strong> or its successor <strong>trust schema</strong> is incapable of implementing this confinement, because registered prefix is part of <code>CommandParameters</code> struct that is encoded into a NameComponent, and ValidatorConfig or trust schema is unable to understand or decode this struct.</p>
<p>There are two possible solutions:</p>
<ul>
<li>Change <a class="wiki-page" href="https://redmine.named-data.net/projects/nfd/wiki/ControlCommand">ControlCommand</a> or <a class="wiki-page" href="https://redmine.named-data.net/projects/nfd/wiki/RibMgmt">RibMgmt</a> protocol so that the prefix is exposed as multiple NameComponents, such as:
<code>/localhop/nfd/rib/register/org/example/my-prefix/<other-parameters>/<signature></code>.
The trust schema would be able to match the prefix.</li>
<li>Implement the confinement in <code>RibManager</code> code.</li>
</ul>
<p>It's decided to take the second approach, in order to avoid the major protocol change which would affect all client libraries and applications.<br><br>
It's also noted that, with the <strong>Management Dispatcher</strong> design (<a class="issue tracker-3 status-5 priority-2 priority-default closed" title="Task: Design dispatch mechanism for Management (Closed)" href="https://redmine.named-data.net/issues/2200">#2200</a>), a custom authorization function can be specified for rib/register and rib/unregister commands, which allows easy implementation of the confinement in code.</p>
NFD - Feature #2856: Confine registered prefix within identityhttps://redmine.named-data.net/issues/2856?journal_id=103122015-06-06T09:38:37ZJunxiao Shi
<ul><li><strong>Blocked by</strong> <i><a class="issue tracker-3 status-5 priority-2 priority-default closed" href="/issues/2857">Task #2857</a>: Refactor RibManager to use ManagementDispatcher</i> added</li></ul> NFD - Feature #2856: Confine registered prefix within identityhttps://redmine.named-data.net/issues/2856?journal_id=161572016-07-18T17:05:04ZJunxiao Shi
<ul><li><strong>Blocked by</strong> <i><a class="issue tracker-1 status-5 priority-2 priority-default closed" href="/issues/2063">Bug #2063</a>: CommandValidator uses deprecated CommandInterestValidator</i> added</li></ul>