<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>I think it is rejected because of violating localhost scope.</p>
<p><br>
</p>
<p>Ashlesh</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> ndnSIM <ndnsim-bounces@lists.cs.ucla.edu> on behalf of Michał Król <mharnen@gmail.com><br>
<b>Sent:</b> Thursday, May 18, 2017 12:08:10 PM<br>
<b>To:</b> shijunxiao@email.arizona.edu; ndnsim@lists.cs.ucla.edu<br>
<b>Subject:</b> Re: [ndnSIM] Question about updating name prefix list of the routers</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Is it necessary to start NLSR in a special way? After executing the same
<br>
code the interest is rejected on my node. I installed bestroute2 <br>
strategy for all the prefixes "/", but it's not invoked here.<br>
<br>
<br>
0.0200091s 1 nfd.Forwarder:onIncomingInterest(): [DEBUG] In: <br>
/localhost/nlsr/prefix-update/advertise/h%12%07%10%08%0Eupdated-prefix/%14/%01%DE1nbtU%BA/%160%1B%01%01%1C+%07%29%08%0Ctmp-identity%08%04%CD%A6%05%8A%08%03KEY%08%05ksk-0%08%07ID-CERT/%17%FD%01%00%D2%C2l%0B9%E7%F3r%ED%07%E1%07%5C%3B%84i%F7%FB%1A%F9%FD%B8N%F2%19%BE%CC%E4%7B%7F%18P%F6%90tLfU%16%B7%C4%FA%C0%95%16%DC%9A%99K%8AW%D6%D6%FA9%0A%E2%C5h%2A%B9eH%5E%02%C7%8E%D9%C4q%C7%EA%0BS%FE%0E%0A%E7%F4%05%FE%7D%C2%03%D59%24%90%84%FD%16%E8T%8D%F3%C8%A2%8E%11buux%1D%1A%19%7B4%B5k%B6%1Fh%03H0%CCam%DFT%FCM%23r%91%22%C93%8CX%FA%1C%7B%B5%EA%98%10%DA%84D%87%9D%F7%DD9%3C%B5b%3AP%7C%8B%8D%F4k%F3%E1%A7%C2%08%D1L%EC%F6QE%A6%1B%B8c%94q%FC%83%DB%96%1Bb%D7%1E%89%FB%80%EFg%D1%0DP%C4%96_0%DD%BE%B3%BF%C4H%18%D2a%1F%3Fa%90%FB%10%16%1Bh%A5%C8%E3%84%87J%8E%A2%C8%DByw%A7%14%CC%AE-%83%DE%1A%D8%C8%19%9F%18g%86%26%FE%F7%25%28%FEs%89%D0E%B7%C9%87%B7%BCDQ%E7
<br>
<br>
<br>
0.0200091s 1 nfd.Forwarder:onContentStoreMiss(): [DEBUG] <br>
onContentStoreMiss <br>
interest=/localhost/nlsr/prefix-update/advertise/h%12%07%10%08%0Eupdated-prefix/%14/%01%DE1nbtU%BA/%160%1B%01%01%1C+%07%29%08%0Ctmp-identity%08%04%CD%A6%05%8A%08%03KEY%08%05ksk-0%08%07ID-CERT/%17%FD%01%00%D2%C2l%0B9%E7%F3r%ED%07%E1%07%5C%3B%84i%F7%FB%1A%F9%FD%B8N%F2%19%BE%CC%E4%7B%7F%18P%F6%90tLfU%16%B7%C4%FA%C0%95%16%DC%9A%99K%8AW%D6%D6%FA9%0A%E2%C5h%2A%B9eH%5E%02%C7%8E%D9%C4q%C7%EA%0BS%FE%0E%0A%E7%F4%05%FE%7D%C2%03%D59%24%90%84%FD%16%E8T%8D%F3%C8%A2%8E%11buux%1D%1A%19%7B4%B5k%B6%1Fh%03H0%CCam%DFT%FCM%23r%91%22%C93%8CX%FA%1C%7B%B5%EA%98%10%DA%84D%87%9D%F7%DD9%3C%B5b%3AP%7C%8B%8D%F4k%F3%E1%A7%C2%08%D1L%EC%F6QE%A6%1B%B8c%94q%FC%83%DB%96%1Bb%D7%1E%89%FB%80%EFg%D1%0DP%C4%96_0%DD%BE%B3%BF%C4H%18%D2a%1F%3Fa%90%FB%10%16%1Bh%A5%C8%E3%84%87J%8E%A2%C8%DByw%A7%14%CC%AE-%83%DE%1A%D8%C8%19%9F%18g%86%26%FE%F7%25%28%FEs%89%D0E%B7%C9%87%B7%BCDQ%E7<br>
<br>
0.0200091s 1 nfd.Forwarder:onInterestReject(): [DEBUG] onInterestReject <br>
interest=/localhost/nlsr/prefix-update/advertise/h%12%07%10%08%0Eupdated-prefix/%14/%01%DE1nbtU%BA/%160%1B%01%01%1C+%07%29%08%0Ctmp-identity%08%04%CD%A6%05%8A%08%03KEY%08%05ksk-0%08%07ID-CERT/%17%FD%01%00%D2%C2l%0B9%E7%F3r%ED%07%E1%07%5C%3B%84i%F7%FB%1A%F9%FD%B8N%F2%19%BE%CC%E4%7B%7F%18P%F6%90tLfU%16%B7%C4%FA%C0%95%16%DC%9A%99K%8AW%D6%D6%FA9%0A%E2%C5h%2A%B9eH%5E%02%C7%8E%D9%C4q%C7%EA%0BS%FE%0E%0A%E7%F4%05%FE%7D%C2%03%D59%24%90%84%FD%16%E8T%8D%F3%C8%A2%8E%11buux%1D%1A%19%7B4%B5k%B6%1Fh%03H0%CCam%DFT%FCM%23r%91%22%C93%8CX%FA%1C%7B%B5%EA%98%10%DA%84D%87%9D%F7%DD9%3C%B5b%3AP%7C%8B%8D%F4k%F3%E1%A7%C2%08%D1L%EC%F6QE%A6%1B%B8c%94q%FC%83%DB%96%1Bb%D7%1E%89%FB%80%EFg%D1%0DP%C4%96_0%DD%BE%B3%BF%C4H%18%D2a%1F%3Fa%90%FB%10%16%1Bh%A5%C8%E3%84%87J%8E%A2%C8%DByw%A7%14%CC%AE-%83%DE%1A%D8%C8%19%9F%18g%86%26%FE%F7%25%28%FEs%89%D0E%B7%C9%87%B7%BCDQ%E7<br>
<br>
<br>
On 23/03/17 15:52, shijunxiao at email.arizona.edu (Junxiao Shi) wrote:<br>
> Hi Sabet<br>
><br>
> Yes, the Interest is now signed.<br>
> Run the scenario within GDB, and type bt full upon crash, so that you can see where the crash happens.<br>
><br>
> Yours, Junxiao<br>
><br>
>> On Mar 22, 2017, at 1:01 PM, Muhammad Hosain Abdollahi Sabet <mhasabet at gmail.com> wrote:<br>
>><br>
>><br>
>> I did as you said:<br>
>><br>
>>      auto advertiseCommand = make_shared<Interest>();<br>
>>      Name command = Name("/localhost/nlsr/prefix-update/advertise");<br>
>>      ndn::nfd::ControlParameters parameters;<br>
>>      parameters.setName(Name("/updated-prefix"));<br>
>>      advertiseCommand->setName(command.append(parameters.wireEncode()));<br>
>>      m_keyChain.sign(*advertiseCommand);<br>
>>      m_transmittedInterests(advertiseCommand,this,m_face);<br>
>>      m_appLink->onReceiveInterest(*advertiseCommand);<br>
>><br>
>> And you can see that the interest is signed:<br>
>><br>
>> 6s 2 nfd.Forwarder:onIncomingInterest(): [DEBUG] onIncomingInterest face=261 interest=/localhost/nlsr/prefix-update/advertise/h%12%07%10%08%0Eupdated-prefix/%17p/n%29%05B%EE%F41g/%164%1B%01%01%1C%2F%07-%08%0Ctmp-identity%08%04Z%21%0A%16%08%03KEY%08%09ksk-16106%08%07ID-CERT/%17%FD%01%00%A0%9A%8CS%7CQU%24%E9%A7%5B%AE%84%5B%C0%9D%19W%5B%F6%FA%15%BC%8B%F8%FD%D4B%F7%F4%A7%03%C5SDY%A1%98%B3%A9%17%7B%DDE%D1JF%5E%F1%0A%7BY%13qA%24HP%DEV%D4%F0%F6Qr%27y%EA-L%82%A1u%01%2A%F2%FB%16%B4%82%02%18%8D%B7Z%C4%22%7C%E8SU%98%E5%C1%CF%D2%1FE%21%D0A%FD%40%85%C3D%94D%B6%95%FA%10%1AS%19%1E13%7C6%BC%21%86%D7q%9A%CC%1D%C3%13d%90%C9%C3%14%AB%3D%BA%AA%E4%A3%3C%98U%CF%7F%BC.j%9B%0C0ui%40%CBnMa%B8%19%2FWR%06%90D%EF%92%EEM%F6%0Am%25%FF%95%97%CF%F6%84W+%FCA%3D%FB%8B%8A%CA-1%98%8A%5B%1F%14%D3%CB%25%16%B5%95%8AB%D66%13%B5%A8m%F5%8F%1E1o%ADx%0EX%D1LFrS%BF%81%B5%92m%A2%26%91%D71o%FA%CCA%AC%BB7%FFI%210%8DW%E5%F6ctO%2C%3A%CF<br>
>><br>
>> But then again:<br>
>><br>
>> terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<ndn::name::Component::Error> >'<br>
>>    what():  Name component does not have the requested marker or the value is not a nonNegativeInteger<br>
>><br>
>> I don't think it is a bug. I guess there is something I should've done but didn't and I'm looking for it. But if it is, I will post a complete report of the environment, steps to reproduce, expected/actual result and so on.<br>
>><br>
>> Thanks,<br>
>> Sabet?<br>
>><br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<a href="http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170323/1fd17d22/attachment-0001.html">http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170323/1fd17d22/attachment-0001.html</a>><br>
><br>
<br>
_______________________________________________<br>
ndnSIM mailing list<br>
ndnSIM@lists.cs.ucla.edu<br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</div>
</span></font>
</body>
</html>