After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 742974 - Routing Advertisments: Ignore Cur Hop Limit = 0 (RFC 4861)
Routing Advertisments: Ignore Cur Hop Limit = 0 (RFC 4861)
Status: RESOLVED DUPLICATE of bug 737252
Product: NetworkManager
Classification: Platform
Component: IP and DNS config
0.9.x
Other Linux
: Normal major
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-01-15 15:02 UTC by Patrick Rauscher
Modified: 2015-01-15 16:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Patrick Rauscher 2015-01-15 15:02:25 UTC
While RFC 4861 specifies, that a cur hop limit of 0 must be parsed as "undefined" and therefore ignored, NetworkManager will set the hop limit of the interface to 0, leading to no IPv6-connectivity at all.

Steps to reproduce:
1. Install a router which announces a Cur Hop Limit of 0 (e.g. odhcpd, which is used in openWRT)
2. Connect a host with NetworkManager to this Interface
3. cat /proc/sys/net/ipv6/conf/<INTERFACE>/hop_limit

Expected result: 64 (or whatever was there before)

Actual result: 0

This Bug leads to all NetworkManager-Hosts behind most OpenWRT-Routers with missconfigured and unusable IPv6, therefore I set severity to major.

The Kernel-implementation uses a simple if to catch this [1], from my naive point of view, it should be easy to add this clause to [2].

1: https://github.com/torvalds/linux/blob/master/net/ipv6/ndisc.c#L1218
2: http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/src/rdisc/nm-lndp-rdisc.c#n627
Comment 1 Patrick Rauscher 2015-01-15 16:03:14 UTC

*** This bug has been marked as a duplicate of bug 737252 ***