Project

General

Profile

Actions

Feature #5097

open

Distinguish DOWN and NO_CARRIER in NetworkMonitor for macOS

Added by Eric Newberry about 4 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Network
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Tags:

Description

The macOS specialization for NetworkMonitor does not support the NO_CARRIER state, while the implementation for netlink (Linux) does. The current implementation on macOS can therefore not distinguish between interfaces that are administratively up, but disconnected from those that are administratively down.

Per #3817-18, this will likely require that the macOS NetworkMonitor specialization be rewritten to use the lower-level PF_SYSTEM/SYSPROTO_EVENT socket API instead of SCDynamicStore API, since the latter does not notify when interface flags (where this information comes from) change.


Related issues 1 (0 open1 closed)

Related to ndn-cxx - Feature #3817: NetworkMonitor fine-grained signals for macOSClosedDavide Pesavento03/25/2017

Actions
Actions #1

Updated by Davide Pesavento about 4 years ago

  • Related to Feature #3817: NetworkMonitor fine-grained signals for macOS added
Actions #2

Updated by Eric Newberry about 4 years ago

  • Priority changed from Normal to Low
Actions #3

Updated by Eric Newberry about 4 years ago

  • Assignee deleted (Eric Newberry)

I don't have straightforward access to a Mac machine to work on this issue at this time.

Actions #4

Updated by Davide Pesavento about 4 years ago

  • Target version deleted (0.8.0)
Actions #5

Updated by Davide Pesavento almost 4 years ago

  • Description updated (diff)
Actions #6

Updated by Davide Pesavento almost 4 years ago

  • Tags set to macOS
Actions

Also available in: Atom PDF