From nobody Sun Nov 19 01:15:04 2023 X-Original-To: freebsd-net@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 4SXt3j2GBTz50xxY for ; Sun, 19 Nov 2023 01:15:13 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SXt3h5h8Tz3STr; Sun, 19 Nov 2023 01:15:12 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700356512; 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=w8Fy1jlVzkHpvHe/F4SRF4Ujwd+GONCOPAlLu7Voh1k=; b=Gg5PdI7WDT7qsNSUQTq+po9gWFEexRzzgO2Ra7MnrZT2g4R/atnCuwBcNlVaNs5RKxqb4Z XgvNruEztwlWy3W0HwnZbtDo+9FgblsGmNkdV0GrUmRkHV4RWe9n4eBkLwM6JVFKk7ukoJ EXv+qsAjOGrr1xba9CN1FHIIhicL3T/OViAclLT/L0pUuYPCkik/nN5E5+CUVkX1A3tWEi 50tZL29nBE3zGB06RSkk3KBeQJA7oG7X4ZiOP0txx6AQNZccYIyt5+F/C8o9snlKLz9XuQ O18AJaJ+Q9Q1y9wSDHV0aPVW7J+MRSvl7UFvT2uAPJixkYeyI9wuekC5LY18HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700356512; 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=w8Fy1jlVzkHpvHe/F4SRF4Ujwd+GONCOPAlLu7Voh1k=; b=DsWQCEYcFQiTMqq3r4YdWNkyb69ktS36ql2HiapRF5ktvGoEIsW657F+TYzuH3MA5NlnU/ pL2sGNbpQvB06ixuaruGNIDG1r7RH2vhMh2ApTgvuOWLh4dIJ4jF+RfQifAUlj42aCMFYM kk3uYFj6hMMj+y4AOyY8TLpGwOHaXuy0Gt+vairZkFzShqzx5mhPfKJzMwncNHQndZrgVj g2hTtBkxKQDLL+g11xiovjmKtQrGeCglNc0HySeORSAL3yGdTQgAQXIzLFlAxrRnuvbbwP JumM3kd9OOswCjaMha0uMfnsLpfxESnm56vW7B2Mh+ZDlhyok305i/OFJq8FBg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700356512; a=rsa-sha256; cv=none; b=Rptjoi4u5pYeINxjjQkBH4TimhsEL4FtTO5uRts9enFllgf/LG45cSfHrCYNkske0Uny8U k4lmyE9nnYvkUd7valtQeyEhx4eA7H8bVwbXF7Y6VwtKwX79Hlg2DMLMpHlnpZhyFPDHPk YmLYWNTvDCiRMvtCLhLW/fp0mcM7cbi4vYY00i4Xun3DmA7L23IyWYZ40Mrlz/fys4jdB8 bg0cnM+sYX364ftqOgWfigsaSP5h99fuDf76olL1BCeExvB6m0nSV2eQyVn5DZTM9B+HDZ aDZMf3CoXBWPaljskOTdUn32J6XH/tiaA4UAMXIf6rQiP+t9U9no9y+yzztzkA== Received: from smtpclient.apple (ns1.oxydns.net [45.32.91.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: zlei/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SXt3g5ZL3z168s; Sun, 19 Nov 2023 01:15:11 +0000 (UTC) (envelope-from zlei@FreeBSD.org) From: Zhenlei Huang Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_6FD7852A-BC35-4FE3-97EE-B65056ABE9B5" List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.4\)) Subject: Re: How to tell if a network interface was renamed (and from what) Date: Sun, 19 Nov 2023 09:15:04 +0800 In-Reply-To: Cc: "freebsd-net@freebsd.org" To: =?utf-8?Q?Mina_Gali=C4=87?= References: X-Mailer: Apple Mail (2.3696.120.41.1.4) --Apple-Mail=_6FD7852A-BC35-4FE3-97EE-B65056ABE9B5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Nov 19, 2023, at 6:20 AM, Mina Gali=C4=87 = wrote: >=20 > Hi folks, >=20 > Linux has an "easy" way of telling if an interface has been renamed. > See cloud-init's is_renamed function: = https://github.com/canonical/cloud-init/blob/5496745b394f9b7b9eaf57fd61933= 0d484ce2da8/cloudinit/net/__init__.py#L338-L350 > This code reads /sys/class/net//name_assign_type and if that is = 3 or 4, it's been renamed. >=20 > I can't even think of an sensible way of replicating that. > I can only think of terrible / wrong way of finding it out: >=20 > dmesg | grep "changing name to ''" >=20 > a less terrible method would be to check for, say: >=20 > sysctl dev..0.%driver >=20 > if that fails, we probably have a renamed interface=E2=80=A6 but we = don't know what it was renamed from, and this only works for *real* = interfaces, not for cloned devices, or epairs. >=20 > Now, ignoring my terrible hacky attempts at command line tooling, I = would also happily accept a solution in C, which is fairly easily = accessible from Python, and which we already use to figure out the = uptime (or rather, the boottime): = https://github.com/canonical/cloud-init/blob/5496745b394f9b7b9eaf57fd61933= 0d484ce2da8/cloudinit/util.py#L2073-L2105 >=20 > Looking forward to reading your ideas. FreeBSD currently does not preserve the old ( original ) name of = interfaces if it is renamed ( either physical or cloned ones ). While there's an attempt https://reviews.freebsd.org/D28247 = to get the device name (physical = ones) but it is not perfect and not completed. So may I ask why you need to know if a network interface was renamed ? >=20 > Kind regards, >=20 > Mina Gali=C4=87 >=20 Best regards, Zhenlei --Apple-Mail=_6FD7852A-BC35-4FE3-97EE-B65056ABE9B5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On Nov 19, 2023, at 6:20 AM, Mina Gali=C4=87 <freebsd@igalic.co> = wrote:

Hi folks,

Linux has an "easy" = way of telling if an interface has been renamed.
See = cloud-init's is_renamed function: https://github.com/canonical/cloud-init/blob/5496745b394f9b7b9e= af57fd619330d484ce2da8/cloudinit/net/__init__.py#L338-L350
This code reads /sys/class/net/<netif>/name_assign_type = and if that is 3 or 4, it's been renamed.

I = can't even think of an sensible way of replicating that.
I = can only think of terrible / wrong way of finding it out:

dmesg | grep "changing name to = '<new-netif>'"

a less terrible method = would be to check for, say:

sysctl = dev.<new-netif>.0.%driver

if that = fails, we probably have a renamed interface=E2=80=A6 but we don't know = what it was renamed from, and this only works for *real* interfaces, not = for cloned devices, or epairs.

Now, = ignoring my terrible hacky attempts at command line tooling, I would = also happily accept a solution in C, which is fairly easily accessible = from Python, and which we already use to figure out the uptime (or = rather, the boottime): https://github.com/canonical/cloud-init/blob/5496745b394f9b7b9e= af57fd619330d484ce2da8/cloudinit/util.py#L2073-L2105
Looking forward to reading your ideas.

FreeBSD= currently does not preserve the old ( original ) name of interfaces if = it is renamed ( either physical or cloned ones ).
While = there's an attempt https://reviews.freebsd.org/D28247  to get the = device name (physical ones) but it is not perfect and not = completed.

So may I ask why you need = to know if a network interface was renamed ?


Kind regards,

Mina = Gali=C4=87

Best regards,
Zhenlei

= --Apple-Mail=_6FD7852A-BC35-4FE3-97EE-B65056ABE9B5-- From nobody Sun Nov 19 02:33:10 2023 X-Original-To: freebsd-net@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 4SXvnl083Yz51404 for ; Sun, 19 Nov 2023 02:33:15 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SXvnk6hV7z3YBX for ; Sun, 19 Nov 2023 02:33:14 +0000 (UTC) (envelope-from kevans@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700361194; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bbL4XsEn0qHkkjfp7DyHPmI4C6AvuAV6deRc1t4+i+U=; b=GwPbnh7k9T03BjkBnHLXQAAdHHTKQg13rKRFwKjb64Goo1wTVMtTcq9sjJbOfH0m5Avjwl 0zewldTUF2p9sc/ynz+DGdzUeNssxn7IMvSDG5umcMtJcpoUf00F1jcu6QLiexORdHwOCG zIOSR9UDcBhhnIttuap2XjutgNSA61arhIcltyMULs3KRypeu0c228EmK44e3p0VeTjG3j n7IDOucCypvMQLE1amdPa7KY9cCsTWrLiaHVku5sWdz0trwJgGL3WkOmKtw9vXqdSMtsQp ByjQULZ7Dy+C/iPgDl10nXu5Ii+zMaD1K8mxhhTrVnOzoTCfVVwGhijIeXxIZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700361194; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bbL4XsEn0qHkkjfp7DyHPmI4C6AvuAV6deRc1t4+i+U=; b=clN221rwMhZbRcri4gPOlETU+qAHsLEw/hWqgGOsQ1YuNap9w1Ldhd+9ZgDJ1fMoWIXzPa kKnhJmXIDL1nM2t1mo1Qg+qKhhZkbwQ9JUkNtgiHdgSdE35/afjteJKtZwqK3pjyxlRfzh adGaskllEzs2S1ujLB3Q6K/4Fzf673jjhgnMzMGPNxjCNH5EP4ALpcOgEF/IgtDkBTumun K4ioYgV38RqzMLp0AlCxsjMxI/zJAZ6GXAzrI8mS49KvcUBVnlYSLP2pR/+NcWm1CE/hwB tRYCivuN1kosJjIPy7DfbHvhE0hKv47tcoVpmrY51shkg9YPUVhhY1gt4zIOOQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700361194; a=rsa-sha256; cv=none; b=Hc5szViCqTxUU2rCuB/TLEgwjQA90olhQWCh3CTYl5Z5015MNUniqc8JvCly0YOBo6Oy5n WdDrZq12pzQkhqYOpQ+nM+eiKMYRPIlam+/xPsYgR2btf5l2ARUv8bo1+04uoxSn4SrfOb ns7vRi5yBhMv5645YWTUaW0cnqhzq3eCXq8bfZEoPSnOfAmn7eNB0Jex/dvoHSlyz8vDg8 TkVD4Y4zcTZUYhCAbxE2ij/5owPRSJ9YAZIckwrBILEzhIrOiSAYwiOvLrADcHH8VcI6D3 ZvKzenIf2ncsBBTeCGnn5bp8AIhDMpxYSE9iyo476KDEbJ+NN1I2abj5PP8dqw== Received: from [10.9.4.95] (unknown [209.182.120.176]) (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 did not present a certificate) (Authenticated sender: kevans/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SXvnk4kMfz194c for ; Sun, 19 Nov 2023 02:33:14 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Message-ID: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> Date: Sat, 18 Nov 2023 20:33:10 -0600 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: How to tell if a network interface was renamed (and from what) Content-Language: en-US To: freebsd-net@freebsd.org References: From: Kyle Evans In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 11/18/23 19:15, Zhenlei Huang wrote: > > >> On Nov 19, 2023, at 6:20 AM, Mina Galić > > wrote: >> >> Hi folks, >> >> Linux has an "easy" way of telling if an interface has been renamed. >> See cloud-init's is_renamed function: >> https://github.com/canonical/cloud-init/blob/5496745b394f9b7b9eaf57fd619330d484ce2da8/cloudinit/net/__init__.py#L338-L350 >> This code reads /sys/class/net//name_assign_type and if that is >> 3 or 4, it's been renamed. >> >> I can't even think of an sensible way of replicating that. >> I can only think of terrible / wrong way of finding it out: >> >> dmesg | grep "changing name to ''" >> >> a less terrible method would be to check for, say: >> >> sysctl dev..0.%driver >> >> if that fails, we probably have a renamed interface… but we don't know >> what it was renamed from, and this only works for *real* interfaces, >> not for cloned devices, or epairs. >> >> Now, ignoring my terrible hacky attempts at command line tooling, I >> would also happily accept a solution in C, which is fairly easily >> accessible from Python, and which we already use to figure out the >> uptime (or rather, the boottime): >> https://github.com/canonical/cloud-init/blob/5496745b394f9b7b9eaf57fd619330d484ce2da8/cloudinit/util.py#L2073-L2105 >> >> Looking forward to reading your ideas. > > FreeBSD currently does not preserve the old ( original ) name of > interfaces if it is renamed ( either physical or cloned ones ). > While there's an attempt https://reviews.freebsd.org/D28247 >  to get the device name (physical > ones) but it is not perfect and not completed. > > So may I ask why you need to know if a network interface was renamed ? > Just last week I found this quite a pain as well; once an interface has been renamed, if it's not a pseudo-interface with an obvious group there's no clear way, AFAICT, to determine which driver created it without perusing pciconf output or whatnot and hopefully being able to associate the NICs listed with the new names (easier when there's only one NIC, of course). Kind of a pain when you're working on a remote machine that you're not at all familiar with. Thanks, Kyle Evans From nobody Sun Nov 19 09:54:49 2023 X-Original-To: freebsd-net@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 4SY5bW24v9z51XkJ for ; Sun, 19 Nov 2023 09:55:03 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SY5bV73gfz4cZw; Sun, 19 Nov 2023 09:55:02 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-5098e423ba2so4779067e87.2; Sun, 19 Nov 2023 01:55:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700387700; x=1700992500; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=vKX26DjUGLEI69mlDz50njWJMa8yLA8FnZhqVlXIGQU=; b=kTQYS24gNvGQn6F/CDoRKxHi2JDX86eKWhhmuAYxPUrLw/2vTTOdh4hDazCyY9LntI jYFzvYKAmcNdt6Xs6BhQSUH43OjkkiNmYJK2r+Dd5fNe2bYECdkYmBjz3LdkIbrNSUhN SRMpqjqsjuwTifOsTFPlpWnamplivWum6fr/pSvSnwC0X6+Ewz6kbScZfDkSfTyUQH4Y zpfgFsSqO8CGOVc0zeel0AKR8hF8istoJVYc6cd+1rjumTjXv93T0umcZlz5lKzMz8YT 92xLo+GuQaHlO49qa0/m+/7sUQorIwfl7Pt+vb9FQ6WX8TuBe8R5UHWAo5e2JFCOuVib lhWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700387700; x=1700992500; h=content-transfer-encoding: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=vKX26DjUGLEI69mlDz50njWJMa8yLA8FnZhqVlXIGQU=; b=Zb5lRdp2/tD/ipKLkxHMUR3582+ViPx/CF7aQmblx5N5k7nMFq/RQf84kIIQzWh2PI eMa0eiBCMQYUEMQIsONF6RUKwUTswqSA0v8/QX4naM4SimYFN0Z8HlCL+VdR9T8Q1XZj VlDB0FIduYhpEB4TR/54v9MjPH01GOSLhwADsGFIfNfThD109rlS06nQJjMp5MrSa1j8 KbXsP0zw4s2Ow8ywd+ue5GxFdN1pkzU3vjH1XPy/2zCW6FuKiyhki3oujz8ho71xeBIT 4dY34GSeQf6fMBoUSLLv/sLNNNZ6c968fp4fuUwEtm5KtI/230w2lNjzrRTn4+NwaXTT EcBQ== X-Gm-Message-State: AOJu0YxV6XRn5R7bndc0vDVRIhHllQWHV4bnMZA4bZjUHG+Tl7uzuOxd EEzs9ZP5nu6U0xJiL2gjOagfu6Ft4SXoRGy/T3aITrtF X-Google-Smtp-Source: AGHT+IGWbV+APre3h54FHBZz0lRwzW9WwSGFYt+0AwP9S+IlMKNnSL9oP7U/5j2ndnE7D5lCuU0rR6TSy6WT6MayiZM= X-Received: by 2002:ac2:5216:0:b0:50a:77bf:1efe with SMTP id a22-20020ac25216000000b0050a77bf1efemr3006360lfl.27.1700387700104; Sun, 19 Nov 2023 01:55:00 -0800 (PST) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> In-Reply-To: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> From: =?UTF-8?B?w5Z6a2FuIEtJUklL?= Date: Sun, 19 Nov 2023 12:54:49 +0300 Message-ID: Subject: Re: How to tell if a network interface was renamed (and from what) To: Kyle Evans Cc: freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4SY5bV73gfz4cZw It would be better if FreeBSD could have "interface altname feature" like Linux has. Kyle Evans , 19 Kas 2023 Paz, 07:50 tarihinde =C5=9Funu= yazd=C4=B1: > > On 11/18/23 19:15, Zhenlei Huang wrote: > > > > > >> On Nov 19, 2023, at 6:20 AM, Mina Gali=C4=87 >> > wrote: > >> > >> Hi folks, > >> > >> Linux has an "easy" way of telling if an interface has been renamed. > >> See cloud-init's is_renamed function: > >> https://github.com/canonical/cloud-init/blob/5496745b394f9b7b9eaf57fd6= 19330d484ce2da8/cloudinit/net/__init__.py#L338-L350 > >> This code reads /sys/class/net//name_assign_type and if that is > >> 3 or 4, it's been renamed. > >> > >> I can't even think of an sensible way of replicating that. > >> I can only think of terrible / wrong way of finding it out: > >> > >> dmesg | grep "changing name to ''" > >> > >> a less terrible method would be to check for, say: > >> > >> sysctl dev..0.%driver > >> > >> if that fails, we probably have a renamed interface=E2=80=A6 but we do= n't know > >> what it was renamed from, and this only works for *real* interfaces, > >> not for cloned devices, or epairs. > >> > >> Now, ignoring my terrible hacky attempts at command line tooling, I > >> would also happily accept a solution in C, which is fairly easily > >> accessible from Python, and which we already use to figure out the > >> uptime (or rather, the boottime): > >> https://github.com/canonical/cloud-init/blob/5496745b394f9b7b9eaf57fd6= 19330d484ce2da8/cloudinit/util.py#L2073-L2105 > >> > >> Looking forward to reading your ideas. > > > > FreeBSD currently does not preserve the old ( original ) name of > > interfaces if it is renamed ( either physical or cloned ones ). > > While there's an attempt https://reviews.freebsd.org/D28247 > > to get the device name (physical > > ones) but it is not perfect and not completed. > > > > So may I ask why you need to know if a network interface was renamed ? > > > > Just last week I found this quite a pain as well; once an interface has > been renamed, if it's not a pseudo-interface with an obvious group > there's no clear way, AFAICT, to determine which driver created it > without perusing pciconf output or whatnot and hopefully being able to > associate the NICs listed with the new names (easier when there's only > one NIC, of course). Kind of a pain when you're working on a remote > machine that you're not at all familiar with. > > Thanks, > > Kyle Evans > From nobody Sun Nov 19 14:34:23 2023 X-Original-To: freebsd-net@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 4SYCp95Kdbz51rMR for ; Sun, 19 Nov 2023 14:34:41 +0000 (UTC) (envelope-from freebsd@igalic.co) Received: from mail-4018.proton.ch (mail-4018.proton.ch [185.70.40.18]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SYCp92c3xz3Vlm for ; Sun, 19 Nov 2023 14:34:41 +0000 (UTC) (envelope-from freebsd@igalic.co) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=igalic.co; s=protonmail2; t=1700404478; x=1700663678; bh=Iu9pRAD9Si8CMtT8N6y74/ItM611SJLM/xSewyRTat8=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=B1ZgRVa3BUrYE+fPTRuhV3NOOwnQfpuSWmppfk/JcP1ROMZW0bwIM9wyNfuT/PIDz yq+1RXIMQ/O9NQEcv/KVs1bXKQaFXD7DY6FQal6Q1ja5nO1Lffez0fiEnbwVzAXOXy aINs0piRoLSlJTOq/fWg46krjBT7aYCXMBZ6jOcEg/UTp6EmGGRa9zsarAY3pYc072 5E4Sszb5PGeOR82V+o3nUC2kuAdUNUhCIEN+1AGvq7mTblquRzFgJMyAhPV7dmG4me sL2fg9qN1gN+JH2etjSDu3K5D3E4JU9O/gDtMOSCTQfCdeJJst8sTpBSquXm3rsLNL m8LjsYL5AIHyg== Date: Sun, 19 Nov 2023 14:34:23 +0000 To: Kyle Evans From: =?utf-8?Q?Mina_Gali=C4=87?= Cc: freebsd-net@freebsd.org Subject: Re: How to tell if a network interface was renamed (and from what) Message-ID: In-Reply-To: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> Feedback-ID: 66573723:user:proton List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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:62371, ipnet:185.70.40.0/24, country:CH] X-Rspamd-Queue-Id: 4SYCp92c3xz3Vlm > > FreeBSD currently does not preserve the old ( original ) name of > > interfaces if it is renamed ( either physical or cloned ones ). > > While there's an attempt https://reviews.freebsd.org/D28247 > > to get the device name (physical > > ones) but it is not perfect and not completed. > >=20 > > So may I ask why you need to know if a network interface was renamed ? >=20 >=20 > Just last week I found this quite a pain as well; once an interface has > been renamed, if it's not a pseudo-interface with an obvious group > there's no clear way, AFAICT, to determine which driver created it I think the main reason that we need to know if and from what an interface = has been renamed is if we need to know what driver we're working with. But given that a rename doesn't change =E2=80=94 or even just *alias* the sysctl dev hierarchy, where a %driver is recorded, we can't track it back. (but again, that's just for physical devices, then again virtual devices re= cord what type of device they are in their group which is essentially the same thing) As soon as we have more than one interface with different drivers it's impossible to parse out what we're dealing with without parsing rc.conf, logs, or worse things I can't think of right now. From nobody Sun Nov 19 14:36:27 2023 X-Original-To: freebsd-net@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 4SYCrV0n64z51rVm for ; Sun, 19 Nov 2023 14:36:42 +0000 (UTC) (envelope-from freebsd@igalic.co) Received: from mail-4018.proton.ch (mail-4018.proton.ch [185.70.40.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SYCrT228Vz3WRW for ; Sun, 19 Nov 2023 14:36:41 +0000 (UTC) (envelope-from freebsd@igalic.co) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=igalic.co header.s=protonmail2 header.b="R6pzABu/"; spf=pass (mx1.freebsd.org: domain of freebsd@igalic.co designates 185.70.40.18 as permitted sender) smtp.mailfrom=freebsd@igalic.co; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=igalic.co; s=protonmail2; t=1700404599; x=1700663799; bh=AJsI4/rvh23L4DD0Ro2ZJJbw1ZjUpQC/C5qwX8wSq50=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=R6pzABu/XCMKNhPvwz45tJnYAuGnBvdsqPCGmIle0lczH3xJA0qSvPPKRvgCdKhAx Z7lj3LzlPt0bLEpIh3bUwFsS1ZVTUzhqAto6693j26vfDDOMdppbrsO8FBy4e5SY+Q rg77g871RdM2Jsout2cu1KmpJXICEuvxZwREBrPp0rv0NUXK76nloOkGEqCwpovw7q xlWmPW1UJPRuI33z7kbR7I2QEIxVIIKORx2Wgv0eUH2Wd/dKz6F28KPbfzfXfnOaHz a66zr4/1PuskekPeiotbBLb3ve/7NgRUoGOSNPWH2KttKp88YDHiguz4qp0Utys/V9 34TPRBbfreLaA== Date: Sun, 19 Nov 2023 14:36:27 +0000 To: =?utf-8?Q?=C3=96zkan_KIRIK?= From: =?utf-8?Q?Mina_Gali=C4=87?= Cc: Kyle Evans , freebsd-net@freebsd.org Subject: Re: How to tell if a network interface was renamed (and from what) Message-ID: In-Reply-To: References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> Feedback-ID: 66573723:user:proton List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-3.90 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; RWL_MAILSPIKE_EXCELLENT(-0.40)[185.70.40.18:from]; R_DKIM_ALLOW(-0.20)[igalic.co:s=protonmail2]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[igalic.co:+]; ARC_NA(0.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; TO_DN_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[igalic.co]; TAGGED_RCPT(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4SYCrT228Vz3WRW X-Spamd-Bar: --- Hi =C3=96zkan, > It would be better if FreeBSD could have "interface altname feature" > like Linux has. even tho I'm writing this email from a Linux laptop, and often have to understand Linux specific code to see how I can (or if I need to) replicate that on FreeBSD, I'm not familiar enough with Linux. Can you describe the altname feature, and how it works? Kind regards, Mina From nobody Sun Nov 19 16:30:25 2023 X-Original-To: freebsd-net@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 4SYGMm32kjz5119P for ; Sun, 19 Nov 2023 16:30:28 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail2.karels.net (mail2.karels.net [3.19.118.201]) (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 RSA-PSS (2048 bits) client-digest SHA256) (Client CN "freebsd", Issuer "freebsd" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SYGMl5yfSz4F7q; Sun, 19 Nov 2023 16:30:27 +0000 (UTC) (envelope-from mike@karels.net) Authentication-Results: mx1.freebsd.org; none Received: from mail2.karels.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail2.karels.net (8.17.1/8.17.1) with ESMTP id 3AJGUQo8065063; Sun, 19 Nov 2023 10:30:27 -0600 (CST) (envelope-from mike@karels.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=karels.net; s=mail2; t=1700411427; bh=YQp2BSXjbDU957Qn2ls1N1EUSGu0Yv/LKkOj3VctHa0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=JC6uQQXOfUC8yjlpCHVx8P8wUgTMuXNrZh7LEOnf1+MrptpicMmO0zjBiOxBCTqpR b73htvqom3mlyXwCUvbsFX1e41Jsu62/rGtUaG8A0nSDBT1HZaM3zIQUdY+wW20jho EVi0dMQyFAE9/iCtzBe9540OK7V9cOxvRNmFjBFcCVhdj2KgPXXJ5NE+8xhWkRY4Gs gBhR1thB1DW8XwuHSE1Blkj03gVNrc/IhtEhzr8caHc2Bdq/OjvfmPDXz9wgAr0yn2 S2yzzumSMpceiyYOwTS9kS54IApQGQSMsnRsJvJUO1OjPNaWcFDPxZEE7rf1Cwej+x UfWTu8wZrC4Gw== Received: from [10.0.2.130] ([73.62.165.147]) by mail2.karels.net with ESMTPSA id WRcRMCI4WmUl/gAAs/W3XQ (envelope-from ); Sun, 19 Nov 2023 10:30:26 -0600 From: Mike Karels To: =?utf-8?q?Mina_Gali=C4=87?= Cc: Kyle Evans , freebsd-net@freebsd.org Subject: Re: How to tell if a network interface was renamed (and from what) Date: Sun, 19 Nov 2023 10:30:25 -0600 X-Mailer: MailMate (1.14r5964) Message-ID: <99D24919-A5DF-4A8B-882F-9D724AAD494F@karels.net> In-Reply-To: References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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:16509, ipnet:3.16.0.0/14, country:US] X-Rspamd-Queue-Id: 4SYGMl5yfSz4F7q On 19 Nov 2023, at 8:34, Mina Gali=C4=87 wrote: >>> FreeBSD currently does not preserve the old ( original ) name of >>> interfaces if it is renamed ( either physical or cloned ones ). >>> While there's an attempt https://reviews.freebsd.org/D28247 >>> to get the device name (physical >>> ones) but it is not perfect and not completed. >>> >>> So may I ask why you need to know if a network interface was renamed = ? >> >> >> Just last week I found this quite a pain as well; once an interface ha= s >> been renamed, if it's not a pseudo-interface with an obvious group >> there's no clear way, AFAICT, to determine which driver created it > > I think the main reason that we need to know if and from what an interf= ace has been renamed is if we need to know what driver we're working with= =2E > > But given that a rename doesn't change =E2=80=94 or even just *alias* > the sysctl dev hierarchy, where a %driver is recorded, we can't > track it back. > > (but again, that's just for physical devices, then again virtual device= s record what type of device they are in their group which > is essentially the same thing) > > As soon as we have more than one interface with different drivers > it's impossible to parse out what we're dealing with without > parsing rc.conf, logs, or worse things I can't think of right now. The kernel has a driver name for each interface, which looks like it doesn't change currently in most cases. There is a kernel accessor function, but I don't think it is exported to user space now. It could be, though. Would this be sufficient for your purposes? There is also a unit number, which could also be exported. Mike From nobody Sun Nov 19 16:41:08 2023 X-Original-To: freebsd-net@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 4SYGcM0CPSz511fC for ; Sun, 19 Nov 2023 16:41:23 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SYGcL5gW8z4GGQ; Sun, 19 Nov 2023 16:41:22 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-507a5f2193bso3763459e87.1; Sun, 19 Nov 2023 08:41:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700412080; x=1701016880; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Z2Pxx/TGzs+W0tbo6rYMjxZ3ArjiqX30qFC+R2/RCxE=; b=bxdtJUfsLcM6fkp4taVYSu3WpKUBjjNIcqvxG0BrZtnIlavKK4Xu/k4YZUTuK2rNoL BQu+6QR1LNSF3wWZ+ftUP1HgFXZBVgjAof9V77gvss9JGevV0FTMf5lHc5FpSfuoTeZZ KR/7SDq8m+Zaag9akwdjzCsGypb0FmxLljLK3Tt5dmzJm/bi1FArSnpSq0zWS3Uxk96N 7u5TtdtPdv6Awyf8vNHN2GT84snNuSPPo0CxV0Y41lF7sUZN/PVov0saDBaioXFKp5tK SnwH0B1Sxa7Le4+sWwvkqtOOhVTedo3DHHIdj2hshJlReUkfnrLHaVKIEOOiDV4EQotn u2Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700412080; x=1701016880; h=content-transfer-encoding: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=Z2Pxx/TGzs+W0tbo6rYMjxZ3ArjiqX30qFC+R2/RCxE=; b=Ef9pnV5ZQOaWPpcAADN98pRGg8aFiut/0gexXotmclq3/PTf2NIBTlEhEmcRyP6MWE vYgOXHH0nKWVZ/maYsgN0RJ6ssi5bg7WwGUeAxj91pZKotXgBjQkPGA48xsppFWzaR18 yuqztXLDbT0dA/0l38AmaSkmLpka7+O2E6ZRlezIUh3p0801/PfWMd2WnkJPgXyRfkWv RlxzzlaLliNEy3G4zK4mdESXLZmeEbQwlqig5aczrbl95k8bU2XBYCMO5G7+QbyIRjkb sxmWiodFQp+U5whRanPY2zLyfLKI7Y8+sh/zKvHJV2QqwIEX7invsAKEfmyl4DqTl/0Y OsPg== X-Gm-Message-State: AOJu0Yz/ufzq/7/dYp2SLlJmUh0pkjrcdKsVxyt0ManDee7IImewXZTF hO5/Svl7RJdKQzX9BbaQWO4tIe2eMgM2otA8MkYW4FyBxH8= X-Google-Smtp-Source: AGHT+IG00pE9SnzfUG3AjJGECIggDhoCf2gim1u4g2Av9LlEbfRL7SutV0EKmtLCx7BQADwF1cYoR8v3Kv3gGSKMy/Q= X-Received: by 2002:a19:ee14:0:b0:504:7d7e:78dd with SMTP id g20-20020a19ee14000000b005047d7e78ddmr1507898lfb.23.1700412079362; Sun, 19 Nov 2023 08:41:19 -0800 (PST) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> In-Reply-To: From: =?UTF-8?B?w5Z6a2FuIEtJUklL?= Date: Sun, 19 Nov 2023 19:41:08 +0300 Message-ID: Subject: Re: How to tell if a network interface was renamed (and from what) To: =?UTF-8?Q?Mina_Gali=C4=87?= Cc: Kyle Evans , freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[] X-Rspamd-Queue-Id: 4SYGcL5gW8z4GGQ Hi Mina, Let's explain with a small example: In this scenario, we are going to add two alternate names for the "lo" interface. And then we can access to the interface using all of the names: lo, test1, test2 # ip link show lo 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 # ip link property add dev lo altname test1 # ip link property add dev lo altname test2 # ip link show 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 altname test1 altname test2 2: enp4s0: mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000 link/ether b0:7b:25:31:6c:92 brd ff:ff:ff:ff:ff:ff # ip link show lo 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 altname test1 altname test2 # ip link show test1 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 altname test1 altname test2 # ip link show test2 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 altname test1 altname test2 # ping -I test2 127.0.0.1 ping: Warning: source address might be selected on device other than: test2 PING 127.0.0.1 (127.0.0.1) from 127.0.0.1 test2: 56(84) bytes of data. 64 bytes from 127.0.0.1: icmp_seq=3D1 ttl=3D64 time=3D0.023 ms By the altname feature, the interface name doesn't change, but you can assign many altnames. So you can access them using these altnames. Mina Gali=C4=87 , 19 Kas 2023 Paz, 17:36 tarihinde =C5= =9Funu yazd=C4=B1: > > > Hi =C3=96zkan, > > > It would be better if FreeBSD could have "interface altname feature" > > like Linux has. > > even tho I'm writing this email from a Linux laptop, and often > have to understand Linux specific code to see how I can (or if I > need to) replicate that on FreeBSD, I'm not familiar enough > with Linux. > > Can you describe the altname feature, and how it works? > > Kind regards, > > Mina From nobody Sun Nov 19 17:49:33 2023 X-Original-To: freebsd-net@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 4SYJ7B6t8zz516LP for ; Sun, 19 Nov 2023 17:49:42 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SYJ7B62cJz4MLq; Sun, 19 Nov 2023 17:49:42 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700416182; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1lFw9xypKAEAtFDnR0lA/75xv79agw3HucyXNG5enJE=; b=PcMDZtE4LuD1+3qQahRbO8sGQXhVlbdqA+3YNGtLeAWOqgZjLBS0Koo9D8aDK5bjx/IoHD 8u2OCB63X4kSte24Qwn1/D5nee9myhjaAXONy8MspTUowm2mLcI3tqMEL3Sga7HostpzyV 3z2NyLExc8NtJ9iz8yfbAFjdxdbJ3DrPgo6BHgxSXMSYT3urOt0thvKBIIt0G1y0IPEpR3 7HXK5PI6Gpm4Lev9GmZrsDtawpIZQxWNKYVhV0CwOWTEOjGRw0SbSCn7MYNL8sDL2Ah4L4 JXOD7XxAVS1EPxEj8ig8dTdmIsMsXFyys7IM9oP6P17HEqr7GJxackhqVdWmMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700416182; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1lFw9xypKAEAtFDnR0lA/75xv79agw3HucyXNG5enJE=; b=vsjzj9mivrpjbkjRvxLPNCnxxPTkelxwWog2CXi4YFbb8QbZo0BpGUJ6/WLkr0tJfLfFRN lH79bvkKy9560wxWpNlwlKcDBF+aFXvU5lKbtgcfKiHEIZHw7TjkXFUAwc8Ic54lXyT7sj UMRiVaJ5raD2FNAN4+2pTTqVKT/7Df7uu73WwfLoGagHHn284OoeqkjSOMowTfAoL5MD1S sVlUoFV62MvMxR4eldeBHKBDXOKJ0+NzI3RCvU0aEqec+jhLRmPv1TPTOGHWQLJuzO/jPx SSwuky06myNb/NMFF4LVPnuI7KQLcOuG8kkWT9TqJJh8v1VuxlWPrOwm+UMzdw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700416182; a=rsa-sha256; cv=none; b=kiAKB01uAc34AcU7fM3i5b+scjs5yQIW6h8jTx2D6VtzKJAo8ZLP7MS0jvlBKyUWb6pGXw 0uy+89NlsXB8n/Ddw4SH+mTXIiI5kheIIGN3JhGYs57ailNTCCXxNX95mB6PCzKE928nAf rLxNF6hf6SOoeVHiKmzzhu+q5BHWOg9MwE2O3OwhyQI6VbMaf0SYS132hkI+3G+YwISBUk SuU9uay+QppBFdI/LbSCxT0lmw4QsWjpdrGSbhX11CloWIm4WSAvE8PcW2W0z9uWGuAya5 fF8TJuWWqq+7QDGLHPVmWlpU4PfAGQA09bVkRsRqxLZ3svgGS4hdM20IBM369w== Received: from smtpclient.apple (unknown [IPv6:2001:19f0:6001:9db:98f0:9fe0:3545:10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: zlei/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SYJ793Kh0z1R02; Sun, 19 Nov 2023 17:49:41 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Content-Type: text/plain; charset=utf-8 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.4\)) Subject: Re: How to tell if a network interface was renamed (and from what) From: Zhenlei Huang In-Reply-To: Date: Mon, 20 Nov 2023 01:49:33 +0800 Cc: Kyle Evans , freebsd-net@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> To: =?utf-8?Q?Mina_Gali=C4=87?= X-Mailer: Apple Mail (2.3696.120.41.1.4) > On Nov 19, 2023, at 10:34 PM, Mina Gali=C4=87 = wrote: >=20 >=20 >=20 >>> FreeBSD currently does not preserve the old ( original ) name of >>> interfaces if it is renamed ( either physical or cloned ones ). >>> While there's an attempt https://reviews.freebsd.org/D28247 >>> to get the device name (physical >>> ones) but it is not perfect and not completed. >>>=20 >>> So may I ask why you need to know if a network interface was renamed = ? >>=20 >>=20 >> Just last week I found this quite a pain as well; once an interface = has >> been renamed, if it's not a pseudo-interface with an obvious group >> there's no clear way, AFAICT, to determine which driver created it >=20 > I think the main reason that we need to know if and from what an = interface has been renamed is if we need to know what driver we're = working with. >=20 > But given that a rename doesn't change =E2=80=94 or even just *alias* > the sysctl dev hierarchy, where a %driver is recorded, we can't > track it back. >=20 > (but again, that's just for physical devices, then again virtual = devices record what type of device they are in their group which > is essentially the same thing) Since it is just for physical devices, may I propose to have the driver = name in their groups ? So an if_ure interface ue0 will look like: ``` ue0: flags=3D1008843 = metric 0 mtu 1500 = options=3D60009b ether 00:e0:4c:xx:xx:xx media: Ethernet autoselect (1000baseT ) status: active +++ groups: ure nd6 options=3D23 ``` That does not include the unit number. But could be useful to quickly = get the driver name of physical devices. >=20 > As soon as we have more than one interface with different drivers > it's impossible to parse out what we're dealing with without > parsing rc.conf, logs, or worse things I can't think of right now. >=20 >=20 >=20 >=20 >=20 From nobody Sun Nov 19 19:13:26 2023 X-Original-To: freebsd-net@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 4SYL0G43Qdz51Cl3 for ; Sun, 19 Nov 2023 19:13:50 +0000 (UTC) (envelope-from freebsd@igalic.co) Received: from mail-40136.proton.ch (mail-40136.proton.ch [185.70.40.136]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SYL0G1YHsz4Vrd; Sun, 19 Nov 2023 19:13:50 +0000 (UTC) (envelope-from freebsd@igalic.co) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=igalic.co; s=protonmail2; t=1700421226; x=1700680426; bh=q3CPx9heevZWE7Phkm023FbNam0+DHsq4M7Y7j2Snik=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=KzwMovZF+OJOqzZUx8H201ZQfUSedfgtXvSb29OpPpAChk1+BBDgaqMlk1ySxuTpK IJCMJ8le2dyPJGAo0dbEnF1QdDp9w37jLKLSR5wIuST7Wqc7i9/kOkR4/NxSApleY9 ATu5V1RKy87uvOrndnCvRceko+LFUyQjaoLaqDpKczvugj0spjPlcIYVfCWOKx/PYi l3jgqAcUzlz/AXF4zXbPTdw6+7EtkO6GqhDESTEC3WoLDavIFQdPmZp8TbkOMdx3zd j/ZdlDpJNLlJVpCfW1TQbXn7aHtZllc/S3zE+wOCBQ98Vs9GA7mNk0EKs4f3YucakI BF4svyJIQ+5Iw== Date: Sun, 19 Nov 2023 19:13:26 +0000 To: mike@karels.net From: =?utf-8?Q?Mina_Gali=C4=87?= Cc: kevans@FreeBSD.org, freebsd-net@freebsd.org Subject: Re: How to tell if a network interface was renamed (and from what) Message-ID: In-Reply-To: <99D24919-A5DF-4A8B-882F-9D724AAD494F@karels.net> References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> <99D24919-A5DF-4A8B-882F-9D724AAD494F@karels.net> Feedback-ID: 66573723:user:proton List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_2jloRarPSUHIblrJ9NW5EoAKjdmRBBzENv8AJAUQY" 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:62371, ipnet:185.70.40.0/24, country:CH] X-Rspamd-Queue-Id: 4SYL0G1YHsz4Vrd This is a multi-part message in MIME format. --b1_2jloRarPSUHIblrJ9NW5EoAKjdmRBBzENv8AJAUQY Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 SGkgTWlrZSwKCj4gVGhlIGtlcm5lbCBoYXMgYSBkcml2ZXIgbmFtZSBmb3IgZWFjaCBpbnRlcmZh Y2UsIHdoaWNoIGxvb2tzIGxpa2UgaXQKPiBkb2Vzbid0IGNoYW5nZSBjdXJyZW50bHkgaW4gbW9z dCBjYXNlcy4gVGhlcmUgaXMgYSBrZXJuZWwgYWNjZXNzb3IKPiBmdW5jdGlvbiwgYnV0IEkgZG9u J3QgdGhpbmsgaXQgaXMgZXhwb3J0ZWQgdG8gdXNlciBzcGFjZSBub3cuIEl0IGNvdWxkCj4gYmUs IHRob3VnaC4gV291bGQgdGhpcyBiZSBzdWZmaWNpZW50IGZvciB5b3VyIHB1cnBvc2VzPyBUaGVy ZSBpcyBhbHNvCj4gYSB1bml0IG51bWJlciwgd2hpY2ggY291bGQgYWxzbyBiZSBleHBvcnRlZC4K CkFzIG1lbnRpb25lZCBpbiBteSBpbml0aWFsIHBvc3QsIEknbSBoYXBweSB0byBkcm9wIHRvIEMg d2hlcmUgYWx0ZXJuYXRpdmVzIGFyZSBpbmZlYXNpYmxlLCBzbG93LCBvciBvdGhlcndpc2UgY3Vt YmVyc29tZSwgb3IganVzdCBwbGFpbiBkb24ndCBleGlzdC4KCkhlcmUncyB0aGUgY29kZSB3ZSB1 c2UgdG8gZGV0ZXJtaW5lIGJvb3R0aW1lOiBodHRwczovL2dpdGh1Yi5jb20vY2Fub25pY2FsL2Ns b3VkLWluaXQvYmxvYi81NDk2NzQ1YjM5NGY5YjdiOWVhZjU3ZmQ2MTkzMzBkNDg0Y2UyZGE4L2Ns b3VkaW5pdC91dGlsLnB5I0wyMDczLUwyMTA1Cgo+IE1pa2UKCk1pbmE= --b1_2jloRarPSUHIblrJ9NW5EoAKjdmRBBzENv8AJAUQY Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 SGkgTWlrZSw8YnI+PGJyPiZndDsgVGhlIGtlcm5lbCBoYXMgYSBkcml2ZXIgbmFtZSBmb3IgZWFj aCBpbnRlcmZhY2UsIHdoaWNoIGxvb2tzIGxpa2UgaXQ8YnI+Jmd0OyBkb2Vzbid0IGNoYW5nZSBj dXJyZW50bHkgaW4gbW9zdCBjYXNlcy4gVGhlcmUgaXMgYSBrZXJuZWwgYWNjZXNzb3I8YnI+Jmd0 OyBmdW5jdGlvbiwgYnV0IEkgZG9uJ3QgdGhpbmsgaXQgaXMgZXhwb3J0ZWQgdG8gdXNlciBzcGFj ZSBub3cuIEl0IGNvdWxkPGJyPiZndDsgYmUsIHRob3VnaC4gV291bGQgdGhpcyBiZSBzdWZmaWNp ZW50IGZvciB5b3VyIHB1cnBvc2VzPyBUaGVyZSBpcyBhbHNvPGJyPiZndDsgYSB1bml0IG51bWJl ciwgd2hpY2ggY291bGQgYWxzbyBiZSBleHBvcnRlZC48YnI+PGJyPkFzIG1lbnRpb25lZCBpbiBt eSBpbml0aWFsIHBvc3QsIEknbSBoYXBweSB0byBkcm9wIHRvIEMgd2hlcmUgYWx0ZXJuYXRpdmVz IGFyZSBpbmZlYXNpYmxlLCBzbG93LCBvciBvdGhlcndpc2UgY3VtYmVyc29tZSwgb3IganVzdCBw bGFpbiBkb24ndCBleGlzdC48YnI+PGJyPkhlcmUncyB0aGUgY29kZSB3ZSB1c2UgdG8gZGV0ZXJt aW5lIGJvb3R0aW1lOiA8YSBocmVmPSJodHRwczovL2dpdGh1Yi5jb20vY2Fub25pY2FsL2Nsb3Vk LWluaXQvYmxvYi81NDk2NzQ1YjM5NGY5YjdiOWVhZjU3ZmQ2MTkzMzBkNDg0Y2UyZGE4L2Nsb3Vk aW5pdC91dGlsLnB5I0wyMDczLUwyMTA1Ij5odHRwczovL2dpdGh1Yi5jb20vY2Fub25pY2FsL2Ns b3VkLWluaXQvYmxvYi81NDk2NzQ1YjM5NGY5YjdiOWVhZjU3ZmQ2MTkzMzBkNDg0Y2UyZGE4L2Ns b3VkaW5pdC91dGlsLnB5I0wyMDczLUwyMTA1PC9hPjxicj48YnI+Jmd0OyBNaWtlPGJyPjxicj5N aW5h --b1_2jloRarPSUHIblrJ9NW5EoAKjdmRBBzENv8AJAUQY-- From nobody Sun Nov 19 19:27:01 2023 X-Original-To: freebsd-net@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 4SYLHX2mKhz51DL8 for ; Sun, 19 Nov 2023 19:27:04 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail2.karels.net (mail2.karels.net [3.19.118.201]) (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 RSA-PSS (2048 bits) client-digest SHA256) (Client CN "freebsd", Issuer "freebsd" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SYLHW67PSz4Wrm; Sun, 19 Nov 2023 19:27:03 +0000 (UTC) (envelope-from mike@karels.net) Authentication-Results: mx1.freebsd.org; none Received: from mail2.karels.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail2.karels.net (8.17.1/8.17.1) with ESMTP id 3AJJR2KB065780; Sun, 19 Nov 2023 13:27:02 -0600 (CST) (envelope-from mike@karels.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=karels.net; s=mail2; t=1700422022; bh=5dTESxXLu2MkqrAtfCOPSQycz/k6CEc/jEIHJufe9io=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=sgj9p8DcrZrvpRo4dKxRK1YSYtf1Hs09uaYYM44kGykTXGd3PCMKTxNBPep4iIKKY ObUBodrZ0gfB08cl4cn/SMZrOJ/4+sNAgLDA3qT0mtA5PorS0SO0JyNpi8Rzrs3AD4 cPQFfGetFql91XA380cZhF2lgZHahoGwq1nyIi8tjXocI68cJtpod7mjcwJeX4MRhT 3BkB70vw5NPgaPbUTiyLeT/K21Ht1eAKGd9C9feSTmrMnqTqvBsuXe6FFf0Cl3Lopq m70KNW4DJOd6CSgGVMx+OfmRUfb0ptLpwvLY7NWladjR/benHKHl715dXqJluiWyOl kuo1XUNg7nzxw== Received: from [10.0.2.130] ([73.62.165.147]) by mail2.karels.net with ESMTPSA id m/N4HoZhWmXyAAEAs/W3XQ (envelope-from ); Sun, 19 Nov 2023 13:27:02 -0600 From: Mike Karels To: =?utf-8?q?Mina_Gali=C4=87?= Cc: kevans@FreeBSD.org, freebsd-net@freebsd.org Subject: Re: How to tell if a network interface was renamed (and from what) Date: Sun, 19 Nov 2023 13:27:01 -0600 X-Mailer: MailMate (1.14r5964) Message-ID: <1115052A-D72C-4389-979F-5795B1F615BC@karels.net> In-Reply-To: References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> <99D24919-A5DF-4A8B-882F-9D724AAD494F@karels.net> List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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:16509, ipnet:3.16.0.0/14, country:US] X-Rspamd-Queue-Id: 4SYLHW67PSz4Wrm On 19 Nov 2023, at 13:13, Mina Gali=C4=87 wrote: > Hi Mike, > >> The kernel has a driver name for each interface, which looks like it >> doesn't change currently in most cases. There is a kernel accessor >> function, but I don't think it is exported to user space now. It could= >> be, though. Would this be sufficient for your purposes? There is also >> a unit number, which could also be exported. > > As mentioned in my initial post, I'm happy to drop to C where alternati= ves are infeasible, slow, or otherwise cumbersome, or just plain don't ex= ist. > > Here's the code we use to determine boottime: https://github.com/canoni= cal/cloud-init/blob/5496745b394f9b7b9eaf57fd619330d484ce2da8/cloudinit/ut= il.py#L2073-L2105 If I would design it right now, I'd add code to ifconfig to exercise the new feature, and do something like this: # ifconfig my-interfacename drivername igb # Unit could be done similarly if needed, or ifconfig could have an operand that caused both driver and unit to be printed, maybe as two words (hopefully no spaces in driver names!). Mike > > Mina From nobody Sun Nov 19 19:30:36 2023 X-Original-To: net@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 4SYLMd1mkSz51DGv for ; Sun, 19 Nov 2023 19:30:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SYLMc6zHWz4YyF for ; Sun, 19 Nov 2023 19:30:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700422237; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cO+bwPQM/FFxJXaM8bhxRjZepnTQjCrD5hPdqRW/I5w=; b=QfpcCAAA2p4XvuFEkzUSaa8Fn2926PD1AlCSlRll3ejnXGxpvq2nOoVo1ZdGA8NF6/aX3x 2WMrDm+vaxUXIblZlMklU1u641iYTBR8Ghsjm4oHs7ItrSkStjQGMEcjmUcUR6aYxreP9f NkR07o9YMUfiBpISx6iVNgEz+vTxTDDD5qp8VuNiwR52QQtb9orJ8bvQLhR6BMLn1/vbwN B5eu2mv7/MQWDelAARqru35l1G2D3XoiFSga9b3ekSq+1Nf4VmNNmBczRr5p0Mh3qy8XwW HXkleSikhauSJ344J/lb1o4hyFuI5ZgnV4mQKxH1U7WPmnluRzFlUCABZ9INeg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700422237; a=rsa-sha256; cv=none; b=EOjd//Hs2CE5dtujXOAGaFNgjgqpjGvsw0DHcsq9rbldATkf9lMXnIi/w7vulj930UKj6G E/mbtGsV2pv1sYoUGWuAOz9aafo+GQn7tEgTi69Dyj7fXuRsJ7AeK/GIhLF8R5Hhf5iDBh C//jz0rOsK7v4/XKLXsQLoxnqN+nq3HBelSuVDvtj9SshlAj21GudvZWJQRP2JTE4WNfB3 0sh2Oy7inUpTk3VXzKZFIMZjQm3/aTP2Y+vJsp3bkC92V21OJ5EqZFkVgBZEXKnF5dRYsv vsoP3ulCtWXp6hx8/KEOm0Dp9+HcT2usyNmCCfJhDaDZmFvuVbyvLX5D5jb4sw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SYLMc63G1z6y5 for ; Sun, 19 Nov 2023 19:30:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AJJUapK078788 for ; Sun, 19 Nov 2023 19:30:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AJJUa75078787 for net@FreeBSD.org; Sun, 19 Nov 2023 19:30:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275001] if_wg: Missing radix unlock can cause deadlock Date: Sun, 19 Nov 2023 19:30:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275001 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D9ed67f1307f40b3173ea3b3889c6323f9= ef4a58f commit 9ed67f1307f40b3173ea3b3889c6323f9ef4a58f Author: Aaron LI AuthorDate: 2023-11-11 13:13:08 +0000 Commit: Kristof Provost CommitDate: 2023-11-18 09:46:21 +0000 if_wg: Missing radix unlock can cause deadlock In function 'wg_aip_add()', the error path of returning ENOMEM when (node =3D=3D NULL) is forgetting to unlock the radix tree, and thus may= lead to a deadlock. PR: 275001 Reviewed by: kp MFC after: 1 week (cherry picked from commit dcc4d2939f789a6d1f272ffeab2068ba2b7525ea) sys/dev/wg/if_wg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Nov 19 19:30:41 2023 X-Original-To: net@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 4SYLMj3l29z51DY5 for ; Sun, 19 Nov 2023 19:30:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SYLMj2Qwnz4Z52 for ; Sun, 19 Nov 2023 19:30:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700422241; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1MUdJWvpVigkI5+fPv5Yiy/EgfYQyaR6pIlPefpM5bc=; b=irbDTtp0sdt/KM1+CBJ6YweWagljzqRKjhNIZKxj81fBwvLbQuiEZEij1z4GH1f47aE7P0 nOFnX/2YuTrQtw6FNxn4+uY9rJCXULfdmRermi3qAS4jMILV+5YLQX2nFvoOcfKX7r0sjW FhyXC4AevmXIplTt0uhtn4KkwJAB45j5FbfG8wYs6wMEyY7ao7aEs0iN1CSdiN4N8BAgd4 SVJjmL5fgRLBPCyBix3p4B5+1Dz69+VJ3gCIkSzD0KaQg9wIyBWDSLDh8tLZ+NGrtaOTJB DTv9msLDJr9TUseBW04xglx37B2HMHVZy0+xTeFcPpElr9HJ+BLBsuAgS1+ANA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700422241; a=rsa-sha256; cv=none; b=WY/PQUfEOFqPajVGzpRd51woihNCYwsgm0qqkdJLEIMhzoZYq2Xc+iqZaKGOHCaKchD1yL E3V1R1xYanpRbWlKxLHbX+I01qPA03G+qVGsJUD32IGmlpgsspFowOuM6XCPwdSm25lDjm 4pgZ6X3K9MBtAC7Z7hBzhy4ezA6/dAJNcPe2T5ylvm4/NW2w9BeYwBC/D+VmWi9cKEK2EN VvtMnHi7qpjvkyK9RkgMs8tx7O3vC0sqtDTm+LZx0Rfog5BWm5cI2mn5CB+0/zwAIZFELV V5D/YeARSt6QdTy/ALxmr2QJ73gJJTgid9P14YPxXIxkztTSBpg8wZ9muYOTrw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SYLMj0x76z722 for ; Sun, 19 Nov 2023 19:30:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AJJUfaJ078875 for ; Sun, 19 Nov 2023 19:30:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AJJUf9s078874 for net@FreeBSD.org; Sun, 19 Nov 2023 19:30:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275001] if_wg: Missing radix unlock can cause deadlock Date: Sun, 19 Nov 2023 19:30:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275001 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D16c65f7ae15e6ca8b36fc546e038c5927= 0c87ccc commit 16c65f7ae15e6ca8b36fc546e038c59270c87ccc Author: Aaron LI AuthorDate: 2023-11-11 13:13:08 +0000 Commit: Kristof Provost CommitDate: 2023-11-19 19:29:35 +0000 if_wg: Missing radix unlock can cause deadlock In function 'wg_aip_add()', the error path of returning ENOMEM when (node =3D=3D NULL) is forgetting to unlock the radix tree, and thus may= lead to a deadlock. PR: 275001 Reviewed by: kp MFC after: 1 week (cherry picked from commit dcc4d2939f789a6d1f272ffeab2068ba2b7525ea) sys/dev/wg/if_wg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Nov 19 21:00:44 2023 X-Original-To: net@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 4SYNMd4vNyz51Kjl for ; Sun, 19 Nov 2023 21:00:45 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SYNMc6VLqz3HqS for ; Sun, 19 Nov 2023 21:00:44 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700427644; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Ok9iz/xQuAT9Y8s59KLzS/HOWK6tFq6QuEAusqySgXA=; b=Fhq9/mPVcaM89BCMJ0wXbeIyR5xhToBk3mTqgNACwWg+0t4sMEtDz6QKeW6YetoUaY5wt8 X9w3+INGlDL2Z1dFGfNPuMIVb3pzD/hawJUI51E6djPtb0bdF0pcLqP3TirSD9YaHNqW+I PJPaSyd1a6JSUScfLHjPYtUORJgCAWAFIPjbLvbM+TXMK7O2tsOp64FR77wYiVDeQYsLGH pb9RyyyCaghlfvCuuvmRb1zYfHycUyyaMFTHkVW42Sac8l6bpNowmCDoG8G+479ADOwP+U ovrh8ZTkiSdIT0yoiZhlopsEn2WD/0NhwyD5CkxKIwf67onwwFFYPz2igrUhFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700427644; a=rsa-sha256; cv=none; b=LL7K+7duVBiUwfTsRMaPfEPD6zTnzCtchdVHcF+H9yI702/vMoL77i00K57lKipNRIaFiQ ox2xVg9CCh6lbA1CUDaAF8oBn/wHuPbfE8FYpMICObt//p3vKW6Cz/zDT9pS2QX41lQw3w ItFBg75i2d50hcN5Dz3R+tWaeSQLEcKFs/mMlH/0chkJ0bLieCALQ8AMt0kkQeDX+c4xlF X+zvQy9fd9ayo1xa6kXyvz+4iotU10WJVSGxyGnQjZMq7PHdFqJCog1dQA71NiEZ2HOKGw rSas2mM6sKXiTLjcyp6RC9eHVSCZc0YmfCi6eK45/bk7/R7Y488rbgbt38LYlg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SYNMc5WQXz993 for ; Sun, 19 Nov 2023 21:00:44 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AJL0iTf029826 for ; Sun, 19 Nov 2023 21:00:44 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AJL0iRh029825 for net@FreeBSD.org; Sun, 19 Nov 2023 21:00:44 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202311192100.3AJL0iRh029825@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: net@FreeBSD.org Subject: Problem reports for net@FreeBSD.org that need special attention Date: Sun, 19 Nov 2023 21:00:44 +0000 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="17004276445.B7dFDD46.27219" Content-Transfer-Encoding: 7bit --17004276445.B7dFDD46.27219 Date: Sun, 19 Nov 2023 21:00:44 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 204438 | setsockopt() handling of kern.ipc.maxsockbuf limi New | 213410 | [carp] service netif restart causes hang only whe Open | 7556 | ppp: sl_compress_init() will fail if called anyth Open | 193452 | Dell PowerEdge 210 II -- Kernel panic bce (broadc Open | 202510 | [CARP] advertisements sourced from CARP IP cause Open | 207261 | netmap: Doesn't do TX sync with kqueue Open | 225438 | panic in6_unlink_ifa() due to race Open | 236888 | ppp daemon: Allow MTU to be overridden for PPPoE Open | 237072 | netgraph(4): performance issue [on HardenedBSD]? Open | 237973 | pf: implement egress keyword to simplify rules ac Open | 238324 | Add XG-C100C/AQtion AQC107 10GbE NIC driver Open | 240944 | em(4): Crash with Intel 82571EB NIC with AMD Pile In Progress | 118111 | rc: network.subr Add MAC address based interface 13 problems total for which you should take action. --17004276445.B7dFDD46.27219 Date: Sun, 19 Nov 2023 21:00:44 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
New         |    204438 | setsockopt() handling of kern.ipc.maxsockbuf limi
New         |    213410 | [carp] service netif restart causes hang only whe
Open        |      7556 | ppp: sl_compress_init() will fail if called anyth
Open        |    193452 | Dell PowerEdge 210 II -- Kernel panic bce (broadc
Open        |    202510 | [CARP] advertisements sourced from CARP IP cause 
Open        |    207261 | netmap: Doesn't do TX sync with kqueue
Open        |    225438 | panic in6_unlink_ifa() due to race
Open        |    236888 | ppp daemon: Allow MTU to be overridden for PPPoE 
Open        |    237072 | netgraph(4): performance issue [on HardenedBSD]?
Open        |    237973 | pf: implement egress keyword to simplify rules ac
Open        |    238324 | Add XG-C100C/AQtion AQC107 10GbE NIC driver
Open        |    240944 | em(4): Crash with Intel 82571EB NIC with AMD Pile
In Progress |    118111 | rc: network.subr Add MAC address based interface 

13 problems total for which you should take action.
--17004276445.B7dFDD46.27219-- From nobody Sun Nov 19 21:35:03 2023 X-Original-To: freebsd-net@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 4SYP7W4jZmz51NB8 for ; Sun, 19 Nov 2023 21:35:19 +0000 (UTC) (envelope-from freebsd@igalic.co) Received: from mail-4317.proton.ch (mail-4317.proton.ch [185.70.43.17]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SYP7W2DTcz3Phq for ; Sun, 19 Nov 2023 21:35:19 +0000 (UTC) (envelope-from freebsd@igalic.co) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=igalic.co; s=protonmail2; t=1700429716; x=1700688916; bh=GRsSCp3DrkXi4MayR3zoSCG1gxR4RfFYUfiAQE1tfxI=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=qyf2dbc38e4r3JIf9KEV4AtIl+EItqH2iNrS7sDvONLAhYfWrhclXDKkFRVSf8OiG 4vZMNGnMFq90/3Jz5pHkWG3Cqm8gSgXLRS1qcu/sBsN6n3hT/+90roSMFIdZDRBKUc oRaCpprLNOBi0HRJk7SN4YdjotcHu7H0Ko0HhqnQLeLIhqHKP51dZ4e6Aswl9kzcmC LKkPdqZvXgw7ZRIbMFEVtXEEkQ0mhHuJX2bI4PiVsn6/7ejr56Zbkq9diKzMFBuiuo I5ct79XbUYHyoSZ7fuyVN3uw0ZSXnn7A5q60ctdv2EUo9kDNpHCHzm0Rw3QP72g/Yr Bk36o4hDEg0BA== Date: Sun, 19 Nov 2023 21:35:03 +0000 To: Zhenlei Huang From: =?utf-8?Q?Mina_Gali=C4=87?= Cc: Kyle Evans , freebsd-net@freebsd.org, "mike@karels.net" Subject: Re: How to tell if a network interface was renamed (and from what) Message-ID: In-Reply-To: <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> Feedback-ID: 66573723:user:proton List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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:62371, ipnet:185.70.43.0/24, country:CH] X-Rspamd-Queue-Id: 4SYP7W2DTcz3Phq Hi Zhenlei, > Since it is just for physical devices, may I propose to have the driver n= ame in their groups ? >=20 > So an if_ure interface ue0 will look like: >=20 > ``` > ue0: flags=3D1008843 met= ric 0 mtu 1500 >=20 > options=3D60009b >=20 > ether 00:e0:4c:xx:xx:xx > media: Ethernet autoselect (1000baseT ) >=20 > status: active > +++ groups: ure > nd6 options=3D23 >=20 > ``` >=20 > That does not include the unit number. But could be useful to quickly get= the driver name of physical devices. > Given that currently on FreeBSD the easiest way to tell if something is a physical device is by checking the *absence* of groups, this would only really be acceptable if we add an "egress" group like OpenBSD does, in addition to the driver name. If we can't do that, then I think Mike's solution with having the driver (and unit) as a separate category would be preferable. Unrelatedly, I don't see anything in ure(4) mentioning that if_ure devices will be named "ue". Don't we usually document such deviation from the norm? Kind regards, Mina From nobody Mon Nov 20 03:10:20 2023 X-Original-To: freebsd-net@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 4SYXZC6qqQz51mn4 for ; Mon, 20 Nov 2023 03:10:27 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SYXZC65xYz4MMG; Mon, 20 Nov 2023 03:10:27 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700449827; 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=Ye1d0W3V8q/Vc0mkk6RYKshTJb2fGn1ZF6CqDAdYORg=; b=K6Kvme89KMxuxQk6RRYpX7d9obo2FNH3o0aJ/2gvaBS0joe/UyKqVkezkyQQKgX9SmT1Mh qeUZyGJ2xBRJkhfi1uYiOpGY0Zta5B8u49OKqW0pisVay3B6avPoaGUsAAO4TpN7voWsBT QHyeUrrHpU9s6sDhjya/vBzR6zdqsWIHRLTAl2CTYaSFOjuWcAaElckvzsrU3UVNZb0Mxm lLZ0gsv76B3qwyvXyMYsvxX5+GCeb8PZC9HlVZg6va0Jn1hw1NPX/TRiRU5thfSgd3VaIw chI1VqCWTxobt+1GLfaTt2VLKL0u2UhCFPABp3+RejYJq42s0dYtnhUwkYInZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700449827; 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=Ye1d0W3V8q/Vc0mkk6RYKshTJb2fGn1ZF6CqDAdYORg=; b=NuCdbTyWQiR07mC0vjVlsqFN3ZABTy4b1c9a0ZmGJ1KP+4Bf2yMt4SN+UKyCXIhvO45dCW d0EXmSrSRYY1B4B1+0c5mHK3u6mPfYxXlIy09Vc40DTs9res9xM7BRwY069AIJEAy0bXDh jDC1Qy8oY/6ADRqPurH5beRsfzJM5YZ4AOf96zCmdohXHdFfwtGxlHN8HCqPeXcLGLiZmU Wv2/dINKlqvxKCaq15XbLAcSMtD72GvJWsmH7shQekq/T1qde1XH/3MHuBphLh4ctB3evm NecjiPTsjvIjoR6swfgBodWxyJ+wJCOYbKQroAMTJy1T/cLuCzZQ/GTF/JtHbg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700449827; a=rsa-sha256; cv=none; b=cyz+W4ljkdXdPSRj2sTVmkpLkE1wBlHZC2Xi8alSxCD8lprjgXuQ3EXM64731QUsrpKLBr VCEaNSi3GgzIS3kNy8xeUJoCrk3i6EzjLtGbJX7K9O9DCvGbPyA3fX1hZx8f7DUgVzBI5U aFwbJ2/pwUZti77OTtV17nMMFwieIM+x2l1qJ9d6I1ncIVl37L+9qqN0AF0lKVPbK6BhCF mH/mR0pIOVf0W5veExAbuTB5+fanApsgoX8CFx5e0ZECqN5k7+9JmNHGOUqfOsA09OQujp ckPvwAarYvvfqv89G9f3svEo9/lUg3dWfVyml0SEcZCWhV1bdUrmlmHlXFMp9g== Received: from smtpclient.apple (ns1.oxydns.net [45.32.91.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: zlei/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SYXZB1779z8yw; Mon, 20 Nov 2023 03:10:25 +0000 (UTC) (envelope-from zlei@FreeBSD.org) From: Zhenlei Huang Message-Id: <1A3E6AF3-400B-4807-8C9F-EBA438B41703@FreeBSD.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_A81168F8-59F9-4063-8D58-CE25C2427A96" List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.4\)) Subject: Re: How to tell if a network interface was renamed (and from what) Date: Mon, 20 Nov 2023 11:10:20 +0800 In-Reply-To: Cc: Kyle Evans , freebsd-net@freebsd.org, "mike@karels.net" To: =?utf-8?Q?Mina_Gali=C4=87?= References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> X-Mailer: Apple Mail (2.3696.120.41.1.4) --Apple-Mail=_A81168F8-59F9-4063-8D58-CE25C2427A96 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Nov 20, 2023, at 5:35 AM, Mina Gali=C4=87 = wrote: >=20 > Hi Zhenlei, >=20 >=20 >> Since it is just for physical devices, may I propose to have the = driver name in their groups ? >>=20 >> So an if_ure interface ue0 will look like: >>=20 >> ``` >> ue0: flags=3D1008843 = metric 0 mtu 1500 >>=20 >> = options=3D60009b >>=20 >> ether 00:e0:4c:xx:xx:xx >> media: Ethernet autoselect (1000baseT ) >>=20 >> status: active >> +++ groups: ure >> nd6 options=3D23 >>=20 >> ``` >>=20 >> That does not include the unit number. But could be useful to quickly = get the driver name of physical devices. >>=20 >=20 > Given that currently on FreeBSD the easiest way to tell if something > is a physical device is by checking the *absence* of groups, Emm, that sounds more a HACK to test physical devices. > this > would only really be acceptable if we add an "egress" group like > OpenBSD does, in addition to the driver name. >=20 > If we can't do that, then I think Mike's solution with having the > driver (and unit) as a separate category would be preferable. The interface group feature was imported from OpenBSD by 0dad3f0e1512 . > Import interface groups from OpenBSD. This allows to group interfaces = in > order to - for example - apply firewall rules to a whole group of > interfaces. This is required for importing pf from OpenBSD 3.9 Despite the purpose to get driver name, it seems not useful to have = driver name in groups. >=20 > Unrelatedly, I don't see anything in ure(4) mentioning that if_ure > devices will be named "ue". Currently usb ethernet have interface named `ue%u` regardless the = actual device drivers. See = https://cgit.freebsd.org/src/tree/sys/dev/usb/net/usb_ethernet.c#n202 = ``` static void ue_attach_post_task(struct usb_proc_msg *_task) { ... if_initname(ifp, "ue", ue->ue_unit); ... } ``` > Don't we usually document such deviation from the norm? I'm not familiar with usb protocols, I guess usb ethernet is sub device = of usb controller. ``` smsc0 on uhub1 smsc0: on usbus1 ue0: on smsc0 ``` Then `ue%u` for all usb ethernet make senses. >=20 >=20 > Kind regards, >=20 > Mina --Apple-Mail=_A81168F8-59F9-4063-8D58-CE25C2427A96 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On Nov 20, 2023, at 5:35 AM, Mina Gali=C4=87 <freebsd@igalic.co> = wrote:

Hi Zhenlei,


Since it is just for = physical devices, may I propose to have the driver name in their groups = ?

So an if_ure interface ue0 will look = like:

```
ue0: = flags=3D1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> = metric 0 mtu 1500

options=3D60009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_= HWCSUM,RXCSUM_IPV6,TXCSUM_IPV6>

ether = 00:e0:4c:xx:xx:xx
media: Ethernet autoselect (1000baseT = <full-duplex>)

status: active
+++ groups: ure
nd6 = options=3D23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>

```

That does not = include the unit number. But could be useful to quickly get the driver = name of physical devices.


Given that currently on FreeBSD the easiest way to tell if = something
is a physical device is by checking the = *absence* of groups,

Emm, that sounds more a HACK to test physical = devices.

this
would only really be = acceptable if we add an "egress" group like
OpenBSD does, = in addition to the driver name.

If we can't = do that, then I think Mike's solution with having the
driver= (and unit) as a separate category would be preferable.

The = interface group feature was imported from OpenBSD by 0dad3f0e1512 = .

> Import interface groups from = OpenBSD.  This allows to group interfaces in
> order = to - for example - apply firewall rules to a whole group = of
> interfaces.  This is required for importing pf = from OpenBSD 3.9

Despite the purpose = to get driver name, it seems not useful to have = driver name in groups.


Unrelatedly, I = don't see anything in ure(4) mentioning that if_ure
devices = will be named "ue".

Currently usb ethernet have interface named `ue%u` regardless  the actual = device drivers.
```
static = void
ue_attach_post_task(struct usb_proc_msg = *_task)
{
...
    = if_initname(ifp, "ue", = ue->ue_unit);
...
}
```

Don't we usually  document such deviation from the = norm?

I'm not familiar with usb protocols, I guess = usb ethernet is sub device of usb = controller.

```
smsc0 on = uhub1
smsc0: <vendor 0x0424 product 0xec00, rev 2.00/2.00, = addr 3> on usbus1
ue0: <USB Ethernet> on = smsc0
```

Then = `ue%u` for all usb ethernet make senses.



Kind regards,

Mina



= --Apple-Mail=_A81168F8-59F9-4063-8D58-CE25C2427A96-- From nobody Mon Nov 20 10:48:58 2023 X-Original-To: net@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 4SYklH2fYLz5157S for ; Mon, 20 Nov 2023 10:48:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SYklH1PZmz3QTf for ; Mon, 20 Nov 2023 10:48:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700477339; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=c2dU9G6BGEH2+rTj8ilOiM6Aexv/bNHxVeN1KmRwPvI=; b=nEJA6hdcncXUncl78aq/6fEJX/vIu2oyYBXP4b9Vb6ueD8tSEo9rifEZccrVBemu7/C4mv shzu8DRxw7ro5IGMixfan7EMOmldLRu/Da3/zlzRvWVnldNRjI5nDeJm/Xj1FxKWVs7YjN VDYtgzGVT9Wu1wik7e7LjQQk+QYw5X731rMBhSy5slEfY5DCHkezyj2R5ZwLcZtvnH5Or4 ycm5/l7ziprExEFtQ99mIqLPva6qB8EelyLI0vlgglVAdU2SSB5b3wp8S7kt5UjjGh8MxG xN3u1iVRh2dYgEWrzkm4bCAELBCWqLU6UFj4AsAt0LRXVhViw5FGx/qutOVUdQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700477339; a=rsa-sha256; cv=none; b=iwVcxe9xU5RQzTaLH5y9W2lsx3KOgYInyHDkFYnjAfFRpaAIlQiXt9gsOXQGnQdoSUo2LS 7U31COmjoli88fi8fnSxYcl+9tcPi0fPYLmrHvR5eu9BlOnLri71YebBWTLnLj5t1zGXwe O8l0a4a+B7fFdcf5sefBhH17yUKPmdBSgwvRISN/UU6nUWMlX78gQdTlJsUMHZo2dPrbus D5RO2X36zTPxz4JgxeOWFxBdNsJ3kKBAtnbdcLIoT9LbjX3ZxY/qKA1auNRO9XUEM0mc4V Yl9JgpDu/tNtl/Cin4WSoXNrNwMl0+ueEBJ7FBTnYF0DnvT0OptUA9j5MKDHUw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SYklH0PMyzpbt for ; Mon, 20 Nov 2023 10:48:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AKAmx9f085015 for ; Mon, 20 Nov 2023 10:48:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AKAmwbw085014 for net@FreeBSD.org; Mon, 20 Nov 2023 10:48:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 194485] Userland cannot add IPv6 prefix routes Date: Mon, 20 Nov 2023 10:48:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, needs-qa, patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: driesm@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194485 Dries Michiels changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED --- Comment #16 from Dries Michiels --- Given the above statement and considering that 12-STABLE is only supported until end of 2023, lets close this and not backport to 12-STABLE. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Nov 20 20:29:49 2023 X-Original-To: freebsd-net@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 4SYzdX3gg3z51pY3 for ; Mon, 20 Nov 2023 20:29:52 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail2.karels.net (mail2.karels.net [3.19.118.201]) (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 RSA-PSS (2048 bits) client-digest SHA256) (Client CN "freebsd", Issuer "freebsd" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SYzdX1Md6z3VTV; Mon, 20 Nov 2023 20:29:52 +0000 (UTC) (envelope-from mike@karels.net) Authentication-Results: mx1.freebsd.org; none Received: from mail2.karels.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail2.karels.net (8.17.1/8.17.1) with ESMTP id 3AKKToQx072621; Mon, 20 Nov 2023 14:29:50 -0600 (CST) (envelope-from mike@karels.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=karels.net; s=mail2; t=1700512190; bh=yIYIS8QLm1MG/yWW10EiOxvX2lONVybHMSylx0mOKaM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=hzrG5O9j3IPXAchTKMy5ssQZgVGIZdgSz1ufG/X0zNIgywu3+MSTm6+09qnXfq9DY mMoh5D/bnnMDb+txK22PjZeDAoJcaTVbWFxJ6Mr3YfQO+9s0Vu2EiO1icv2oHs1VyZ NoR/FSCiqI5dUSttSjduGlagCm5UsMy9EgrV3kfitVpsFjjp23JUdHAKfU4d+P8Bhg YImOOrFreEvruyR5iBhJLqmKiluMZnqnCSmeCCA7hisnENJG/g4fU1FtEG2eb4CFx5 tKUSC2vJsCo7wbbis2pBYiRiWUhRb0iLwRhLk0LpHn+uHoMw2jS8YHALvs4GlCV9E2 HIg+AUfdtjGow== Received: from [10.0.2.130] ([73.62.165.147]) by mail2.karels.net with ESMTPSA id YRqIAL7BW2WrGwEAs/W3XQ (envelope-from ); Mon, 20 Nov 2023 14:29:50 -0600 From: Mike Karels To: =?utf-8?q?Mina_Gali=C4=87?= Cc: Zhenlei Huang , Kyle Evans , freebsd-net@freebsd.org Subject: Re: How to tell if a network interface was renamed (and from what) Date: Mon, 20 Nov 2023 14:29:49 -0600 X-Mailer: MailMate (1.14r5964) Message-ID: <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> In-Reply-To: References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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:16509, ipnet:3.16.0.0/14, country:US] X-Rspamd-Queue-Id: 4SYzdX1Md6z3VTV On 19 Nov 2023, at 15:35, Mina Gali=C4=87 wrote: > Hi Zhenlei, > > >> Since it is just for physical devices, may I propose to have the drive= r name in their groups ? >> >> So an if_ure interface ue0 will look like: >> >> ``` >> ue0: flags=3D1008843 = metric 0 mtu 1500 >> >> options=3D60009b >> >> ether 00:e0:4c:xx:xx:xx >> media: Ethernet autoselect (1000baseT ) >> >> status: active >> +++ groups: ure >> nd6 options=3D23 >> >> ``` >> >> That does not include the unit number. But could be useful to quickly = get the driver name of physical devices. >> > > Given that currently on FreeBSD the easiest way to tell if something > is a physical device is by checking the *absence* of groups, this > would only really be acceptable if we add an "egress" group like > OpenBSD does, in addition to the driver name. > > If we can't do that, then I think Mike's solution with having the > driver (and unit) as a separate category would be preferable. I have a proof of concept that makes the presumed original name (driver name + unit number) available to ifconfig, which prints the string with everything else in the standard output format. I don't think that is the right solution, but the other details should be easy. I'm tempted to print the driver name and unit number separately, although possibly as two words using the same option. It should probably be an option rather than a keyword, so something like this: # ifconfig -N interface-name igb 1 # Or the unit number could be on a separate option. Comments? Mike > Unrelatedly, I don't see anything in ure(4) mentioning that if_ure > devices will be named "ue". > Don't we usually document such deviation from the norm? > > > Kind regards, > > Mina From nobody Mon Nov 20 20:32:35 2023 X-Original-To: freebsd-net@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 4SYzhy3qQ3z51pQ7 for ; Mon, 20 Nov 2023 20:32:50 +0000 (UTC) (envelope-from freebsd@igalic.co) Received: from mail-4018.proton.ch (mail-4018.proton.ch [185.70.40.18]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SYzhy14yRz3WDy; Mon, 20 Nov 2023 20:32:50 +0000 (UTC) (envelope-from freebsd@igalic.co) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=igalic.co; s=protonmail2; t=1700512364; x=1700771564; bh=/OMbolfJl1Mikl1zKt8FLjxJM1P2BGw0I7RghA36Hyw=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=O3D21917r/VQ7NzH/sagEpvVsjgy7Ya5bDJPT65qnSSzoT01zpu1I0h3j2ly9Uzdr AIZjmSaS7z2UFB1w8Tw33mOPlCW47gs2WXh7KLM7TT1IMU80+zG1UQRsSwhTNQIgRB BccUPEAfu/zzGRQ6yUXR5/2bObKNJaGy5LAmqbJ7uuSGTzFz5zzqGP/2ci+vulNlpx 8GlJvFqvPZ1eypaOjG0kA9iizL9vG0xO5hml4ykMCNQgUPPcV6SXi3gIJ3wSuX5vXI dV8qALrFf3gH4PCSERMeKutxN1vaDgeW+lUb6IfoJ6nWfqTLn5ocAFNxOn7abmfTK2 oVReHn6ls8YAg== Date: Mon, 20 Nov 2023 20:32:35 +0000 To: Mike Karels From: =?utf-8?Q?Mina_Gali=C4=87?= Cc: Zhenlei Huang , Kyle Evans , freebsd-net@freebsd.org Subject: Re: How to tell if a network interface was renamed (and from what) Message-ID: In-Reply-To: <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> Feedback-ID: 66573723:user:proton List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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:62371, ipnet:185.70.40.0/24, country:CH] X-Rspamd-Queue-Id: 4SYzhy14yRz3WDy > I have a proof of concept that makes the presumed original name > (driver name + unit number) available to ifconfig, which prints > the string with everything else in the standard output format. > I don't think that is the right solution, but the other details > should be easy. I'm tempted to print the driver name and unit > number separately, although possibly as two words using the same > option. It should probably be an option rather than a keyword, > so something like this: >=20 > # ifconfig -N interface-name > igb 1 > # >=20 > Or the unit number could be on a separate option. >=20 > Comments? I like it! > Mike Mina From nobody Mon Nov 20 20:56:05 2023 X-Original-To: freebsd-net@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 4SZ0Cr5t2Kz51qX3 for ; Mon, 20 Nov 2023 20:56:08 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZ0Cr55w3z3Ynp; Mon, 20 Nov 2023 20:56:08 +0000 (UTC) (envelope-from kp@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700513768; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DgEnZ7jcGUmNaVQSS3eH9LSp1BQcC+/ES81GYM/FHyM=; b=cts4gVAvYAgVoEt/mCakzaB2MD7e/ogeSbOyXD/iFwmqU4WHglWfGahGQfOCuA/z2ARCbF 2XsFGG7SE6iP8IdzbzM4OM3jU1M4j8v0wnS0SiTgGD/tKnqwnkOfbX6WsvRTdrzkcgGXEL zSLcdNSnYIi0Gr5VYsiHl1CNiqvv06td0TpRYSSLZNHX6H9nrWG9FYAJ4H32Q4jNxx5ONH kEzFWWR7R5Ufb/74TqUI/R0z3hkDnDZpBu6Ps31UNHoZZsdBTSCvJiQCvBgXmue5n3CPUh FQKuyEamqwn9+4tVge0LL6Njt/md/lI8PDF2AIiAusUBoKaa28iK+lk+0SK9DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700513768; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DgEnZ7jcGUmNaVQSS3eH9LSp1BQcC+/ES81GYM/FHyM=; b=SjPf0UHf+1fGxoKf+hpox8w++NRRMgtZecGDMUwz7pulOPC48Njlr3kPXWp2sz4DavhP2K zuIsmuVqFvbjlXQryrSIMmRlIb/xlRk7ky/bE7OeJOu5iQxYDoLB67V+Ux+1dDmv4n3ZzN smbnSLWmDWZYQS1BmVIAK7SSBAwn/ql/gZNJKL3tszsfj2LA6pT/GMweVUMwDgGtiotAuQ c3IZAYUgwakLUgl94SDZD/90HUwwl89g/DWACtNE7TRBA48OFy9GFBDuFa0kN85FbnGVzU gU/bjSwktOgyq0HF4rbS15QdbIQtCwvtq7Xv5coZgbELM8E82Nb6WhSO5VRIoA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700513768; a=rsa-sha256; cv=none; b=R0p+aKIFrxG2ksgXK64Ai4p9ifsbMZxotM22Oh6f4C1Mj4GlyHgsgfvJQm3xg/lBgeGJD8 HoEBjr8dGkG6bMJW6XX14SYH/qd/AutF/xiuhp0icUHFnzvZIpy0HSCV6WPT24qTzb8Djb sHKLLE9TeScIwc6PsjhIY0DFTzw9aIUyxCunyH+x/82eDPgkb27pQVX0bVv0OcyQ9zCLoK Bkn1fK0TtyjaeSVvQ3v3a5oGSyW1faKrGFwxLOxQHLQkL0dSTR7rM2/AXr0Az2dagaP70A 9Dq8GoNRofRI1InVEq2itw4KMUcWnnKfz8itttGBAcAjCohE5XMk5kwyxyEGHw== Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (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 RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx1.codepro.be", Issuer "R3" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SZ0Cr3RpXz10SR; Mon, 20 Nov 2023 20:56:08 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: by venus.codepro.be (Postfix, authenticated sender kp) id 2D4063D873; Mon, 20 Nov 2023 21:56:06 +0100 (CET) From: Kristof Provost To: Mike Karels Cc: =?utf-8?q?Mina_Gali=C4=87?= , Zhenlei Huang , Kyle Evans , freebsd-net@freebsd.org Subject: Re: How to tell if a network interface was renamed (and from what) Date: Mon, 20 Nov 2023 21:56:05 +0100 X-Mailer: MailMate (1.14r5937) Message-ID: In-Reply-To: <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 20 Nov 2023, at 21:29, Mike Karels wrote: > On 19 Nov 2023, at 15:35, Mina Gali=C4=87 wrote: >> Hi Zhenlei, >> >> >>> Since it is just for physical devices, may I propose to have the driv= er name in their groups ? >>> >>> So an if_ure interface ue0 will look like: >>> >>> ``` >>> ue0: flags=3D1008843= metric 0 mtu 1500 >>> >>> options=3D60009b >>> >>> ether 00:e0:4c:xx:xx:xx >>> media: Ethernet autoselect (1000baseT ) >>> >>> status: active >>> +++ groups: ure >>> nd6 options=3D23 >>> >>> ``` >>> >>> That does not include the unit number. But could be useful to quickly= get the driver name of physical devices. >>> >> >> Given that currently on FreeBSD the easiest way to tell if something >> is a physical device is by checking the *absence* of groups, this >> would only really be acceptable if we add an "egress" group like >> OpenBSD does, in addition to the driver name. >> >> If we can't do that, then I think Mike's solution with having the >> driver (and unit) as a separate category would be preferable. > > I have a proof of concept that makes the presumed original name > (driver name + unit number) available to ifconfig, which prints > the string with everything else in the standard output format. > I don't think that is the right solution, I believe a similar solution has been proposed before, and it failed to c= ope with things like epair interfaces. I=E2=80=99d look in the direction of just adding a field to struct ifnet = with the original interface name (likely easily done in if_attach()), alo= ng with a new ioctl to retrieve that field. Best regards, Kristof From nobody Mon Nov 20 21:16:28 2023 X-Original-To: freebsd-net@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 4SZ0gX5npsz51s7R for ; Mon, 20 Nov 2023 21:16:40 +0000 (UTC) (envelope-from franco@opnsense.org) Received: from mail.opnsense.org (mail.opnsense.org [81.171.24.236]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZ0gX3mPGz3c4w; Mon, 20 Nov 2023 21:16:40 +0000 (UTC) (envelope-from franco@opnsense.org) Authentication-Results: mx1.freebsd.org; none Received: from localhost (mail.opnsense.org [127.0.0.1]) by mail.opnsense.org (Postfix) with ESMTP id 5AC6D15908D; Mon, 20 Nov 2023 22:16:39 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.opnsense.org Received: from mail.opnsense.org ([127.0.0.1]) by localhost (mail.opnsense.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K4Wni4v3KnGD; Mon, 20 Nov 2023 22:16:39 +0100 (CET) Content-Type: text/plain; charset=utf-8 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=opnsense.org; s=dkim; t=1700514999; bh=vVn9b+C6ulPnS1ZHjVBhkRe7VvfeJ2ncPc+WslwYVaI=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=KJ8yeyQ9sAg5VB8zsbA/C7Uiill1RMR3DhyCChDTXeSS5M7fG6tr70ja86+O7Pqis Kz/dLyUUa7pEXmxno4/60MBqZ4boUy7kbD5Hp/lS5wyXyqcUbvGb0lgqZt8tnJMUR+ m2+UQWRZOr3thYwhjeWB5qtoFSZpAecYJNOwSarU= List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: How to tell if a network interface was renamed (and from what) From: Franco Fichtner In-Reply-To: Date: Mon, 20 Nov 2023 22:16:28 +0100 Cc: Mike Karels , =?utf-8?Q?Mina_Gali=C4=87?= , Zhenlei Huang , Kyle Evans , freebsd-net@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> To: Kristof Provost 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:60781, ipnet:81.171.0.0/19, country:NL] X-Rspamd-Queue-Id: 4SZ0gX3mPGz3c4w > On 20. Nov 2023, at 21:56, Kristof Provost wrote: >=20 > I=E2=80=99d look in the direction of just adding a field to struct = ifnet with the original interface name (likely easily done in = if_attach()), along with a new ioctl to retrieve that field. ifconfig_get_orig_name() already exists, but apart from wlandebug nothing is using it. The internally used IFDATA_DRIVERNAME also appears in ifinfo (not installed in base) and bsnmpd but that's it. if_dname is the target and it exists in ifnet struct along with a man page entry in inet(9). All that is really missing is a way to print it via ifconfig command. Cheers, Franco= From nobody Mon Nov 20 21:23:31 2023 X-Original-To: freebsd-net@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 4SZ0qh4Wpnz51sFk for ; Mon, 20 Nov 2023 21:23:44 +0000 (UTC) (envelope-from franco@opnsense.org) Received: from mail.opnsense.org (mail.opnsense.org [81.171.24.236]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZ0qg5gssz3cvD; Mon, 20 Nov 2023 21:23:43 +0000 (UTC) (envelope-from franco@opnsense.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=opnsense.org header.s=dkim header.b="lkP/kiLS"; spf=pass (mx1.freebsd.org: domain of franco@opnsense.org designates 81.171.24.236 as permitted sender) smtp.mailfrom=franco@opnsense.org; dmarc=pass (policy=quarantine) header.from=opnsense.org Received: from localhost (mail.opnsense.org [127.0.0.1]) by mail.opnsense.org (Postfix) with ESMTP id 8DE3315908E; Mon, 20 Nov 2023 22:23:42 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.opnsense.org Received: from mail.opnsense.org ([127.0.0.1]) by localhost (mail.opnsense.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GvdRGxsnLkhH; Mon, 20 Nov 2023 22:23:42 +0100 (CET) Content-Type: text/plain; charset=utf-8 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=opnsense.org; s=dkim; t=1700515422; bh=7De11QiBGWFaVewGGnACrZJ3dhKmu2iz3N7DtPQpFsg=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=lkP/kiLSrDyXmOVkQSpMRPWuHMKEncS5K2mpGNz0YBfYentQ+a0tZUm4DzU8YrLva LRAfuEa6hQ/OGLGAxyAgyI2+GtcJXMI3LRvD/MtACHWGccW25oe80ZwYszYJOzfzxC f9p+Mk/ez8eiFuZOtMLHsuC5GPdiBPuRqmSxHc2c= List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: How to tell if a network interface was renamed (and from what) From: Franco Fichtner In-Reply-To: Date: Mon, 20 Nov 2023 22:23:31 +0100 Cc: Mike Karels , =?utf-8?Q?Mina_Gali=C4=87?= , Zhenlei Huang , Kyle Evans , freebsd-net@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <12724698-9B26-4CC2-BDBE-8142675BA4A7@opnsense.org> References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> To: Kristof Provost X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[opnsense.org,quarantine]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[opnsense.org:s=dkim]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; ASN(0.00)[asn:60781, ipnet:81.171.0.0/19, country:NL]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[opnsense.org:+]; TO_DN_SOME(0.00)[]; RCPT_COUNT_FIVE(0.00)[6]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4SZ0qg5gssz3cvD X-Spamd-Bar: --- FWIW, here is the relevant ifinfo output of a sample machine: # ifinfo | grep ^Interface Interface igb0 (igb0): Interface igb1 (igb1): Interface igb2 (igb2): Interface igb3 (igb3): Interface enc0 (enc0): Interface lo0 (lo0): Interface pflog0 (pflog0): Interface pfsync0 (pfsync0): Interface lagg0 (lagg0): Interface igb2_vlan42 (vlan0): Interface vlan0.1.23 (vlan1): Interface vlan0.3 (vlan2): Interface vlan0.5.6.7 (vlan3): Interface vlan01. (vlan4): Interface vlan06 (vlan5): Interface vlan08 (vlan6): Interface qinq0.123 (vlan7): Interface gre2 (gre2): Interface gre0 (gre0): Interface gif4 (gif4): Interface gif1 (gif1): Interface gif0 (gif0): Interface l2tp0 (ng0): Interface bridge0 (bridge0): Interface lo1 (lo1): Interface lo2 (lo2): Interface ovpns2 (tap2): Interface ovpnc1 (tun1): Interface ovpnc3 (tun3): Interface ovpns4 (tun4): Interface wg0 (wg0): Interface wg1 (wg1): > On 20. Nov 2023, at 22:16, Franco Fichtner = wrote: >=20 >=20 >> On 20. Nov 2023, at 21:56, Kristof Provost wrote: >>=20 >> I=E2=80=99d look in the direction of just adding a field to struct = ifnet with the original interface name (likely easily done in = if_attach()), along with a new ioctl to retrieve that field. >=20 > ifconfig_get_orig_name() already exists, but apart from wlandebug > nothing is using it. >=20 > The internally used IFDATA_DRIVERNAME also appears in ifinfo > (not installed in base) and bsnmpd but that's it. >=20 > if_dname is the target and it exists in ifnet struct along with > a man page entry in inet(9). >=20 > All that is really missing is a way to print it via ifconfig command. >=20 >=20 > Cheers, > Franco From nobody Mon Nov 20 22:03:50 2023 X-Original-To: freebsd-net@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 4SZ1k16Df6z518r9 for ; Mon, 20 Nov 2023 22:03:53 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail2.karels.net (mail2.karels.net [3.19.118.201]) (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 RSA-PSS (2048 bits) client-digest SHA256) (Client CN "freebsd", Issuer "freebsd" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZ1k144RKz4HTs; Mon, 20 Nov 2023 22:03:53 +0000 (UTC) (envelope-from mike@karels.net) Authentication-Results: mx1.freebsd.org; none Received: from mail2.karels.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail2.karels.net (8.17.1/8.17.1) with ESMTP id 3AKM3p0U073134; Mon, 20 Nov 2023 16:03:51 -0600 (CST) (envelope-from mike@karels.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=karels.net; s=mail2; t=1700517832; bh=t61p+KMGAfZn+45lmJTVagt2gun6wGqtg5p4/dz6bZI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=rxm1WttddbXxz/hKi+f4d/dLgiGDNFbo3zoej5ywd5FuhwS3m7zktoZ1g/reC7kC0 6YM/D94eKs3iDyfYhinuZJlfwuNhsFHq/7JazArFDf3daSbttQ3emeBA2zri++qzYO BO2NCYjZIKUewLlVLKAFWYJfWx3xyT+Y9A/DWjIkywcfPAEu4e6lrRAAyHQ0z/Q8EI 8OU5ExX/s4ZInk+8KnzCY6ouc40EFoVkoPeO+zMe8LQea5ZuU8vy7jHn87K9CdTCOW RSfCSn6vAoJEtRbIu70QjGgEgr4N2u0O8HrydO9z9mUUvdPW5a9Oev0iWi+JmiZ1UV g/L5mtfjR5p0w== Received: from [10.0.2.130] ([73.62.165.147]) by mail2.karels.net with ESMTPSA id DvgJK8fXW2WsHQEAs/W3XQ (envelope-from ); Mon, 20 Nov 2023 16:03:51 -0600 From: Mike Karels To: Kristof Provost Cc: =?utf-8?q?Mina_Gali=C4=87?= , Zhenlei Huang , Kyle Evans , freebsd-net@freebsd.org Subject: Re: How to tell if a network interface was renamed (and from what) Date: Mon, 20 Nov 2023 16:03:50 -0600 X-Mailer: MailMate (1.14r5964) Message-ID: In-Reply-To: References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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:16509, ipnet:3.16.0.0/14, country:US] X-Rspamd-Queue-Id: 4SZ1k144RKz4HTs On 20 Nov 2023, at 14:56, Kristof Provost wrote: > On 20 Nov 2023, at 21:29, Mike Karels wrote: >> On 19 Nov 2023, at 15:35, Mina Gali=C4=87 wrote: >>> Hi Zhenlei, >>> >>> >>>> Since it is just for physical devices, may I propose to have the dri= ver name in their groups ? >>>> >>>> So an if_ure interface ue0 will look like: >>>> >>>> ``` >>>> ue0: flags=3D1008843 metric 0 mtu 1500 >>>> >>>> options=3D60009b >>>> >>>> ether 00:e0:4c:xx:xx:xx >>>> media: Ethernet autoselect (1000baseT ) >>>> >>>> status: active >>>> +++ groups: ure >>>> nd6 options=3D23 >>>> >>>> ``` >>>> >>>> That does not include the unit number. But could be useful to quickl= y get the driver name of physical devices. >>>> >>> >>> Given that currently on FreeBSD the easiest way to tell if something >>> is a physical device is by checking the *absence* of groups, this >>> would only really be acceptable if we add an "egress" group like >>> OpenBSD does, in addition to the driver name. >>> >>> If we can't do that, then I think Mike's solution with having the >>> driver (and unit) as a separate category would be preferable. >> >> I have a proof of concept that makes the presumed original name >> (driver name + unit number) available to ifconfig, which prints >> the string with everything else in the standard output format. >> I don't think that is the right solution, > > I believe a similar solution has been proposed before, and it failed to= cope with things like epair interfaces. Hmm, epair certainly breaks the rules (well, conventions). My current code sees "epair0" for both halves, which may not be what is desired. epair does some of this by hand, so could have more custom code. > I=E2=80=99d look in the direction of just adding a field to struct ifne= t with the original interface name (likely easily done in if_attach()), a= long with a new ioctl to retrieve that field. That may be as good as we can do, although I'm working with netlink rather than ioctls. But see the next message... Mike > Best regards, > Kristof From nobody Mon Nov 20 22:06:53 2023 X-Original-To: freebsd-net@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 4SZ1nW6cjxz5195d for ; Mon, 20 Nov 2023 22:06:55 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail2.karels.net (mail2.karels.net [3.19.118.201]) (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 RSA-PSS (2048 bits) client-digest SHA256) (Client CN "freebsd", Issuer "freebsd" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZ1nW5tmdz4JTW; Mon, 20 Nov 2023 22:06:55 +0000 (UTC) (envelope-from mike@karels.net) Authentication-Results: mx1.freebsd.org; none Received: from mail2.karels.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail2.karels.net (8.17.1/8.17.1) with ESMTP id 3AKM6s8O073156; Mon, 20 Nov 2023 16:06:54 -0600 (CST) (envelope-from mike@karels.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=karels.net; s=mail2; t=1700518015; bh=rQ/MpVBosWe1dfORxpp7M28No4agPhDNvxL+mFWBxVk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=EVU31CDmC3eUnP1TkAgj4wE+t4+m8Bp01RaTk9IvbdYXJpsfCZs5r2uc/UmghrRw0 OUMWE65fKBKzYcHQiwDb79tYFTJYuLKq+9w4mms/gEqQLJtUVZgRGQhoizJDQnagek rJoZaS3rkZGp0pfqKKaj63fDQ76Fjhq6qjrDYjelxh7anHb2hfgeb2hUKQV3yEzkbn cdDTtT6lyCIRtsf6STduC+OmlU4hSKbHEypcMoXWDHI5nz5F/x5YXfQ3Bjgbd/yN2F HNFeyWzi+SoV3sKIRah9YT0CDRap1mGuw3Qa7aW6VBqY4mxVoMIjW0lMoLS3hE7dfd CLWyUUQ7M5X/Q== Received: from [10.0.2.130] ([73.62.165.147]) by mail2.karels.net with ESMTPSA id YD+nKn7YW2XCHQEAs/W3XQ (envelope-from ); Mon, 20 Nov 2023 16:06:54 -0600 From: Mike Karels To: Franco Fichtner Cc: Kristof Provost , =?utf-8?q?Mina_Gali=C4=87?= , Zhenlei Huang , Kyle Evans , freebsd-net@freebsd.org Subject: Re: How to tell if a network interface was renamed (and from what) Date: Mon, 20 Nov 2023 16:06:53 -0600 X-Mailer: MailMate (1.14r5964) Message-ID: In-Reply-To: References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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:16509, ipnet:3.16.0.0/14, country:US] X-Rspamd-Queue-Id: 4SZ1nW5tmdz4JTW On 20 Nov 2023, at 15:16, Franco Fichtner wrote: >> On 20. Nov 2023, at 21:56, Kristof Provost wrote: >> >> I=E2=80=99d look in the direction of just adding a field to struct ifn= et with the original interface name (likely easily done in if_attach()), = along with a new ioctl to retrieve that field. > > ifconfig_get_orig_name() already exists, but apart from wlandebug > nothing is using it. Thanks for pointing that out! I hadn't noticed it. I also hadn't though= t of that way to fetch the driver name and unit. > The internally used IFDATA_DRIVERNAME also appears in ifinfo > (not installed in base) and bsnmpd but that's it. > > if_dname is the target and it exists in ifnet struct along with > a man page entry in inet(9). > > All that is really missing is a way to print it via ifconfig command. That is trivial to add; I just tested it. It also has problems with epair. Maybe that isn't an issue for this purpose. I hate to invent something new when there is something already existing that solves most of the problem. Mike > Cheers, > Franco From nobody Tue Nov 21 06:43:45 2023 X-Original-To: freebsd-net@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 4SZFG665JCz51wNd for ; Tue, 21 Nov 2023 06:43:58 +0000 (UTC) (envelope-from franco@opnsense.org) Received: from mail.opnsense.org (mail.opnsense.org [81.171.24.236]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZFG63n20z4KJg; Tue, 21 Nov 2023 06:43:58 +0000 (UTC) (envelope-from franco@opnsense.org) Authentication-Results: mx1.freebsd.org; none Received: from localhost (mail.opnsense.org [127.0.0.1]) by mail.opnsense.org (Postfix) with ESMTP id 0738B159091; Tue, 21 Nov 2023 07:43:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.opnsense.org Received: from mail.opnsense.org ([127.0.0.1]) by localhost (mail.opnsense.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dShVzenWB9qH; Tue, 21 Nov 2023 07:43:56 +0100 (CET) Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=opnsense.org; s=dkim; t=1700549036; bh=JfJ3kz/k5VkI+wkmQ3TbM+qp0r/vAWE3rLWpM9i/tKo=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=MMik5Af0nVvmsE7bFoJovWfVTQKlNAgo4TVLejnsbuOhMco7wJcVvsCl1iveiKeJ4 ttVFNJQ2tLTYJvzX1H5MUIKXqQCC4RjQcyLT8Nv+d1XVGmpilBsVw47MoqoDNjlo06 sg5oyZGzbQnCpUef5RtIAsUo/kuOUsA6tuLcUgyo= List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: How to tell if a network interface was renamed (and from what) From: Franco Fichtner In-Reply-To: Date: Tue, 21 Nov 2023 07:43:45 +0100 Cc: Kristof Provost , =?utf-8?Q?Mina_Gali=C4=87?= , Zhenlei Huang , Kyle Evans , freebsd-net@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <3081C679-F5AC-4610-BC6B-00ADA5DC17E7@opnsense.org> References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> To: Mike Karels 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:60781, ipnet:81.171.0.0/19, country:NL] X-Rspamd-Queue-Id: 4SZFG63n20z4KJg > On 20. Nov 2023, at 23:06, Mike Karels wrote: > > On 20 Nov 2023, at 15:16, Franco Fichtner wrote: > >> All that is really missing is a way to print it via ifconfig command. > > That is trivial to add; I just tested it. It also has problems with > epair. Maybe that isn't an issue for this purpose. Two things to consider: Does epair do it the "right way"? And does it even matter given that this behaviour hasn't had any exposure and is likely ever going to be used as input for another tool? I mean it still tracks the origin in the driver. This way you can even find the epair belonging together. It looks like it should given the design choices. Cheers, Franco From nobody Tue Nov 21 09:51:17 2023 X-Original-To: freebsd-net@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 4SZKQQ1kF7z51HBQ for ; Tue, 21 Nov 2023 09:51:26 +0000 (UTC) (envelope-from SRS0=dl4N=HC=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int-backup.realworks.nl (smtp-relay-int-backup.realworks.nl [87.255.56.188]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZKQP3MTvz4fdY; Tue, 21 Nov 2023 09:51:25 +0000 (UTC) (envelope-from SRS0=dl4N=HC=klop.ws=ronald-lists@realworks.nl) Authentication-Results: mx1.freebsd.org; none Received: from rwvirtual137.colo.realworks.nl (rwvirtual137.colo.realworks.nl [10.0.10.37]) by mailrelayint1.colo2.realworks.nl (Postfix) with ESMTP id 4SZKQF29qgzmy; Tue, 21 Nov 2023 10:51:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1700560277; 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=YKKboMnLFd9gTF90bnZ7NLECtrXs2Axyl4vj3cbB24w=; b=d5cgeaKRnP0GaCccEmOnvgmhu9ViKmZXmYzWbSwf1BUq2cBHSE+9UlXrw4cv+0rPES37v5 bCUvmANTghfJOwp4LrvINnIDchdtjrBKOOVsK7C8JHzHeVXo2T7JlkNbG47hTNCMhETsKX LX3rM0id8pqss8sBMgOUkktZlqnmEyp5Hr8z7hqp7GeoHFo1nMu1Z57E/Nj++KN8aEoZCY A2Xj9sj45iK5PvHwY6Xz/D2qnNeHlCsn6mGuQ/olhJzi4aNXT0aLSNOY/CBhtrxWLk6zw7 24gj4L0GS5ID677HPKLN7Z7hKsoNCk6GQzcNS/+8amJDNWsFIH0HREPfdVoqmw== Received: from rwvirtual137.colo.realworks.nl (localhost [127.0.0.1]) by rwvirtual137.colo.realworks.nl (Postfix) with ESMTP id 2E2C01C0C97; Tue, 21 Nov 2023 10:51:17 +0100 (CET) Date: Tue, 21 Nov 2023 10:51:17 +0100 (CET) From: Ronald Klop To: Franco Fichtner Cc: freebsd-net@freebsd.org, Kyle Evans , Kristof Provost , Mike Karels , Zhenlei Huang , =?UTF-8?Q?Mina_Gali=C4=87?= Message-ID: <1675481257.73541.1700560277016@localhost> In-Reply-To: <12724698-9B26-4CC2-BDBE-8142675BA4A7@opnsense.org> References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> <12724698-9B26-4CC2-BDBE-8142675BA4A7@opnsense.org> Subject: Re: How to tell if a network interface was renamed (and from what) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_73539_964470319.1700560276913" X-Mailer: Realworks (679.16) X-Originating-Host: from (84-105-120-103.cable.dynamic.v4.ziggo.nl [84.105.120.103]) by rwvirtual137 [10.0.10.37] with HTTP; Tue, 21 Nov 2023 10:51:17 +0100 Importance: Normal X-Priority: 3 (Normal) X-Originating-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/119.0 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:38930, ipnet:87.255.32.0/19, country:NL] X-Rspamd-Queue-Id: 4SZKQP3MTvz4fdY ------=_Part_73539_964470319.1700560276913 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Interesting. Is this: /usr/src/tools/tools/ifinfo ? Regards, Ronald. =20 Van: Franco Fichtner Datum: maandag, 20 november 2023 22:23 Aan: Kristof Provost CC: Mike Karels , "Mina Galic" , Zhenle= i Huang , Kyle Evans , freebsd-net@fr= eebsd.org Onderwerp: Re: How to tell if a network interface was renamed (and from wha= t) >=20 > FWIW, here is the relevant ifinfo output of a sample machine: >=20 > # ifinfo | grep ^Interface > Interface igb0 (igb0): > Interface igb1 (igb1): > Interface igb2 (igb2): > Interface igb3 (igb3): > Interface enc0 (enc0): > Interface lo0 (lo0): > Interface pflog0 (pflog0): > Interface pfsync0 (pfsync0): > Interface lagg0 (lagg0): > Interface igb2_vlan42 (vlan0): > Interface vlan0.1.23 (vlan1): > Interface vlan0.3 (vlan2): > Interface vlan0.5.6.7 (vlan3): > Interface vlan01. (vlan4): > Interface vlan06 (vlan5): > Interface vlan08 (vlan6): > Interface qinq0.123 (vlan7): > Interface gre2 (gre2): > Interface gre0 (gre0): > Interface gif4 (gif4): > Interface gif1 (gif1): > Interface gif0 (gif0): > Interface l2tp0 (ng0): > Interface bridge0 (bridge0): > Interface lo1 (lo1): > Interface lo2 (lo2): > Interface ovpns2 (tap2): > Interface ovpnc1 (tun1): > Interface ovpnc3 (tun3): > Interface ovpns4 (tun4): > Interface wg0 (wg0): > Interface wg1 (wg1): >=20 > > On 20. Nov 2023, at 22:16, Franco Fichtner wrote: > > > > > >> On 20. Nov 2023, at 21:56, Kristof Provost wrote: > >> > >> I=E2=80=99d look in the direction of just adding a field to struct ifn= et with the original interface name (likely easily done in if_attach()), al= ong with a new ioctl to retrieve that field. > > > > ifconfig_get_orig_name() already exists, but apart from wlandebug > > nothing is using it. > > > > The internally used IFDATA_DRIVERNAME also appears in ifinfo > > (not installed in base) and bsnmpd but that's it. > > > > if_dname is the target and it exists in ifnet struct along with > > a man page entry in inet(9). > > > > All that is really missing is a way to print it via ifconfig command. > > > > > > Cheers, > > Franco >=20 > =20 >=20 >=20 >=20 =20 ------=_Part_73539_964470319.1700560276913 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Interesting.

Is this: /usr/src/tools/tools/ifinfo ?

Regards,
Ronald.
 

Van: Franco Fichtner <franco@opnsense.org>
Datum: maandag, 20 november 2023 22:23
Aan: Kristof Provost <kp@FreeBSD.org>
CC: Mike Karels <mike@karels.net>, "Mina Galic" <= freebsd@igalic.co>, Zhenlei Huang <zlei@FreeBSD.org>, Kyle Evans &= lt;kevans@FreeBSD.org>, freebsd-net@freebsd.org
Onderwerp: Re: How to tell if a network interface was rena= med (and from what)

FWIW, here is the relevant ifinfo= output of a sample machine:

# ifinfo | grep ^Interface
Interface igb0 (igb0):
Interface igb1 (igb1):
Interface igb2 (igb2):
Interface igb3 (igb3):
Interface enc0 (enc0):
Interface lo0 (lo0):
Interface pflog0 (pflog0):
Interface pfsync0 (pfsync0):
Interface lagg0 (lagg0):
Interface igb2_vlan42 (vlan0):
Interface vlan0.1.23 (vlan1):
Interface vlan0.3 (vlan2):
Interface vlan0.5.6.7 (vlan3):
Interface vlan01. (vlan4):
Interface vlan06 (vlan5):
Interface vlan08 (vlan6):
Interface qinq0.123 (vlan7):
Interface gre2 (gre2):
Interface gre0 (gre0):
Interface gif4 (gif4):
Interface gif1 (gif1):
Interface gif0 (gif0):
Interface l2tp0 (ng0):
Interface bridge0 (bridge0):
Interface lo1 (lo1):
Interface lo2 (lo2):
Interface ovpns2 (tap2):
Interface ovpnc1 (tun1):
Interface ovpnc3 (tun3):
Interface ovpns4 (tun4):
Interface wg0 (wg0):
Interface wg1 (wg1):

> On 20. Nov 2023, at 22:16, Franco Fichtner <franco@opnsense.org>= wrote:
>
>
>> On 20. Nov 2023, at 21:56, Kristof Provost <kp@FreeBSD.org> = wrote:
>>
>> I=E2=80=99d look in the direction of just adding a field to struct= ifnet with the original interface name (likely easily done in if_attach())= , along with a new ioctl to retrieve that field.
>
> ifconfig_get_orig_name() already exists, but apart from wlandebug
> nothing is using it.
>
> The internally used IFDATA_DRIVERNAME also appears in ifinfo
> (not installed in base) and bsnmpd but that's it.
>
> if_dname is the target and it exists in ifnet struct along with
> a man page entry in inet(9).
>
> All that is really missing is a way to print it via ifconfig command.<= br> >
>
> Cheers,
> Franco

 


  ------=_Part_73539_964470319.1700560276913-- From nobody Tue Nov 21 09:53:44 2023 X-Original-To: freebsd-net@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 4SZKTR0TWzz51HpB for ; Tue, 21 Nov 2023 09:54:03 +0000 (UTC) (envelope-from franco@opnsense.org) Received: from mail.opnsense.org (mail.opnsense.org [81.171.24.236]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZKTQ5NKXz4gJh; Tue, 21 Nov 2023 09:54:02 +0000 (UTC) (envelope-from franco@opnsense.org) Authentication-Results: mx1.freebsd.org; none Received: from localhost (mail.opnsense.org [127.0.0.1]) by mail.opnsense.org (Postfix) with ESMTP id 4AEE415909D; Tue, 21 Nov 2023 10:53:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.opnsense.org Received: from mail.opnsense.org ([127.0.0.1]) by localhost (mail.opnsense.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s1YVpXA-9qM2; Tue, 21 Nov 2023 10:53:55 +0100 (CET) Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=opnsense.org; s=dkim; t=1700560435; bh=PclZCsvuldTKcPEwN2dZZusGPs/LLk1+LAUxYxUUiqw=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=lVLzrFCpkNEHNdZdMs12B+uc62FQyuLVSqIfffRrOpkKpfTly/0FffhikWrd8ais/ YDUogZilUSloYXcZAKEam2YJrzEqbkgL1ennRQnwkQd3ThRQEN2uk3LZPbXP/yhKd/ j3zt053lR1zkbE7x5I5Y7TYywKvcPB41aFRUiooY= List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: How to tell if a network interface was renamed (and from what) From: Franco Fichtner X-Priority: 3 (Normal) In-Reply-To: <1675481257.73541.1700560277016@localhost> Date: Tue, 21 Nov 2023 10:53:44 +0100 Cc: FreeBSD Net , Kyle Evans , Kristof Provost , Mike Karels , Zhenlei Huang , =?utf-8?Q?Mina_Gali=C4=87?= Content-Transfer-Encoding: 7bit Message-Id: References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> <12724698-9B26-4CC2-BDBE-8142675BA4A7@opnsense.org> <1675481257.73541.1700560277016@localhost> To: Ronald Klop 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:60781, ipnet:81.171.0.0/19, country:NL] X-Rspamd-Queue-Id: 4SZKTQ5NKXz4gJh > On 21. Nov 2023, at 10:51, Ronald Klop wrote: > > Interesting. > > Is this: /usr/src/tools/tools/ifinfo ? Yes. From nobody Tue Nov 21 11:03:38 2023 X-Original-To: net@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 4SZM1k6Cr5z51P8F for ; Tue, 21 Nov 2023 11:03:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZM1k53srz3JwN for ; Tue, 21 Nov 2023 11:03:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700564618; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=n75d29l35Hgw1ql1h2z/sw6BPGZIbJEAjUVW1gzlMJA=; b=e62QSkA9ftBa83XJv8naB8vHBxmsEiuSYxboXp2LU7p2nyV+Bu16U1x0VKF4BVV8tJqGyS fpV3PLipcRxODAB8mtNQ9MVk/+E13oEH0aPmNpDcoglfGFF9leqy6VuKSbDqI7XvqoE/T3 6Fb3pLchxLwvAFrTKUWzpgprh98KjVyAjaESAmiCpcljUTH5Fiw9aVUDqZMboHtDr5bKfB zRIAQvrGI3holTY1obj+Jxrq11aVjtcTrVGZ8L+m4QoTdvQ4iL6ltzISDgpigmx8Hr7hgg oKJPaswiWDtsi2vsfez2Lx2D9gVcOJm9emWwn5dFnUmByokOt5Kj+PTM8RvMdw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700564618; a=rsa-sha256; cv=none; b=DBLlVpHKUI7IbJ63APqqGA9vy0cVpYmRSdC+E2IEyUEclzRKTN7/G2uZgz4aMpdyI9TQPH VEfQx5iCE/9zKvPw2ON9+Z/fyERUnBIzDQBAFdJ19feedIrW4hVqwtXodwSBvC78p2I476 6EGt5piOn6sWnbZP0ZaNbSuXoWvQ/+EfvmZKLhNn4HmdbQFA39OdCeteM5Qpserxyj8ixt o22XvcbODEdSgfYdM0/HofBo7fuiTDvpZz38Xa0RbNZZ9Ni6U1cJEKJYS49dnqrdfj+sgv zDqL1sqY396+xSOnS2WKcvo7h11GcMz+jMJeEJWH+LmyMG0NBF34mzHs/w4+oQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SZM1k47tGzXrS for ; Tue, 21 Nov 2023 11:03:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3ALB3cPE033331 for ; Tue, 21 Nov 2023 11:03:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ALB3cn3033330 for net@FreeBSD.org; Tue, 21 Nov 2023 11:03:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275228] Make /usr/share/examples/jails/jib use FreeBSD assigned MAC addresses Date: Tue, 21 Nov 2023 11:03:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: michaelo@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275228 Michael Osipov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dteske@FreeBSD.org, | |michaelo@FreeBSD.org, | |net@FreeBSD.org --- Comment #1 from Michael Osipov --- This applies to all supported branches. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Nov 21 13:46:12 2023 X-Original-To: freebsd-net@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 4SZQdT0M2Vz51fht for ; Tue, 21 Nov 2023 13:46:21 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail2.karels.net (mail2.karels.net [3.19.118.201]) (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 RSA-PSS (2048 bits) client-digest SHA256) (Client CN "freebsd", Issuer "freebsd" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZQdS5cDBz3ckX; Tue, 21 Nov 2023 13:46:20 +0000 (UTC) (envelope-from mike@karels.net) Authentication-Results: mx1.freebsd.org; none Received: from mail2.karels.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail2.karels.net (8.17.1/8.17.1) with ESMTP id 3ALDkDVg077237; Tue, 21 Nov 2023 07:46:13 -0600 (CST) (envelope-from mike@karels.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=karels.net; s=mail2; t=1700574373; bh=U9nTPMLFl7znyD5xrlOTF8JZIS9S8CNVZEeQ8qTiATY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=ZGy9dkGxTRPa3zQ3clqxkvb1rCwLR3UdcMGSvWd/kj0EKrojwear/z5dlynrQh8qW Og3dSl9qYJ9vnmkKfvtW5ZSvM7CPM88sMEalsCiOyymrkR6APfLc8dFUmapE8hvzKa 5rAPcSiCGvSyY9Fj1ca2OQI1wZqNvu5reRFktjQBNONbBfMffrU85WszlZiNHILffQ WDtmPEe0I6AhU3LTDXYRQuGPpw0jkEERzT7BfKFpa9CfZlVJpIy3TeiSo7SyjyKNzE hKarTDr1TLlVthD8GkkmUox/v2lT2HLV4vwwHuVv8oPT0Y5oLVKVfACbvhdRDuZaKx xWKlK3D6+t4xw== Received: from [10.0.2.130] ([73.62.165.147]) by mail2.karels.net with ESMTPSA id LSeXGqW0XGWzLQEAs/W3XQ (envelope-from ); Tue, 21 Nov 2023 07:46:13 -0600 From: Mike Karels To: Franco Fichtner Cc: Kristof Provost , =?utf-8?q?Mina_Gali=C4=87?= , freebsd-net@freebsd.org Subject: Re: How to tell if a network interface was renamed (and from what) Date: Tue, 21 Nov 2023 07:46:12 -0600 X-Mailer: MailMate (1.14r5964) Message-ID: In-Reply-To: <3081C679-F5AC-4610-BC6B-00ADA5DC17E7@opnsense.org> References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> <3081C679-F5AC-4610-BC6B-00ADA5DC17E7@opnsense.org> List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain 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:16509, ipnet:3.16.0.0/14, country:US] X-Rspamd-Queue-Id: 4SZQdS5cDBz3ckX On 21 Nov 2023, at 0:43, Franco Fichtner wrote: >> On 20. Nov 2023, at 23:06, Mike Karels wrote: >> >> On 20 Nov 2023, at 15:16, Franco Fichtner wrote: >> >>> All that is really missing is a way to print it via ifconfig command. >> >> That is trivial to add; I just tested it. It also has problems with >> epair. Maybe that isn't an issue for this purpose. > > Two things to consider: > > Does epair do it the "right way"? And does it even matter given that this > behaviour hasn't had any exposure and is likely ever going to be used > as input for another tool? epair arguably does it wrong; it doesn't follow the convention of using the driver name followed by an integer. However, what it does is practical, and clearly we don't want to change it now. Using the driver name as returned by ifconfig_get_orig_addr displays "epair0" for two interfaces. If they have been renamed, the new names will hopefully be suggestive of which is which. Mina, do you care about epair, or is the behavior I described sufficient for your purposes? Mike > I mean it still tracks the origin in the driver. This way you can even find > the epair belonging together. It looks like it should given the design > choices. > > > Cheers, > Franco From nobody Tue Nov 21 16:03:09 2023 X-Original-To: net@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 4SZTgL6S1tz51rbf for ; Tue, 21 Nov 2023 16:03:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZTgL5LkCz4Sbl for ; Tue, 21 Nov 2023 16:03:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700582590; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=++pBterRGcmqyPWfxjhqz15AJM8U3KpdJPvWPwB2SVI=; b=BNt7ffIo74EnclkZVLv9ZumDHcxb93ttX9BJMfpfRgbFeKlv37q1WgrG8YdikYowh39mDM MVKScAwNoIwHHkuSGf3T9zXjqQd3uNSMGF4BfGhrBC3b4uE45UFYsrh4AVdLD02K5h4ACQ Z30h9CadnlrTNy8lPAshAKagJKFWX8n8Ql8goJSx9wihVp2eZcRH1bzDZw7vq1N5TN/a+I f08WYOmwQYfYrjf7aEOSRO2U7guf2xK661uKychdjSotNDvW/SGMXCHhARMdBPCYC5xR7E aS95sBrdVB/eYJ6bJ4lg2nPu7mUGmXqJ6sUu02PnBugXscAbNrNUj4nGjxt8yg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700582590; a=rsa-sha256; cv=none; b=RO8cuEszvMsDvebQCMpwK/4SONamoQCl0uqVsouOVuo9IelKhAcsiNu3Njc+QNKo+jZvdK fJBfGX5q+2DP0FsW2o7ObgEwLR3UBFVCOxSM6QRmHKgoToxk0XM8EcHc0d0C+Gy+AMWMyv XQRQOrQg4K70MnBnNGh5N0XjGe02KmoFD1UwEJmHoIPHWew02pfYJQ9KEzbzh2cKIER7py 0BC61wYxZP3xgDNj43jXrajQ8aH+TRFJqWTDecGcjB4RJONdxg1gyVxjfb/DF50Ppu8p10 9kwRzTnVDskE/q5HHiSqRVNZvJOPp1hzflf7utP/OQzOLetg/tbC07Lb739OZA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SZTgL45CCzhpY for ; Tue, 21 Nov 2023 16:03:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3ALG3Ag5089949 for ; Tue, 21 Nov 2023 16:03:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ALG3Aw5089948 for net@FreeBSD.org; Tue, 21 Nov 2023 16:03:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275225] On ARM64 carp preempt not working as expected Date: Tue, 21 Nov 2023 16:03:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275225 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Nov 21 18:16:13 2023 X-Original-To: freebsd-net@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 4SZXdH31Qvz523h2 for ; Tue, 21 Nov 2023 18:16:35 +0000 (UTC) (envelope-from freebsd@igalic.co) Received: from mail-4018.proton.ch (mail-4018.proton.ch [185.70.40.18]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZXdG5F0kz4mpP; Tue, 21 Nov 2023 18:16:34 +0000 (UTC) (envelope-from freebsd@igalic.co) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=igalic.co; s=protonmail2; t=1700590589; x=1700849789; bh=p6Fj/3mVoHq/+Z74/2qgAE8z8Xno2awZ+KzIQWAxZB8=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=eljg0ctOfMwMybiA6AAt1dEehT4bKbrZn6WgLuFjNsjj2BEAYto927rNcXk904LT1 HRuMY91Ui5QRRiXXRhMK2+FIqLScghGPeWNPFhRRR3cGmGfC4EXS+8koWZkAfO3wNz 7jFgIbONGHpibrqdBLkastQNFYqIzV4ye3PJzUFsLXdA4Eu0BCV4HA8SCudh2LFZ7p UBggS+qG3aHfwaoVaoCXFB5S3B4JObtbHeTh/g7Pa5FxM7QBPYvovls3mSS/L4wMiM 3rNFyWXns9g4RqFcwF6v3B61CphT//Y0VPtFrqAreeLzT+Vame6uFuaiCXa3i9Mq4B 4YkmuOYfS562A== Date: Tue, 21 Nov 2023 18:16:13 +0000 To: Mike Karels From: =?utf-8?Q?Mina_Gali=C4=87?= Cc: Franco Fichtner , Kristof Provost , freebsd-net@freebsd.org Subject: Re: How to tell if a network interface was renamed (and from what) Message-ID: <4jgQsTSP-ojHZF4kFe2z7vD9qYYVO88M8KvpOXXw_t8JzQZwwzNDyO8cNeDoZ1435qQHTEY91IIzPfmBft3FJScfMrxaT-6GyI5P57qDIkg=@igalic.co> In-Reply-To: References: <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> <3081C679-F5AC-4610-BC6B-00ADA5DC17E7@opnsense.org> Feedback-ID: 66573723:user:proton List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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:62371, ipnet:185.70.40.0/24, country:CH] X-Rspamd-Queue-Id: 4SZXdG5F0kz4mpP Hi Mike, > Mina, do you care about epair, or is the behavior I described sufficient > for your purposes?=20 I do deeply care about epair, but for me, ifinfo does the right thing for me: root@irc:~ # ifinfo | grep Interface Interface vnet0 (epair30): Interface lo0 (lo0): for one. For the other. For the main purpose, figuring out in cloud-init what the driver of an interface is / if the interface has been renamed, this is more than sufficient. > Mike Thank you very much, Mina From nobody Tue Nov 21 18:55:10 2023 X-Original-To: freebsd-net@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 4SZYTs37Txz526Cb for ; Tue, 21 Nov 2023 18:55:13 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail2.karels.net (mail2.karels.net [3.19.118.201]) (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 RSA-PSS (2048 bits) client-digest SHA256) (Client CN "freebsd", Issuer "freebsd" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZYTs11RNz4rxk; Tue, 21 Nov 2023 18:55:13 +0000 (UTC) (envelope-from mike@karels.net) Authentication-Results: mx1.freebsd.org; none Received: from mail2.karels.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail2.karels.net (8.17.1/8.17.1) with ESMTP id 3ALItBqt078640; Tue, 21 Nov 2023 12:55:11 -0600 (CST) (envelope-from mike@karels.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=karels.net; s=mail2; t=1700592911; bh=+OOhEzo0h82j2lwscD4tK0kA3la062QpR6ehd16cMOU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=S9Hgy7vouQAYwOAtKb+gqazL17+C53ecmpCBgvMRC/6BtJ/wX91VIG3z0l3YY9t3d I7QbUobijYi2G3wwFpjv1YSKFN/ajRRfUshglalYLVfx+/hqZUD3Y4R+ImwrWIik2Z 91caTmdLcJEEhBQpirlw6a8chngi8NEYj3cn+BI0kJFc6JOUQrlnefE7RiyyDnvPdK ClH6zdviCVsXRY+8i2XYnUcA7HgggRTa20pUuGaqIWrehGeFK/sM3Z3eJ76zxQAdfx 4WN+siTfFoN7qxaFPNbUhdssK22fcOWSCNMn1+7RQZ+zRcqtbPMFc0Q2Eo1K2CtpCt /4U7w4f0uGe2w== Received: from [10.0.2.130] ([73.62.165.147]) by mail2.karels.net with ESMTPSA id eGxXCA/9XGUuMwEAs/W3XQ (envelope-from ); Tue, 21 Nov 2023 12:55:11 -0600 From: Mike Karels To: =?utf-8?q?Mina_Gali=C4=87?= Cc: Franco Fichtner , Kristof Provost , freebsd-net@freebsd.org Subject: Re: How to tell if a network interface was renamed (and from what) Date: Tue, 21 Nov 2023 12:55:10 -0600 X-Mailer: MailMate (1.14r5964) Message-ID: <8CC43DBE-A4F5-4871-B454-7C61BBC916B0@karels.net> In-Reply-To: <4jgQsTSP-ojHZF4kFe2z7vD9qYYVO88M8KvpOXXw_t8JzQZwwzNDyO8cNeDoZ1435qQHTEY91IIzPfmBft3FJScfMrxaT-6GyI5P57qDIkg=@igalic.co> References: <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> <3081C679-F5AC-4610-BC6B-00ADA5DC17E7@opnsense.org> <4jgQsTSP-ojHZF4kFe2z7vD9qYYVO88M8KvpOXXw_t8JzQZwwzNDyO8cNeDoZ1435qQHTEY91IIzPfmBft3FJScfMrxaT-6GyI5P57qDIkg=@igalic.co> List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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:16509, ipnet:3.16.0.0/14, country:US] X-Rspamd-Queue-Id: 4SZYTs11RNz4rxk On 21 Nov 2023, at 12:16, Mina Gali=C4=87 wrote: > Hi Mike, > >> Mina, do you care about epair, or is the behavior I described sufficie= nt >> for your purposes? > > I do deeply care about epair, but for me, ifinfo does the > right thing for me: > > root@irc:~ # ifinfo | grep Interface > Interface vnet0 (epair30): > Interface lo0 (lo0): That's not the whole story for epair. For example, I get this: Interface bhyve (vtnet0): Interface lo0 (lo0): Interface lo1 (lo1): Interface foo0a (epair0): Interface foo0b (epair0): But if you only need the driver name, it will do. A problem with ifinfo is that it is not normally installed. I think it is worth adding a similar feature for the driver name to ifconfig. > for one. For the other. For the main purpose, figuring out > in cloud-init what the driver of an interface is / if the > interface has been renamed, this is more than sufficient. Currently I have this for ifconfig -D: bhyve: flags=3D1008843 m= etric 0 mtu 1500 options=3D80028 ether 58:9c:fc:0b:0c:10 inet 10.0.3.1 netmask 0xffffff00 broadcast 10.0.3.255 inet6 fe80::5a9c:fcff:fe0b:c10%bhyve prefixlen 64 scopeid 0x1 inet6 2001:470:c202:3::1 prefixlen 64 media: Ethernet autoselect (10Gbase-T ) status: active nd6 options=3D21 drivername: vtnet0 It's a little more work to parse, but I decided that it was useful for humans, and works with -a. Mike > > Thank you very much, > > Mina From nobody Tue Nov 21 23:14:34 2023 X-Original-To: net@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 4SZgF738pXz51GCJ for ; Tue, 21 Nov 2023 23:14:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZgF726qXz4Rt0 for ; Tue, 21 Nov 2023 23:14:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700608475; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iSMC+LF4hiSlqGv++OIDysh0ckTUY+PGYJv4yuMFuAs=; b=GPV7XwpUS1Ss9EKhl1GbONt9xvSRavIIHRJi0qGCSjhJJt6p6PHtIC/VVnDgajQB40j5u0 1CLeCwcKqLB6dgZ9ez2Bc6r+iHdgeHiGhawrZOunqH68C0Dzrw5/g/EG1V3XejMvM4Nv6n DYlhSH4uyPAktKoa0UZjL966E9cSWySPXDtjJIav1/xgw4dVI6nNj2YnIAOklvgpb77CBV Z9CIAL+p0SnZt6p69HWqsMOIjdu8/Yn3h9v7f6l48dkbsN0lvXpZ5kf6ZvV5qxh1ff+/8S xT9dZw4IjsLubF2uJtgJ/ZrmICEi4/qWrdfgcT3lWufo/uPPOA1qx83bhP2qmw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700608475; a=rsa-sha256; cv=none; b=ASUHW1MQKaoZYkLmbkowan5+BcIeHoWj2fInn4qwpF5GyUXlnTGVvJgIa8QzsxGmEG4Ym8 mPLI3ahgQLZSun5oc8pl0O0AZOfhP4fOOZzsGTvjCvmceUR5rAXelNgsv1vUWkRkGLMcce n9vKd2sQBYpMwmZVIuXXbXlGIWUomWbvQMZxJu0qxFSmbffkVexJENd/Gu4dqSCRNHYeMj WQpomtC8jhRtPow+zz8wMVv+Rcgm+lfF2wuiy5R4tIxuUu1VoLyzTXuNE7vKMk8KQBqDmn 1vL/8QSpKDVioNhki/K9OtXdYbZK77PPFrPrYKjuBaiJ8frKoefYfxknCXsHFg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SZgF71BdWzv8T for ; Tue, 21 Nov 2023 23:14:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3ALNEZS2044305 for ; Tue, 21 Nov 2023 23:14:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ALNEZMa044302 for net@FreeBSD.org; Tue, 21 Nov 2023 23:14:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275225] On ARM64 carp preempt not working as expected Date: Tue, 21 Nov 2023 23:14:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linnemannr@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275225 Reid Linnemann changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |linnemannr@gmail.com --- Comment #1 from Reid Linnemann --- I think you've misunderstood net.inet.carp.preempt: net.inet.carp.preempt Allow virtual hosts to preempt each other. When enabled, a vhid in a backup state would preempt a mas= ter that is announcing itself with a lower advskew. Disabled by default. Here, 'virtual host' refers to the shared address associated with a VHID. T= his setting allows a host with multiple VHIDs to assume the master role on all VHIDs if just one of them fails over. See in carp(4): Assume that host A is the preferred master and we are running the 192.168.1.0/24 prefix on em0 and 192.168.2.0/24 on em1. This is the setup for host A (advskew is above 0 so it could be overwritten in the emergency situation from the other host): ifconfig em0 vhid 1 advskew 100 pass mekmitasdigoat 192.168.1.1/= 24 ifconfig em1 vhid 2 advskew 100 pass mekmitasdigoat 192.168.2.1/= 24 The setup for host B is identical, but it has a higher advskew: ifconfig em0 vhid 1 advskew 200 pass mekmitasdigoat 192.168.1.1/= 24 ifconfig em1 vhid 2 advskew 200 pass mekmitasdigoat 192.168.2.1/= 24 When one of the physical interfaces of host A fails, advskew is demoted to a configured value on all its carp vhids. Due to the preempt optio= n, host B would start announcing itself, and thus preempt host A on both interfaces instead of just the failed one. It seems likely to me that in your RPI/ROCKPRO setup that your two hosts are not actually exchanging CARP messages correctly and both believe that they = are the lowest advbase for the VHID. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Nov 21 23:17:16 2023 X-Original-To: net@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 4SZgJD5hfPz51GcC for ; Tue, 21 Nov 2023 23:17:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZgJD1lWMz4SHp for ; Tue, 21 Nov 2023 23:17:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700608636; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/eZP4mzzv7pKc6NeyL2ALDVtHL/AxeYYI7p0JvOUunE=; b=w1Tvkkw4Y0zFC3TivYc3FxdaJF92sm0u2/R/bPIMMV4XGXQDoOB8UCqXdv40GxjCofCsJa kXlrri5t/PCqBe/ZmTelCb0rrQtYB2cyfjljm56L1bqbvnmi4eyJjZFiC5DMmaXvjf73rD a2849zuIFNz2ZQB15BXN+EqbDIAG4YLJluGrMj1fO/a0+O2u7JFBG9umRfuSEgS1+mvHDa uiUKCFmoE11K/IVoYCacPUd8f9GbjcAk5i9OBCBrZu89lZFoJU+n7YJ8M0ndm6uUfbKFVh yRUZd1yzgB2DgHjXBbDjGdNaSRobpwMIXpHxE1/HZhwK/XjFQ2xuZpJ5PSZR9Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700608636; a=rsa-sha256; cv=none; b=DI5oCxA83ZJs/DmDW9+p9d6wNq+/djR03NEItytPwmHXKHWvYh9iiULCshoBmaxNNfyd8a QT/7J5FqvL/mGe5IMP/M8lac3PY8hqtqcQGRkxrmFsTDJu6eFRDV6DZ2fa70HLDudhDv2c MvBTI82UXqvxVewJVwg5BOfWLvA2Sa0BZNwI2j/uSRFqRVSlIoRDgbTw/aDLPz5K5MqMoS +uJqlK7xvFIrzeqdvydn5W7pmYlLzt/wpaBYlQ7SuDxjnAuRGj9ohn7F0QlVsT+j5WbdFQ 3uFzz+TWOQDeiEeNxwJtRfrnYeLQa7T5cU5dzAhJvcjk95AYDiVAeymwlkZtJw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SZgJD0s6bzvLv for ; Tue, 21 Nov 2023 23:17:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3ALNHG62045620 for ; Tue, 21 Nov 2023 23:17:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ALNHGji045619 for net@FreeBSD.org; Tue, 21 Nov 2023 23:17:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275225] On ARM64 carp preempt not working as expected Date: Tue, 21 Nov 2023 23:17:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linnemannr@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275225 --- Comment #2 from Reid Linnemann --- Correction to my previous comment - both believe that have the lowest advsk= ew, not advbase --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 22 01:35:08 2023 X-Original-To: freebsd-net@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 4SZkMS368Zz51V1y for ; Wed, 22 Nov 2023 01:35:16 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [IPv6:2001:19f0:7400:8808:123::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4SZkMQ6jHrz3Dlt; Wed, 22 Nov 2023 01:35:14 +0000 (UTC) (envelope-from jamie@catflap.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of jamie@catflap.org designates 2001:19f0:7400:8808:123::1 as permitted sender) smtp.mailfrom=jamie@catflap.org; dmarc=pass (policy=none) header.from=catflap.org X-Catflap-Envelope-From: X-Catflap-Envelope-To: freebsd-net@FreeBSD.org Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [209.250.224.51]) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5) with ESMTP id 3AM1Z8Xv054660; Wed, 22 Nov 2023 01:35:08 GMT (envelope-from jamie@donotpassgo.dyslexicfish.net) Received: (from jamie@localhost) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5/Submit) id 3AM1Z8ED054659; Wed, 22 Nov 2023 01:35:08 GMT (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <202311220135.3AM1Z8ED054659@donotpassgo.dyslexicfish.net> Date: Wed, 22 Nov 2023 01:35:08 +0000 Organization: Dyslexic Fish To: mike@karels.net, freebsd@igalic.co Cc: zlei@FreeBSD.org, kevans@FreeBSD.org, freebsd-net@FreeBSD.org Subject: Re: How to tell if a network interface was renamed (and from what) References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> In-Reply-To: <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> User-Agent: Heirloom mailx 12.4 7/29/08 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (donotpassgo.dyslexicfish.net [209.250.224.51]); Wed, 22 Nov 2023 01:35:08 +0000 (GMT) X-Spamd-Result: default: False [-3.70 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[catflap.org,none]; R_SPF_ALLOW(-0.20)[+mx:dyslexicfish.net]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; MLMMJ_DEST(0.00)[freebsd-net@FreeBSD.org]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; HAS_ORG_HEADER(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:7400::/38, country:US]; FREEFALL_USER(0.00)[jamie]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4SZkMQ6jHrz3Dlt X-Spamd-Bar: --- Mike Karels wrote: > I have a proof of concept that makes the presumed original name > (driver name + unit number) available to ifconfig, which prints > the string with everything else in the standard output format. > I don't think that is the right solution, but the other details > should be easy. I'm tempted to print the driver name and unit > number separately, although possibly as two words using the same > option. It should probably be an option rather than a keyword, > so something like this: > > # ifconfig -N interface-name > igb 1 > # > > Or the unit number could be on a separate option. > > Comments? I prefer that idea to the use of "groups" (which can be modified anyway), though in your example, that should be documented as "driver name" not "interface name", seeing that the returned value is not actually now the interface name! (Similary, if a keyword is decided upon, it should be "driver-name" not "interface-name") I realise that writing "interface-name" was probably just muscle-memory, but just wanted clarification. No opinion on where to display the unit number - whatever works out better for you. Cheers, Jamie From nobody Wed Nov 22 01:44:43 2023 X-Original-To: freebsd-net@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 4SZkZP4mD9z51Vfp for ; Wed, 22 Nov 2023 01:44:45 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [IPv6:2001:19f0:7400:8808:123::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4SZkZN532Lz3G91; Wed, 22 Nov 2023 01:44:44 +0000 (UTC) (envelope-from jamie@catflap.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of jamie@catflap.org designates 2001:19f0:7400:8808:123::1 as permitted sender) smtp.mailfrom=jamie@catflap.org; dmarc=pass (policy=none) header.from=catflap.org X-Catflap-Envelope-From: X-Catflap-Envelope-To: freebsd-net@FreeBSD.org Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [209.250.224.51]) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5) with ESMTP id 3AM1ih6p054725; Wed, 22 Nov 2023 01:44:43 GMT (envelope-from jamie@donotpassgo.dyslexicfish.net) Received: (from jamie@localhost) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5/Submit) id 3AM1ihPe054724; Wed, 22 Nov 2023 01:44:43 GMT (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <202311220144.3AM1ihPe054724@donotpassgo.dyslexicfish.net> Date: Wed, 22 Nov 2023 01:44:43 +0000 Organization: Dyslexic Fish To: mike@karels.net, kp@FreeBSD.org Cc: zlei@FreeBSD.org, kevans@FreeBSD.org, freebsd@igalic.co, freebsd-net@FreeBSD.org Subject: Re: How to tell if a network interface was renamed (and from what) References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> In-Reply-To: User-Agent: Heirloom mailx 12.4 7/29/08 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (donotpassgo.dyslexicfish.net [209.250.224.51]); Wed, 22 Nov 2023 01:44:43 +0000 (GMT) X-Spamd-Result: default: False [-3.70 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[catflap.org,none]; R_SPF_ALLOW(-0.20)[+mx:dyslexicfish.net:c]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; MLMMJ_DEST(0.00)[freebsd-net@FreeBSD.org]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; HAS_ORG_HEADER(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:7400::/38, country:US]; FREEFALL_USER(0.00)[jamie]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_FIVE(0.00)[6]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4SZkZN532Lz3G91 X-Spamd-Bar: --- Kristof Provost wrote: > > I believe a similar solution has been proposed before, and it failed to cope with things like epair interfaces. > > I’d look in the direction of just adding a field to struct ifnet with the original interface name (likely easily done in if_attach()), along with a new ioctl to retrieve that field. Not knowing the intricacies of coding that, from an end user point of view, that method would be perfectly fine too (and does seem a little cleaner, even if a bit more disruptive codewise) In other words, I'd be grateful for this functionality - As an end-user, whilst my individual opinion doesn't really matter, I have no negative opinion on the various ways of achieving it - whatever works out best for you guys, and I'll be happy! Cheers! From nobody Wed Nov 22 01:57:31 2023 X-Original-To: freebsd-net@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 4SZksK31f8z51WRG for ; Wed, 22 Nov 2023 01:57:41 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail2.karels.net (mail2.karels.net [3.19.118.201]) (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 RSA-PSS (2048 bits) client-digest SHA256) (Client CN "freebsd", Issuer "freebsd" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZksJ25q6z3MB9; Wed, 22 Nov 2023 01:57:40 +0000 (UTC) (envelope-from mike@karels.net) Authentication-Results: mx1.freebsd.org; none Received: from mail2.karels.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail2.karels.net (8.17.1/8.17.1) with ESMTP id 3AM1vVkY080352; Tue, 21 Nov 2023 19:57:32 -0600 (CST) (envelope-from mike@karels.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=karels.net; s=mail2; t=1700618252; bh=4koCOecbP+wRoWnWC3Xbc3Fnp4Le1uyU86Yco7ToShw=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=K/SY8VfDqiOsqwYJxV1SreSf8D0jJk6y6+CLr+Rz8cu99lbwJpjOeh540RRzL9pXw pTdD9AvtvcMSntehkScxNz9OqAtazQPVQin11dNnTgZG2As7sxHkriDl9jT5fOoD00 wJVXRR42xPCXGySn8dLErqmeyko8ojj2jMqPIu7Ez86ZEYa+Dnbs7QDUjEiaHlewPX 0GK8lxUKgwCWKOgBR62obnZ672NkQoV58tgzaLXllxPM/pFITXtk4dkmzNX7eTWVXw HU6jdxSLluGfpx0q/HFaxaFVxZlPRgONo4i/mnPZ3rxy0iba6Pl74dHfc389MaPQxO YfOKGSl9mr+7A== Received: from [10.0.2.130] ([73.62.165.147]) by mail2.karels.net with ESMTPSA id 2R2COgtgXWXeOQEAs/W3XQ (envelope-from ); Tue, 21 Nov 2023 19:57:32 -0600 From: Mike Karels To: Jamie Landeg-Jones Cc: freebsd@igalic.co, zlei@FreeBSD.org, kevans@FreeBSD.org, freebsd-net@FreeBSD.org Subject: Re: How to tell if a network interface was renamed (and from what) Date: Tue, 21 Nov 2023 19:57:31 -0600 X-Mailer: MailMate (1.14r5964) Message-ID: <40C913A3-E5DC-4FC9-9ECE-937370EFD52D@karels.net> In-Reply-To: <202311220135.3AM1Z8ED054659@donotpassgo.dyslexicfish.net> References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> <202311220135.3AM1Z8ED054659@donotpassgo.dyslexicfish.net> List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain 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:16509, ipnet:3.16.0.0/14, country:US] X-Rspamd-Queue-Id: 4SZksJ25q6z3MB9 On 21 Nov 2023, at 19:35, Jamie Landeg-Jones wrote: > Mike Karels wrote: > >> I have a proof of concept that makes the presumed original name >> (driver name + unit number) available to ifconfig, which prints >> the string with everything else in the standard output format. >> I don't think that is the right solution, but the other details >> should be easy. I'm tempted to print the driver name and unit >> number separately, although possibly as two words using the same >> option. It should probably be an option rather than a keyword, >> so something like this: >> >> # ifconfig -N interface-name >> igb 1 >> # >> >> Or the unit number could be on a separate option. >> >> Comments? > > I prefer that idea to the use of "groups" (which can be modified anyway), > though in your example, that should be documented as "driver name" not > "interface name", seeing that the returned value is not actually now > the interface name! Here, interface-name was a placeholder for the current name of the interface. My newer code prints "drivername: igb1" at the end of the list of values for "ifconfig $interface-name" or "ifconfig -a" if the -D option is given. I decided that it was better to be able to get all the translations at once (for humans, anyway). Mike > (Similary, if a keyword is decided upon, it should be "driver-name" > not "interface-name") > > I realise that writing "interface-name" was probably just muscle-memory, > but just wanted clarification. > > No opinion on where to display the unit number - whatever works out > better for you. > > Cheers, Jamie From nobody Wed Nov 22 02:03:31 2023 X-Original-To: freebsd-net@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 4SZl041kJ3z51X0c for ; Wed, 22 Nov 2023 02:03:32 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [IPv6:2001:19f0:7400:8808:123::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4SZl040cHCz3N2S; Wed, 22 Nov 2023 02:03:32 +0000 (UTC) (envelope-from jamie@catflap.org) Authentication-Results: mx1.freebsd.org; none X-Catflap-Envelope-From: Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [209.250.224.51]) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5) with ESMTP id 3AM23V2j058798; Wed, 22 Nov 2023 02:03:31 GMT (envelope-from jamie@donotpassgo.dyslexicfish.net) Received: (from jamie@localhost) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5/Submit) id 3AM23Vtx058797; Wed, 22 Nov 2023 02:03:31 GMT (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <202311220203.3AM23Vtx058797@donotpassgo.dyslexicfish.net> Date: Wed, 22 Nov 2023 02:03:31 +0000 Organization: Dyslexic Fish To: mike@karels.net, jamie@catflap.org Cc: zlei@FreeBSD.org, kevans@FreeBSD.org, freebsd@igalic.co, freebsd-net@FreeBSD.org Subject: Re: How to tell if a network interface was renamed (and from what) References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> <202311220135.3AM1Z8ED054659@donotpassgo.dyslexicfish.net> <40C913A3-E5DC-4FC9-9ECE-937370EFD52D@karels.net> In-Reply-To: <40C913A3-E5DC-4FC9-9ECE-937370EFD52D@karels.net> User-Agent: Heirloom mailx 12.4 7/29/08 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (donotpassgo.dyslexicfish.net [209.250.224.51]); Wed, 22 Nov 2023 02:03:31 +0000 (GMT) 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:20473, ipnet:2001:19f0:7400::/38, country:US] X-Rspamd-Queue-Id: 4SZl040cHCz3N2S Mike Karels wrote: > Here, interface-name was a placeholder for the current name of the > interface. My newer code prints "drivername: igb1" at the end of > the list of values for "ifconfig $interface-name" or "ifconfig -a" > if the -D option is given. I decided that it was better to be able > to get all the translations at once (for humans, anyway). Ahhh, I get you. Sorry for the confusion. I think your solution is perfect. Cheers, Jamie From nobody Wed Nov 22 04:34:42 2023 X-Original-To: net@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 4SZpLW6DXhz51lss for ; Wed, 22 Nov 2023 04:34:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZpLW57jqz3cXH for ; Wed, 22 Nov 2023 04:34:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700627683; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=X/BmEfLVBXtdKgxp+dAzFbIk01ZCVp3766+GkOsAS60=; b=qYWjwoSatZ61IdLC922iG/l2waBq8qrD59SCqQV2lh/X0Pnlu9n6Uol6m8vLCWB5vkO0je vCkPzOCL/GcWOb5HGSmIQLfINTSmExCYxqhrIMFs7yPzlB6FLxRxqZfNO4E5unIs1EQEPD Jq4HHJcJrO0pT4MnjVB5OyDj+DyVJJNSJuf+PTahcriF++PxghVJ/Goxomme9c6wEvHtKf VWczvt/N1Gu44pJGE2EPm+PJxhx+/oiSf0Z0Dk1F9dOnZ6BuWI1nK2Pe75uEe+R80+3mTa AAC5VRaY+rN0GVFsvk/w+9uhsd0fhsj6VgE/NBIPUwaY79XVzMhqZ/HWrUyHhQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700627683; a=rsa-sha256; cv=none; b=ly6NuOR0WaCeQs6mzRgEtJ2AkymJPQn51WdkebHJXBjUc+RgwyVu3ff1n0cPvFAEWF4Evo VO4KdeYgJjzWl8Oqqu5NafJu7U+qKKClSYBdJVTB11NcBXF5wEk/thHb05OjPInWrHvQFZ ItBEZKQxZ+KGSWwa4f0v9KA9xovlNAsSaLjKCjUeuCBWvf9jlBsUf+eZVYKxiD6j2VSp+m P967LEw/lD2vEJHs1ZgFsoh2MeEFMOaUsOkIu/n+sMstRGZlh6arJPQKAjO7mn3FFqUV1M wzlYJLu/mTL47GXwSSNjvQvavsLqJ7PE0cFC3XA+D5WZoQKrdXN4qtNxuMrN7g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SZpLW4FDdz14D4 for ; Wed, 22 Nov 2023 04:34:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AM4YhvY040330 for ; Wed, 22 Nov 2023 04:34:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AM4YhAt040329 for net@FreeBSD.org; Wed, 22 Nov 2023 04:34:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected Date: Wed, 22 Nov 2023 04:34:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275251 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 22 04:51:10 2023 X-Original-To: net@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 4SZpjW0vctz51n8n for ; Wed, 22 Nov 2023 04:51:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZpjV6lbXz4FPj for ; Wed, 22 Nov 2023 04:51:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700628671; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gvp1L1Za6E4Je3eGevkYCS38CoWwo5s1OjJjYRq2974=; b=ixPG635IzZjmE22JwRbKMYPZWOu2gNgL8LpGEDmrOzigDWNg0ih/VaSXheB+bfMhL+Y1BA DLxBDOL1EgYuMimJUujYzDZly/YiX4Z7YtMGODsTkwXE/QeQpipHDlLleJDmAGSXeDd/Ww 5nt/KElVILuh3SYeG8Vj75OYol94KgGzngNaMVN2R/EO+jzc/LPjeaokOMfGT4LNR6xG2a Do6BIJ2TSw3LCG8p+uxZU4CphlIaQrmNTUNTCJNkUI7fa9vSOPOm2xgfA4U9DLHy2+l792 yLKLHU2MPKHbtbDIXFduRdmFFEQgcGWxFkfAqo1UIAdORcPCFx4hw4skU6cZaA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700628671; a=rsa-sha256; cv=none; b=ElNQZB3BS0bG7stt8X3uiMxMyDIRynOcEcShJIVB32f7njUXl5CPq4npitAHeRNdIvwcC8 OoON9MPW6Kby/M0qn4T3hpVUTnJ9odSSFpEWRi7Ryqtb3uvLUAqtWSFkuVWs9gvHVFb7JL yJES/GR4C+O5rFCvmZeheNKldXZqZlSfLvy+ENuZWIJWoRnRYk5ToP36vyCskVHjdM0CG0 YKVb32mEBE6dv8hIpC7V+ZOkJOFnhn4NVCIUf7ZgzpJYzjZWL/g0yLbKq37IIq+x3D+V1g iEyu+3VQniDm68R4EHXwkxHEQqwIXohKGDKoxdt9baM9erC3nbSEVKlImsoZJg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SZpjV5rDzz140f for ; Wed, 22 Nov 2023 04:51:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AM4pAQ8060550 for ; Wed, 22 Nov 2023 04:51:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AM4pAX2060549 for net@FreeBSD.org; Wed, 22 Nov 2023 04:51:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275228] Make /usr/share/examples/jails/jib use FreeBSD assigned MAC addresses Date: Wed, 22 Nov 2023 04:51:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jail@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275228 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |jail@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Nov 22 08:01:24 2023 X-Original-To: net@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 4SZtx12htGz524cV for ; Wed, 22 Nov 2023 08:01:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZtx11fhCz3Dst for ; Wed, 22 Nov 2023 08:01:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700640085; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I7N+f8yhB6nAMvuqt3Gtlq/qTeHimc1jemJBzVgmGew=; b=HUt8pyfk01Jz0e29pwKOeW/G/blB5ztUbnfFAem/52BhOaGrSiamwkE34YFtngJZiGFoCz geixhhQ3q27oNn9r1KhfG6q3pMdRAEV2BTsaRWhvWZcy1o56fVpvFaf8repJ01s0K7BSR4 3XFPllsfapZHCrbGuzC5j3jKgn4sB5cU4E+sAHUZ8SQyyT2atPeOD15UWCpVFAaJAHjPN5 08uLrYTidHVE7OJLSawn2zJtRyF/bjZwAFwbic2TX9cSQ4oAg/WiWkQ7z8glm5YIqDg+5J Ri9htBOb+AvqKqBjA1l0A7ooq3IdmhVocx+d42gmcPVf6e9QSBwlIULknzM1eA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700640085; a=rsa-sha256; cv=none; b=ZiaJ4y8mbRmEok7jHT+Pxp4TC30w63MIXYL4+yLHxKkqvB/eTfEfi4wPsoTDQC9aiZqdai PMTf5BAfuNQYP+e0UdHf3NyFKUy7fEEFiQ6SvRcA0KXKGg3Fi+QcYSbA/vgSHGQqvqCZPk 4U2cPo1izHqgGYSVXTvTlhCOzm41IPPcWT/jIwitYbl1DAGVc8N2haekAYWh3D5HszCHVr pYvfJq2Pm115QdK9CtOOOSRz7dtkkSFNhg6Kb8kj+cBf5PyeEgo/GqYlNxLOJcFhpBUcxF 1MCReIT1/rkASvMZIok1Bz0aWqIASFZ9odkvXXF/0Mp5ET+bVR9d6wRD25J/fA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SZtx10khjz198L for ; Wed, 22 Nov 2023 08:01:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AM81PV1057551 for ; Wed, 22 Nov 2023 08:01:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AM81PuE057519 for net@FreeBSD.org; Wed, 22 Nov 2023 08:01:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 274715] [ktls] deadlock with mlx5 and KTLS receive Date: Wed, 22 Nov 2023 08:01:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274715 --- Comment #9 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dac83e415ef083da400509c6fa434ee59c= fe9668f commit ac83e415ef083da400509c6fa434ee59cfe9668f Author: Martin Matuska AuthorDate: 2023-11-13 13:29:27 +0000 Commit: Martin Matuska CommitDate: 2023-11-22 08:00:23 +0000 mlx5_core: fix deadlock when using RXTLS If removing a node of type FS_TYPE_FLOW_DEST we lock the flow group too late. This can lead to a deadlock with fs_add_dst_fg(). PR: 274715 Reviewed by: kib Tested by: mm Differential Revision: https://reviews.freebsd.org/D42368 (cherry picked from commit a592812327deaf69ab226afc5c8a01af43dc03c2) sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 22 08:35:19 2023 X-Original-To: net@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 4SZvh84YyFz527L8 for ; Wed, 22 Nov 2023 08:35:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZvh83WPtz3LWS for ; Wed, 22 Nov 2023 08:35:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700642120; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dBXdd5WcqQgik+zC2YvzAHn3k7hJozrafHuUEGEZgrA=; b=DhtUtasGo1JBG+mMkYDoCZ5QxmkmuU6DG+DREYuUB8NhkgFdvDo1zr87zP3lNbLHLX/IEO cEm0vDf2dt5A7jJcSPJVVt875hJC2CoMTS0gQXrCHa9Un+UVetUjvFLmRSQVOYgdy/i9AT sUemiyxSuUcRm0Y3Wtwi6UulcFPMUqHZd6S3hxjbASCodoFyB6RFlbI4jq1xxhWdiJPPFm M/Avx+JDcJMcjsye8nSyEU0uemSRsW0P9fAiVXECyi289PHidf/Dqz2rg5SfmnpVhR9aou n3GboUSsOHB/P/UwUoXRafZYkofOr7OR/tG2p81LAz6S7hsTxInbmxjwvviVPg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700642120; a=rsa-sha256; cv=none; b=D1oaR/+ekmBmuQ351UH6ydwc7TwW9v5j3s/nZFh6qF7HDClpdGfjFe3Uqf1ImAG6Lmz6HR D9+fkgWZ8Js6AVmyDTN2QWVzlCH4Qjl7P2ci0YxCS3qxlvDB9G8SPvKKjZHGauVDSdzg+0 MhR0MIrKm8fI7tCp0k49AOJHzU/9Ksqxky7a48TODiTKSv9DE1tKDEmkT0qExsxGmI6z/N Lzr4Rv1bQPJ7jec5rvX0jUeMuTLhDTcciC9g3RwcY+xehN9U9wYOiZ3WdbPYSfHxA7sJGh hXVPXsaf+5Qdgp69l5tpAlPDfhZQRMR/U9r9JFUF43mt6rUyZR3G+4OxwHpQkQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SZvh82d8Yz1BBP for ; Wed, 22 Nov 2023 08:35:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AM8ZKQ8013635 for ; Wed, 22 Nov 2023 08:35:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AM8ZKje013634 for net@FreeBSD.org; Wed, 22 Nov 2023 08:35:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 274715] [ktls] deadlock with mlx5 and KTLS receive Date: Wed, 22 Nov 2023 08:35:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mm@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274715 Martin Matuska changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 22 09:22:29 2023 X-Original-To: net@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 4SZwkZ3qfnz51Cw9 for ; Wed, 22 Nov 2023 09:22:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZwkZ2fxrz3RYk for ; Wed, 22 Nov 2023 09:22:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700644950; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jxXqo86W4Cf6KUQGPgWCAigFtGXb2bO9sfht8Q4iP10=; b=ggRLQSPxzh0K+J1B85uCxx33glLp4b7cw54Xa9o400bGo4dDMw7g4YUrJjIVYZPG9Kw2As UadphxIhSGf/JE0EJyQPqg5A+ymoRtXJ73fndHejJt5qD2maD9tNjudV9lblx87hW6K/rG TiwEPeeWEy6PYms1Zw8yPdg+9G0xB+8UnY7kCd95KEblZl4PHdOmpOs920jmL20vOW/sbF fL/gQNqFPR96ivWdIujkHtxze8yq7QpgKJbYMqTqFLT/q/T8dx3xxY6uOtWrV8rr7IkQw7 UkiDYsM6aZBtEXdQOZqzGZflq2M5RqBIyAO6VsfNEsA0kdbqFdCJ/MqNh9hwng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700644950; a=rsa-sha256; cv=none; b=RJvXrY3nGfoHkrOhxxehEtzsEbc1grDO0u3vstkOQbCK/woC/b8Q0Iuc1gpLUJQJMNZKs1 lADWtTfkhDvZPJ1dmnrOAYsUjae+ZVLzS4AVCvjlBig/rl55a5e1bD5RowKjfspBmmBLNL JMiitE0lBEfJfGUpZHndwXmaJ1gmsYm4sNT1U+DQMcw8RBJ7fm+u5oWT+ZWLRG4jUkgS48 zvWaPj209CICZ5O4BY91tuaEQqnFYr5ZK4YswQm4+Z4CQyfWJ5XmUt9vGZMosE8An93wca rVGdvV7RXKrxVK1Bn+QtBQnGe59wzPfutNe/8wkU/mPHbqnRy2f34LPWkIcUeQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SZwkZ1l8nz1ByT for ; Wed, 22 Nov 2023 09:22:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AM9MURj085058 for ; Wed, 22 Nov 2023 09:22:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AM9MUG9085057 for net@FreeBSD.org; Wed, 22 Nov 2023 09:22:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected Date: Wed, 22 Nov 2023 09:22:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: zlei@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275251 Zhenlei Huang changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ale@FreeBSD.org, | |zlei@FreeBSD.org --- Comment #1 from Zhenlei Huang --- (In reply to iio7 from comment #0) > I have a MSI MAG B660M MORTAR motherboard with a Realtek PCIe 2.5GbE Fami= ly=20 > Controller which is not detected. > # dmesg|grep ethernet > pci4: at device 0.0 (no driver attached) > I suspect that is it. You may try `pciconf -l | grep none` to identify it further. > I can get the card up using the realtek-re-kmod driver however, that does= n't work=20 > correctly with the card as it get's "routines:ssl3_get_record:decryption = failed or > bad record mac, errno 0" when using any kind of OpenSSL encrypted connect= ion whether > HTTP, SFTP, or IMAP, etc. Can you please elaborate the errors? And what is shown by `ifconfig re0` ? > According to the user manual it's a Realtek 8125BG 2.5Gbps LAN controller. CC realtek-re-kmod driver port maintainer Alex . --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 22 11:48:50 2023 X-Original-To: net@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 4SZzzQ4H7xz51S13 for ; Wed, 22 Nov 2023 11:48:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZzzQ1NMYz3fVy for ; Wed, 22 Nov 2023 11:48:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700653730; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LIQ+kJXJq6huv/dFit8zlxg9l0xXDritAVvXStHW044=; b=KtW0SzzRa/1F9gXJWamiIl6pzoIvAZ654kaghtTU2YqbSb8yT1i6STds6inx5ET4NBkWlq PsZlMqIwqDFdxGtYpXqDl9okpJIDnr/6lpvYSNY1wcw4/Ujj1xUNEjGDbDZyzn+Wsdf4YX DtiDE9t6ulMdW4FavZwsHqjnaUz92WP0kxlsGzd6/P02CAvJOevlycSzof16f6bggNvhAs aQdyr1Jw6TJCydZe3QX8j2f8+4nmlgvZfMZb7Jgi8+MCNPFxIjCC23VA9bS15fZ3TMw5X1 qqdW3kaNA0vk3v3gg8Jgg8Bp34rfFCP3lOb9OfHGvRg2PMqhHExTFDrZt23rYA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700653730; a=rsa-sha256; cv=none; b=kl82yZonxa/6uh/lGfHwa7AHINMdE/8UtmzwrNMrGukWV7HwXW14iMwdFbJugvghx++TxD RL4NmBSsO2hJz9lNvX2i2fZP/q/YhItxmu7XJgunfPYIXWvCa6OSzLdFarYcJMF+z+X9E6 dZRIqg/pAwSE6kxjrzkuZaYTGC6S8onNJiiTRwS6Nerjt5ei6nxzQMQYkMaR1gI32r22d5 5XQkowNDLeKhePJr683jkSqqD2v1ipQUZPoexNa139yk7ESHIJInTvF/YlgHJPumaNUUs1 sS6SUj2sxJ3VvICQ9LV08pblXRle0jD+KYgX9R5Mv9o/eYaLt8yxCST8QbiOeA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SZzzQ0R7Wz2lf for ; Wed, 22 Nov 2023 11:48:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AMBmobL099779 for ; Wed, 22 Nov 2023 11:48:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AMBmokB099778 for net@FreeBSD.org; Wed, 22 Nov 2023 11:48:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 272153] [pf] [pfsync] Incomplete state sync causing null pointer dereference Date: Wed, 22 Nov 2023 11:48:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: franco@opnsense.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272153 --- Comment #7 from Franco Fichtner --- Appears to be false positive, please close. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 22 11:50:04 2023 X-Original-To: net@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 4Sb00t0Ycdz51Rxt for ; Wed, 22 Nov 2023 11:50:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sb00s6bx6z3gGX for ; Wed, 22 Nov 2023 11:50:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700653805; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=z5HTr56+Ucxbe/bO6hJYZM9OxgVskgQ4OzQB7SYMg24=; b=KlbvAcjwMeBBrB+eCpC1BZzbujON7A3IUXSnLpSlX7mth64AXMs3CSejMEoTrAnadoD3bu wx3r8ZXlGAX6FY4Rg27yNWAMlXsq5o5MXVK7NRisjVQnX4X6cXRpSFil3G9BgurzB75b8u VDTnLQspjE7nmsIR5XmJt9JCpWaMQGbbYXyxnyCa4R+1J9x19Xe32mbhcUzavt9tDy/MXc mmKgUaTVtt2/+6ipbJgbeIlMdGyuMPOQ/lEOG6QtZDBek1C4nWbwxmhpTzpCBAsqegOT/5 gIKdupGGWBx3qq11DduvXK6qXgojyDeeL7r59C/FIc8BbkvEm3xYWOmfwumLdA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700653805; a=rsa-sha256; cv=none; b=I3/TR8hVsrIMZTgKLcIx+n7yZfsbwMM9E5zXFbV9knJdp+D9Sm4y/ZoACebuQIEdMM7JGi ahywBcyjuP2VJLFIbjKI1llgPCvSQfHWyxxHz7XYK/FarcgqWusqw7IhBKfr4HaEdCK00V ZOFHb21ifCHfyypZFeFHWtFLhKXVrjd7meJ9tF42hq94GcfI8fJmrer/LMx1bUeVGuRMRL 87MoNAfE+m5blia5u0qUMI620dl/2cba8KuClE/0X2luEQt68gr/UHuZ0fLDAfDztQj95H mCpUeV+VysTXwyFoi+1ONnFeQ+BjQrabklyenrd36UehQGIEl53PMjQx8JCMyQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sb00s5hhKz2jm for ; Wed, 22 Nov 2023 11:50:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AMBo52V000501 for ; Wed, 22 Nov 2023 11:50:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AMBo5Gf000500 for net@FreeBSD.org; Wed, 22 Nov 2023 11:50:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 271393] 13.2 IPSEC panics accessing web server on vpn server when packets are fragmented Date: Wed, 22 Nov 2023 11:50:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: franco@opnsense.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: glebius@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271393 --- Comment #6 from Franco Fichtner --- Yes, confirmed fixed. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Nov 22 14:41:43 2023 X-Original-To: net@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 4Sb3pw0VnWz51r01 for ; Wed, 22 Nov 2023 14:41:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sb3pv65Z8z4WW3 for ; Wed, 22 Nov 2023 14:41:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700664103; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=t7gMHs/45djO+vBAG9wr+q9q5vh5PMSES28ugzXjNxE=; b=lphtMUB3hMJ7+KMG3DXps8Swpp5VtGR2pQOPmHRU5vZ4ExQofPU+dNVDpxl+uhdpuF5YKw viRUTEHQVGukMBMFLTFP3nvJnKiylP9atcuvjMdhOGLkEa2r3lB6w9utvUNALeDH2NyEnJ RopSTjWUm/yURtHFx8WkNngRQbMgqMYaiUrlaknWVnHQHuDSKJLBd8/gO7tymi54Ks3HzI KXNdz+9/0vh4XW1IKDBL7qmwNppc4CXz4d3D79jc9mTDLypbtBctdh++BDhYqh91pJRW3K srsX2Snvqw2msyxgHSBVJ9Jv0GehUT5IlnNsEPyKvg/Cd8QJRDLATtxWnfhzZg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700664103; a=rsa-sha256; cv=none; b=J7IBQAEmmAzoieOWjmfLYnIsRhAbOocpLS8a7Kz47d/jpeN9SDWxt8RKrKo+If05fVHHnn 1C831NEv9BWJh2JWv9hGKCwZ2Rb/pY3Fh/cwhkslwS9nQFagK1sPf5UjYadxAVyVt3fflo CvE//lbe1eejpWaHMbDNKCVJyWkU6LQ/Ifq9r+MdTT3NRxtIrTMO9oF0fcuYRK7rWDu6IY 4QpB8fifJHLs0TXHxgFNU32PkJkBKmGxiJTmFuxSSyioQMu180kHZsfToXUcASDmBffi2d Gu1KOi9PNThfcSB/ACJRj5bTrloYOm0DWSmubsGHAgke5LyT2FYQT8R5KZbtfA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sb3pv586Cz6yM for ; Wed, 22 Nov 2023 14:41:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AMEfhmh070982 for ; Wed, 22 Nov 2023 14:41:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AMEfhvu070981 for net@FreeBSD.org; Wed, 22 Nov 2023 14:41:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275260] "no media types" after re-enabling cxl Date: Wed, 22 Nov 2023 14:41:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275260 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 22 16:35:47 2023 X-Original-To: net@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 4Sb6LW5ygQz52F32 for ; Wed, 22 Nov 2023 16:35:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sb6LW40KCz3JDg for ; Wed, 22 Nov 2023 16:35:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700670947; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pvhngljcdGjHjvVJK6F/F5n9/YQMpLAjGltKZFO4l9k=; b=CgSy1y3LUjpUjAfITxW5G9VBADtgGt05/oPjtbvXZ5TQ66O6G0zLC6MqBDRXLbDNVib+3e Kn2CIJ6/piU1GMvxXHv3G8+x7X6O2BGOgMPJLyv/MGkti7P1p038sLxpF6JTbnmmHk2Qtp kcUgQeYV7hAhEzAVMy2jNqe2nytyRulLMeIamUqQNzbYsZtP/b2f0zSaEthcadZXOF7p7e ZgCZXJeTQDPg2WFP7RmCmOVEk+lqDS3F6L9xb9rC9r3J7A//OXI5R8DWBP1URiAFwYHVHv YVEvDAC/PfeEepbR/+zXmMpIQ6vVsOGkqKOleO3j1MkxGysDSEWrR8Aw5sCqTw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700670947; a=rsa-sha256; cv=none; b=ZlxXQa3ZDs5Pa6kVDLaepueSQI4Np8+P+PT757o+d+FIY5E1q89s1LCa0T7euvVMaR/wTh tQQBE4O2HsTSmE76l1VESH3wrE9gdNqmph+vvRcn/5Q963XKMLQsHBLPZAZJ2SoIF8dfCg VTH4ACB7xF5kFqBPRasqnVja0D0IynJewbQwySVZXmCmSOUprohiDZlxh3nVurFG3yhf9a lWqoDrf8BB2FSfI//RvrpDHWJV0KCpd0Q8JH7VC0YhYPZMrchGoudqb3eO72+5iIQWD77B ohtWpskFEEyKn8apzR+xHIH4oqS0xUGHig/c4r/0Q4poqkwIUUQMRV3Z7reirg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sb6LW33GNzBcB for ; Wed, 22 Nov 2023 16:35:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AMGZlob052143 for ; Wed, 22 Nov 2023 16:35:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AMGZl1r052141 for net@FreeBSD.org; Wed, 22 Nov 2023 16:35:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275265] When net.inet6.icmp6.nodeinfo=0 interfaces should not join NI multicast groups Date: Wed, 22 Nov 2023 16:35:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275265 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 22 16:43:41 2023 X-Original-To: net@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 4Sb6Wd49scz52GPJ for ; Wed, 22 Nov 2023 16:43:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sb6Wd38wSz3Kdv for ; Wed, 22 Nov 2023 16:43:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700671421; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=axeQEPBrAA9mSckkaa8DwAwhX8RTpRiZoksCWz3pfwY=; b=jgY0Elqz0MoEwQZ+1uHDm4jsUX5PgqRa4mt10yP1rjgzai6zWy5f5tPS6HltcL0GLW5z+A WwFWkWFHWxJOzQKcGpOdxWf/ZMOt7Aw9P3rCrkDazm+sPZNmOhSRFkYEVEuJPB7s2eZgKh jmXhnWRAF0JNZ/49b82vt9MmPJ3D5c9QD8EUlBQXOPnKTzS7bYEx/751FU7uGDe90AQwsG 3XLKSmoX+CiKsruXJ7austn8u4RGTjZPCPwmaPmSIUyVx+LKq+C/bONj8lnPbf8MIVwFI2 nH2196oEqos+QyR59RHCA+CzFuogd8mOBJvVfTSOpviteqFa2Ac7Qyac3XxSpg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700671421; a=rsa-sha256; cv=none; b=N4DyFo4AwE44+YQeFQF1VVfrzlnT65n3oMXAySBYT2s1MgwkJzZbeXCG32QlfBeReeNz20 9/9dEq+iMJCYBe3VBft9eevCK44WKlOaWgTCv86ohpT65ulV88B/NJw2A6z00oQBwws0fv 3v1YILEbNu6pJ2N01dmZqJhDxgkOLkPgVJehWsv+WVoFMxmx3FBn9V/r05oNMmXAsKWC5b 9GdMvnL+q/0a0sNGcPHHlNDyW5ZldVM2KageCNL7ER6sTF4sZCjJbaIHIaCUtNoc+bSlZN 44IOF+U/lcty3sAO1K2Y3SuabVzFZxyS8et4Pbz+xEnYJPpq3iEVmEMW3SBsGA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sb6Wd2DRwzBct for ; Wed, 22 Nov 2023 16:43:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AMGhf3A064719 for ; Wed, 22 Nov 2023 16:43:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AMGhfGK064718 for net@FreeBSD.org; Wed, 22 Nov 2023 16:43:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275260] "no media types" after re-enabling cxl Date: Wed, 22 Nov 2023 16:43:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: np@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: np@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275260 Navdeep Parhar changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |np@FreeBSD.org Assignee|net@FreeBSD.org |np@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 22 17:04:51 2023 X-Original-To: freebsd-net@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 4Sb70D3rv2z52KdR for ; Wed, 22 Nov 2023 17:05:00 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail2.karels.net (mail2.karels.net [3.19.118.201]) (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 RSA-PSS (2048 bits) client-digest SHA256) (Client CN "freebsd", Issuer "freebsd" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sb70C3rG5z3Nsd for ; Wed, 22 Nov 2023 17:04:59 +0000 (UTC) (envelope-from mike@karels.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=karels.net header.s=mail2 header.b=N8pGLpUD; spf=pass (mx1.freebsd.org: domain of mike@karels.net designates 3.19.118.201 as permitted sender) smtp.mailfrom=mike@karels.net; dmarc=none Received: from mail2.karels.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail2.karels.net (8.17.1/8.17.1) with ESMTP id 3AMH4qn1084095; Wed, 22 Nov 2023 11:04:52 -0600 (CST) (envelope-from mike@karels.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=karels.net; s=mail2; t=1700672692; bh=WDzzfbB8yDyIFskWYys9cALVMr/kTrddjGEQJMusKnQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=N8pGLpUDCuCwo7/Um+cQfFRPqC3T5/wCALtZIE6PyVOcSVC1M+noXmIrUFeGlUoeb 1bdajU1JqID9hl+wTK1Woc6bX2OlQlyJoYupUNJFHNAsHmgn68kH96zwS3mRbhGERr iorpT/U/X95gcMxUdrA1kA/ppkYdiyiHKwuepJd8uUvQ+ShtlRZNCftplNlfgrV0v1 qkuJEdwIWrRXtqUyObrQkAEeGr3jBm7sojMxBD5E7NLqzf1EVXc5erES8qwveatnOj XfmtkqljOj1sZ7B+PmojNG6MlDclUyiNbStm02nqFQAxpueLtJ7qDYpWVKneVkgqGI nE+w3l9Eeiu8A== Received: from [10.0.2.130] ([73.62.165.147]) by mail2.karels.net with ESMTPSA id yK0mJLQ0XmV9SAEAs/W3XQ (envelope-from ); Wed, 22 Nov 2023 11:04:52 -0600 From: Mike Karels To: FreeBSD Net Cc: freebsd@igalic.co Subject: Re: How to tell if a network interface was renamed (and from what) Date: Wed, 22 Nov 2023 11:04:51 -0600 X-Mailer: MailMate (1.14r5964) Message-ID: <25B7F228-1E02-4B06-A0B4-626EB7679ABC@karels.net> In-Reply-To: <40C913A3-E5DC-4FC9-9ECE-937370EFD52D@karels.net> References: <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> <202311220135.3AM1Z8ED054659@donotpassgo.dyslexicfish.net> <40C913A3-E5DC-4FC9-9ECE-937370EFD52D@karels.net> List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-Spamd-Result: default: False [-3.48 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.982]; R_SPF_ALLOW(-0.20)[+ip4:3.19.118.201]; R_DKIM_ALLOW(-0.20)[karels.net:s=mail2]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; ASN(0.00)[asn:16509, ipnet:3.16.0.0/14, country:US]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[karels.net:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FREEFALL_USER(0.00)[mike]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[karels.net]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4Sb70C3rG5z3Nsd X-Spamd-Bar: --- On 21 Nov 2023, at 19:57, Mike Karels wrote: > ... My newer code prints "drivername: igb1" at the end of > the list of values for "ifconfig $interface-name" or "ifconfig -a" > if the -D option is given. I decided that it was better to be able > to get all the translations at once (for humans, anyway). > See https://reviews.freebsd.org/D42721 for the ifconfig change. Mike From nobody Wed Nov 22 17:23:35 2023 X-Original-To: net@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 4Sb7Pg4VLfz518c5 for ; Wed, 22 Nov 2023 17:23:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sb7Pg3Rclz3RmL for ; Wed, 22 Nov 2023 17:23:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700673815; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8eeecoNXGDcvyv1LwLtvP/CS/PooN0zEbddGy2fzmhQ=; b=GeNgngYaD/OQaE4S1Ue+eHqZtaM+2hGkbMolXzJ84i9fnhUJ2eqbEuTq9Ru8oJe6py5zLo /eJHPP2RkEDLxCirahK/KxIv86Qava/Rmj1/oMObyxcr6ESKZNr+apucZkSh/dwhrrS1o3 JzTDHdrjyBwT852GBsh/7q1lg1sgFQ5Ka/g2yEQ8wnfCduaZX0rmCayRJzqzsBtePLPlk2 5V4pUDvd2T/P3CcSYG2WGIl9h+ahak/uZlhN4V23sBrSTd8tDvMlWb/ExqrXK4eMxWGZXL SOf/kWU4uSLb1fIJuNzrTHkjlJxC+vmh6gHBAmjsVj5KCQB5Im5UJDj1sAOADg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700673815; a=rsa-sha256; cv=none; b=xWdDxJV3DfvE/ftmdvv7NjOUwyb1gB48gZphakk3fll9zLCbGNbIQSjfxlhLiKrKH4cexT WlcC8E7DmZbmFOj1tcxhfFwVkfKNr6QjcXeNJLHFLzBm91gdzou0odJq4czvgY2GCYBfuP 3CVTPaQTQy50fJmbijTkGFbs6M5N/s+VvFy563VDKAqqjG5neBlYi3MlzpJHoz9J+mp+Sx BVYyhFDAdpP51fENf9yA8PkanvDVny5HWv79TkG7doNT1mlPXCqjBx+F6l1DYKoXyQOz6V Dv5atTUHNdIvcBtG1cQHeD73nzT2fUE0WWnKvTaG/nTF7m/nNYu/avPJHRMZKw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sb7Pg2VhjzC60 for ; Wed, 22 Nov 2023 17:23:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AMHNZBT026399 for ; Wed, 22 Nov 2023 17:23:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AMHNZax026397 for net@FreeBSD.org; Wed, 22 Nov 2023 17:23:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 271393] 13.2 IPSEC panics accessing web server on vpn server when packets are fragmented Date: Wed, 22 Nov 2023 17:23:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: glebius@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: glebius@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271393 Gleb Smirnoff changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Nov 22 18:26:09 2023 X-Original-To: net@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 4Sb8nt1NgHz51NrJ for ; Wed, 22 Nov 2023 18:26:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sb8ns6Nd8z3bpr for ; Wed, 22 Nov 2023 18:26:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700677569; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3dQ7/ByGMcwLpRW5zN58dHYpwZCKg4FCWRT4HkzXAkE=; b=loNd3znE93SNGPSDnuBTkn9Hx8eDjU1TYZFAqURbFmbeOiF5OE653z5eG1vC3/Q0Ql5/tT VONFfeFNoIvQ0xVHSHI0o5d5O/GK1igiTgtblRmFG5GnHdkvb/wpI8l3VvNAi+9CwC6RpF mM9NQBzbXqL2O48rasGB+R8KTB97nrgSobEU0uNI2+GRTvY9KraZvzRKafvnH/cKSK1iAC h1NxpmdxTkAsEeSt1EJj3GcSur8jN5dRISCwjqg3wqOq2eTq9qpsu3ktygbHhLvn0VsqIh H3ccMO6NgKPD4U1bL7docAFqKjgyKgtY0lro526TnwgL+pTrcTs7Ta1IVsd+3w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700677569; a=rsa-sha256; cv=none; b=jxDRtZogA0+64SLjWNmuNUtOoI2dMn6eUHySlyMchnOhbAFW77VyPCLgsFZMqsDgDehZkM VUJ9z7ufXMfo/nHmvbAvNXNImpnDFMwE+XCpJGPfP3ziIA1dDYjabIuTlBZRhR+y+IF3Fb VRcHRZx/8uqRZ3SUvjqKqlDSaDE1n75MK1WYxgMc6JJ42ovlHO3sLB0jL6K0yFuoEkIcH2 YrxlqxL8UxDLEvtkYAlZ+RuTFx2Hd9X7+Gp+LN34N5uJ1blM6ti0/bWlv2H7/PFlLUCsQz YFbTxTKVVdCAdE8ENsIJTPKEwBwR2PbDpsBv7tykXmk8Vf3NjToO01yU+6as2g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sb8ns5LNGzVcG for ; Wed, 22 Nov 2023 18:26:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AMIQ9wU028114 for ; Wed, 22 Nov 2023 18:26:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AMIQ9hJ028113 for net@FreeBSD.org; Wed, 22 Nov 2023 18:26:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 272153] [pf] [pfsync] Incomplete state sync causing null pointer dereference Date: Wed, 22 Nov 2023 18:26:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kevans@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Unable to Reproduce X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272153 Kyle Evans changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Unable to Reproduce Status|Open |Closed CC| |kevans@freebsd.org --- Comment #8 from Kyle Evans --- (In reply to Franco Fichtner from comment #7) Done- feel free to reopen if new information comes to light. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 22 19:58:52 2023 X-Original-To: net@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 4SbBrs1xc8z51k5g for ; Wed, 22 Nov 2023 19:58:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SbBrr6MDRz4MCT for ; Wed, 22 Nov 2023 19:58:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700683132; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hYsJsmMxFQ2596zu++OPsn8gQVojE1ikNAcQotsSU5o=; b=ho+DDUs6+TDcRbTBhxGbyhn5ir/57KdnhQyZ12jZZW7llny075958AaZTvq3apWb1aeqg5 dgyQYSeCvUGsjrtXaU+u0BoiWml9VhSHQrjSZaoKwbaLqeHVNLEiVbCHhinh/pp5IKMC9c /h9QTY5iZDhBqpiPNL2KknSM0YXIi8yR50vSodrsAl0sKlGgyyul/O17xkhMahIvwVsTzk hzYVMBLFvxnvri2P3dL7C2Ekpok6tQS3iAx/VbPXGWdnwRWahr3yrCO95d12V24xOPNuF/ hesZDUm80Ey4klZdl/c4XPKNMM+L4ER86RlgCXyVziqpSsDY3QOuVxBYb+3GpA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700683132; a=rsa-sha256; cv=none; b=HZEqswVI34wPgqlecZxiwmklCtFRJmphqU+OWq/NCOfiV5z77+94P1EB4VqP7wn0lFEUOD NzG7y9FRvMxYPF5lXMy91XfnqkfbPH6JnODQKOLm8u/SZb7+QV6xAUYLUl2f4Ig17BAnZQ g1DlBAGk0fI05LZfU4+N+OxyQognudEp1j2Eke5vhRuIYA5H8VN3KtTnpyGn9zTJQEgMaA eejmNOwiQN0G7bxuKEUhssCehIgNgyQWDnb42edVyZn0Rpi93seonBa/njFWzH9cdg/aro dXiDnEzhDN8cUnb0wj7+0U0tkpSDaUxHd/FizqDpuJHsYacycblxysFq1q8j9w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SbBrr51f8zXnC for ; Wed, 22 Nov 2023 19:58:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AMJwqr7066005 for ; Wed, 22 Nov 2023 19:58:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AMJwqPx066004 for net@FreeBSD.org; Wed, 22 Nov 2023 19:58:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275251] Realtek PCIe 2.5GbE Family Controller not being detected Date: Wed, 22 Nov 2023 19:58:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: iio7@tutanota.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275251 --- Comment #2 from iio7@tutanota.com --- (In reply to Zhenlei Huang from comment #1) $ pciconf -l | grep none none0@pci0:0:8:0: class=3D0x088000 rev=3D0x05 hdr=3D0x00 vendor=3D0x8086 de= vice=3D0x464f subvendor=3D0x1462 subdevice=3D0x7d42 none1@pci0:0:10:0: class=3D0x118000 rev=3D0x01 hdr=3D0x00 vendor=3D0x8086 d= evice=3D0x467d subvendor=3D0x0000 subdevice=3D0x0000 none2@pci0:0:20:2: class=3D0x050000 rev=3D0x11 hdr=3D0x00 vendor=3D0x8086 d= evice=3D0x7aa7 subvendor=3D0x0000 subdevice=3D0x0000 none3@pci0:0:22:0: class=3D0x078000 rev=3D0x11 hdr=3D0x00 vendor=3D0x8086 d= evice=3D0x7ae8 subvendor=3D0x1462 subdevice=3D0x7d42 none4@pci0:0:31:5: class=3D0x0c8000 rev=3D0x11 hdr=3D0x00 vendor=3D0x8086 d= evice=3D0x7aa4 subvendor=3D0x1462 subdevice=3D0x7d42 none5@pci0:4:0:0: class=3D0x020000 rev=3D0x05 hdr=3D0x00 vendor=3D0x10ec d= evice=3D0x8125 subvendor=3D0x1462 subdevice=3D0x7d42 With the realtek-re-kmod driver I get: $ ifconfig re0 re0: flags=3D8843 metric 0 mtu 1500 options=3D201b ether 04:7c:16:44:25:0b inet 192.168.1.26 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D29 With the driver from base, there is no interface showing at all. With the realtek-re-kmod driver I get problems on many OpenSSL related transfers. $ curl -O https://www.unixsheikh.com/includes/files/the-biggest-myths.pdf % Total % Received % Xferd Average Speed Time Time Time Cur= rent Dload Upload Total Spent Left Spe= ed 12 763k 12 98139 0 0 377k 0 0:00:02 --:--:-- 0:00:02 37= 8k curl: (56) OpenSSL SSL_read: OpenSSL/1.1.1t: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac, errno 0 This also occurs with IMAP and SFTP. I have attached an Intel NIC to the same machine (in order to be able to do some work), when I plug out the Ethernet cable from the Realtek NIC and use= the Intel NIC all the problems goes away. I have tried running Linux on the box and tried using cURL, IMAP, etc., and then it works. Furtermore, I have another older box also with a Realtek NIC which has the exact same SSL problems with the realtek-re-kmod driver. This is the other box: $ ifconfig re0 re0: flags=3D8843 metric 0 mtu 1500 options=3D201b ether d0:50:99:59:15:7e inet 192.168.1.3 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D29 # dmesg |grep re0 re0: port 0xe000-0xe0ff mem 0xd0704000-0xd0704fff,0xd0700000-0xd0703fff irq 18 at device 0.0 on pci1 re0: Using Memory Mapping! re0: Using 1 MSI-X message re0: ASPM disabled re0: version:1.98.00 re0: Ethernet address: d0:50:99:59:15:7e re0: Ethernet address: d0:50:99:59:15:7e re0: link state changed to UP re0: port 0xe000-0xe0ff mem 0xd0704000-0xd0704fff,0xd0700000-0xd0703fff irq 18 at device 0.0 on pci1 re0: Using Memory Mapping! re0: Using 1 MSI-X message re0: ASPM disabled re0: version:1.98.00 re0: Ethernet address: d0:50:99:59:15:7e re0: Ethernet address: d0:50:99:59:15:7e re0: link state changed to UP After the upgrade to FreeBSD 14 on the older box, I have removed the realtek-re-kmod driver since that one seems to work well with the driver fr= om base at the moment. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Nov 24 07:48:07 2023 X-Original-To: freebsd-net@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 4Sc6YH4Wk5z5206m for ; Fri, 24 Nov 2023 07:48:35 +0000 (UTC) (envelope-from benoitc@enki-multimedia.eu) Received: from mail-4022.proton.ch (mail-4022.proton.ch [185.70.40.22]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sc6YD5d9Cz3HF5 for ; Fri, 24 Nov 2023 07:48:32 +0000 (UTC) (envelope-from benoitc@enki-multimedia.eu) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=enki-multimedia.eu header.s=protonmail header.b=G1bfhWTO; spf=pass (mx1.freebsd.org: domain of benoitc@enki-multimedia.eu designates 185.70.40.22 as permitted sender) smtp.mailfrom=benoitc@enki-multimedia.eu; dmarc=pass (policy=none) header.from=enki-multimedia.eu DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enki-multimedia.eu; s=protonmail; t=1700812108; x=1701071308; bh=twQ0HE564azh2SpQlV/WqMBOzSCnwvWikD3JOuGqEV0=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=G1bfhWTOZUN4j/nofwrcIjhuaR59UK3ZbtT2KOQuZ33Vw7OxxOcvyf1iausf29Fxr regnzlJoG8PxJ0eNbH12H9F65Gf7tYVmr7tm02gt/hhhAmiE5tJ4ppQ0kSt8ckLbhS 4CHSrKzGlfAOyupQxb05LlV20ft+TUY9weWsQy+KNN00wvIP2n52p+ozU5qCGoTaei 1WwFX816hjQRnc17WK+mnKr3wsGVMMsK5eGUidOIDRIK1hI73RdIBgpHU1ZSvjry5p nWTBxHjPlLAB/kIi+BPmJ+z6DxaGEW/i7j0lp0MHIY0xzd4LzEA7ikk6MDFoqlF8L3 vzFFmwe9B0LIA== Date: Fri, 24 Nov 2023 07:48:07 +0000 To: "freebsd-net@FreeBSD.org" From: Benoit Chesneau Subject: netgraph and vpp Message-ID: Feedback-ID: 9066678:user:proton List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_BxpkdY22t9NRuAKU7SFEfjlcmIOhMDehDuU9Jxx0Yzw" X-Spamd-Result: default: False [-2.88 / 15.00]; MIME_BASE64_TEXT_BOGUS(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.99)[-0.986]; NEURAL_HAM_MEDIUM(-0.59)[-0.589]; DMARC_POLICY_ALLOW(-0.50)[enki-multimedia.eu,none]; RWL_MAILSPIKE_EXCELLENT(-0.40)[185.70.40.22:from]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; R_DKIM_ALLOW(-0.20)[enki-multimedia.eu:s=protonmail]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_BASE64_TEXT(0.10)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ZERO(0.00)[0]; ARC_NA(0.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[enki-multimedia.eu:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_PHPMAILER_SIG(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4Sc6YD5d9Cz3HF5 X-Spamd-Bar: -- This is a multi-part message in MIME format. --b1_BxpkdY22t9NRuAKU7SFEfjlcmIOhMDehDuU9Jxx0Yzw Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 bmV0Z3JhcGggYW5kIHZwcCBsb29rcyBzaW1pbGFyIGluIHRoZWlyIGludGVudC4gQm90aCBhcmUg Z3JhcGhzIHRvIHByb2Nlc3MgcGFja2V0cy4KCkkgdGhvdWdodCB0aGF0IHVzaW52ICBuZXRncmFw aCBzb3VuZHMgaW50ZXJyZXN0aW5nIHRvIGJ1aWxkIGEgbW9kZXJuIHJvdXRlciBvciBjcGUuIFdo YXQgYWJvdXQgdGhlIHBlcmZvcmFuY2U/IERpZCBhbnlvbmUgY29tcFJlPyBBbHNvIGlzIHRoZXJl IGFueSBkaWZmZXJlbmNlIGluIHRlcm0gb2YgaW1wbGVtZW50YXRpb24gb2YgdGhlIHByb2Nlc3Np bmc/IElkIHRoZXJlIGFueSByZWNlbnQgcGFwZXIgYWJvdXQgbmV0Z3JhcGg/CgpiZW5vaXQKClNl bnQgZnJvbSBbUHJvdG9uIE1haWxdKGh0dHBzOi8vcHJvdG9uLm1lL21haWwvaG9tZSkgZm9yIGlP Uw== --b1_BxpkdY22t9NRuAKU7SFEfjlcmIOhMDehDuU9Jxx0Yzw Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 PGh0bWw+PGhlYWQ+PC9oZWFkPjxib2R5PiA8ZGl2IGRpcj0iYXV0byI+bmV0Z3JhcGggYW5kIHZw cCBsb29rcyBzaW1pbGFyIGluIHRoZWlyIGludGVudC4mbmJzcDs8c3BhbiBzdHlsZT0iOyA7IDtT YW4gRnJhbmNpc2NvJnF1b3Q7LCBIZWx2ZXRpY2EsIEFyaWFsLCBzYW5zLXNlcmlmOyA7IGZvbnQt c3R5bGU6IG5vcm1hbDsgOyBmb250LXdlaWdodDogNDAwOyBsZXR0ZXItc3BhY2luZzogbm9ybWFs OyBvcnBoYW5zOiBhdXRvOyB0ZXh0LWFsaWduOiBzdGFydDsgdGV4dC1pbmRlbnQ6IDBweDsgdGV4 dC10cmFuc2Zvcm06IG5vbmU7IHdoaXRlLXNwYWNlOiBub3JtYWw7IHdpZG93czogYXV0bzsgd29y ZC1zcGFjaW5nOiAwcHg7IDsgLXdlYmtpdC10ZXh0LXNpemUtYWRqdXN0OiBub25lOyAtd2Via2l0 LXRleHQtc3Ryb2tlLXdpZHRoOiAwcHg7IDsgdGV4dC1kZWNvcmF0aW9uOiBub25lOyBkaXNwbGF5 OiBpbmxpbmUgIWltcG9ydGFudDsgZmxvYXQ6IG5vbmU7Ij5Cb3RoPC9zcGFuPjxjYXJldCBzdHls ZT0idW5pY29kZS1iaWRpOiBwbGFpbnRleHQ7IDsgOyA7U2FuIEZyYW5jaXNjbyZxdW90OywgSGVs dmV0aWNhLCBBcmlhbCwgc2Fucy1zZXJpZjsgOyBmb250LXN0eWxlOiBub3JtYWw7IDsgZm9udC13 ZWlnaHQ6IDQwMDsgbGV0dGVyLXNwYWNpbmc6IG5vcm1hbDsgb3JwaGFuczogYXV0bzsgdGV4dC1h bGlnbjogc3RhcnQ7IHRleHQtaW5kZW50OiAwcHg7IHRleHQtdHJhbnNmb3JtOiBub25lOyB3aGl0 ZS1zcGFjZTogbm9ybWFsOyB3aWRvd3M6IGF1dG87IHdvcmQtc3BhY2luZzogMHB4OyA7IC13ZWJr aXQtdGV4dC1zaXplLWFkanVzdDogbm9uZTsgLXdlYmtpdC10ZXh0LXN0cm9rZS13aWR0aDogMHB4 OyB0ZXh0LWRlY29yYXRpb246IG5vbmU7Ij48L2NhcmV0PjxzcGFuIHN0eWxlPSI7IDsgO1NhbiBG cmFuY2lzY28mcXVvdDssIEhlbHZldGljYSwgQXJpYWwsIHNhbnMtc2VyaWY7IDsgZm9udC1zdHls ZTogbm9ybWFsOyA7IGZvbnQtd2VpZ2h0OiA0MDA7IGxldHRlci1zcGFjaW5nOiBub3JtYWw7IG9y cGhhbnM6IGF1dG87IHRleHQtYWxpZ246IHN0YXJ0OyB0ZXh0LWluZGVudDogMHB4OyB0ZXh0LXRy YW5zZm9ybTogbm9uZTsgd2hpdGUtc3BhY2U6IG5vcm1hbDsgd2lkb3dzOiBhdXRvOyB3b3JkLXNw YWNpbmc6IDBweDsgOyAtd2Via2l0LXRleHQtc2l6ZS1hZGp1c3Q6IG5vbmU7IC13ZWJraXQtdGV4 dC1zdHJva2Utd2lkdGg6IDBweDsgOyB0ZXh0LWRlY29yYXRpb246IG5vbmU7IGRpc3BsYXk6IGlu bGluZSAhaW1wb3J0YW50OyBmbG9hdDogbm9uZTsiPiZuYnNwO2FyZSBncmFwaHMgdG8gcHJvY2Vz cyBwYWNrZXRzLjxzcGFuIGNsYXNzPSJBcHBsZS1jb252ZXJ0ZWQtc3BhY2UiPiZuYnNwOzwvc3Bh bj48L3NwYW4+Jm5ic3A7PC9kaXY+PGRpdiBkaXI9ImF1dG8iPjxicj48L2Rpdj48ZGl2IGRpcj0i YXV0byI+SSB0aG91Z2h0IHRoYXQgdXNpbnYmbmJzcDs8Y2FyZXQ+PC9jYXJldD4gbmV0Z3JhcGgg c291bmRzIGludGVycmVzdGluZyB0byBidWlsZCBhIG1vZGVybiByb3V0ZXIgb3IgY3BlLiZuYnNw O1doYXQgYWJvdXQgdGhlIHBlcmZvcmFuY2U/IERpZCBhbnlvbmUgY29tcFJlPyBBbHNvIGlzIHRo ZXJlIGFueSBkaWZmZXJlbmNlIGluIHRlcm0gb2YgaW1wbGVtZW50YXRpb24gb2YgdGhlIHByb2Nl c3Npbmc/IElkIHRoZXJlIGFueSByZWNlbnQgcGFwZXIgYWJvdXQgbmV0Z3JhcGg/PC9kaXY+PGRp diBkaXI9ImF1dG8iPjxicj48L2Rpdj48ZGl2IGRpcj0iYXV0byI+PGJyPjwvZGl2PjxkaXYgZGly PSJhdXRvIj5iZW5vaXQ8L2Rpdj48ZGl2IGRpcj0iYXV0byI+PGJyPjwvZGl2PiA8ZGl2IGlkPSJw cm90b25tYWlsX21vYmlsZV9zaWduYXR1cmVfYmxvY2siPjxkaXY+U2VudCBmcm9tIDxhIGhyZWY9 Imh0dHBzOi8vcHJvdG9uLm1lL21haWwvaG9tZSI+UHJvdG9uIE1haWw8L2E+IGZvciBpT1M8L2Rp dj48L2Rpdj48L2JvZHk+PC9odG1sPg== --b1_BxpkdY22t9NRuAKU7SFEfjlcmIOhMDehDuU9Jxx0Yzw-- From nobody Fri Nov 24 15:36:10 2023 X-Original-To: net@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 4ScJwp5TRjz51w5G for ; Fri, 24 Nov 2023 15:36:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ScJwp2TlSz4dhk for ; Fri, 24 Nov 2023 15:36:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700840170; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lywvv8aIV2nUwz+BxazKp56s/i6/kM+uCaJPyYh7INg=; b=CHiaIVdnaRHn/tyGfRodr8pluJNn5InF3fPZeY5Xhuy6q8KPaFVewKhrhLd/nWtibNKZ+X m0MiLfkgyPuKG0U/IBjHBPz7b7Qx/2NfoNnZ/JmoEhXymixBgVZf3z6M3gqwjCF/4BGMSF RUMkfo1WKcKz/8QF1dV0GARJ0UZbQ+AeKpvIJmELexJN+gCeXkGg5o7C16bl6y1duRpnb3 LvSFlZh5Zvkq2wHvqr8KVR8+M1YyzLWO5kSNmpLhhX425YUsiyE5iFZ3coeZAGI1dqhR+K nWWgi5OcwuMeQKVpwV2mBz4hXo6fKpG7casxzwD1/shEJ8qoQOXHoUxbIowOHQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700840170; a=rsa-sha256; cv=none; b=x2UrPWyw2sXES0ywheN8jf85xa+6d7yYlBQKQgzySbeqfqGBUmRtE+XctCk9qoC5AXz4uw C2BuywuUP+YUUUMmgmczIZbFqLvV+RuTLDRIGh26CpNT5/1FUpOh8LABu38fL8+W9lW7j2 a2lmbB0RbVWh2foBwCyhpQk2N/Ci4tTfTd+33MhA0XdjRfd4roO4+TS1GvNa60Ys7nvhn6 GIi380a0zoEWbJMH0c2NUGxQXYjoZ7VIC3wg1ocBuXq+iiAidDWJmfLxxNSvlPv8ne7pF8 CMR3P2/2CI48o3Qh+igcFjQmiUNOxh7p76YZwA73vjVAr/iLWjn5v6MDjL7kgQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ScJwp1bp5zrF1 for ; Fri, 24 Nov 2023 15:36:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AOFaAVE081371 for ; Fri, 24 Nov 2023 15:36:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AOFaAbC081364 for net@FreeBSD.org; Fri, 24 Nov 2023 15:36:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275001] if_wg: Missing radix unlock can cause deadlock Date: Fri, 24 Nov 2023 15:36:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275001 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org --- Comment #6 from Mark Johnston --- Do we want an EN for this bug? I'm not sure how easy it is to trigger in practice. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Nov 24 23:33:15 2023 X-Original-To: freebsd-net@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 4ScWWM0sz0z51JDr for ; Fri, 24 Nov 2023 23:33:19 +0000 (UTC) (envelope-from jim@netgate.com) Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ScWWL6P8hz3Hbg for ; Fri, 24 Nov 2023 23:33:18 +0000 (UTC) (envelope-from jim@netgate.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2c59a4dd14cso27319111fa.2 for ; Fri, 24 Nov 2023 15:33:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netgate.com; s=google; t=1700868797; x=1701473597; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=CSCQedku8QgDKA1LmIxTZWdLUsuXGsENbYPdwgWU9rU=; b=iTYHoVGU6maHzwrV803loEzs767KDCpfj0LzIjA69z/UqOzctlj02yL+CshRIDwXUt gDVeJb4nSIAMENmSDZOfvtHTY+TiRRvsM/wTXcBkBFnSH05mAg/Bnu5+hnur2856otin r5JHI4mXbKfs04P8WWHyV9bF8J21mFUdVaHZE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700868797; x=1701473597; 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=CSCQedku8QgDKA1LmIxTZWdLUsuXGsENbYPdwgWU9rU=; b=aoilhCrI/eq38MJx9i17795lIJx54Noa2HhWgdGQx6vi7ri3jj95gqFFyl6ch7MpiP VUpR65fblOaC6tI/UBejsjDRVID5HlHXrh4Y0I4voYjlFX98KUChSlrzBY9YBsBz/tJS fwiT84j2oyLRIjVEtm2MNs/mPhzSFeETAWruHDEiN/I4N3VdBVoy9MgtBWo/lDvPmyNP IN1/+0+P8l8rw82ibsdfgeB6+6Uv9wT1X91ocdhQafc9kjupO7djU1WJPExwbL4pFyOg WwuBI/k7zNcI1pax0wkW/AbJLtE5c43dCBWesVSCCQih0u40wVFaQfksiBaZ0cXLRHIq GUmA== X-Gm-Message-State: AOJu0YyiPPa2vUZyA7EZtYOSAgqenOelHL0O4wjtPg5xqqWoJrQI6yqc S2fjryVvtcFYNrjOnbpBxTQpWgwQDB1/+w+B+RSxydYypL8rOGlI1tE= X-Google-Smtp-Source: AGHT+IHjG1bSs1pJS/bcLU3vJrO6RvSMXjsnWPHZhlg/IbSJiGlxqt79+r2F6MV6Jx26+TDxSvRHxEWcWw2Nqx/V3aQ= X-Received: by 2002:a2e:94c7:0:b0:2c5:2661:ca06 with SMTP id r7-20020a2e94c7000000b002c52661ca06mr3115716ljh.46.1700868796553; Fri, 24 Nov 2023 15:33:16 -0800 (PST) Received: from 1064022179695 named unknown by gmailapi.google.com with HTTPREST; Fri, 24 Nov 2023 15:33:15 -0800 Received: from 1064022179695 named unknown by gmailapi.google.com with HTTPREST; Fri, 24 Nov 2023 15:33:12 -0800 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org Mime-Version: 1.0 (Mimestream 1.1.5) References: In-Reply-To: From: Jim Thompson Date: Fri, 24 Nov 2023 15:33:15 -0800 Message-ID: Subject: Re: netgraph and vpp To: Benoit Chesneau Cc: "freebsd-net@FreeBSD.org" Content-Type: multipart/alternative; boundary="0000000000006db63f060aee6007" 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:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4ScWWL6P8hz3Hbg --0000000000006db63f060aee6007 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Nov 24, 2023 at 12:48:07=E2=80=AFAM, Benoit Chesneau wrote: > netgraph and vpp looks similar in their intent. Both are graphs to > process packets. > > I thought that usinv netgraph sounds interresting to build a modern > router or cpe. What about the perforance? Did anyone compRe? Also is ther= e > any difference in term of implementation of the processing? Id there any > recent paper about netgraph? > They are very, very different. Netgraph is closer to AT&T streams, but with mbufs. Netgraph would probably be better implemented these days as a set of netmap modules, ala https://github.com/zeek/packet-bricks or https://github.com/outscale/packetgraph (this one is DPDK, but similar architecture) --0000000000006db63f060aee6007 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Nov 24, 2023 at 12:48:07=E2=80= =AFAM, Benoit Chesneau <be= noitc@enki-multimedia.eu> wrote:
netgraph and vpp looks simi= lar in their intent.=C2=A0Both=C2=A0are graphs to process packets.=C2=A0=C2=A0

I thought that usinv=C2=A0 netgraph sounds interresting to build = a modern router or cpe.=C2=A0What about the perforance? Did anyone compRe? = Also is there any difference in term of implementation of the processing? I= d there any recent paper about netgraph?

They are very, very diffe= rent.=C2=A0 Netgraph is closer to AT&T streams, but with mbufs.

Netgraph would probably be better= implemented these days as a set of netmap modules, ala=C2=A0
https://git= hub.com/zeek/packet-bricks=C2=A0or=C2=A0https://github.c= om/outscale/packetgraph=C2=A0(this one is DPDK, but similar arch= itecture)



--0000000000006db63f060aee6007-- From nobody Sat Nov 25 00:35:50 2023 X-Original-To: net@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 4ScXvW675hz526S8 for ; Sat, 25 Nov 2023 00:35:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ScXvW52f1z3bPZ for ; Sat, 25 Nov 2023 00:35:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700872551; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5LxVj+p/5P0FtxaQq1Y435X2szP8iatFzPoC7zFueq4=; b=exDyo04pJ7MXJmuyJXcCV6iFR7+VPaEuOSns+4PYZaBiUsncTgHg8TC0KEIRfnUecb5nDB Ff27SoSC6IJYpdCxAHRwz89EPKnTj8lsfKOdTmJt8smWENqOICgBGF1qbfaux8YSi8rwLQ uOgEqNzH8TxRAgHdS1H1hc6D+/ZN9MVyVOT+TdWN+ZQuARVjoDXVF4TZtc3ttUtcPyRO85 Q3c6pEFYvUclNXa7I3MEm9Xq/hL/ruUeb3a2j8vWUFVIUkWh5prKgSzGOAAR7Prt9MMa7N X7GaLwvLv/SyJOZFkM6/XcOjIRgbjtve1kEP4qm2QknFCNDyLS4v7NyNJsis4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700872551; a=rsa-sha256; cv=none; b=UZHKmVxQuQK4wwPqiKfp0NOxFYbqFqqq5QH9WZ9dO8vDKOgCF8wzhAXNVd0TJffui6w1sK IGRgkrJRo100l+wUIpV5Sfzy/CRpPXXYq9bPfM6OEFoab6BKV1rqW82Ic9d6n3aq9zySca aoNQWYbW+aYb/aYtuffU5vibB1hjHK0BtKAhREyEoG9uUO1phdq/uk4AnD7Fh+GAX/IPiK PTlDIoYYem7HrLpZBinayOFDTFsguQ8wDrSHP0pP7RL1mSZWVMcVsdSN7kEW12SPC57+nB najx+zA0ABtEsIzVwyNtVUsoi9xwrg6ADkuVk1FuwxuOvu48uGrNqaLARD7EAg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ScXvW464xz16T8 for ; Sat, 25 Nov 2023 00:35:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AP0ZpZq008746 for ; Sat, 25 Nov 2023 00:35:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AP0Zpu5008745 for net@FreeBSD.org; Sat, 25 Nov 2023 00:35:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 253251] Hardware Revision Realtek 8117 Date: Sat, 25 Nov 2023 00:35:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: brad@comstyle.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253251 Brad Smith changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |brad@comstyle.com --- Comment #10 from Brad Smith --- This can be closed. This has been fixed in -current and will be backported = to the -stable branches soon. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Nov 25 01:51:15 2023 X-Original-To: net@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 4ScZZW69JZz51F6W for ; Sat, 25 Nov 2023 01:51:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ScZZW54jFz4TfB for ; Sat, 25 Nov 2023 01:51:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700877075; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XkXXtgGU8Ek2zFGZgYIL/MYn6JiS/A7nzOIn3xheCwM=; b=jqi13MmR5fBz9EXYcZSjTpq8uED4ZgvwGTQ0xYY/cr5HLW7+F8YjfEw83i/lzHODI4TDaL 2x+Rr3JHSBuaNAlXjphfheiXmVxaH7ezWJbJFep2DmBCNT1ZyUHykrYQS0u+fmZwidJP+z jYYqxOuQbW/TUuL7Q49yKHa6zmsbzAxTzw6hNeFMcnCAMiGHW6CQ08s1YqgtDhnLO8oMrK e4Nw8UvfMxyh1d8F52MkIMC64Rf3TdcRLI9EQXZmDgSqT4hW8PV9GwMQJo/k2leD+Bm7St q/JF3sRJ9eQZ0GP5sxMMCIPpwlX0ZS9eGuKktsq2BbJHVJUKdIExYQ0lVbPcZA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700877075; a=rsa-sha256; cv=none; b=wz5mLq0ufYCQCUQSUdcf4V3bhUHh7j16YLGflE4Uc7j99VPkG/jkzHG90r+xCHJttHgXoG iuTd3MkaDp42EMJeaS7HEiuT6BMzGzEWX3J10CEOTKFAf4gjThugKTAxhxriQBHnCeL/Py G8N0l5zVE5pXXl/I9r/x/S3lE47VeStl1XQGjLYQ2hj7OqVO0QB1kuU8x3TGVnU+yCHj29 G+nwt67P3vXifLrSWY+rbrhS5P+k3BsXUE7OhopQ9Ywb2dLwMciT5ukaRmmvKRqtOAu5s0 awxiL+t/RwRShEAOc16h/66bUh4b0gdUIh5ufXmEZ3/l9NeAf5m5/G5XJs+G8Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ScZZW4B64z18M8 for ; Sat, 25 Nov 2023 01:51:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AP1pFJI047422 for ; Sat, 25 Nov 2023 01:51:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AP1pFOT047421 for net@FreeBSD.org; Sat, 25 Nov 2023 01:51:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 253251] Hardware Revision Realtek 8117 Date: Sat, 25 Nov 2023 01:51:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: delphij@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: delphij@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution assigned_to cc bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253251 Xin LI changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Assignee|net@FreeBSD.org |delphij@FreeBSD.org CC| |delphij@FreeBSD.org Status|Open |Closed --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Nov 25 05:29:55 2023 X-Original-To: net@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 4ScgQr1xHfz52LQP for ; Sat, 25 Nov 2023 05:29:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ScgQq5X9wz4Yfb for ; Sat, 25 Nov 2023 05:29:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700890195; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qkOeSVQ7LCWfRlgS9Y9YsnZVoN+RV+t9FMkslZVnfnY=; b=QuGXQFfvAh7snv/cQXjMoEbV0+8JOtjBFF57WEzEz86Rsv08YaBzOZCoqN+SFSpHnlJ/Og krTqHaJYYGveTvBvqxpDC4oWOr/iipEGrCtK3vJGfD9cAQS9z8PHaiXWED9qInBcCL89Bb bIWJ6Q4EldMoZUgUsFJzJyRCwTkCakjBOkGwT50CEhv3wyR8UwcwtlwloWvYpiLuFaq35R SxKkp69cR0pw7cf72b0yNAB9eYrCqgMexFn824hAhfrKd7fPv7AX8Z3bn1PQOyVzoyp7lM dY6eBSpKdOSQBaw9Vcp+zzyva6QYYR/l3R/gMRU93ehZ+PmTHLe5DiXymALfEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700890195; a=rsa-sha256; cv=none; b=ZM7KV4QsbnbQxDIOLsxXQkSqElnK+QZ+lcCbXkk9rqZ+TY/7eYcJFkFoizoO3m+mSw/dnr iKV6eqlgoEWzbqtoquIcvaYOBYplrpN4o+CaPDa0IKVsYJV9kqFRLZAYfOqzE0UEW1hlkU 1AN33YwWJ+jhCkLEe8OMoam/vXGQnBGgOI9C1KiGyOZX7bxcNF5GmUq1psPylczo3GJ0wL 2X+IVUkY8zOPU7Zh/pFWiikhj9ElI+pmAHoqzu4l4xzXojhyI2OhKAfj287DMfpjpfqnmZ 0qRsAi5AbdGSb7WB5t600ZV+6jZd9PzkTBepd7Q+Ga+2MrXuX3rGtJvvUt1oTg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ScgQq4cCcz1Flj for ; Sat, 25 Nov 2023 05:29:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AP5Ttjb081187 for ; Sat, 25 Nov 2023 05:29:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AP5Tti2081186 for net@FreeBSD.org; Sat, 25 Nov 2023 05:29:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275323] OpenVPN topology subnet crash on initiate FreeBSD 14.0 Date: Sat, 25 Nov 2023 05:29:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275323 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Nov 25 07:57:43 2023 X-Original-To: net@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 4SckjM6WrPz52YZx for ; Sat, 25 Nov 2023 07:57:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SckjM4f2Jz4Hhp for ; Sat, 25 Nov 2023 07:57:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700899063; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rKVJnxUfKbeH968MKWYUxDsq3qS2GjNB61ZVUnI4TDY=; b=RoQYqevEL0qm1kWETWyrh7RZu6S7E4T/1tFwT2B2cW1rSoPZOu3cv8kBAUC3+QJmXP4F74 u5K9T0ZE6HL4cULdihFm3DBcBBB6MqWGbTTsGN1Y1nBCpLfVEE6cIIwCsMA2rhOQ6xE3cN +Xdav1h87vNDba2bWZMyakVtPLOUfrnh3b4gELXocj6BS/pCIqHjvMQP7elefEYqskIEJf zeO3Fe0qe5JACn99L8maKBz7Rcz3AOEEymb5FXnfHb2JWTn3NrSXYvCrIq8Z8btL3pz4ja MWsMCcrcK6ePqds0v2WtM+4TBJA2Dmnk2wnG14Q29JI2iO1eof2jgVEMWej2Ag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700899063; a=rsa-sha256; cv=none; b=izseYzoM8hdVZtFPo1TIuzV6pZYbUYB/OEXGLItZixY0fJCCVT9Tw+Wq91i7bQYwa+mJtG 60dZYlSDk0Kat54jr7raVH8bZ3Qqu/MKzLokZa4UB3UIQ7UqXpbXAi8VUzu0HSqPVMfb5c oijifw44kgRufhhC77iumtvsWbLjv0yTxT3nDHgu+B8I/6RXdfqxjjsf06V1UiVWpyvPF3 sZ8+6knoxWCF1z7b3b7GVkBDvaKniyxLAbFnJc7HaJKFtRHjDLuoH6ZmwI5xQfeP28L+Yv JioUIg1L7wTXgTdV+TGjMftMfLEjrNZZGfCsp5IiTGX3zAubtgtYT9X03UAraA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SckjM3jSYz1K9v for ; Sat, 25 Nov 2023 07:57:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AP7vhFV080877 for ; Sat, 25 Nov 2023 07:57:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AP7vhtF080876 for net@FreeBSD.org; Sat, 25 Nov 2023 07:57:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275323] OpenVPN topology subnet crash on initiate FreeBSD 14.0 Date: Sat, 25 Nov 2023 07:57:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: zarychtam@plan-b.pwste.edu.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275323 Marek Zarychta changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zarychtam@plan-b.pwste.edu. | |pl --- Comment #2 from Marek Zarychta --- Maybe you don't want to use DCO feature, then please add to your OpenVPN se= rver config: disable-dco --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Nov 25 11:09:29 2023 X-Original-To: freebsd-net@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 4Scpyr4n64z51ygZ for ; Sat, 25 Nov 2023 11:09:40 +0000 (UTC) (envelope-from benoitc@enki-multimedia.eu) Received: from mail-4317.proton.ch (mail-4317.proton.ch [185.70.43.17]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Scpyr2cJQz4MZG for ; Sat, 25 Nov 2023 11:09:40 +0000 (UTC) (envelope-from benoitc@enki-multimedia.eu) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enki-multimedia.eu; s=protonmail; t=1700910575; x=1701169775; bh=Rg8esaqu6pujcpP34hwbMRtidJchshc7qZbVLfmGq3Q=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=QjZoQc8dx8HTymSYol8+FIkT7oJxwP4wi4q7mCYvk2K/28S4PMYLyJ6nFoosFq2jB 7Veh4dlUGfBSdVDVQgxr7+HvzrO+lyjJe4uMRqPuWn7bwToTPOPL096w2LjYc5o/5x nEbF73qUjbzfcHo4Xiik9Vc2ooxayuSpR98IIdUK7uH86exXS5gMg13ooDOC4BpYvv rbrJXPxEeMHCLfJngubMBI86BmrnLD5qcFa//mBb/yf20no14+cYPBEpapBh8GwJsp RLOHtBlqPj59dVzMq7GcWXDvXYTCUFM7iJrVyqNA+3EEfrtzyd4U9cjAF0UBUHlWLb XePLRXYHntpww== Date: Sat, 25 Nov 2023 11:09:29 +0000 To: Jim Thompson From: Benoit Chesneau Cc: "freebsd-net@FreeBSD.org" Subject: Re : Re: netgraph and vpp Message-ID: In-Reply-To: References: Feedback-ID: 9066678:user:proton List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_orftEKN2WFk3CzNDFm2EMRXqx9j01tJ9hJCizR40o" 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:62371, ipnet:185.70.43.0/24, country:CH] X-Rspamd-Queue-Id: 4Scpyr2cJQz4MZG This is a multi-part message in MIME format. --b1_orftEKN2WFk3CzNDFm2EMRXqx9j01tJ9hJCizR40o Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 VGhhbmtzIGZvciB5b3VyIGFuc3dlci4gU28gaSBndWVzcyBpZiB3ZSB3YW50IHRvIGJ1aWxkIGEg bW9kZXJuIHJvdXRlciB3aXRob3V0IGN1c3RvbSBjb2RlLCB2cHAgaXMgdGhlIHdheSB0byBnbyBp biB0ZXJtIGRlIHBlcmZvcm1hbmNlPwoKT25lIHRoaW5nIGkgcmVhbGx5IG1pc3MgaXRvIGNyb3Nz IGNvbm5lY3QgMiBpbnRlcmZhY2VzIHdpdGhvdXQgdXNpbmcgYSBicmlkZ2UuIFNvbWV0aGliZyBy ZWFsbHkgZWFzeSBhbmQgcGVyZm9ybWFudCB3aXRoIHZwcC4uLgoKQmVub2l0CkxlIHNhbS4gMjUg bm92LiAyMDIzIMOgIDAwOjMzLCBKaW0gVGhvbXBzb24gPFtqaW1AbmV0Z2F0ZS5jb21dKG1haWx0 bzpMZSBzYW0uIDI1IG5vdi4gMjAyMyDDoCAwMDozMywgSmltIFRob21wc29uIDw8YSBocmVmPSk+ IGEgw6ljcml0IDoKCj4gT24gTm92IDI0LCAyMDIzIGF0IDEyOjQ4OjA34oCvQU0sIEJlbm9pdCBD aGVzbmVhdSA8YmVub2l0Y0BlbmtpLW11bHRpbWVkaWEuZXU+IHdyb3RlOgo+Cj4+IG5ldGdyYXBo IGFuZCB2cHAgbG9va3Mgc2ltaWxhciBpbiB0aGVpciBpbnRlbnQuIEJvdGggYXJlIGdyYXBocyB0 byBwcm9jZXNzIHBhY2tldHMuCj4+Cj4+IEkgdGhvdWdodCB0aGF0IHVzaW52IG5ldGdyYXBoIHNv dW5kcyBpbnRlcnJlc3RpbmcgdG8gYnVpbGQgYSBtb2Rlcm4gcm91dGVyIG9yIGNwZS4gV2hhdCBh Ym91dCB0aGUgcGVyZm9yYW5jZT8gRGlkIGFueW9uZSBjb21wUmU/IEFsc28gaXMgdGhlcmUgYW55 IGRpZmZlcmVuY2UgaW4gdGVybSBvZiBpbXBsZW1lbnRhdGlvbiBvZiB0aGUgcHJvY2Vzc2luZz8g SWQgdGhlcmUgYW55IHJlY2VudCBwYXBlciBhYm91dCBuZXRncmFwaD8KPgo+IFRoZXkgYXJlIHZl cnksIHZlcnkgZGlmZmVyZW50LiBOZXRncmFwaCBpcyBjbG9zZXIgdG8gQVQmVCBzdHJlYW1zLCBi dXQgd2l0aCBtYnVmcy4KPgo+IE5ldGdyYXBoIHdvdWxkIHByb2JhYmx5IGJlIGJldHRlciBpbXBs ZW1lbnRlZCB0aGVzZSBkYXlzIGFzIGEgc2V0IG9mIG5ldG1hcCBtb2R1bGVzLCBhbGEKPiBodHRw czovL2dpdGh1Yi5jb20vemVlay9wYWNrZXQtYnJpY2tzIG9yIGh0dHBzOi8vZ2l0aHViLmNvbS9v dXRzY2FsZS9wYWNrZXRncmFwaCAodGhpcyBvbmUgaXMgRFBESywgYnV0IHNpbWlsYXIgYXJjaGl0 ZWN0dXJlKQ== --b1_orftEKN2WFk3CzNDFm2EMRXqx9j01tJ9hJCizR40o Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 PGh0bWw+PGhlYWQ+PC9oZWFkPjxib2R5PiAgIDxkaXY+PGJyPjwvZGl2PjxkaXYgZGlyPSJhdXRv Ij5UaGFua3MgZm9yIHlvdXIgYW5zd2VyLiBTbyBpIGd1ZXNzIGlmIHdlIHdhbnQgdG8gYnVpbGQg YSBtb2Rlcm4gcm91dGVyIHdpdGhvdXQgY3VzdG9tIGNvZGUsJm5ic3A7dnBwIGlzIHRoZSB3YXkg dG8gZ28gaW4gdGVybSBkZSBwZXJmb3JtYW5jZT8mbmJzcDs8L2Rpdj48ZGl2IGRpcj0iYXV0byI+ PGJyPjwvZGl2PjxkaXYgZGlyPSJhdXRvIj5PbmUgdGhpbmcgaSByZWFsbHkgbWlzcyBpdG8gJm5i c3A7Y3Jvc3MgY29ubmVjdCAyIGludGVyZmFjZXMgd2l0aG91dCB1c2luZyBhIGJyaWRnZS4gU29t ZXRoaWJnIHJlYWxseSBlYXN5IGFuZCBwZXJmb3JtYW50IHdpdGggJm5ic3A7dnBwLi4uPC9kaXY+ IDxkaXY+PGJyPjwvZGl2PjxkaXYgZGlyPSJhdXRvIj5CZW5vaXQmbmJzcDs8Y2FyZXQ+PC9jYXJl dD48L2Rpdj5MZSBzYW0uIDI1IG5vdi4gMjAyMyDDoCAwMDozMywgSmltIFRob21wc29uICZsdDs8 YSBjbGFzcz0iIiBocmVmPSJtYWlsdG86TGUgc2FtLiAyNSBub3YuIDIwMjMgw6AgMDA6MzMsIEpp bSBUaG9tcHNvbiA8PGEgaHJlZj0iPmppbUBuZXRnYXRlLmNvbTwvYT4mZ3Q7IGEgw6ljcml0IDo8 YmxvY2txdW90ZSB0eXBlPSJjaXRlIiBjbGFzcz0icHJvdG9ubWFpbF9xdW90ZSI+ICA8ZGl2IGRp cj0ibHRyIj4NCiAgICA8YnI+DQo8L2Rpdj48ZGl2IGRpcj0ibHRyIj48YnI+PC9kaXY+DQo8ZGl2 IGNsYXNzPSJnbWFpbF9xdW90ZSI+DQogICAgPGRpdiBjbGFzcz0iZ21haWxfYXR0ciIgZGlyPSJs dHIiPk9uIE5vdiAyNCwgMjAyMyBhdCAxMjo0ODowN+KAr0FNLCBCZW5vaXQgQ2hlc25lYXUgJmx0 OzxhIGhyZWY9Im1haWx0bzpiZW5vaXRjQGVua2ktbXVsdGltZWRpYS5ldSI+YmVub2l0Y0Blbmtp LW11bHRpbWVkaWEuZXU8L2E+Jmd0OyB3cm90ZTo8YnI+PC9kaXY+DQogICAgPGJsb2NrcXVvdGUg dHlwZT0iY2l0ZSIgc3R5bGU9Im1hcmdpbjowcHggMHB4IDBweCAwLjhleDtib3JkZXItbGVmdDox cHggc29saWQgcmdiKDIwNCwyMDQsMjA0KTtwYWRkaW5nLWxlZnQ6MWV4IiBjbGFzcz0iZ21haWxf cXVvdGUiPg0KICAgICAgICA8ZGl2PjxkaXY+PC9kaXY+PGRpdj4gPGRpdiBkaXI9ImF1dG8iPm5l dGdyYXBoIGFuZCB2cHAgbG9va3Mgc2ltaWxhciBpbiB0aGVpciBpbnRlbnQuIDxzcGFuIHN0eWxl PSI7IDsgO1NhbiBGcmFuY2lzY28mcXVvdDssIEhlbHZldGljYSwgQXJpYWwsIHNhbnMtc2VyaWY7 IDsgZm9udC1zdHlsZTogbm9ybWFsOyA7IGZvbnQtd2VpZ2h0OiA0MDA7IGxldHRlci1zcGFjaW5n OiBub3JtYWw7IG9ycGhhbnM6IGF1dG87IHRleHQtYWxpZ246IHN0YXJ0OyB0ZXh0LWluZGVudDog MHB4OyB0ZXh0LXRyYW5zZm9ybTogbm9uZTsgd2hpdGUtc3BhY2U6IG5vcm1hbDsgd2lkb3dzOiBh dXRvOyB3b3JkLXNwYWNpbmc6IDBweDsgOyAtd2Via2l0LXRleHQtc2l6ZS1hZGp1c3Q6IG5vbmU7 IC13ZWJraXQtdGV4dC1zdHJva2Utd2lkdGg6IDBweDsgOyB0ZXh0LWRlY29yYXRpb246IG5vbmU7 IGRpc3BsYXk6IGlubGluZSAhaW1wb3J0YW50OyBmbG9hdDogbm9uZTsiPkJvdGg8L3NwYW4+PHNw YW4gc3R5bGU9IjsgOyA7U2FuIEZyYW5jaXNjbyZxdW90OywgSGVsdmV0aWNhLCBBcmlhbCwgc2Fu cy1zZXJpZjsgOyBmb250LXN0eWxlOiBub3JtYWw7IDsgZm9udC13ZWlnaHQ6IDQwMDsgbGV0dGVy LXNwYWNpbmc6IG5vcm1hbDsgb3JwaGFuczogYXV0bzsgdGV4dC1hbGlnbjogc3RhcnQ7IHRleHQt aW5kZW50OiAwcHg7IHRleHQtdHJhbnNmb3JtOiBub25lOyB3aGl0ZS1zcGFjZTogbm9ybWFsOyB3 aWRvd3M6IGF1dG87IHdvcmQtc3BhY2luZzogMHB4OyA7IC13ZWJraXQtdGV4dC1zaXplLWFkanVz dDogbm9uZTsgLXdlYmtpdC10ZXh0LXN0cm9rZS13aWR0aDogMHB4OyA7IHRleHQtZGVjb3JhdGlv bjogbm9uZTsgZGlzcGxheTogaW5saW5lICFpbXBvcnRhbnQ7IGZsb2F0OiBub25lOyI+IGFyZSBn cmFwaHMgdG8gcHJvY2VzcyBwYWNrZXRzLjxzcGFuIGNsYXNzPSJBcHBsZS1jb252ZXJ0ZWQtc3Bh Y2UiPiA8L3NwYW4+PC9zcGFuPiA8L2Rpdj48ZGl2IGRpcj0iYXV0byI+PGJyPjwvZGl2PjxkaXYg ZGlyPSJhdXRvIj5JIHRob3VnaHQgdGhhdCB1c2ludiAgbmV0Z3JhcGggc291bmRzIGludGVycmVz dGluZyB0byBidWlsZCBhIG1vZGVybiByb3V0ZXIgb3IgY3BlLiBXaGF0IGFib3V0IHRoZSBwZXJm b3JhbmNlPyBEaWQgYW55b25lIGNvbXBSZT8gQWxzbyBpcyB0aGVyZSBhbnkgZGlmZmVyZW5jZSBp biB0ZXJtIG9mIGltcGxlbWVudGF0aW9uIG9mIHRoZSBwcm9jZXNzaW5nPyBJZCB0aGVyZSBhbnkg cmVjZW50IHBhcGVyIGFib3V0IG5ldGdyYXBoPzwvZGl2PjwvZGl2PjwvZGl2Pg0KICAgIDwvYmxv Y2txdW90ZT48YnI+DQo8L2Rpdj48ZGl2IGNsYXNzPSJnbWFpbF9xdW90ZSI+PGRpdiBkaXI9Imx0 ciI+VGhleSBhcmUgdmVyeSwgdmVyeSBkaWZmZXJlbnQuICBOZXRncmFwaCBpcyBjbG9zZXIgdG8g QVQmYW1wO1Qgc3RyZWFtcywgYnV0IHdpdGggbWJ1ZnMuPC9kaXY+PGRpdiBkaXI9Imx0ciI+PGJy PjwvZGl2PjxkaXYgZGlyPSJsdHIiPk5ldGdyYXBoIHdvdWxkIHByb2JhYmx5IGJlIGJldHRlciBp bXBsZW1lbnRlZCB0aGVzZSBkYXlzIGFzIGEgc2V0IG9mIG5ldG1hcCBtb2R1bGVzLCBhbGEgPC9k aXY+PGRpdiBkaXI9Imx0ciI+PGZvbnQgY29sb3I9IiM0MTljZmYiPjxzcGFuIHN0eWxlPSItLWRh cmstY29sb3I6IHZhcigtLU5TQ29sb3JfbGlua0NvbG9yKTsiPjxhIGhyZWY9Imh0dHBzOi8vZ2l0 aHViLmNvbS96ZWVrL3BhY2tldC1icmlja3MiPmh0dHBzOi8vZ2l0aHViLmNvbS96ZWVrL3BhY2tl dC1icmlja3M8L2E+PC9zcGFuPjwvZm9udD4gb3IgPGZvbnQgY29sb3I9IiM0MTljZmYiPjxhIGhy ZWY9Imh0dHBzOi8vZ2l0aHViLmNvbS9vdXRzY2FsZS9wYWNrZXRncmFwaCI+aHR0cHM6Ly9naXRo dWIuY29tL291dHNjYWxlL3BhY2tldGdyYXBoPC9hPjwvZm9udD4gKHRoaXMgb25lIGlzIERQREss IGJ1dCBzaW1pbGFyIGFyY2hpdGVjdHVyZSk8L2Rpdj48ZGl2IGRpcj0ibHRyIj48YnI+PC9kaXY+ PGRpdiBkaXI9Imx0ciI+PGJyPjwvZGl2PjxkaXYgZGlyPSJsdHIiPjxicj48L2Rpdj48L2Rpdj4N CjwvYmxvY2txdW90ZT48L2JvZHk+PC9odG1sPg== --b1_orftEKN2WFk3CzNDFm2EMRXqx9j01tJ9hJCizR40o-- From nobody Sat Nov 25 11:18:36 2023 X-Original-To: net@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 4Scq982pBDz523bt for ; Sat, 25 Nov 2023 11:18:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Scq981QNgz4Pf9 for ; Sat, 25 Nov 2023 11:18:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700911116; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0uTTUEPVvQ2oHlcukLpLkAWIB9P8vjp8rdZ2jEYEcZ8=; b=mpNQeN6gki7fYuKSQu21SCalpuQTYTxK47tx7j+KQVfAE8JT1vnCpeZeg5r8f4sw7k7FZm aD2EOZ5LJgbLqK02aVXubrxj/2cE3M30tJ3M6SeZvRN+RReDJpUV3ePjuMe3alovPVwwiI JSyBaXtbdC/mTp4iHL4yW29Ici8SpbAI7ovnWUri2mOmqa3K6Sgf4bDpmg8+cZRJyNd8XJ OVePMPtr81CMnYs25JhNZAvHICF0KiZiDPsTUkUGQmoYJMygTOm4zRSwyjRw/9TGxYaluW OQ2HkbuT+vpfSTh4NAkP7gvPL3tcXUGFXXa8FUqycofF/sZQvCBK+qz8xv16AA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700911116; a=rsa-sha256; cv=none; b=jIajw2jjoNYWWNra9xLHGzboGcvtbHW8gbpoeYcqhZRplyGMdMzZF9VQSOqcyJa1kibhEp 4DZCwRVNTr58A15hC2UDF0FIE3SKownTHFpN/0t+dCfh1F3U4E+MuDo13SCeL/Mf6RIzPN a/imfUR4sUyvJxJkq+odywzhjt1umHb6KZgTPARe8B+2TuCqaTvqUnRZ3zRyKVnqLRDrIw xcYG3dyABbX/eShnzV9K+W4Lf8XJIecWGxTMEu44u2Xzz9ngBLckxyMLtLFkORaRGv+GeU 9YAFtIB9jwjbxXlC5QQB90uKAg3hj7ra3kncmHMKGhR8Qf7m0rcV/8NMXaiUzQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Scq980JTmz1QCn for ; Sat, 25 Nov 2023 11:18:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3APBIZku089501 for ; Sat, 25 Nov 2023 11:18:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3APBIZq7089499 for net@FreeBSD.org; Sat, 25 Nov 2023 11:18:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 271308] [FIB] File exists while adding IPv4 Date: Sat, 25 Nov 2023 11:18:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: konrad.kreciwilk@korbank.pl X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271308 --- Comment #6 from Konrad --- The problem mainly bothersome during CARP configuration: R1 nad R2 see their routes through OSPF R1: #ifconfig vlan5 100.64.0.253/24 #ifconfig vlan5 100.64.0.254/32 vhid 1 advskew 50 alias # R2: #ifconfig vlan5 100.64.0.252/24 alias ifconfig: ioctl (SIOCAIFADDR): File exists # --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Nov 25 15:33:53 2023 X-Original-To: freebsd-net@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 4Scwr92Sxzz51yYf for ; Sat, 25 Nov 2023 15:34:17 +0000 (UTC) (envelope-from benoitc@enki-multimedia.eu) Received: from mail-4317.proton.ch (mail-4317.proton.ch [185.70.43.17]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Scwr66JcDz4KtW for ; Sat, 25 Nov 2023 15:34:14 +0000 (UTC) (envelope-from benoitc@enki-multimedia.eu) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=enki-multimedia.eu header.s=protonmail header.b=SOKc9Vdl; spf=pass (mx1.freebsd.org: domain of benoitc@enki-multimedia.eu designates 185.70.43.17 as permitted sender) smtp.mailfrom=benoitc@enki-multimedia.eu; dmarc=pass (policy=none) header.from=enki-multimedia.eu DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enki-multimedia.eu; s=protonmail; t=1700926451; x=1701185651; bh=HLAlqklrNp28NxxWjUttry181rtPWhdvSoW3g0tdZpw=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=SOKc9VdlatZt5ohXc6LHkd1XttMdU1b1qtC8sL6dO7y7YHHINlxOlZldh1lrq2Gfk ujg9Y4dBNb3Vb0SZzZzo3FJwll4fBxeaId1PG8JKtixPw0J3i3zHnE6C7Ac2IaSJVs 33UOpoKtv5wtUQK1ziCc5uuQx1kZaTpreP/7fIM4NBjdDHHuNfszsKlf1Ygnq4ckWF bQBId7hZ6arouTt93F2rqi0wEnNfa3+XqlJo8LPMWeVKTI/CWKv36vOlBUWy32ymv6 Jo1dMua/BA5bYdd7IimJ+LGdRRz8i/GqAWs0/8oMy0vAFkKW6WvhySaqHdP7b9+NK2 Srj+OGluvx12A== Date: Sat, 25 Nov 2023 15:33:53 +0000 To: "freebsd-net@FreeBSD.org" From: Benoit Chesneau Subject: how to cross-connect 2 interfaces Message-ID: Feedback-ID: 9066678:user:proton List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_UWTgozd4QtxV2jdNvXHeuzGDU2TLH4UswrTCvH8sUY" X-Spamd-Result: default: False [-4.15 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-0.98)[-0.983]; NEURAL_HAM_LONG(-0.87)[-0.871]; DMARC_POLICY_ALLOW(-0.50)[enki-multimedia.eu,none]; RWL_MAILSPIKE_EXCELLENT(-0.40)[185.70.43.17:from]; R_SPF_ALLOW(-0.20)[+ip4:185.70.43.0/24]; R_DKIM_ALLOW(-0.20)[enki-multimedia.eu:s=protonmail]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_BASE64_TEXT(0.10)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ZERO(0.00)[0]; TO_DN_EQ_ADDR_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; ARC_NA(0.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.43.0/24, country:CH]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[enki-multimedia.eu:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_PHPMAILER_SIG(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4Scwr66JcDz4KtW X-Spamd-Bar: ---- This is a multi-part message in MIME format. --b1_UWTgozd4QtxV2jdNvXHeuzGDU2TLH4UswrTCvH8sUY Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 SXMgdGhlcmUgYSB3YXkgdG8gY3Jvc3MtY29ubmVjdCAyIGludGVyZmFjZXMgd2l0aG91dCB1c2lu ZyBhIGJyaWRnZSAuIFNvbWV0aGluZyBzaW1pbGFyIHRvIHRoZSBjb21tYW5kIMuLbDIgeGNvbm5l Y3RgIGluIHZwcCAob3IgY2lzY28pIDoKaHR0cHM6Ly9kb2NzLmZkLmlvL3ZwcC8xNi4xMi92bmV0 X3ZuZXRfbDIuaHRtbApUaGlzIGNvdWxkIGJlIHF1aXRlIGhhbmR5IHRvIGNyZWF0ZSBhIHBhdGNo IGJldHdlZW4gZGlmZnJlbnQgbWFjaGluZXMgaW4gdGhlIG5ldHdvcmsuCgpCZW5vw650 --b1_UWTgozd4QtxV2jdNvXHeuzGDU2TLH4UswrTCvH8sUY Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 PGh0bWw+PGhlYWQ+PC9oZWFkPjxib2R5PiA8ZGl2IGRpcj0iYXV0byI+SXMgdGhlcmUgYSB3YXkg dG8gY3Jvc3MtY29ubmVjdCAyIGludGVyZmFjZXMgd2l0aG91dCB1c2luZyBhIGJyaWRnZSAuIFNv bWV0aGluZyBzaW1pbGFyIHRvIHRoZSBjb21tYW5kIMuLbDIgeGNvbm5lY3RgIGluIHZwcCAob3Ig Y2lzY28pIDo8L2Rpdj48ZGl2IGRpcj0iYXV0byI+PGEgaHJlZj0iaHR0cHM6Ly9kb2NzLmZkLmlv L3ZwcC8xNi4xMi92bmV0X3ZuZXRfbDIuaHRtbCIgZGlyPSJhdXRvIj5odHRwczovL2RvY3MuZmQu aW8vdnBwLzE2LjEyL3ZuZXRfdm5ldF9sMi5odG1sPC9hPjwvZGl2PjxkaXYgZGlyPSJhdXRvIj5U aGlzIGNvdWxkIGJlIHF1aXRlIGhhbmR5IHRvIGNyZWF0ZSBhIHBhdGNoIGJldHdlZW4gZGlmZnJl bnQgbWFjaGluZXMgaW4gdGhlIG5ldHdvcmsuPC9kaXY+PGRpdiBkaXI9ImF1dG8iPjxicj48L2Rp dj48ZGl2IGRpcj0iYXV0byI+QmVub8OudDxjYXJldD48L2NhcmV0PjwvZGl2PjwvYm9keT48L2h0 bWw+ --b1_UWTgozd4QtxV2jdNvXHeuzGDU2TLH4UswrTCvH8sUY-- From nobody Sat Nov 25 22:05:39 2023 X-Original-To: net@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 4Sd5Wl53Y9z521yk for ; Sat, 25 Nov 2023 22:05:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sd5Wl2bzVz3Zpj for ; Sat, 25 Nov 2023 22:05:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700949939; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Q4L5YkVNwRCu86moCwJ9DebMjYGTQ/x5l2Y03fQW5X0=; b=guQcWiEzFCccCA/OZW+jhKeet+lMykrr0jysl1dg3a2mqFm405d9W73AkwioHJqPpleVR0 9opaK1VykUdlD/xypdYR170mDHggpFF1FrXEwxQwaDfiENJw5LdgXl+TWNKtCZUeVX3DDR Ft+hyjcCUYLLKxZi9GHL2KKYqVxq+TMlWW0JSY0TBFaYCamYVEpYtaH07G+qfOwuMC8O0N ojz55/Q5gurKVhGJ4wkbetHi6Ms39A68h7C6T+X3rc45qqQFcfWrSldoarR89HR5SjUzO1 TPUmDtZ6cA1GRJ/mC4AyKgASRohxxkPlX8WP5cI9Zw45ogA00QdSgJK+a56fsQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700949939; a=rsa-sha256; cv=none; b=H/aZCn9pCgcBypJ3amMStnrZaxLtPovMXWWWakQPMGMGQhIVGk50YO2j8GSc7aV0EnGhvC C2umfmoBJ25LUkCYzVAESlgQjvDJxcc+rfNcNj8dHmxsFj2zirtfsnC0uHT6009m+nA+oO 1YMms0BW1cHlo3HK+Un9NB8eA1rOzw5Ah4yA9RysL6TqhoohLngnmp+c48VeQqI6XKeEmB gh009WJNVU3IURF7cXQ7uCbOLfA5aCrjeNZOfilfcgdCso6e5wxiG6dXSCUuhCXA1mQhgP 7r+rvy4AKMy0U8TjCbiyy+6og2IKJI/cd6dzkSo3cShdbQo8bwauer8tjIyyDw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sd5Wl1j1TzWJR for ; Sat, 25 Nov 2023 22:05:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3APM5dSg068276 for ; Sat, 25 Nov 2023 22:05:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3APM5dBL068275 for net@FreeBSD.org; Sat, 25 Nov 2023 22:05:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275323] OpenVPN topology subnet crash on initiate FreeBSD 14.0 Date: Sat, 25 Nov 2023 22:05:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ve2tmq@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275323 --- Comment #3 from Mathieu --- Hi Marek! Thanks for responding. I tried, but same issue. I think it's related to network module. This config works with FreeBSD 13.2 and Linux. Unfortunately, when I upgra= ded to 14.0 stip working. I red forum thread regarding this issue, but no clue= . :( Appreciate hour support. 73 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Nov 25 22:30:09 2023 X-Original-To: freebsd-net@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 4Sd64K0kjHz52Cnt for ; Sat, 25 Nov 2023 22:30:25 +0000 (UTC) (envelope-from jim@netgate.com) Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sd64J5vGfz4HCJ for ; Sat, 25 Nov 2023 22:30:24 +0000 (UTC) (envelope-from jim@netgate.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-io1-xd2c.google.com with SMTP id ca18e2360f4ac-7b34ee2a243so111367439f.0 for ; Sat, 25 Nov 2023 14:30:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netgate.com; s=google; t=1700951421; x=1701556221; darn=freebsd.org; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=l0ImKrRI/7bCwz4yzBuMYLy2mOKdgr4c7eckZTkO4yw=; b=gThZVkLdHQFw0USHw5OrsjC1ZCn6LUY4vOI3i4Kd6MhEGoBqFrnU2cInYOpfXwhVel IS+ymStfnDw+UdBL2UeSnllFj+YyLh7zp65mns8+NRvPwnsHWVcumVloi7UUrkWAphvM l6s0KKvzwgeGfLb7mqaPcfYIKzHZ8mnczZgb4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700951421; x=1701556221; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=l0ImKrRI/7bCwz4yzBuMYLy2mOKdgr4c7eckZTkO4yw=; b=V+Kw8VuFwKk3cTS+yYAxeJb+E7AY7IP9y+CPlkkkf2Q+lNzuxK0FVCFPJ1pke0vBTc g3rhVMgeErCYnS9D6UiaahzJTBtA0LhK41rZGYuORYHWEAuiyOiF9R4tBABsC1UvFN7t SuKTDwQD+Y4HgEvz0FvkuBbDV8J8UpUtkUr+A3Zz2wwlcE01S2Of+965BwYNmNu62a8p Ol8YL8p2W6ewpYvOh9YxNxud2baeOlBl9sdt28vIpvKyDQfQhJdLCYH5y7hG2gqkqedB JMqjS0QwpFKQYTRHGNNYcr4Bun7kb5iPjDxzQOAhydDGyCFDY5ExFZ32XOHj/TFB7Ub5 2K6w== X-Gm-Message-State: AOJu0YxZDbUDtSNWAwSMXt5sFCJsVdyStsxmw1+yRvH+JzgTViZVBLJu wXaC2dElMnyIFcYPZPYjeoojbsZ5BGyBdiKgj+bErQ== X-Google-Smtp-Source: AGHT+IF3m5gYPhkPw/avPrhBqggzJvGQlv6JYaOGlhqbNkdcss/aqr4YtY8ZjERRNfQa9RRtrb55fQ== X-Received: by 2002:a5e:c741:0:b0:7b3:56df:3db1 with SMTP id g1-20020a5ec741000000b007b356df3db1mr3310560iop.12.1700951421012; Sat, 25 Nov 2023 14:30:21 -0800 (PST) Received: from smtpclient.apple ([2601:280:5080:7800:35b0:9f9a:9f62:7892]) by smtp.gmail.com with ESMTPSA id k32-20020a056638372000b0045c1fcf2ef7sm1520280jav.37.2023.11.25.14.30.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 25 Nov 2023 14:30:20 -0800 (PST) Content-Type: multipart/alternative; boundary=Apple-Mail-D0395892-9828-44DD-BA14-9C8971FE75F3 Content-Transfer-Encoding: 7bit From: Jim Thompson List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org Mime-Version: 1.0 (1.0) Subject: Re: how to cross-connect 2 interfaces Date: Sat, 25 Nov 2023 15:30:09 -0700 Message-Id: References: Cc: freebsd-net@freebsd.org In-Reply-To: To: Benoit Chesneau X-Mailer: iPhone Mail (21B91) 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:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4Sd64J5vGfz4HCJ --Apple-Mail-D0395892-9828-44DD-BA14-9C8971FE75F3 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
ng_= hub(4)

On Nov 25, 2023, a= t 8:34=E2=80=AFAM, Benoit Chesneau <benoitc@enki-multimedia.eu> wrote:=

=EF=BB= =BF
Is there a way to cross-connect 2 interfaces without u= sing a bridge . Something similar to the command =CB=8Bl2 xconnect` in vpp (= or cisco) :
Thi= s could be quite handy to create a patch between diffrent machines in the ne= twork.

Beno=C3=AEt=
= --Apple-Mail-D0395892-9828-44DD-BA14-9C8971FE75F3-- From nobody Sat Nov 25 23:05:57 2023 X-Original-To: net@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 4Sd6sL166Cz52VQw for ; Sat, 25 Nov 2023 23:05:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sd6sK5JtPz4RG6 for ; Sat, 25 Nov 2023 23:05:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700953557; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7z3TmCKxvzj25o+fIbG3ojfuEga8h9cQNK40f1IWAZY=; b=MmjvgaFirV101E5OA8Z8RWYVRkUP470STMfLNox+7lwHrMgrLAxJ/y3PsuvGUIyi1RvhOu EELMQDiC/YHmVUyLxWb6Hf/fH2VyE/SUjiwO1J3PGznEpeeGfs4YoCR4H0zXvk1hsVz3Oq 3vIv/DZp1/zDnO/eyCTcj4gkU/In1PIeAD/B9KbgJIDVr1OVBDytqDjHX/mDLAc2S/JyF6 sXrT2GGGNjt8vXBvJdJfW+FFhL4irzBnVtq/KRoOxc7DU+9wxwZbTK0dMHgHMzx/zlD95a ZDr3Cm9y7BQNaj2CITrT7G19OwvKuJc8ITYq/6nmgitITAh24nODginQisPu1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700953557; a=rsa-sha256; cv=none; b=y3xLoFkGRl4IG4EwvhLAlKam4WIF7Iw3vy9Xjl8pL+KRG8+wr/eKlxfISWoSwcpLjm2A7h G+1zWiUm8bPBF+K55corTEu5RrA1VcY+BfzaRBSMeSa00Pru8XxFSehH8B1MgMOBoFRf7o U637cpZgWLFKRHmcrRhTxQ6xYYOBG1VlVkOPXKm0Pr60OZxr+lrZvQ5EyZ95arNIvPL59U DsaqN6tdrhrFzogIfyaUAhRibid3ARXiIYHnk1Ix+ocWIAYb4UWGVGiFXsvbDOwpzcIDVR gRqRNmHgzLBkKax7msc5m6hA/m4LpNy9t+FnsQHcDcuwG8aotgTtrRJpCNWgnw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sd6sK4NVMzXbT for ; Sat, 25 Nov 2023 23:05:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3APN5vsN091849 for ; Sat, 25 Nov 2023 23:05:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3APN5vHv091848 for net@FreeBSD.org; Sat, 25 Nov 2023 23:05:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275323] OpenVPN topology subnet crash on initiate FreeBSD 14.0 Date: Sat, 25 Nov 2023 23:05:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mike@sentex.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275323 --- Comment #4 from mike@sentex.net --- (In reply to Mathieu from comment #3) what does the config look like ? --=20 You are receiving this mail because: You are the assignee for the bug.=