Project

General

Profile

Actions

Feature #2181

closed

Disallow unsolicited Data from local apps

Added by Junxiao Shi about 10 years ago. Updated about 8 years ago.

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

100%

Estimated time:
3.00 h

Description

Change Data unsolicited pipeline to reject unsolicited Data from any source.

Currently, unsolicited Data from local applications will be accepted to ContentStore.

Local apps should use InMemoryStorage to manage their own caches, instead of dumping Data into ContentStore.


Files

20160829130802.tgz (177 KB) 20160829130802.tgz integ 3143,2 Junxiao Shi, 08/29/2016 03:26 PM
20160829210541.tgz (176 KB) 20160829210541.tgz integ master 20160829 Junxiao Shi, 08/29/2016 03:27 PM

Related issues 4 (0 open4 closed)

Related to NFD - Feature #2185: Recognize CachingPolicy=NoCacheClosedJunxiao Shi

Actions
Related to NFD - Bug #2407: Local certificate is not publishedDuplicateYanbiao Li01/23/2015

Actions
Blocked by NFD - Feature #2182: InMemoryStorage for managementClosedYanbiao Li

Actions
Blocked by ndn-cxx - Feature #1529: PIB serviceAbandonedYingdi Yu

Actions
Actions #1

Updated by Junxiao Shi about 10 years ago

  • Has duplicate Feature #1814: Secure localhost data retrieval through NFD added
Actions #2

Updated by Junxiao Shi about 10 years ago

Actions #3

Updated by Junxiao Shi about 10 years ago

  • Related to Feature #2185: Recognize CachingPolicy=NoCache added
Actions #4

Updated by Junxiao Shi almost 10 years ago

  • Related to Bug #2407: Local certificate is not published added
Actions #5

Updated by Junxiao Shi almost 10 years ago

Actions #6

Updated by Junxiao Shi almost 10 years ago

#1529 is blocking this because #2407 relies on unsolicited Data to serve certificates used in remote prefix registration. Those unsolicited Data must be admitted to ContentStore in order to enable remote prefix registration. However this won't be needed when PIB service can serve certificates.

Actions #7

Updated by Junxiao Shi almost 10 years ago

  • Has duplicate deleted (Feature #1814: Secure localhost data retrieval through NFD)
Actions #8

Updated by Junxiao Shi over 9 years ago

Note: unsolicited field in ContentStore entry should not be deleted in this Feature. Specialized forwarding procedures, such as vehicular networks, may need this field.

Actions #9

Updated by Alex Afanasyev about 9 years ago

  • Target version changed from v0.3 to v0.5
Actions #10

Updated by Junxiao Shi over 8 years ago

  • Estimated time set to 3.00 h

20160719 call decides to make "unsolicited Data admittance policy" as a configuration option.

Actions #11

Updated by Junxiao Shi over 8 years ago

  • Status changed from New to In Progress
Actions #12

Updated by Junxiao Shi over 8 years ago

  • % Done changed from 0 to 20

https://gerrit.named-data.net/3115 moves the cache/drop decision from Data unsolicited pipeline to UnsolicitedDataPolicy class.
The current policy is preserved as AdmitLocalUnsolicitedDataPolicy.

Upcoming changes:

  • Implement DropAllUnsolicitedDataPolicy and AdmitAllUnsolicitedDataPolicy and AdmitNonLocalUnsolicitedDataPolicy, and expand test suite to cover each policy.
  • Declare tables.cs_unsolicited_policy configuration option.
  • Change the default to DropAllUnsolicitedDataPolicy in both code and configuration sample.
Actions #13

Updated by Junxiao Shi over 8 years ago

  • % Done changed from 20 to 50

https://gerrit.named-data.net/3129 adds three additional policies, along with test cases.

Actions #14

Updated by Junxiao Shi over 8 years ago

  • % Done changed from 50 to 90

https://gerrit.named-data.net/3130 changes TablesConfigSection constructor to accept Forwarder& instead of references to individual tables.
This Change also simplifies config parsing procedures using static methods on ConfigFile class.

https://gerrit.named-data.net/3131 moves logging of changing CS limit to cs::Policy from TablesConfigSection.

https://gerrit.named-data.net/3132 implements tables.cs_unsolicited_policy config option.

Actions #15

Updated by Junxiao Shi over 8 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100

https://gerrit.named-data.net/3142 introduces a macro to register UnsolicitedDataPolicy subclass.

https://gerrit.named-data.net/3143 changes the default to "drop-all".

Updated by Junxiao Shi over 8 years ago

https://gerrit.named-data.net/3143 patchset2 has one NFD-integ failure, but the same failure also occurs before this Change (reported as #3218-15).

Notice is sent to nfd-dev with deadline Sep 03.

Actions #17

Updated by Junxiao Shi about 8 years ago

  • Status changed from Resolved to Closed

nfd-docs:commit:e6586a59c867f7696eddacf4f0cfbf7952d2a2bb describes the change.

Actions #18

Updated by Junxiao Shi about 8 years ago

  • Status changed from Closed to Code review

https://gerrit.named-data.net/3409 adds UnsolicitedDataPolicy::getList which allows simulation code to find out which policies are available.

Actions #19

Updated by Junxiao Shi about 8 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF