Project

General

Profile

Actions

Bug #1427

closed

NFD crash when requested to create unicast UDP face with non-unicast IP address

Added by Junxiao Shi over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Faces
Target version:
Start date:
03/30/2014
Due date:
% Done:

100%

Estimated time:

Description

Steps to reproduce:

  1. sudo vi /etc/hosts, append a line:

    255.255.255.255 invalid-ip.bug1427.redmine.named-data.net
    
  2. start NFD

  3. execute any of the following

    nfdc create udp6://[fe80::]
    nfdc create udp4://255.255.255.255
    nfdc create udp://invalid-ip.bug1427.redmine.named-data.net
    

Expected: face creation fails, but NFD does not crash

Actual: FATAL: [Main] Failed to properly configure the socket. Check the address (connect: Invalid argument)


Related issues 1 (0 open1 closed)

Related to NFD - Bug #1421: Failed to create tcp6 and udp6 facesRejected03/27/2014

Actions
Actions

Also available in: Atom PDF