Bug #1351
closedapplication server stops when used with NFD
100%
Description
NFD commit 56fb59799dc90df9130f94c01aacec1d38759ef9
Steps to reproduce:
Run nfd (
sudo env NFD_LOG=all nfd
)On another session, run application server (
NFD=1 ndnpingserver /example
)
Error from application server:
ltr120@traffic-gen-vm1:~/prepare/ndn-tlv-ping$ NFD=1 ndnpingserver /example
=== Ping Server /example ===
ERROR: Failed to register prefix in local hub's daemon
ERROR: cancel: Bad file descriptor
NFD Log:
ltr120@traffic-gen-vm1:~$ sudo env NFD_LOG=all nfd
DEBUG: [NameTree] lookup /
DEBUG: [NameTree] insert /
DEBUG: [NameTree] Name / hash value = 2654435816 location = 488
DEBUG: [NameTree] Did not find /, need to insert it to the table
INFO: [StrategyChoice] setDefaultStrategy(/localhost/nfd/strategy/best-route) new entry
DEBUG: [TcpFactory] Channel [0.0.0.0:6363] created
DEBUG: [FaceUri] URI [internal://] parsed into: internal, , ,
INFO: [FaceTable] addFace id=1
INFO: [InternalFace] registering callback for /localhost/nfd/fib
INFO: [InternalFace] registering callback for /localhost/nfd/faces
INFO: [InternalFace] registering callback for /localhost/nfd/control-header
INFO: [InternalFace] registering callback for /localhost/nfd/strategy-choice
DEBUG: [NameTree] lookup /localhost/nfd
DEBUG: [NameTree] insert /
DEBUG: [NameTree] Name / hash value = 2654435816 location = 488
DEBUG: [NameTree] insert /localhost
DEBUG: [NameTree] Name /localhost hash value = 705767655 location = 231
DEBUG: [NameTree] Did not find /localhost, need to insert it to the table
DEBUG: [NameTree] insert /localhost/nfd
DEBUG: [NameTree] Name /localhost/nfd hash value = 463922990 location = 814
DEBUG: [NameTree] Did not find /localhost/nfd, need to insert it to the table
DEBUG: [UnixStreamChannel] [/run/nfd.sock] << Incoming connection
INFO: [FaceTable] addFace id=2
TRACE: [UnixStreamFace] [id:2,endpoint:/run/nfd.sock] Received: 411 bytes
DEBUG: [Forwarder] onIncomingInterest face=2 interest=/localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF
DEBUG: [NameTree] lookup /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF
DEBUG: [NameTree] insert /
DEBUG: [NameTree] Name / hash value = 2654435816 location = 488
DEBUG: [NameTree] insert /localhost
DEBUG: [NameTree] Name /localhost hash value = 705767655 location = 231
DEBUG: [NameTree] insert /localhost/nfd
DEBUG: [NameTree] Name /localhost/nfd hash value = 463922990 location = 814
DEBUG: [NameTree] insert /localhost/nfd/fib
DEBUG: [NameTree] Name /localhost/nfd/fib hash value = 3696897906 location = 882
DEBUG: [NameTree] Did not find /localhost/nfd/fib, need to insert it to the table
DEBUG: [NameTree] insert /localhost/nfd/fib/add-nexthop
DEBUG: [NameTree] Name /localhost/nfd/fib/add-nexthop hash value = 1014937464 location = 888
DEBUG: [NameTree] Did not find /localhost/nfd/fib/add-nexthop, need to insert it to the table
DEBUG: [NameTree] insert /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00
DEBUG: [NameTree] Name /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00 hash value = 2470131182 location = 494
DEBUG: [NameTree] Did not find /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00, need to insert it to the table
DEBUG: [NameTree] insert /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23
DEBUG: [NameTree] Name /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23 hash value = 359574624 location = 96
DEBUG: [NameTree] Did not find /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23, need to insert it to the table
DEBUG: [NameTree] insert /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P
DEBUG: [NameTree] Name /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P hash value = 1891015343 location = 687
DEBUG: [NameTree] Did not find /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P, need to insert it to the table
DEBUG: [NameTree] insert /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT
DEBUG: [NameTree] Name /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT hash value = 232759218 location = 946
DEBUG: [NameTree] Did not find /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT, need to insert it to the table
DEBUG: [NameTree] insert /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF
DEBUG: [NameTree] Name /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF hash value = 487005596 location = 412
DEBUG: [NameTree] Did not find /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF, need to insert it to the table
DEBUG: [Forwarder] onOutgoingInterest face=1 interest=/localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF
DEBUG: [InternalFace] received Interest: /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF
DEBUG: [InternalFace] found Interest filter for /localhost/nfd/fib (previous match)
INFO: [ManagerBase] command result: unauthorized verb: 0xdb1810
DEBUG: [ManagerBase] responding name: /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF code: 403 text: Unauthorized command
DEBUG: [Forwarder] onIncomingData face=1 data=/localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF
DEBUG: [NameTree] NameTree::findAllMatches/localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF
DEBUG: [NameTree] findLongestPrefixMatch /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF
DEBUG: [NameTree] findExactMatch /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF
DEBUG: [NameTree] Name /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF hash value = 487005596 location = 412
DEBUG: [NameTree] const_iterator::operator++()
INFO: [ContentStore] insert() /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF
INFO: [ContentStore] insertToSkipList() /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF
DEBUG: [ContentStore] SkipList size 0
DEBUG: [ContentStore] Not a duplicate
DEBUG: [ContentStore] pushback 0xdbc200
INFO: [ContentStore] print()
DEBUG: [ContentStore] Layer 0 /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF/%DF1g%1C%E0%14%BE%8FmV%A5%B1z%94B%86%FD%FB%15%85%BC%17%7B%E3V%FD%EE%CE%B4+%D7%AD
DEBUG: [Forwarder] onIncomingData matching=/localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF
DEBUG: [Strategy] beforeSatisfyPendingInterest pitEntry=/localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF inFace=1 data=/localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF
DEBUG: [Forwarder] onOutgoingData face=2 data=/localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF
TRACE: [UnixStreamFace] [id:2,endpoint:/run/nfd.sock] Successfully sent: 751 bytes
INFO: [UnixStreamFace] [id:2,endpoint:/run/nfd.sock] Connection closed
INFO: [FaceTable] removeFace id=2
DEBUG: [NameTree] fullEnumerate
DEBUG: [NameTree] const_iterator::operator++()
DEBUG: [NameTree] findExactMatch /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF
DEBUG: [NameTree] Name /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF hash value = 487005596 location = 412
DEBUG: [NameTree] eraseEntryIfEmpty /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT/%17%FD%01%00R%C3%DC%AFR%2A%F6f%3F%B1%DAt%1C%CC%E6%1B%08%F2%16%B3%AB%D6%24%B7%D3b%BC%D7.%EF%CBd%236%A9%00%F9%28%A8%CEIo%10%A4%3F%20%BC%25%280%1B%10%1F%8E%D1%7B%18%81q%A2%96%91%C9%F6H%C7%27%FD%CA%A5%89YD%15%B1J%09%20+%8BI2D%1A%28a%C3b%A8%ADEN%AD%06%F0z%83H%C7%D8%F4%A1%A0%05u%01v%9D%23%C8%074%A4%06%EFsv%F5X%07%EEwx%F3%02%AA%F0%3C%90%E1%3BR%8AS%BF%DF%23d%A5%26%7FsH%B8Q%BB%C4f%B2%14%B6%FF%FF4%B9%CC%C7%81%5Dh%BBW%B5%EFD%F9%5CjN%FF%BD%E8%87%BE%3B%E1%FBv%95%02%D4%17%AB%C8%84%5E%29%A1%28%1D%B9%86H%EFp%F7%0B%F2%D5%D9%5B%B2%F3%BD%F1%B3Z%8A%98R%7B%85P%CFV%C4%06B%C28C%B2J%A5%A4_B%99%EC%8E%90%5B%E2E%97%A3%180D%7F%D7%8EYXm%10%9E%3DI%900%C3%1D%B8%A9%AF
DEBUG: [NameTree] eraseEntryIfEmpty /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P/%164%1B%01%01%1C%2F%07-%08%03tmp%08%05integ%08%03KEY%08%11ksk-1394649965621%08%07ID-CERT
DEBUG: [NameTree] eraseEntryIfEmpty /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23/%D0j%C7%1E4%3E%A4P
DEBUG: [NameTree] eraseEntryIfEmpty /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00/%02%FE%5E%D5%C3%A2%23
DEBUG: [NameTree] eraseEntryIfEmpty /localhost/nfd/fib/add-nexthop/h%14%07%0F%08%07example%08%04pingi%01%00
DEBUG: [NameTree] eraseEntryIfEmpty /localhost/nfd/fib/add-nexthop
DEBUG: [NameTree] eraseEntryIfEmpty /localhost/nfd/fib
DEBUG: [NameTree] eraseEntryIfEmpty /localhost/nfd
Updated by Junxiao Shi over 10 years ago
- Description updated (diff)
- Category set to Management
- Assignee set to Anonymous
- Target version set to v0.1
Confirmed.
It seems that the key used to sign the FIB Management command isn't trusted by NFD, due to lack of configuration file.
Updated by Yi Huang over 10 years ago
I think the expected behavior should be the same as executing the following commands:
ndnd-tlv-start
ndnpingserver /example
That is, application server starts running and waiting for a client.
Updated by Anonymous over 10 years ago
./waf install now installs a sample configuration file as of commit 84da5bfa3fc984ea6f955835246b3dbf97843f27 (not the commit linked to this issue). I'm able to dump my default key to the default key file location specified in the configuration and successfully run ndnping/server.
Is that sufficient to close this bug (and #1332 for that matter), or is there something else remaining?
Updated by Yi Huang over 10 years ago
Where can I get the commit? I updated NFD and is at commit 9dcc63304c683f04d2a35800b78b9f819c39e0fd. This time NFD isn't even start due to no config file found at /usr/local/etc/nfd/nfd.conf
Updated by Anonymous over 10 years ago
You should be all set (the relevant commit is actually 1 commit in the past) for code base. Did you run ./waf install? One of the output lines should tell you where it installed the sample file. The location is /usr/local/etc/ndn/nfd.conf.sample for me (OS X), but it may be OS dependent.
You should use a copy of that file for the configuration. You can put in in the location NFD is looking or use the --config option to specify elsewhere.
Updated by Yi Huang over 10 years ago
Thanks, the configuration file works. But where should set the key file? I copied the key file from my ~/.ssh/id_rsa.pub and it says
ERROR: [Main] Error: Malformed key file /usr/local/etc/ndn/keys/default.pub
Updated by Anonymous over 10 years ago
Sorry for the confusion, it's a different format from your ssh/PEM keys. Hopefully at some point in the past you generated a key for NDN usage. Otherwise, you can use the follow command:
ndnsec-keygen /tmp | ndnsec-install-cert -
(You can change /tmp to something else if you'd like, the command says it's just the identity name for the key pair.)
Then, you need to dump the key, in the correct format to a file:
ndnsec-cert-dump -i ndnsec-get-default
> default.pub
My understanding is the format is basically a TLV Data packet in base64.
Updated by Yi Huang over 10 years ago
Thanks for the clarification. However, I am not able to get the key file.
ltr120@traffic-gen-vm1:/usr/local/etc/ndn/keys$ ndnsec-keygen -n '/tmp/integ/' | ndnsec-install-cert -
OK: certificate with name [/tmp/integ/KEY/ksk-1394685082659/ID-CERT/%FD%01D%B9%B5%7E%CD] has been successfully installed
ltr120@traffic-gen-vm1:/usr/local/etc/ndn/keys$ ndnsec-cert-dump -i ndnsec-get-default > ~/default.pub
SecPublicInfoSqlite3::getDefaultKeyNameForIdentity key not found
Updated by Anonymous over 10 years ago
It looks like redmine ate part of the command. There should be backticks around ndnsec-get-default
ndnsec-cert-dump -i ndnsec-get-default
> default.pub
Updated by Yi Huang over 10 years ago
Thanks. The key is now working for me. There is some other issue....
ltr120@traffic-gen-vm1:/usr/local/etc/ndn/keys$ sudo env NFD_LOG=all nfd
DEBUG: [NameTree] lookup /
DEBUG: [NameTree] insert /
DEBUG: [NameTree] Name / hash value = 2654435816 location = 488
DEBUG: [NameTree] Did not find /, need to insert it to the table
INFO: [StrategyChoice] setDefaultStrategy(/localhost/nfd/strategy/best-route) new entry
DEBUG: [FaceUri] URI [internal://] parsed into: internal, , ,
INFO: [FaceTable] addFace id=1
INFO: [InternalFace] registering callback for /localhost/nfd/fib
INFO: [InternalFace] registering callback for /localhost/nfd/faces
INFO: [InternalFace] registering callback for /localhost/nfd/control-header
INFO: [InternalFace] registering callback for /localhost/nfd/strategy-choice
INFO: [CommandValidator] Giving privilege "control-header" to key /tmp/integ/ksk-1394685082659
INFO: [CommandValidator] Giving privilege "faces" to key /tmp/integ/ksk-1394685082659
INFO: [CommandValidator] Giving privilege "fib" to key /tmp/integ/ksk-1394685082659
INFO: [CommandValidator] Giving privilege "strategy-choice" to key /tmp/integ/ksk-1394685082659
DEBUG: [TcpFactory] Channel [0.0.0.0:6363] created
DEBUG: [TcpFactory] Channel [[::]:6363] created
ERROR: [Main] Error: bind: Address already in use
Updated by Anonymous over 10 years ago
Does the error recur after waiting a few minutes? I've never had it hang around for long, but someone else has informed me that they keep getting it.
Updated by Yi Huang over 10 years ago
Yes I've waited 15 minutes and this error persists.
Updated by Anonymous over 10 years ago
I'll have to ask the others about this tomorrow. Is this occurring on Ubuntu 12.04?
In the meanwhile, do you need to use tcp/udp? If not, commenting out those sections may be a work around because it should avoid executing the responsible code path(s).
Updated by Yi Huang over 10 years ago
Yes I am using Ubuntu 12.04.
I am using Ubuntu 12.04 VMs to build integrating test environment in order to test NFD and NRD. Therefore, testing tcp/udp is part of my job.
Updated by Junxiao Shi over 10 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
DEBUG: [TcpFactory] Channel [0.0.0.0:6363] created DEBUG: [TcpFactory] Channel [[::]:6363] created ERROR: [Main] Error: bind: Address already in use
This is Bug #1352.
To test #1351 without being affected by #1352, set face_system.tcp.listen=no in configuration file.
#1351 seems to be resolved. @Steve should have updated Status=Resolved.
Updated by Junxiao Shi over 10 years ago
- Status changed from Resolved to Closed
Issue has been fixed as of commit eee71fd6bca6e49115989a64ac75bfc71b324e5d.