[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#941026: marked as done (netcfg_gateway_reachable wrongly rejects IPv6 link-local addresses)



Your message dated Sat, 08 Mar 2025 13:32:28 +0100
with message-id <3E19B709-F269-4B43-8235-392264B5D7C2@mailbox.org>
and subject line Re: #941026 netcfg_gateway_reachable wrongly rejects IPv6 link-local addresses
has caused the Debian Bug report #941026,
regarding netcfg_gateway_reachable wrongly rejects IPv6 link-local addresses
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
941026: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=941026
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: netcfg
Version: 1.160
Severity: normal

When doing static IP configuration, netcfg will reject a gateway address
outside the host's network as defined by the netmask. This is wrong for IPv6
because the gateway can legitimately be a link-local address in fe80::/64
instead of the host's network range. Ubuntu have fixed this bug in their
version, see LP#1382295
https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/1382295

The relevant function is netcfg_gateway_reachable in netcfg-common.c which
simply checks gateway_address & netmask == host_address. It should also allow
IPv6 addresses in the link local prefix fe80::/64.

Less importantly, the error message it triggers could be a bit clearer, "The
gateway address you entered is unreachable" sounds like it might be a network
error when it's purely a user-input parsing rejection - if the code had
actually tried the link-local address it would've worked. 

Thanks for your help,

Andrew Kanaber

--- End Message ---
--- Begin Message ---
Version: 1.177

Fixed with this MR:
<https://salsa.debian.org/installer-team/netcfg/-/merge_requests/3>



-- 
Sent from /e/ OS on Fairphone3
-- 
Sent from /e/ OS on Fairphone3

--- End Message ---

Reply to: