Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2025 21:09:15 +0100
From:      Maxim Sobolev <sobomax@freebsd.org>
To:        Alexander Leidinger <Alexander@leidinger.net>
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:  <CAH7qZfsdWdsfshsJNaEBdHjL=Wjx3=5VDma4rjAxC0bcbzbL7w@mail.gmail.com>
In-Reply-To: <382bafe6ff9c04ab72d9e0c6f7fb39c3@Leidinger.net>
References:  <b529fbae8f4f4ed96dab86d11995f4b9@Leidinger.net> <Z5kJzMy0qRZ3i0pD@cell.glebi.us> <CAH7qZfvuf95Z_3_kj59B7CtE1SvnoERF51XTCMa2vD2WE53yZg@mail.gmail.com> <382bafe6ff9c04ab72d9e0c6f7fb39c3@Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000005c5c7062cc9c5cc
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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

-Max

On Tue, Jan 28, 2025, 7:05=E2=80=AFPM Alexander Leidinger <Alexander@leidin=
ger.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 t=
o
> 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 o=
f
> "-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 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 b=
ut
> 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
>

--00000000000005c5c7062cc9c5cc
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">&lt;sarcasm&gt;Discussed between 3 people, creating the p=
roblem for 3,000. Great!&lt;/sarcasm&gt;<div dir=3D"auto"><br></div><div di=
r=3D"auto">-Max</div></div><br><div class=3D"gmail_quote gmail_quote_contai=
ner"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Jan 28, 2025, 7:05=E2=80=
=AFPM Alexander Leidinger &lt;<a href=3D"mailto:Alexander@leidinger.net">Al=
exander@leidinger.net</a>&gt; wrote:<br></div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
"><div style=3D"font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p id=3D"m_-5400483393599524973reply-intro">Am 2025-01-28 18:32, schrieb Ma=
xim Sobolev:</p>
<blockquote type=3D"cite" style=3D"padding:0 0.4em;border-left:#1010ff 2px =
solid;margin:0">
<div id=3D"m_-5400483393599524973replybody1">
<div dir=3D"auto">I also think this should be reverted back to default. &qu=
ot;-n&quot; refers to IP to name functionality, &quot;default&quot; is clea=
rly a special case. If someone wants it, some other option can be added to =
emit <a href=3D"http://0.0.0.0/0" rel=3D"noopener noreferrer noreferrer" ta=
rget=3D"_blank">0.0.0.0/0</a> (not sure why but ok).</div>
</div>
</blockquote>
<div id=3D"m_-5400483393599524973replybody1">
<div dir=3D"auto">
<div dir=3D"auto">=C2=A0</div>
<div dir=3D"auto">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 &quot;-nn&quot;.</div>
<div dir=3D"auto">=C2=A0</div>
<div dir=3D"auto">Bye,</div>
<div dir=3D"auto">Alexander.</div>
<div dir=3D"auto">=C2=A0</div>
</div>
</div>
<blockquote type=3D"cite" style=3D"padding:0 0.4em;border-left:#1010ff 2px =
solid;margin:0">
<div id=3D"m_-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 noreferrer" target=
=3D"_blank">glebius@freebsd.org</a>&gt; wrote:</div>
<blockquote style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">On Sun, Jan 26, 2025 at 04:58:57PM +0100, Alexander Leidinger wrot=
e:<br>A&gt; something has changed in the output of &quot;netstat -rn&quot; =
between<br>A&gt; 2024-11-23-195545 and 2025-01-22-151306. The default route=
 is not listed as<br>A&gt; &quot;default&quot; anymore, but with &quot;0.0.=
0.0&quot; resp. &quot;::/0&quot;. This breaks some tools<br>A&gt; (e.g. ioc=
age). Iocage uses python, I&#39;m not sure if it uses netstat or some<br>A&=
gt; other interface, so it may not be directly related to netstat itself bu=
t<br>A&gt; could be related to some other stuff (netlink maybe?).<br>A&gt; =
<br>A&gt; Does this ring a bell for someone?<br><br>This is very likely cha=
nged by 9206c79961986c2114a9a2cfccf009ac010ad259.<br><br>Allan, may be make=
 exclusion for the &quot;default&quot; to keep POLA? Otherwise,<br>indeed a=
t time of 15.0-RELEASE we will receive some negative feedback :)<br><br>May=
be double -nn should introduce new behavior?<br><br>-- <br>Gleb Smirnoff<br=
><br></blockquote>
</div>
</div>
</blockquote>
<p><br></p>
<div id=3D"m_-5400483393599524973signature">-- <br>
<div style=3D"margin:0;padding:0;font-family:monospace"><a href=3D"http://w=
ww.Leidinger.net" rel=3D"noopener noreferrer noreferrer" target=3D"_blank">=
http://www.Leidinger.net</a>; <a href=3D"mailto:Alexander@Leidinger.net:" ta=
rget=3D"_blank" rel=3D"noreferrer">Alexander@Leidinger.net:</a> PGP 0x8F318=
30F9F2772BF<br><a href=3D"http://www.FreeBSD.org" rel=3D"noopener noreferre=
r noreferrer" target=3D"_blank">http://www.FreeBSD.org</a>; =C2=A0 =C2=A0<a =
href=3D"mailto:netchild@FreeBSD.org" target=3D"_blank" rel=3D"noreferrer">n=
etchild@FreeBSD.org</a> =C2=A0: PGP 0x8F31830F9F2772BF</div>
</div>
</div>
</blockquote></div>

--00000000000005c5c7062cc9c5cc--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAH7qZfsdWdsfshsJNaEBdHjL=Wjx3=5VDma4rjAxC0bcbzbL7w>