[Nfd-dev] autoconfig connects me to spurs (UCLA) instead of aleph (REMAP)

Junxiao Shi shijunxiao at email.arizona.edu
Wed May 10 10:34:56 PDT 2017


Hi Peter

Wireshark capture indicates that the router is found via NDN-FCH service. It is the router that is geographically closest to you, as determined by reverse geocode lookup of your IP address. NDN-FCH stage occurs before “home router” stage in which your certificate is considered.
Therefore, connecting to aleph is expected if your IP address is near that router.

One problem I notice is that the logging message does not adequately identify NDN-FCH is being used. I’ve entered Bug 4079 <https://redmine.named-data.net/issues/4079> for that.

Yours, Junxiao

> On May 9, 2017, at 4:43 PM, Gusev, Peter <peter at remap.ucla.edu> wrote:
> 
> hi Junxiao,
> 
> here’s another example - I use guest certificate /ndn/edu/ucla/%40GUEST/gpeetonn%40gmail.com <http://40gmail.com/> which supposed to incur connection to spurs (UCLA), but ndn-autoconfig connects to aleph (REMAP), or is it expected?
> I attached wireshark trace file.
> 
> $ ndn-autoconfig
> Trying multicast discovery...
> Stage 1 failed: HUB Data not received: timeout
> Sending DNS query for SRV record for _ndn._udp
> Stage 2 failed: Failed to find NDN router using default suffix DNS query (SRV record cannot be parsed)
> About to connect to: udp://aleph.ndn.ucla.edu <applewebdata://9D0697CE-135F-4171-9084-0C1FBA684AF9>
> Successfully created face: ControlParameters(FaceId: 274, Flags: 0, FacePersistency: persistent, )
> Successful in name registration: ControlParameters(Name: /ndn, FaceId: 274, Origin: 66, Cost: 100, Flags: 0x1, ExpirationPeriod: 9223372036854775807 milliseconds, )
> Successful in name registration: ControlParameters(Name: /localhop/nfd, FaceId: 274, Origin: 66, Cost: 100, Flags: 0x1, ExpirationPeriod: 9223372036854775807 milliseconds, )
> 
> $ ndnsec-list
> 
> * /ndn/edu/ucla/%40GUEST/gpeetonn%40gmail.com <http://40gmail.com/>
>   +->* /ndn/edu/ucla/%40GUEST/gpeetonn%40gmail.com/ksk-1493770679189 <http://40gmail.com/ksk-1493770679189>
>        +->* /ndn/edu/ucla/KEY/%40GUEST/gpeetonn%40gmail.com/ksk-1493770679189/ID-CERT/%FD%00%00%01%5B%EE%7Dpq <http://40gmail.com/ksk-1493770679189/ID-CERT/%FD%00%00%01%5B%EE%7Dpq>
> 
>   /localhost/operator
>   +->* /localhost/operator/ksk-1423594204522
>        +->* /localhost/operator/KEY/ksk-1423594204522/ID-CERT/%FD%00%00%01Kt%D3%B0%D9
> 
>   /ndn/edu/ucla/%40GUEST/gpeetonn%40gmail.com/flume <http://40gmail.com/flume>
>   +->* /ndn/edu/ucla/%40GUEST/gpeetonn%40gmail.com/flume/ksk-1494359659 <http://40gmail.com/flume/ksk-1494359659>
>        +->* /ndn/edu/ucla/%40GUEST/gpeetonn%40gmail.com/flume/KEY/ksk-1494359659/ID-CERT/%FD%00%00%01%5B%EE%C6%D3%F8 <http://40gmail.com/flume/KEY/ksk-1494359659/ID-CERT/%FD%00%00%01%5B%EE%C6%D3%F8>
>   +->  /ndn/edu/ucla/%40GUEST/gpeetonn%40gmail.com/flume/ksk-1494359566 <http://40gmail.com/flume/ksk-1494359566>
>   +->  /ndn/edu/ucla/%40GUEST/gpeetonn%40gmail.com/flume/ksk-1494359619 <http://40gmail.com/flume/ksk-1494359619>
> 
> Thanks, 
> 
> 
> -- 
> Peter Gusev
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20170510/32a82505/attachment-0001.html>


More information about the Nfd-dev mailing list