Project

General

Profile

Actions

Submit #3291

closed

Patch: fix for ndp -s saying "writing to routing socket: Network is unreachable"

Added by falsifian over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Userland
Target version:
Start date:
07/29/2021
Due date:
% Done:

100%

Estimated time:

Description

Example, censored for privacy:

falsifian angel-dfly ~ $ doas ndp -s 2607:(more ipv6...) 3c:(more mac...) temp
writing to routing socket: Network is unreachable

I suspect this is the problem solved with FreeBSD commit cb58c0ef / OpenBSD revision 1.42 of ndp.c as described here


Files

ndp.c.patch (418 Bytes) ndp.c.patch falsifian, 07/30/2021 10:20 AM
Actions #1

Updated by falsifian over 2 years ago

Here's a patch that fixes it for me. Quite similar to the OpenBSD and FreeBSD ones.

I discovered something else is broken: expiry times don't seem to be set even with "temp". Specifically, after the command in my previous comment, running "ndp -a" shows the word "permanent" in the "Expire" column. On OpenBSD, running a similar command results in a time slightly less than 20min shown in the "Expire" column, which makes more sense.

Actions #2

Updated by falsifian over 2 years ago

  • Subject changed from ndp -s always says "writing to routing socket: Network is unreachable" to Patch: fix for ndp -s saying "writing to routing socket: Network is unreachable"
Actions #3

Updated by falsifian over 2 years ago

  • Status changed from New to Resolved

Sascha Wildner committed this on Friday.

Actions #4

Updated by tuxillo over 2 years ago

  • Category set to Userland
  • Status changed from Resolved to Closed
  • Assignee set to falsifian
  • Target version set to 6.2
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF