Project

General

Profile

Actions

Bug #2757

closed

Gateway RIB crashes after remote unregistration

Added by Yanbiao Li about 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
RIB
Target version:
Start date:
04/17/2015
Due date:
% Done:

100%

Estimated time:

Description

When the RIB manager on a gateway processes a remote unregistration command from a laptop, nfd process on the gateway crashes after sending a successful response.

Environment: two machines, A works as the laptop while B works as the gateway.

Steps to reproduce:

  1. run nfd on A with rib.remote-register enabled, and set the log level to INFO
  2. generate an identity /Z/A on A and install its cert.
  3. run nfd on B with rib.localhop-security enabled, configure the trust anchor as type any.
  4. run nfdc register /localhop/nfd udp4://<ip_address_of_B> on A to gain connectivity to B.
  5. run ndnpingserver ndn:/Z/A/H on A to register prefix /Z/A/H/ping locally. Confirm that /Z/A is successfully registered to B's rib (run nfd-status -r on B).
  6. stop ndnpingserver on A. Confirm that /Z/A/H/ping is unregistered from A's rib and there is not any other entries on A's rib starts with prefix /Z/A. So that /Z/A will be unregistered from B's rib.

Actual: A's nfd can receive the response of successfully unregistration of /Z/A from B. B's nfd has exited unexpectedly.

Expected: B's nfd does not crash.


Files

ok.png (93.8 KB) ok.png without a route toward the laptop Yanbiao Li, 04/21/2015 04:47 PM
crash.png (80.4 KB) crash.png with a route toward the laptop Yanbiao Li, 04/21/2015 04:47 PM
laptop.sh (642 Bytes) laptop.sh Yanbiao Li, 04/22/2015 01:52 PM
laptop.nfd.conf (10.8 KB) laptop.nfd.conf Yanbiao Li, 04/22/2015 01:52 PM
server.nfd.conf (10.8 KB) server.nfd.conf Yanbiao Li, 04/22/2015 01:52 PM
system.inf (129 Bytes) system.inf Yanbiao Li, 04/22/2015 01:52 PM
server.sh (377 Bytes) server.sh Yanbiao Li, 04/22/2015 01:52 PM
Actions

Also available in: Atom PDF