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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
<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
>

[-- Attachment #2 --]
<div dir="auto">&lt;sarcasm&gt;Discussed between 3 people, creating the problem for 3,000. Great!&lt;/sarcasm&gt;<div dir="auto"><br></div><div dir="auto">-Max</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Jan 28, 2025, 7:05 PM Alexander Leidinger &lt;<a href="mailto:Alexander@leidinger.net">Alexander@leidinger.net</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p id="m_-5400483393599524973reply-intro">Am 2025-01-28 18:32, schrieb Maxim Sobolev:</p>
<blockquote type="cite" style="padding:0 0.4em;border-left:#1010ff 2px solid;margin:0">
<div id="m_-5400483393599524973replybody1">
<div dir="auto">I also think this should be reverted back to default. &quot;-n&quot; refers to IP to name functionality, &quot;default&quot; is clearly a special case. If someone wants it, some other option can be added to emit <a href="http://0.0.0.0/0" rel="noopener noreferrer noreferrer" target="_blank">0.0.0.0/0</a> (not sure why but ok).</div>
</div>
</blockquote>
<div id="m_-5400483393599524973replybody1">
<div dir="auto">
<div dir="auto"> </div>
<div dir="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="auto"> </div>
<div dir="auto">Bye,</div>
<div dir="auto">Alexander.</div>
<div dir="auto"> </div>
</div>
</div>
<blockquote type="cite" style="padding:0 0.4em;border-left:#1010ff 2px solid;margin:0">
<div id="m_-5400483393599524973replybody1">
<div dir="auto">
<div dir="auto">-Max</div>
</div>
<br>
<div>
<div dir="ltr">On Tue, Jan 28, 2025, 5:46 PM Gleb Smirnoff &lt;<a href="mailto:glebius@freebsd.org" rel="noreferrer noreferrer" target="_blank">glebius@freebsd.org</a>&gt; wrote:</div>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, Jan 26, 2025 at 04:58:57PM +0100, Alexander Leidinger wrote:<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. iocage). 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 but<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 changed by 9206c79961986c2114a9a2cfccf009ac010ad259.<br><br>Allan, may be make exclusion for the &quot;default&quot; to keep POLA? Otherwise,<br>indeed at time of 15.0-RELEASE we will receive some negative feedback :)<br><br>Maybe double -nn should introduce new behavior?<br><br>-- <br>Gleb Smirnoff<br><br></blockquote>
</div>
</div>
</blockquote>
<p><br></p>
<div id="m_-5400483393599524973signature">-- <br>
<div style="margin:0;padding:0;font-family:monospace"><a href="http://www.Leidinger.net" rel="noopener noreferrer noreferrer" target="_blank">http://www.Leidinger.net</a>; <a href="mailto:Alexander@Leidinger.net:" target="_blank" rel="noreferrer">Alexander@Leidinger.net:</a> PGP 0x8F31830F9F2772BF<br><a href="http://www.FreeBSD.org" rel="noopener noreferrer noreferrer" target="_blank">http://www.FreeBSD.org</a>;    <a href="mailto:netchild@FreeBSD.org" target="_blank" rel="noreferrer">netchild@FreeBSD.org</a>  : PGP 0x8F31830F9F2772BF</div>
</div>
</div>
</blockquote></div>
home | help

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