Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2025 09:23:48 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Maxim Sobolev <sobomax@freebsd.org>
Cc:        Gleb Smirnoff <glebius@freebsd.org>, Allan Jude <allanjude@freebsd.org>, Current FreeBSD <freebsd-current@freebsd.org>
Subject:   Re: Difference in "netstat -rn" output in the last 2 months
Message-ID:  <349e06fd64823b00aa4db36bb82a8de2@Leidinger.net>
In-Reply-To: <CAH7qZfsdWdsfshsJNaEBdHjL=Wjx3=5VDma4rjAxC0bcbzbL7w@mail.gmail.com>
References:  <b529fbae8f4f4ed96dab86d11995f4b9@Leidinger.net> <Z5kJzMy0qRZ3i0pD@cell.glebi.us> <CAH7qZfvuf95Z_3_kj59B7CtE1SvnoERF51XTCMa2vD2WE53yZg@mail.gmail.com> <382bafe6ff9c04ab72d9e0c6f7fb39c3@Leidinger.net> <CAH7qZfsdWdsfshsJNaEBdHjL=Wjx3=5VDma4rjAxC0bcbzbL7w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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:

> <sarcasm>Discussed between 3 people, creating the problem for 3,000. 
> Great!</sarcasm>

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 
> <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 [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 <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

-- 
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

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
=3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen=
eva,sans-serif'>
<p id=3D"reply-intro">Am 2025-01-28 21:09, schrieb Maxim Sobolev:</p>
<blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2=
px solid; margin: 0">
<div id=3D"replybody1">
<div dir=3D"auto">&lt;sarcasm&gt;Discussed between 3 people, creating the p=
roblem for 3,000. Great!&lt;/sarcasm&gt;</div>
</div>
</blockquote>
<div id=3D"replybody1">
<div dir=3D"auto">
<div dir=3D"auto">&nbsp;</div>
<div dir=3D"auto">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.</div>
<div dir=3D"auto">&nbsp;</div>
<div dir=3D"auto">Bye,</div>
<div dir=3D"auto">Alexander.</div>
<div dir=3D"auto">&nbsp;</div>
</div>
</div>
<blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2=
px solid; margin: 0">
<div id=3D"replybody1">
<div dir=3D"auto">
<div dir=3D"auto">-Max</div>
</div>
<br />
<div class=3D"v1gmail_quote v1gmail_quote_container">
<div class=3D"v1gmail_attr" dir=3D"ltr">On Tue, Jan 28, 2025, 7:05=E2=80=AF=
PM Alexander Leidinger &lt;<a href=3D"mailto:Alexander@leidinger.net" rel=
=3D"noreferrer">Alexander@leidinger.net</a>&gt; wrote:</div>
<blockquote class=3D"v1gmail_quote" style=3D"margin: 0 0 0 .8ex; border-lef=
t: 1px #ccc solid; padding-left: 1ex;">
<div style=3D"font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">
<p id=3D"v1m_-5400483393599524973reply-intro">Am 2025-01-28 18:32, schrieb =
Maxim Sobolev:</p>
<blockquote style=3D"padding: 0 0.4em; border-left: #1010ff 2px solid; marg=
in: 0;">
<div id=3D"v1m_-5400483393599524973replybody1">
<div dir=3D"auto">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 <a href=3D"http=
://0.0.0.0/0" target=3D"_blank" rel=3D"noopener noreferrer">0.0.0.0/0</a> (=
not sure why but ok).</div>
</div>
</blockquote>
<div id=3D"v1m_-5400483393599524973replybody1">
<div dir=3D"auto">
<div dir=3D"auto">&nbsp;</div>
<div dir=3D"auto">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".</div>
<div dir=3D"auto">&nbsp;</div>
<div dir=3D"auto">Bye,</div>
<div dir=3D"auto">Alexander.</div>
<div dir=3D"auto">&nbsp;</div>
</div>
</div>
<blockquote style=3D"padding: 0 0.4em; border-left: #1010ff 2px solid; marg=
in: 0;">
<div id=3D"v1m_-5400483393599524973replybody1">
<div dir=3D"auto">
<div dir=3D"auto">-Max</div>
</div>
<br />
<div>
<div dir=3D"ltr">On Tue, Jan 28, 2025, 5:46=E2=80=AFPM Gleb Smirnoff &lt;<a=
 href=3D"mailto:glebius@freebsd.org" rel=3D"noreferrer">glebius@freebsd.org=
</a>&gt; wrote:</div>
<blockquote style=3D"margin: 0 0 0 .8ex; border-left: 1px #ccc solid; paddi=
ng-left: 1ex;">On Sun, Jan 26, 2025 at 04:58:57PM +0100, Alexander Leidinge=
r wrote:<br />A&gt; something has changed in the output of "netstat -rn" be=
tween<br />A&gt; 2024-11-23-195545 and 2025-01-22-151306. The default route=
 is not listed as<br />A&gt; "default" anymore, but with "0.0.0.0" resp. ":=
:/0". This breaks some tools<br />A&gt; (e.g. iocage). Iocage uses python, =
I'm not sure if it uses netstat or some<br />A&gt; other interface, so it m=
ay not be directly related to netstat itself but<br />A&gt; could be relate=
d to some other stuff (netlink maybe?).<br />A&gt; <br />A&gt; Does this ri=
ng a bell for someone?<br /><br />This is very likely changed by 9206c79961=
986c2114a9a2cfccf009ac010ad259.<br /><br />Allan, may be make exclusion for=
 the "default" to keep POLA? Otherwise,<br />indeed at time of 15.0-RELEASE=
 we will receive some negative feedback :)<br /><br />Maybe double -nn shou=
ld introduce new behavior?<br /><br />-- <br />Gleb Smirnoff<br /><br /></b=
lockquote>
</div>
</div>
</blockquote>
<p><br /></p>
<div id=3D"v1m_-5400483393599524973signature">-- <br />
<div style=3D"margin: 0; padding: 0; font-family: monospace;"><a href=3D"ht=
tp://www.Leidinger.net" target=3D"_blank" rel=3D"noopener noreferrer">http:=
//www.Leidinger.net</a> <a href=3D"#NOP">Alexander@Leidinger.net:</a> PGP 0=
x8F31830F9F2772BF<br /><a href=3D"http://www.FreeBSD.org" target=3D"_blank"=
 rel=3D"noopener noreferrer">http://www.FreeBSD.org</a>; &nbsp; &nbsp;<a hre=
f=3D"mailto:netchild@FreeBSD.org" rel=3D"noreferrer">netchild@FreeBSD.org</=
a> &nbsp;: PGP 0x8F31830F9F2772BF</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
<p><br /></p>
<div id=3D"signature">-- <br />
<div class=3D"pre" style=3D"margin: 0; padding: 0; font-family: monospace">=
<a href=3D"http://www.Leidinger.net" target=3D"_blank" rel=3D"noopener nore=
ferrer">http://www.Leidinger.net</a>; <a href=3D"mailto:Alexander@Leidinger.=
net:">Alexander@Leidinger.net:</a> PGP 0x8F31830F9F2772BF<br /><a href=3D"h=
ttp://www.FreeBSD.org" target=3D"_blank" rel=3D"noopener noreferrer">http:/=
/www.FreeBSD.org</a> &nbsp; &nbsp;<a href=3D"mailto:netchild@FreeBSD.org">n=
etchild@FreeBSD.org</a> &nbsp;: PGP 0x8F31830F9F2772BF</div>
</div>
</body></html>

--=_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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?349e06fd64823b00aa4db36bb82a8de2>