From nobody Wed Jan 29 08:23:48 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YjZvk66HJz5mLbp for ; Wed, 29 Jan 2025 08:24:50 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from mailgate.Leidinger.net (bastille.leidinger.net [89.238.82.207]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (prime256v1) client-digest SHA256) (Client CN "mailgate.leidinger.net", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YjZvk35x0z3kQR; Wed, 29 Jan 2025 08:24:50 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Authentication-Results: mx1.freebsd.org; none List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1738139080; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=kX14w+E+kXX4qv4gDDSLcpCj9lvQPgC/usYx54gGtCM=; b=xUPS7P7qv8W+SVP4KjoMjVsMer1v0YOJWOw0Vq8Zjvo+1iu4Q+i+D82Ug0uH7UQV6lkgEU I4Tc68VDQy1DcKrxyOoRfw5/WJEavQcICMly0nOAg+P61OHPkUscCo1jIJ9t3gU3NS8Jpq tSRK5HFZuAWwtXuRIQSQpnXMtMFn9OaBvG/4mI4dmyIXZeiBSYnO3L8LExY99p3HPpm262 qSxbfSByF7qs2zCBP7ZdiF0DXRKi2dJC/yHaS7fXODo6KwZgQOjz0vac73yNVVN10TnFqd WkJ8t7Nh/wspKHMqKadU8NFaol2e58kHRUyA2QhwPzH6CCHgnjGCQTO7lzv9Mw== Date: Wed, 29 Jan 2025 09:23:48 +0100 From: Alexander Leidinger To: Maxim Sobolev Cc: Gleb Smirnoff , Allan Jude , Current FreeBSD Subject: Re: Difference in "netstat -rn" output in the last 2 months In-Reply-To: References: <382bafe6ff9c04ab72d9e0c6f7fb39c3@Leidinger.net> Message-ID: <349e06fd64823b00aa4db36bb82a8de2@Leidinger.net> Organization: No organization, this is a private message. Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=_07829f6199b9ba45db211f1a65dbc26b"; micalg=pgp-sha256 X-Rspamd-Queue-Id: 4YjZvk35x0z3kQR X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:34240, ipnet:89.238.64.0/18, country:DE] This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --=_07829f6199b9ba45db211f1a65dbc26b Content-Type: multipart/alternative; boundary="=_5ac39ebfa48504bfb44c88e37431a324" --=_5ac39ebfa48504bfb44c88e37431a324 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8; format=flowed Am 2025-01-28 21:09, schrieb Maxim Sobolev: > Discussed between 3 people, creating the problem for 3,000. > Great! Sorry, but sarcasm doesn't help here. In the light of a lot of hot talk (and more) all around the globe, feel free to go the open source way and provide a patch. We all want to improve FreeBSD, sometimes it works on first try, sometimes we need to try more often. Bye, Alexander. > -Max > > On Tue, Jan 28, 2025, 7:05 PM Alexander Leidinger > 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 [1] (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 > 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 -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF Links: ------ [1] http://0.0.0.0/0 --=_5ac39ebfa48504bfb44c88e37431a324 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

Am 2025-01-28 21:09, schrieb Maxim Sobolev:

<sarcasm>Discussed between 3 people, creating the p= roblem for 3,000. Great!</sarcasm>
 
Sorry, but sarcasm doesn't help here. In the light of a l= ot of hot talk (and more) all around the globe, feel free to go the open so= urce way and provide a patch. We all want to improve FreeBSD, sometimes it = works on first try, sometimes we need to try more often.
 
Bye,
Alexander.
 
-Max

On Tue, Jan 28, 2025, 7:05=E2=80=AF= 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= =2E 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=E2=80=AFPM Gleb Smirnoff <glebius@freebsd.org= > wrote:
On Sun, Jan 26, 2025 at 04:58:57PM +0100, Alexander Leidinge= r wrote:
A> something has changed in the output of "netstat -rn" be= tween
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 m= ay not be directly related to netstat itself but
A> could be relate= d to some other stuff (netlink maybe?).
A>
A> Does this ri= ng a bell for someone?

This is very likely changed by 9206c79961= 986c2114a9a2cfccf009ac010ad259.

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 shou= ld introduce new behavior?

--
Gleb Smirnoff



--=_5ac39ebfa48504bfb44c88e37431a324-- --=_07829f6199b9ba45db211f1a65dbc26b Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc; size=833 Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmeZ5aUACgkQEg2wmwP4 2IZXuA//R5PjRZ9KJB+jG87GC19YRNLgF9JA4oQG1IBbr/sKZpu46fpFXT3XPq7a 5+Z0VRvaETTiho2cpBWuZjsOQ8u3ggfuvp11DU4uiq9Weix9VbA8fY5IX8CCbOnp 3RV8EvHZ9kEtGUztilujYlGlsmOtl2UjbFhUkWEC0a9fhWmYR5M+GBMxdK++R4Pl hqtmGC9htqmAp75Zoy3YjByV/piVUsVvN+gRbTbwCNlmaWCon0ADTcw1nZ3Rax66 6nuRW7QF0qk/O+tGpDTnCnQ1hKyQO5BURB597PbINOAf0BkxUcYzeNVfifxayj5j LH06wPt2FDUTzPulNIxDZ/Wdl29AOedEkOaE9Rr1Xmn+DmCzTf/3Ps9KNcPsRtFv 8wBVvfy9wSobfXEHiksPYElMo3E1CJT8aKUnDd92qHSFwBaNGiafjvsQZqQgELYI GSV9B0FraPcc7k5hiI4xSML8bs+yzxCAz1HJSV4hWcmIRYsx4TeigQN8qvylEsOe TIyH8pl8OCmLy0lko+n87PvOG7b2XCM9cCkq/I1TJdCb9B3SJnvRgb9/8i8zkoKd u7OFDoKbAAk8pj+Q637DGXSQvB6JH9A60XNglAn2usNKvzFjJta3wrOax02stiTj z/tpzntB8MeqVd5irbqqh4wb4VSXnf1tcdSYKVLR3H5T6gkgWW0= =8Vwh -----END PGP SIGNATURE----- --=_07829f6199b9ba45db211f1a65dbc26b--