Task #1296
closedTask #1294: autoconfig: discover NDN router
HUB discovery producer
100%
Updated by Hila Ben Abraham over 10 years ago
- Status changed from New to In Progress
Updated by Hila Ben Abraham over 10 years ago
Just making sure... this producer responds only to the first stage of the protocol. Stages 2 & 3 should be answered by the DNS server (task #1297?)
Also, can you please elaborate on the data response? ("The value of this block is the URI for the HUB, preferably a UDP tunnel").
Updated by Alex Afanasyev over 10 years ago
The published value should be just a string, containing face URI. Like
udp://hostname.domain
or
udp://192.168.2.1:6363
You don't need to parse or configure these URIs. They should be directly configured by the node operator (e.g., as a command-line argument).
Updated by Junxiao Shi over 10 years ago
Payload is not "just a string". It’s a FaceMgmt URI wrapped in Uri
TLV-BLOCK.
Having a TLV-BLOCK is useful, because additional fields may be added in the future.
The tool doesn’t need to construct the FaceUri by itself. It could read it from a command line argument.
Updated by Hila Ben Abraham over 10 years ago
- % Done changed from 0 to 90
I'm having problems testing the program since the producer fails to connect to the daemon. nfd daemon crashes and according to the gdb bt, it's the sign method that throws the exception. Can it be that there is something wrong with my certificates?
users-MacBook-Pro:NFD user$ ndnsec-ls-identity -C
* /tmp/hila
+->* /tmp/hila/ksk-1394415714
+->* /tmp/hila/KEY/ksk-1394415714/ID-CERT/%FD%FF%FF%FF%FF%D1%86?%0A
Updated by Junxiao Shi over 10 years ago
- configure ndn-cpp-dev with flag
--without-osx-keychain
- recompile and install ndn-cpp-dev
- rm -rf $HOME/.ndnx
ndnsec-keygen - | ndnsec-install-cert -
export NFD=1
If you are unsure whether it's a problem with your producer, test with ndn-tlv-ping first.
Updated by Hila Ben Abraham over 10 years ago
Thank you.
Still having the same problem. ndnpingserver results in the same nfd crash (used to work before). I will try to debug it now to see if I can find a problem with my set up.
Updated by Junxiao Shi over 10 years ago
Producer crashing is similar to Bug #1351, which is fixed now. Is your producer still causing NFD crash?
Updated by Hila Ben Abraham over 10 years ago
I'll have to go back and test it on my mac. (I switched to use my ubuntu vm because of this crash)
Updated by Hila Ben Abraham over 10 years ago
- Status changed from In Progress to Code review
- % Done changed from 90 to 100
Updated by Hila Ben Abraham over 10 years ago
- Status changed from Code review to Closed