Date: Tue, 28 Jan 2025 18:12:48 +0000 From: Alexey Dokuchaev <danfe@freebsd.org> To: Gleb Smirnoff <glebius@freebsd.org> Cc: Alexander Leidinger <Alexander@leidinger.net>, allanjude@freebsd.org, Current FreeBSD <freebsd-current@freebsd.org> Subject: Re: Difference in "netstat -rn" output in the last 2 months Message-ID: <Z5keIPELUxBdyhJR@FreeBSD.org> In-Reply-To: <Z5kJzMy0qRZ3i0pD@cell.glebi.us> References: <b529fbae8f4f4ed96dab86d11995f4b9@Leidinger.net> <Z5kJzMy0qRZ3i0pD@cell.glebi.us>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 28, 2025 at 08:46:04AM -0800, 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? > > This is very likely changed by 9206c79961986c2114a9a2cfccf009ac010ad259. > > Allan, may be make exclusion for the "default" to keep POLA? Otherwise, > indeed at time of 15.0-RELEASE we will receive some negative feedback :) I fully second this request. I was very much annoyed by this change, as "netstat -rn" is in my finger memory and seeing linuxish 0.0.0.0 instead of our usual "default" was totally unexpected and rather confusing. ./danfe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Z5keIPELUxBdyhJR>