<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:Calibri;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:Calibri;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I am trying to get a handle on automatic prefix propagation in the wild, and have three questions:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">#1 – <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I have a testbed cert assigned for /A/B, where A=/ndn/edu/ucla and B=jburke.   I am bringing up a node that I only want to publishe content, starting with a ping server, in the namespace /A/B/C. 
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">So first, I make a new cert for /A/B/C and sign it with my cert for /A/B.  I put the cert for /A/B/C into a repo running on my node. Then, I add a route from /A/B/C to the testbed node for /A.  
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Given that the trust chain is set up properly, auto-prefix propagation should take care of the rest, right?
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Unfortunately, this does not work in practice unless the cert for /A/B is
<i>also installed </i>on the node publishing /A/B/C.  <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Is this a feature or a bug? I do not want that node to have access to my private key for /A/B, merely to be authorized by it for publishing /A/B/C.  And I do not want to have to stand up a node to publish
 /A/B just to get /A/B/C on the testbed. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">See a long log of how I figured out this requirement at the end of the email.  (Pointers to what docs I could have read to have understood this from the start would be great.)
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">#2 – <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><u><span style="font-size:11.0pt">Why</span></u><span style="font-size:11.0pt"> must I manually register localhop/nfd, which Junxiao mentions in his article and recent emails, upon connecting to a hub for automatic prefix propagation to
 work? <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ nfdc register /localhop/nfd udp4://spurs.cs.ucla.edu    
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Or more specifically, why is this new step explicit rather than automatic?  (When would I not want it to happen? And if that’s an unlikely scenario, perhaps the more likely scenario should be default behavior?)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">#3 – <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Regarding both questions above, as a user of the testbed and NFD, where would I go to learn about these specifics, or to contribute corrections or examples as below?  Right now, I think the detailed information
 is distributed across some documentation, redmine issues and Junxiao’s articles, but it seems like we need a community-authored cookbook for working with the testbed, a FAQ, and/or some type of tutorial that is kept up to date as new features (like automatic
 prefix propagation, cert requirements, etc. are put in place.)  Would it make sense to start something like this?
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Jeff<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">--- <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Figuring out #1 above –<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt">Node 1 (golem, Ubuntu 14.04)
<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Intended to be the ping server, set up as follows:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ ndnsec list<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">* /ndn/edu/ucla/jburke/golem<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">  /ndn/edu/ucla/remap/jburke<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ nfd-start<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ ndn-repo-ng     # for keys, route should propagate later<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ nfdc register /localhop/nfd udp4://spurs.cs.ucla.edu    
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ nfdc register / udp4://spurs.cs.ucla.edu<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># The following step works with or without registering /localhop/nfd, as I expect<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">#<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ ndnping /ndn/edu/arizona<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">PING /ndn/edu/arizona<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">content from /ndn/edu/arizona: seq=4967821016123099668 time=28.7008 ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">content from /ndn/edu/arizona: seq=4967821016123099669 time=26.6555 ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">^C<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ ndnping /ndn/edu/ucla<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">PING /ndn/edu/ucla<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">content from /ndn/edu/ucla: seq=2517646711465375070 time=14.1014 ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">content from /ndn/edu/ucla: seq=2517646711465375071 time=12.1235 ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">^C<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ ndnpingserver -t /ndn/edu/ucla/jburke/golem<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">PING SERVER /ndn/edu/ucla/jburke/golem<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">NFD on same host says - <o:p>
</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">1473622278.460591 INFO: [RibManager] Adding route /ndn/edu/ucla/jburke/golem/ping nexthop=264 origin=0 cost=0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">1473622278.460591 INFO: [RibManager] Adding route /ndn/edu/ucla/jburke/golem/ping nexthop=264 origin=0 cost=0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">1473622278.468520 INFO: [AutoPrefixPropagator] advertise /ndn/edu/ucla/jburke/golem<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">1473622278.468520 INFO: [AutoPrefixPropagator] advertise /ndn/edu/ucla/jburke/golem<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">And from the same host this works -
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ ndnping /ndn/edu/ucla/jburke/golem<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">PING /ndn/edu/ucla/jburke/golem<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">content from /ndn/edu/ucla/jburke/golem: seq=12577619585809314370 time=2.4881 ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">content from /ndn/edu/ucla/jburke/golem: seq=12577619585809314372 time=0.370532 ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">^C<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Now, leaving the above ping server running, on
<b>Node 2</b> <b>(cavimorph, Mac OS 10.11)</b>:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ ndnsec list<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">* /ndn/edu/ucla/jburke<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">  /jburke<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">  /ndn/edu/jburke<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ nfd-start <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ nfdc register / udp4://spurs.cs.ucla.edu<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ ndnping /ndn/edu/ucla<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">PING /ndn/edu/ucla<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">content from /ndn/edu/ucla: seq=5912483167798969453 time=72.02 ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">content from /ndn/edu/ucla: seq=5912483167798969454 time=29.133 ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">^C<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ ndnping /ndn/edu/ucla/jburke/golem<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">PING /ndn/edu/ucla/jburke/golem<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">timeout from /ndn/edu/ucla/jburke/golem: seq=8690330602053050878<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">timeout from /ndn/edu/ucla/jburke/golem: seq=8690330602053050879<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">^C<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">What am I doing wrong here? <o:p>
</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">If I run the ping server on the second node (cavimorph) for /ndn/edu/ucla/jburke, I can ndnping it from the other machine just fine. 
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">So the issue seems to be related to registering the longer name.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I don’t want this node to have the signing key for /ndn/edu/ucla/jburke, just for .../jburke/golem.  Does testbed policy prevent it from publishing data to the testbed even though it has a key signed by the
 parent that is signed by the appropriate testbed node? <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Quickly try a ping server for the parent,   which fails because I don’t have the signing key (I guess) -
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ ndnpingserver /ndn/edu/ucla/jburke<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">PING SERVER /ndn/edu/ucla/jburke<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">from NFD, <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">1473624713.894229 INFO: [AutoPrefixPropagator] no signing identity available for: /ndn/edu/ucla/jburke/ping<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">1473624713.894229 INFO: [AutoPrefixPropagator] no signing identity available for: /ndn/edu/ucla/jburke/ping<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[Btw, this error does not seem to propagate back to the application, so it has no idea the prefix hasn’t been propagated?  Pls respond to Issue #<a href="https://redmine.named-data.net/issues/3773">3733</a>.]
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Ok, so as an exercise. I also install the /ndn/edu/ucla/jburke signing key on to this Node 1 (golem) and make it available, but not the default.  <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ ndnsec list<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">* /ndn/edu/ucla/jburke/golem<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">  /ndn/edu/ucla/remap/jburke<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">  /ndn/edu/ucla/jburke                   <= new cert installed<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Repeating the original steps above, I do everything and then try to ping.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ nfd-start<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ ndn-repo-ng  # attempts to propagate ... see #<a href="https://redmine.named-data.net/issues/3774">3774</a> regarding incorrect error messages.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ nfdc register /localhop/nfd udp4://spurs.cs.ucla.edu    
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">now, here we see that autoprefix propagation takes place -
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">1473626687.921452 INFO: [AutoPrefixPropagator] advertise /ndn/edu/ucla/jburke<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">1473626687.921452 INFO: [AutoPrefixPropagator] advertise /ndn/edu/ucla/jburke<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ nfdc register / udp4://spurs.cs.ucla.edu<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ ndnping /ndn/edu/ucla<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">PING /ndn/edu/ucla<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">content from /ndn/edu/ucla: seq=5607246297517915673 time=16.5428 ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">content from /ndn/edu/ucla: seq=5607246297517915674 time=12.0276 ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">^C<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ ndnpingserver -t /ndn/edu/ucla/jburke/golem<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ ndnping /ndn/edu/ucla/jburke/golem<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">PING /ndn/edu/ucla/jburke/golem<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">content from /ndn/edu/ucla/jburke/golem: seq=3169930236227802087 time=2.59708 ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">content from /ndn/edu/ucla/jburke/golem: seq=3169930236227802088 time=0.404028 ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">^C<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">On the remote, <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$  nfd-start<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$  nfdc register / udp4://spurs.cs.ucla.edu<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$  ndnping /ndn/edu/ucla/jburke/golem<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">content from /ndn/edu/ucla/jburke/golem: seq=6791844684297860820 time=65.478 ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">content from /ndn/edu/ucla/jburke/golem: seq=6791844684297860821 time=34.843 ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">^C<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Success!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">So, wait, I need the parent key installed, even though I am not attempting to register a prefix with it... why?
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Let’s doublecheck that it’s because of having the parent key:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ ndnsec delete /ndn/edu/ucla/jburke<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">OK: Delete identity: /ndn/edu/ucla/jburke<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ nfd-start<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$  nfdc register /localhop/nfd udp4://spurs.cs.ucla.edu    
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$  nfdc register / udp4://spurs.cs.ucla.edu<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$  ndnpingserver -t /ndn/edu/ucla/jburke/golem<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Now it works... Because the prefix has persistent for awhile?
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Ok, so this is what’s on spurs via ndn-status:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><span style="font-family:"Times New Roman"">ndn/edu/ucla/jburke<o:p></o:p></span></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="center" style="text-align:center"><b><span style="font-family:"Times New Roman"">FaceId<o:p></o:p></span></b></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-family:"Times New Roman"">9875<o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="center" style="text-align:center"><b><span style="font-family:"Times New Roman"">Cost<o:p></o:p></span></b></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-family:"Times New Roman"">15<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Wonder how long automatically propagated prefixes last? Where would one look to figure this out?
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Redmine!  <a href="https://redmine.named-data.net/issues/3211">
https://redmine.named-data.net/issues/3211</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Hm, can’t decipher what the terms in the state machine/transition table mean exactly, and no information on timing.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">But the config file has a refresh interval of 300 seconds, so probably the lifetime is less than 300 seconds.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><... go have coffee for five minutes to see if the route goes away so we can doublecheck><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Indeed, seems less than that, route gone from spurs on ndn-status.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">So, try ping again with identity deleted. Doesn’t work.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Ok, so indeed, I must have the /ndn/edu/ucla/jburke key installed on the host that wishes to register content for /ndn/edu/ucla/jburke/golem.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><WHY?>  [And, more to the process oriented nature of this email...
<i>what documentation should tell me this? </i>]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Reinstall key.  Reset default.   (Btw, you can make arbitrary names the default identity!  Try ndnsec set-default /chicken/wings. Issue #<a href="https://redmine.named-data.net/issues/3776">3776</a>.)
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ ndnsec list<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">* /ndn/edu/ucla/jburke/golem<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">  /ndn/edu/ucla/remap/jburke<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">  /ndn/edu/ucla/jburke<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">  /hello/chicken/wings<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$  nfd-start<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$  nfdc register /localhop/nfd udp4://spurs.cs.ucla.edu  
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ nfdc register / udp4://spurs.cs.ucla.edu<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ ndn-repo-ng<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ ndnpingserver -t /ndn/edu/ucla/jburke/golem<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Ok, that works for remote hosts.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Tried this a few times and it seems to work from different hubs.  <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><end><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
</body>
</html>