Re: Difference in "netstat -rn" output in the last 2 months
Date: Tue, 28 Jan 2025 20:09:15 UTC
<sarcasm>Discussed between 3 people, creating the problem for 3,000. Great!</sarcasm> -Max On Tue, Jan 28, 2025, 7:05 PM Alexander Leidinger <Alexander@leidinger.net> wrote: > Am 2025-01-28 18:32, schrieb Maxim Sobolev: > > I also think this should be reverted back to default. "-n" refers to IP to > name functionality, "default" is clearly a special case. If someone wants > it, some other option can be added to emit 0.0.0.0/0 (not sure why but > ok). > > > This was discussed in the review referenced in the commit. The -nn > proposal was there too. Personally I agree with the rationales in favor of > "-nn". > > Bye, > Alexander. > > > -Max > > On Tue, Jan 28, 2025, 5:46 PM Gleb Smirnoff <glebius@freebsd.org> 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 :) > > Maybe double -nn should introduce new behavior? > > -- > Gleb Smirnoff > > > -- > http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF > http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF >