From nobody Tue Jan 28 20:09:15 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 4YjGbC2WK5z5m3wN for ; Tue, 28 Jan 2025 20:09:27 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YjGbC0gYCz3p6p for ; Tue, 28 Jan 2025 20:09:27 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-f45.google.com with SMTP id 98e67ed59e1d1-2ee989553c1so10386017a91.3 for ; Tue, 28 Jan 2025 12:09:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738094966; x=1738699766; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3anSG8TZy0LaV64jmxNH+YQ8Gl4pq3mwulnuXcv/6MA=; b=MxnGjmn4PgFlImkpd8m09T2odQIQ/GyF8qOEUB6Fr2mSoAUdfMCkpRAsr011oEJ4ms EcUvdZW19ZATAxqrpT58ToGizs801c5P9MPx11VGYVNqxUJtSpaxM8r0Wna1X4AArDFe tCPxYWrNUSO8uEvD1wQVpC+DUA1H4z26uov9FnfodbXnUCS1jI9xfESHRmMMjthUNg1R gO4IPQ+uu1wm+GH8ACJ9hscOBYS0QRiINqShyI41LSyhhMkCxRuehUrPD61VcqY0B8w/ drMg3ovXnxzxONE8MEwAvgjKD1VC/o4xo247NWLtJ1YFxbTv+EeWILmQ7d/uL1zCkJQl D/oQ== X-Forwarded-Encrypted: i=1; AJvYcCXhtlY+q6oYfkXc8YhE5s1TDKe5BAWmSaHDxZh0PlCEiSOampjdR5kIfwOEsn/rqpgi9P8JXDqDdwmhMl39hHI=@freebsd.org X-Gm-Message-State: AOJu0YwqmFXkSosvnutQVAoiRTS2ctyejO4x2SPxWcNBcbRg/wn8s+pY v/w/G+JCzT2K2tP5CyYIYyGb0dAG3FjlbbZz4JxReF1E32qcYUm21NnNFSOihdqp7f3o1hsccQ8 03IOSGGN5XOm5hlvqhsIyyytGcqgUlPP91imlow== X-Gm-Gg: ASbGncvS0oM9ycawKZNakLmVUJOTKYAPr46gXa22fcGPpfaROmpiob0rqiqGIt9bLxj Lkk44fnVzchDXyRzWgB4D6TL7AfN3xpgnY92q0hR/HG5mqYoBlaL/f4Z4RJYOSZrW1HzdUNN0 X-Google-Smtp-Source: AGHT+IHXQUzPJKXHsRWa0GWENVeOqZ3KpBE+9czP417eYtB64IRXA0zEo8O+lPevsrqtR9jT1UGwE1dW931DUDh+AKA= X-Received: by 2002:a17:90b:518d:b0:2ee:aef4:2c5d with SMTP id 98e67ed59e1d1-2f83ac5c201mr411968a91.26.1738094965794; Tue, 28 Jan 2025 12:09:25 -0800 (PST) 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 References: <382bafe6ff9c04ab72d9e0c6f7fb39c3@Leidinger.net> In-Reply-To: <382bafe6ff9c04ab72d9e0c6f7fb39c3@Leidinger.net> From: Maxim Sobolev Date: Tue, 28 Jan 2025 21:09:15 +0100 X-Gm-Features: AWEUYZmIV7hVtE0YoosGfpxiakG9aqZeiRvWWE73OHD3v7Tq9ngxcQcAwfejUd4 Message-ID: Subject: Re: Difference in "netstat -rn" output in the last 2 months To: Alexander Leidinger Cc: Gleb Smirnoff , Allan Jude , Current FreeBSD Content-Type: multipart/alternative; boundary="00000000000005c5c7062cc9c5cc" X-Rspamd-Queue-Id: 4YjGbC0gYCz3p6p 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:15169, ipnet:209.85.128.0/17, country:US] --00000000000005c5c7062cc9c5cc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Discussed between 3 people, creating the problem for 3,000. Great! -Max On Tue, Jan 28, 2025, 7:05=E2=80=AFPM 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 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 = 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
<sarcasm>Discussed between 3 people, creating the p= roblem for 3,000. Great!</sarcasm>

-Max

On Tue, Jan 28, 2025, 7:05=E2=80= =AFPM Alexander Leidinger <Al= exander@leidinger.net> wrote:

Am 2025-01-28 18:32, schrieb Ma= xim Sobolev:

I also think this should be reverted back to default. &qu= ot;-n" refers to IP to name functionality, "default" is clea= rly 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).
=C2=A0
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".
=C2=A0
Bye,
Alexander.
=C2=A0
-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 wrot= e:
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. ioc= age). Iocage uses python, I'm not sure if it uses netstat or some
A&= gt; other interface, so it may not be directly related to netstat itself bu= t
A> could be related to some other stuff (netlink maybe?).
A> =
A> Does this ring a bell for someone?

This is very likely cha= nged by 9206c79961986c2114a9a2cfccf009ac010ad259.

Allan, may be make= exclusion for the "default" to keep POLA? Otherwise,
indeed a= t time of 15.0-RELEASE we will receive some negative feedback :)

May= be double -nn should introduce new behavior?

--
Gleb Smirnoff


--
= http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F318= 30F9F2772BF
http://www.FreeBSD.org =C2=A0 =C2=A0n= etchild@FreeBSD.org =C2=A0: PGP 0x8F31830F9F2772BF
--00000000000005c5c7062cc9c5cc--