Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2025 15:58:28 -0500
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: Difference in "netstat -rn" output in the last 2 months
Message-ID:  <3ee5884e-f1e5-4911-bc07-6fd8b5460bb3@freebsd.org>
In-Reply-To: <Z5uwlgOghc0X2Ob-@cell.glebi.us>
References:  <b529fbae8f4f4ed96dab86d11995f4b9@Leidinger.net> <Z5uwlgOghc0X2Ob-@cell.glebi.us>

index | next in thread | previous in thread | raw e-mail

On 1/30/2025 12:02 PM, Gleb Smirnoff wrote:
> On Sun, Jan 26, 2025 at 04:58:57PM +0100, Alexander Leidinger wrote:
> A> something has changed in the output of "netstat -rn" between
> A> 2024-11-23-195545 and 2025-01-22-151306. The default route is not listed as
> A> "default" anymore, but with "0.0.0.0" resp. "::/0". This breaks some tools
> A> (e.g. iocage). Iocage uses python, I'm not sure if it uses netstat or some
> A> other interface, so it may not be directly related to netstat itself but
> A> could be related to some other stuff (netlink maybe?).
> A>
> A> Does this ring a bell for someone?
> 
> I created review to restore the default behavior and make new behavior
> optional:
> 
> https://reviews.freebsd.org/D48729
> 

Hi Gleb,

Thanks for catching this while I was traveling. I agree that too many 
things break with this change, and it makes sense to put the new 
behaviour behind the double flag (-nn).

-- 
Allan Jude


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ee5884e-f1e5-4911-bc07-6fd8b5460bb3>