From nobody Sun Mar 19 13:12:19 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 4PfdZV4yt3z40D2x for ; Sun, 19 Mar 2023 13:12:34 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from plan-b.pwste.edu.pl (plan-b.pwste.edu.pl [IPv6:2001:678:618::40]) (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 "plan-b.pwste.edu.pl", Issuer "GEANT OV RSA CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PfdZT2wnhz4BK2 for ; Sun, 19 Mar 2023 13:12:32 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=plan-b.pwste.edu.pl header.s=plan-b-mailer header.b="LySB4/8d"; spf=none (mx1.freebsd.org: domain of zarychtam@plan-b.pwste.edu.pl has no SPF policy when checking 2001:678:618::40) smtp.mailfrom=zarychtam@plan-b.pwste.edu.pl; dmarc=pass (policy=none) header.from=plan-b.pwste.edu.pl Received: from [IPV6:2a02:22e0:cf00:1ff:cca9:765d:168f:c8f4] (mzar@[IPv6:2a02:22e0:cf00:1ff:cca9:765d:168f:c8f4]) (authenticated bits=0) by plan-b.pwste.edu.pl (8.17.1/8.17.1) with ESMTPSA id 32JDCMes063766 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Sun, 19 Mar 2023 14:12:22 +0100 (CET) (envelope-from zarychtam@plan-b.pwste.edu.pl) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=plan-b.pwste.edu.pl; s=plan-b-mailer; t=1679231542; bh=mXGrezf3M7+uY04kIyLCrFU30blVlmtvACFGj8brSPU=; h=Date:To:From:Subject; b=LySB4/8dibRmsMKTCs5lMUdcjluQS7YXe3zgDwLvU+XWOVjr/9Bjir4dmqQM1VsuP 23j/woz5C8Nd6GL4xmV/uXTEFCx0UfZeF9+8HYH9DuP5vRZROmpsrRvJkKOTICKhKF FsJ2A0gmP1Hg+vOvWnclGVhsSRE6qXy9OhEybFGRYSVceGR7sute9xwFkWsWnnvPKr Pq+3/r9kdimeAppNhFTYo2o4ZsNkifkWmckD+mQN+qPX80lWuSezzsBLGI6cI962QC cJu4iV0V0vfzQzrGgBS0uHAmdjnyyxno8q1mCs5noJJLmGyEpi3NnPnfArsEhedLdg MFOJtMlXZjpag== Message-ID: <18985515-e3bf-1575-4abb-30e511a45ae7@plan-b.pwste.edu.pl> Date: Sun, 19 Mar 2023 14:12:19 +0100 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/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Content-Language: pl, en-US To: "freebsd-net@freebsd.org" From: Marek Zarychta Subject: assigning different TCP stacks to the jails Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------i0cn1f5sq5tOm8wGvL8C2g0T" X-Spamd-Result: default: False [-4.80 / 15.00]; SIGNED_PGP(-2.00)[]; MIME_BASE64_TEXT_BOGUS(1.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)[plan-b.pwste.edu.pl,none]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; R_DKIM_ALLOW(-0.20)[plan-b.pwste.edu.pl:s=plan-b-mailer]; MIME_BASE64_TEXT(0.10)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; R_SPF_NA(0.00)[no SPF record]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[plan-b.pwste.edu.pl:+]; HAS_ATTACHMENT(0.00)[]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:206006, ipnet:2001:678:618::/48, country:PL]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4PfdZT2wnhz4BK2 X-Spamd-Bar: ---- X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------i0cn1f5sq5tOm8wGvL8C2g0T Content-Type: multipart/mixed; boundary="------------aM0xVgUBePm00R3HSpZMzc39"; protected-headers="v1" From: Marek Zarychta To: "freebsd-net@freebsd.org" Message-ID: <18985515-e3bf-1575-4abb-30e511a45ae7@plan-b.pwste.edu.pl> Subject: assigning different TCP stacks to the jails --------------aM0xVgUBePm00R3HSpZMzc39 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 RGVhciBzdWJzY3JpYmVycyBvZiB0aGUgbGlzdCwNCg0KVENQIGFsZ28gbW9kdWxlcyBjYW4g YmUgbG9hZGVkL3VubG9hZGVkL2NoYW5nZWQgb24gdGhlIGZseS4gSW4gRnJlZUJTRCANCjE0 LUNVUlJFTlQgb25lIGNhbiBldmVuIGNoYW5nZSBpdCBvbiBhbiBhY3RpdmUgc29ja2V0IHdp dGggdGNwc3NvKDgpIA0KdXRpbGl0eSwgYnV0IHRoZXJlIGlzIG5vIHdheSB0byBydW4gamFp bCB3aXRoIGRpZmZlcmVudCBUQ1Agc3RhY2suIA0KTmVpdGhlciBub3JtYWwgbm9yIFZORVQg amFpbCBzdXBwb3J0IHN3aXRjaGluZyBzeXNjdGwgDQpuZXQuaW5ldC50Y3AuZnVuY3Rpb25z X2RlZmF1bHQuDQoNCklzIHRoZXJlIGFueSB3YXkgdG8gc2V0IFRDUCBhbGdvIGluaGVyaXRl ZCB0aHJvdWdoIGZvcmsrZXhlYyBpbiBhIA0Kc2ltaWxhciB3YXkgc2V0ZmliKDEpIGFzc2ln bnMgZmliIG9yIHBlcmhhcHMgYXNzaWduIFRDUCBhbGdvIHBlciBWTkVUIA0KaW5zdGFuY2U/ DQoNCkkgYW0gYXNraW5nLCBzaW5jZSB0aGUgYWxtb3N0IHBlcmZlY3QgdGNwX3JhY2soNCkg YXBwbGllZCBvbiB0aGUgaG9zdCBpcyANCm1pc3NpbmcgVENQLU1ENSBzaW5naW5nIGZlYXR1 cmUgd2hpY2ggaXMgcmVxdWlyZWQgaW4gb25lIG9mIHRoZSBqYWlscy4NCg0KQ2hlZXJzDQot LSANCk1hcmVrIFphcnljaHRhDQo= --------------aM0xVgUBePm00R3HSpZMzc39-- --------------i0cn1f5sq5tOm8wGvL8C2g0T Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEnjwyTmqn2oNX6C8qHZW8vIFppoIFAmQXCjMFAwAAAAAACgkQHZW8vIFppoIl qgf+IO6JnUy1LN/MUA7vZ5iZ9ZK4dygoQ1TGWKC1PHn3BAz0+8RYxjV8tjX8Y9Pnvdt1oYuI9qx0 oY5Fk5zNScow4GVX3nXycyKa1YS7gdPKRW0nL5fIVUkIn/aZ040m+6kvUsJgLKZdg5yZ+8wx9ONR By/wBrjTxVv+dQwnU4pKaUMqscY3YGtkK6tLiIwVEkAzRdIPldO7YhRwRVm36o8Fhm1WNL66XVQD ejtglpruZPOxe3Zmvc+gC1a5HMbO/iaNUpIMalE7mxd8EQq/N9yvQPJGqbINfltj11mXjrulZmW2 EnNBj06LECg0GaQ06WUJ+ZCPw8J2ZMvOFEm9KMIp1Q== =wMr5 -----END PGP SIGNATURE----- --------------i0cn1f5sq5tOm8wGvL8C2g0T-- From nobody Sun Mar 19 13:42:52 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 4PffFc3692z40FPs for ; Sun, 19 Mar 2023 13:43:00 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PffFc10w4z4FQT for ; Sun, 19 Mar 2023 13:43:00 +0000 (UTC) (envelope-from tuexen@freebsd.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [IPv6:2a02:8109:1140:c3d:f82b:3d0e:59d9:3576]) (Authenticated sender: micmac) by mail-n.franken.de (Postfix) with ESMTPSA id F280372826400; Sun, 19 Mar 2023 14:42:53 +0100 (CET) Content-Type: text/plain; charset=us-ascii 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.400.51.1.1\)) Subject: Re: assigning different TCP stacks to the jails From: tuexen@freebsd.org In-Reply-To: <18985515-e3bf-1575-4abb-30e511a45ae7@plan-b.pwste.edu.pl> Date: Sun, 19 Mar 2023 14:42:52 +0100 Cc: "freebsd-net@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <7BBAF016-3D98-40F2-9215-30E572B5857E@freebsd.org> References: <18985515-e3bf-1575-4abb-30e511a45ae7@plan-b.pwste.edu.pl> To: Marek Zarychta X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Queue-Id: 4PffFc10w4z4FQT X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:680, ipnet:2001:638::/32, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N > On 19. Mar 2023, at 14:12, Marek Zarychta = wrote: >=20 > Dear subscribers of the list, >=20 > TCP algo modules can be loaded/unloaded/changed on the fly. In FreeBSD = 14-CURRENT one can even change it on an active socket with tcpsso(8) = utility, but there is no way to run jail with different TCP stack. = Neither normal nor VNET jail support switching sysctl = net.inet.tcp.functions_default. >=20 > Is there any way to set TCP algo inherited through fork+exec in a = similar way setfib(1) assigns fib or perhaps assign TCP algo per VNET = instance? Hi Marek, so you are asking for the sysctl variable net.inet.tcp.functions_default = to be vnet specific? Best regards Michael >=20 > I am asking, since the almost perfect tcp_rack(4) applied on the host = is missing TCP-MD5 singing feature which is required in one of the = jails. >=20 > Cheers > --=20 > Marek Zarychta From nobody Sun Mar 19 15:59:19 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 4PfjH351jsz40MBn for ; Sun, 19 Mar 2023 15:59:27 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from plan-b.pwste.edu.pl (plan-b.pwste.edu.pl [IPv6:2001:678:618::40]) (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 "plan-b.pwste.edu.pl", Issuer "GEANT OV RSA CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PfjH26vh1z4Q50; Sun, 19 Mar 2023 15:59:26 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Authentication-Results: mx1.freebsd.org; none Received: from [IPV6:2a02:22e0:cf00:1ff:b02f:9aa1:78f6:940b] (mzar@[IPv6:2a02:22e0:cf00:1ff:b02f:9aa1:78f6:940b]) (authenticated bits=0) by plan-b.pwste.edu.pl (8.17.1/8.17.1) with ESMTPSA id 32JFxLe4083089 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Sun, 19 Mar 2023 16:59:21 +0100 (CET) (envelope-from zarychtam@plan-b.pwste.edu.pl) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=plan-b.pwste.edu.pl; s=plan-b-mailer; t=1679241562; bh=9Ix2fMiuPGXnHpzRSjNOzNAphhkT4nz1sM8k9RSfar4=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=qzieD6fuaHU0qgbtmSLtoD6VsSVENR34kVT5fDM65eO7dhFAmrIRzSako5WKmHgy7 zQLk6RZXgK4ECGhWkmmTEy6CTybWAX6ftv2jOGteR/ypQY9YE1FgHpceheR1XDtnfq AHpdS+F70rerwPtyKM+R02Iq/6PlwnZSnuBbpAzcZWP6lIUe2B2SoUVQtMH5C+vzRM xmsvkZY8uAwzDEtHF0YS5/OtfTfoDZNQhc3jQ9HrAUq/RR4LqnNkyrAjoZI6UPlwDd 15EnC0BLWO+VHAEwsIusZy06RZrnTE2KbGQeToLK+EmVKsMyJam4Yba/jW9pg20wUl UGFbC540P/3HA== Message-ID: Date: Sun, 19 Mar 2023 16:59:19 +0100 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/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: assigning different TCP stacks to the jails Content-Language: pl, en-US To: tuexen@freebsd.org Cc: "freebsd-net@freebsd.org" References: <18985515-e3bf-1575-4abb-30e511a45ae7@plan-b.pwste.edu.pl> <7BBAF016-3D98-40F2-9215-30E572B5857E@freebsd.org> From: Marek Zarychta In-Reply-To: <7BBAF016-3D98-40F2-9215-30E572B5857E@freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------RUWOerQ4lvnFYxm9ijUcjvOu" X-Rspamd-Queue-Id: 4PfjH26vh1z4Q50 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:206006, ipnet:2001:678:618::/48, country:PL] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------RUWOerQ4lvnFYxm9ijUcjvOu Content-Type: multipart/mixed; boundary="------------uLT9bVjB0GFkAfCvrHe9SmMf"; protected-headers="v1" From: Marek Zarychta To: tuexen@freebsd.org Cc: "freebsd-net@freebsd.org" Message-ID: Subject: Re: assigning different TCP stacks to the jails References: <18985515-e3bf-1575-4abb-30e511a45ae7@plan-b.pwste.edu.pl> <7BBAF016-3D98-40F2-9215-30E572B5857E@freebsd.org> In-Reply-To: <7BBAF016-3D98-40F2-9215-30E572B5857E@freebsd.org> --------------uLT9bVjB0GFkAfCvrHe9SmMf Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 VyBkbml1IDE5LjAzLjIwMjMgb8KgMTQ6NDIsIHR1ZXhlbkBmcmVlYnNkLm9yZyBwaXN6ZToN Cj4+IE9uIDE5LiBNYXIgMjAyMywgYXQgMTQ6MTIsIE1hcmVrIFphcnljaHRhIDx6YXJ5Y2h0 YW1AcGxhbi1iLnB3c3RlLmVkdS5wbD4gd3JvdGU6DQo+Pg0KPj4gRGVhciBzdWJzY3JpYmVy cyBvZiB0aGUgbGlzdCwNCj4+DQo+PiBUQ1AgYWxnbyBtb2R1bGVzIGNhbiBiZSBsb2FkZWQv dW5sb2FkZWQvY2hhbmdlZCBvbiB0aGUgZmx5LiBJbiBGcmVlQlNEIDE0LUNVUlJFTlQgb25l IGNhbiBldmVuIGNoYW5nZSBpdCBvbiBhbiBhY3RpdmUgc29ja2V0IHdpdGggdGNwc3NvKDgp IHV0aWxpdHksIGJ1dCB0aGVyZSBpcyBubyB3YXkgdG8gcnVuIGphaWwgd2l0aCBkaWZmZXJl bnQgVENQIHN0YWNrLiBOZWl0aGVyIG5vcm1hbCBub3IgVk5FVCBqYWlsIHN1cHBvcnQgc3dp dGNoaW5nIHN5c2N0bCBuZXQuaW5ldC50Y3AuZnVuY3Rpb25zX2RlZmF1bHQuDQo+Pg0KPj4g SXMgdGhlcmUgYW55IHdheSB0byBzZXQgVENQIGFsZ28gaW5oZXJpdGVkIHRocm91Z2ggZm9y aytleGVjIGluIGEgc2ltaWxhciB3YXkgc2V0ZmliKDEpIGFzc2lnbnMgZmliIG9yIHBlcmhh cHMgYXNzaWduIFRDUCBhbGdvIHBlciBWTkVUIGluc3RhbmNlPw0KPiBIaSBNYXJlaywNCj4N Cj4gc28geW91IGFyZSBhc2tpbmcgZm9yIHRoZSBzeXNjdGwgdmFyaWFibGUgbmV0LmluZXQu dGNwLmZ1bmN0aW9uc19kZWZhdWx0IHRvIGJlIHZuZXQgc3BlY2lmaWM/DQoNClRoYW5rcyBm b3IgdGhlIHJlcGx5IE1pY2hhZWwsDQoNCnllcywgYW5kLi4uIG5vdC4gSSB0ZW5kIHRvIHJ1 biBub24tdm5ldCBqYWlscyB3aGVuIGl0J3MgcG9zc2libGUsIHNvIGluIA0KbXkgY2FzZSwg YSBqYWlsKDgpIHBhcmFtZXRlciBsaWtlIGV4ZWMuZmliIHdvdWxkIGZpdCBiZXR0ZXIsIGFu ZCBldmVuIGFuIA0KZXhlY3V0ZSBoZWxwZXIgdXRpbGl0eSwgYSBjb3VudGVycGFydCBvZiBz ZXRmaWIoMSkgd291bGQgc3VmZmljZS4NCg0KV2l0aCBraW5kIHJlZ2FyZHMNCg0KTWFyZWsN Cg0KPg0KPiBCZXN0IHJlZ2FyZHMNCj4gTWljaGFlbA0KPj4gSSBhbSBhc2tpbmcsIHNpbmNl IHRoZSBhbG1vc3QgcGVyZmVjdCB0Y3BfcmFjayg0KSBhcHBsaWVkIG9uIHRoZSBob3N0IGlz IG1pc3NpbmcgVENQLU1ENSBzaW5naW5nIGZlYXR1cmUgd2hpY2ggaXMgcmVxdWlyZWQgaW4g b25lIG9mIHRoZSBqYWlscy4NCj4+DQo+PiBDaGVlcnMNCj4+IC0tIA0KPj4gTWFyZWsgWmFy eWNodGENCg== --------------uLT9bVjB0GFkAfCvrHe9SmMf-- --------------RUWOerQ4lvnFYxm9ijUcjvOu Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEnjwyTmqn2oNX6C8qHZW8vIFppoIFAmQXMVcFAwAAAAAACgkQHZW8vIFppoIh DAf+OHBCQE0SQ9wmszSwOg/01bgq7cSHUgzWL4ZlzZkljIM5NkHja1ENcZ80ima6kBBpreGfmqn1 KWA0QW8cpcraFkLmcDLDlpWR4td6HlKKkLed3Z3+sksKegO3HDHXoIrnIX2iyyzdpbntxAmw3Oi3 I7Aah0wf7de1et55uRuk6Oimzqm4SrGM0Oh0dVpRI/uTDm2KQQqBrGP2A+N0w69I2p/AxDVF+5RE 4J3bgIgRxgUwZqlXGbMBg+RrAK3uUs17osuZV2Ue0NfZZ3ljCNDWnmxSJ+dgjb2Nrud1GITbM02f D7ICGgj5W1AruX+P030gdjf2JmXHADtaImm35Hl8kg== =eT0x -----END PGP SIGNATURE----- --------------RUWOerQ4lvnFYxm9ijUcjvOu-- From nobody Sun Mar 19 17:35: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 4PflPz0gkLz40S3r for ; Sun, 19 Mar 2023 17:35:35 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PflPy4hf0z4c9J for ; Sun, 19 Mar 2023 17:35:34 +0000 (UTC) (envelope-from tuexen@freebsd.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [IPv6:2a02:8109:1140:c3d:f82b:3d0e:59d9:3576]) (Authenticated sender: micmac) by mail-n.franken.de (Postfix) with ESMTPSA id A184272B48807; Sun, 19 Mar 2023 18:35:30 +0100 (CET) Content-Type: text/plain; charset=us-ascii 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.400.51.1.1\)) Subject: Re: assigning different TCP stacks to the jails From: tuexen@freebsd.org In-Reply-To: Date: Sun, 19 Mar 2023 18:35:29 +0100 Cc: "freebsd-net@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <9EF3E6E6-E372-413E-A214-690F003AF524@freebsd.org> References: <18985515-e3bf-1575-4abb-30e511a45ae7@plan-b.pwste.edu.pl> <7BBAF016-3D98-40F2-9215-30E572B5857E@freebsd.org> To: Marek Zarychta X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Queue-Id: 4PflPy4hf0z4c9J X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:680, ipnet:193.174.0.0/15, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N > On 19. Mar 2023, at 16:59, Marek Zarychta = wrote: >=20 > W dniu 19.03.2023 o 14:42, tuexen@freebsd.org pisze: >>> On 19. Mar 2023, at 14:12, Marek Zarychta = wrote: >>>=20 >>> Dear subscribers of the list, >>>=20 >>> TCP algo modules can be loaded/unloaded/changed on the fly. In = FreeBSD 14-CURRENT one can even change it on an active socket with = tcpsso(8) utility, but there is no way to run jail with different TCP = stack. Neither normal nor VNET jail support switching sysctl = net.inet.tcp.functions_default. >>>=20 >>> Is there any way to set TCP algo inherited through fork+exec in a = similar way setfib(1) assigns fib or perhaps assign TCP algo per VNET = instance? >> Hi Marek, >>=20 >> so you are asking for the sysctl variable = net.inet.tcp.functions_default to be vnet specific? >=20 > Thanks for the reply Michael, >=20 > yes, and... not. I tend to run non-vnet jails when it's possible, so = in my case, a jail(8) parameter like exec.fib would fit better, and even = an execute helper utility, a counterpart of setfib(1) would suffice. Im not familiar with fibs, but the TCP stack knows about the vnet, so = the handling of the stack can be made vnet specific in the same way the handling of the CC module is. = But I'm not sure about fibs. I can bring this up on the next FreeBSD transport VC and see what others = think. Best regards Michael >=20 > With kind regards >=20 > Marek >=20 >>=20 >> Best regards >> Michael >>> I am asking, since the almost perfect tcp_rack(4) applied on the = host is missing TCP-MD5 singing feature which is required in one of the = jails. >>>=20 >>> Cheers >>> --=20 >>> Marek Zarychta From nobody Sun Mar 19 18:09:37 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 4PfmK36qwvz40VM7 for ; Sun, 19 Mar 2023 18:16:23 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from plan-b.pwste.edu.pl (plan-b.pwste.edu.pl [IPv6:2001:678:618::40]) (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 "plan-b.pwste.edu.pl", Issuer "GEANT OV RSA CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PfmK33L13z3FxW; Sun, 19 Mar 2023 18:16:23 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Authentication-Results: mx1.freebsd.org; none Received: from plan-b.pwste.edu.pl (zarychtam@localhost [127.0.0.1]) by plan-b.pwste.edu.pl (8.17.1/8.17.1) with ESMTPS id 32JI9bak098155 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 19 Mar 2023 19:09:37 +0100 (CET) (envelope-from zarychtam@plan-b.pwste.edu.pl) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=plan-b.pwste.edu.pl; s=plan-b-mailer; t=1679249378; bh=W5Au/c9K2iM4hdtsbT/18+35Ta4sxuolSuh92SSJr58=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=I4kdcZ8U4ZTAxyVaodVqU71ng3+RL80grIW6gdw12k3GbMDKTGN9rYXy3upjR0EJK gxAllzRgeaJDC9DoilaRSPY2FWIW7wvHea0MdyIqBezO4cT01fz5AWkQtXz02d27y9 3IJd0pFrJ4EpjmIgPLVdC1K5UY90VD9RXFp1KT93+oqz03lXeAC27I9+WzjWMhZ4ua 3eG3zFQDEkzPv0eZUz7jqnCsoO2XUG+EWClkQS7yHeiQqgS601BUbT0hKsatNTO3k4 vWkG3LGlWvst+4PXvPne0Gl+/fUD42danXoDFmOZhzCmMVulvhBZTy3aJnV5318y3N +xnv6CjY/YSTQ== Received: (from zarychtam@localhost) by plan-b.pwste.edu.pl (8.17.1/8.17.1/Submit) id 32JI9bLS098154; Sun, 19 Mar 2023 19:09:37 +0100 (CET) (envelope-from zarychtam) Date: Sun, 19 Mar 2023 19:09:37 +0100 From: Marek Zarychta To: tuexen@freebsd.org Cc: "freebsd-net@freebsd.org" Subject: Re: assigning different TCP stacks to the jails Message-ID: References: <18985515-e3bf-1575-4abb-30e511a45ae7@plan-b.pwste.edu.pl> <7BBAF016-3D98-40F2-9215-30E572B5857E@freebsd.org> <9EF3E6E6-E372-413E-A214-690F003AF524@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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9EF3E6E6-E372-413E-A214-690F003AF524@freebsd.org> X-Rspamd-Queue-Id: 4PfmK33L13z3FxW X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:206006, ipnet:2001:678:618::/48, country:PL] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Dnia Sun, Mar 19, 2023 at 06:35:29PM +0100, tuexen@freebsd.org napisaƂ(a): > > On 19. Mar 2023, at 16:59, Marek Zarychta wrote: > > > > W dniu 19.03.2023 o 14:42, tuexen@freebsd.org pisze: > >>> On 19. Mar 2023, at 14:12, Marek Zarychta wrote: > >>> > >>> Dear subscribers of the list, > >>> > >>> TCP algo modules can be loaded/unloaded/changed on the fly. In FreeBSD 14-CURRENT one can even change it on an active socket with tcpsso(8) utility, but there is no way to run jail with different TCP stack. Neither normal nor VNET jail support switching sysctl net.inet.tcp.functions_default. > >>> > >>> Is there any way to set TCP algo inherited through fork+exec in a similar way setfib(1) assigns fib or perhaps assign TCP algo per VNET instance? > >> Hi Marek, > >> > >> so you are asking for the sysctl variable net.inet.tcp.functions_default to be vnet specific? > > > > Thanks for the reply Michael, > > > > yes, and... not. I tend to run non-vnet jails when it's possible, so in my case, a jail(8) parameter like exec.fib would fit better, and even an execute helper utility, a counterpart of setfib(1) would suffice. > Im not familiar with fibs, but the TCP stack knows about the vnet, so the handling of the stack can > be made vnet specific in the same way the handling of the CC module is. But I'm not sure about fibs. > I can bring this up on the next FreeBSD transport VC and see what others think. Thank you in advance for bringing this topic there. Making the stack switchable in either way would be profitable. With kind regards Marek > > Best regards > Michael > > > > With kind regards > > > > Marek > > > >> > >> Best regards > >> Michael > >>> I am asking, since the almost perfect tcp_rack(4) applied on the host is missing TCP-MD5 singing feature which is required in one of the jails. > >>> > >>> Cheers > >>> -- > >>> Marek Zarychta > > -- Marek Zarychta From nobody Sun Mar 19 20:56:51 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 4PfqtC676Rz3ygT1 for ; Sun, 19 Mar 2023 20:56: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 4PfqtC46tQz3nDm for ; Sun, 19 Mar 2023 20:56: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=1679259411; 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=LjJcxnDZiUslRAqiYFYtEVa8KXTo25Nos/vbM9S2plY=; b=kdP54fiQSYLoARmPkqSFXi3nk+DzvfeYbrTLnhzhxuHG5aJ78EuSTxi6BWP2FdKWpFoE5c P3lRnhzS3jA1pTE/zNeSWlPA/uKeRzTQUj0cgh86wlCBRPvoQk4wL0OqFX6aVo3vauJ2kA QfgQIe8RELm2hFChMpAAQZArYyW/xAA/SFdBWTH2jZBIRYSwzB6ZLgd82rDa/GbBdfpz08 70YrAjiOrw6VFLUgC2RoY8PQmTPrCuYQVYOFA9+999MiFA0h+O3Nu5qiADOktz28SqumS2 t3+NDcljb2X63b11gVsa18GpMhcdwVYXfMrvrE5tLsOrqV8K+xN6/iwkdOGYnw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679259411; a=rsa-sha256; cv=none; b=qZa63Gd2piVQ4ovo22H8X6S4i8tpLMuuLWjFeGNKs3UtL6UTAbit/tXpD28YMYKNq9WuWo KIl18ahfp0s+3aqkV+vCDODKeiYzgp0x3oOqi5Hvuel854ajXNs/B/oe5g2ZYfQSRKF0tG 7frC6Mxql4IzrNdkXdzBnFKU0jIm1Ndo/NG5XPNux/EPiwjbgEy4rD6aCSvsjdEypkWFJO ZLH16KNmqHuk2NVH2RJM2x5wQvL9HJrWuAF/gQh0wpmWuPs39+r/TRsRAAuAZBGC1kJimg vS9WHSQn4OIiE1+OorUh5Hp5VRojc1thsDxCVgYZtEp4afR0K3kMT28cpA4JmA== 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 4PfqtC3B32z12m0 for ; Sun, 19 Mar 2023 20:56: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 32JKupWm040290 for ; Sun, 19 Mar 2023 20:56:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32JKupur040289 for net@FreeBSD.org; Sun, 19 Mar 2023 20:56: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 270351] Incompatible change in route(8) utility since 13.x Date: Sun, 19 Mar 2023 20:56:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270351 Bug ID: 270351 Summary: Incompatible change in route(8) utility since 13.x Product: Base System Version: 13.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: net@FreeBSD.org Reporter: eugen@freebsd.org Let's show small example. # route add 192.168.0.0/16 -iface lo0 -reject add net 192.168.0.0: gateway lo0 # route add 192.168.0.0/24 1.1.1.1 # over bge1 add net 192.168.0.0: gateway 1.1.1.1 # route add -host 192.168.0.0 -iface tun0 # or ng0 add host 192.168.0.0: gateway tun0 # route -n get -host 192.168.0.0 route to: 192.168.0.0 destination: 192.168.0.0 fib: 0 interface: tun0 flags: recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1500 1 0 So far, so good. And now: # route -n get -net 192.168.0.0 route to: 192.168.0.0 destination: 192.168.0.0 fib: 0 interface: tun0 flags: recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1500 1 0 Wrong. This is HOST route, it should skip it while looking up. This works just fine in 12.x and earlier showing another (non-host) route: # route -n get -net 192.168.0.0 route to: 192.168.0.0 destination: 192.168.0.0 mask: 255.255.0.0 fib: 0 interface: lo0 flags: recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 16384 1 0 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Mar 19 21:00:59 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 4Pfqz02J9wz3ygxF for ; Sun, 19 Mar 2023 21:01:00 +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 4Pfqz00PHJz3s4T for ; Sun, 19 Mar 2023 21:01:00 +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=1679259660; 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=bsEkqBxgUtNlPiYu3L1c5aC9lU6li9kyswaFhKH+ryY=; b=DzmA6BnCeaKraNBSmUp6HOcHO3mIOCqOhsr3XQEqZfZylnGmhFbdfbjeNHxDyy4sacHWio whNYsOARRqp+ZeacZ8zekWr+cbo4OrH1krUjWzjlGxcPTvRIA/DUh/s89Zm2w8Ndr9pNz+ GvFfhPbKaRKbg832dTxoVx0YKz3Nq0rGrQwrfwSikgMvgc+rNiRUaFffRPHQNgflTda3RO HVUQETRZDqIzoiaBFkbx7rfy97rLG6yL6au6351RNlYShayMf95BhPiM8ZjtigymwbBvVc 8NgF1wKf2ewMgo/Lvod6t7FwNdNZeOQnSNpF8TorSlEHAZl5/KIqBpuLxRQBiw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679259660; a=rsa-sha256; cv=none; b=mlY8xJ0QlBf5RUkcyh6hV5QY26ZdoqEiYYyzZ4proiJZHrqynpVsMigSPXlB8VgdCjq12X rw6ahBJ2df7+t8DCnnx6OBQNvuvGj07+s9R2A4G/aQ7gCs76LipbtulSTWn687kvhJDaoR rwyOVlG2+LIaz6x75zhTN/zoT65z1ig34isvMgMUj2A1NNGWPM7VbMPfTGQkNDS7BO+tF4 WLU3r/WnmnHZ+50Ei/4KoSOqWomffovJ5qxBuDXEEnjFgErKveHhTlwzCR/iTG/4/kbvw0 KQ83om2DnmhIgF7FL+X4X89fw7YL9Gsqdgq/NHYGu2hXAmyrVoDc+p57QyPyKA== 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 4Pfqyz6WvFz13rm for ; Sun, 19 Mar 2023 21:00: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 32JL0xVd046240 for ; Sun, 19 Mar 2023 21:00:59 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32JL0xRp046239 for net@FreeBSD.org; Sun, 19 Mar 2023 21:00:59 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202303192100.32JL0xRp046239@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 Mar 2023 21:00:59 +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="16792596595.debc87Ccd.41353" Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: N --16792596595.debc87Ccd.41353 Date: Sun, 19 Mar 2023 21:00:59 +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 ------------+-----------+--------------------------------------------------- In Progress | 221146 | [ixgbe] Problem with second laggport 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 | 227720 | Kernel panic in ppp server 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 | 238707 | Lock order reversal: rtentry vs "nd6 list" Open | 240944 | em(4): Crash with Intel 82571EB NIC with AMD Pile Open | 241106 | tun/ppp: panic: vm_fault: fault on nofault entry Open | 243463 | ix0: Watchdog timeout Open | 247111 | pxeboot very slow with i219LM Open | 257709 | netinet6: Set net.inet6.icmp6.nodeinfo default to In Progress | 118111 | rc: network.subr Add MAC address based interface 20 problems total for which you should take action. --16792596595.debc87Ccd.41353 Date: Sun, 19 Mar 2023 21:00:59 +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
------------+-----------+---------------------------------------------------
In Progress |    221146 | [ixgbe] Problem with second laggport
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        |    227720 | Kernel panic in ppp server
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        |    238707 | Lock order reversal: rtentry vs "nd6 list"
Open        |    240944 | em(4): Crash with Intel 82571EB NIC with AMD Pile
Open        |    241106 | tun/ppp: panic: vm_fault: fault on nofault entry 
Open        |    243463 | ix0: Watchdog timeout
Open        |    247111 | pxeboot very slow with i219LM
Open        |    257709 | netinet6: Set net.inet6.icmp6.nodeinfo default to
In Progress |    118111 | rc: network.subr Add MAC address based interface 

20 problems total for which you should take action.
--16792596595.debc87Ccd.41353-- From nobody Sun Mar 19 21:27: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 4PfrYH4rYpz3yjBX for ; Sun, 19 Mar 2023 21:27: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 4PfrYH1QScz3wHD for ; Sun, 19 Mar 2023 21:27: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=1679261235; 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=tzTOvHhhQOeSIC+SCE+JIu2+49HKGNTeqBA0NyBxqNY=; b=XZn927aLYBXd1eZLTGWG7H/blDflzS4wX1xlonZRFi5KiBoh1tFVVbR5vrVBBFkPeOpWJI puu5jzji0Jiu0YBrcdcjyZFaXjzftO17NUh9lfaMdj6YXVowDFvmz+CaRiXYhJ3pGLEydE 8LK1Yq5XCxp354Qoz6reUcNFt51ItM3yj408n1MmWtpPt5efNR0iRIF5hk8hXmpcTa7I8c 1CoHXSSGu0plehf3ZaF5s2xqXiLNXh/zsWjytAEh+twOXOapW6cGVdLhQQAYsUu8i/6K1f nUagahTldLuaoQYKZJgIKAHZ4ahx04mh7sodnCNC2+I/i4blMmxYA1Q8U3Avqw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679261235; a=rsa-sha256; cv=none; b=gvnnzAfvYhfPH6cPwEU+CU2XAE34yHdsQ3yC8xy8oRRJ0IoPMwf/YT3RVFHs1CEJLG+EX/ 0GSJkJuUxk72KnNquIIoxsKGlyjsX0cLsLL2tu9MIymv3tIfLlFp+zXiMP7W2TjssyruHj 5JnToryfwbWTbR+0c3yAkI+fyyrH69S+q0OxBC+oAsS2ng/FjmQbC8Pp4YKc74IbWA8Gjh mluQU+qjKTs43fHRBGpAfVGGkF6q40TqhH3ZrFoFYXSh+1npmBmr5U4zREOPImi4nT3XZ+ GKzyJ4VBr7H8SGp1SHz7Pj4JHW7hfw/Jh2oRjBRsyCV7nEcSs9slx92iaHM+jw== 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 4PfrYH0Mv8z14DJ for ; Sun, 19 Mar 2023 21:27: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 32JLREaE085801 for ; Sun, 19 Mar 2023 21:27:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32JLREqJ085800 for net@FreeBSD.org; Sun, 19 Mar 2023 21:27:14 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 268246] crash and panic using pfsync on 13.1-RELEASE Date: Sun, 19 Mar 2023 21:27: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: 13.1-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mikael.le-bohec@univ-ubs.fr 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: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268246 mikael.le-bohec@univ-ubs.fr changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikael.le-bohec@univ-ubs.fr --- Comment #92 from mikael.le-bohec@univ-ubs.fr --- Hello, I have the same symptoms (crash of the kernel when having IPv6 packets over= a pfsync interface with defer on). I managed to reproduce the problem/crash with only four lines from a fresh install : kldload pfsync echo "pass all" | pfctl -ef - ifconfig pfsync0 defer up ping ::1 >From my tests the problem is present only starting from the 13.1 kernel. I tried with the latest stable/13 (containing your patches) and it still cr= ash. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Mar 19 23:10:08 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 4Pftr12jwfz3yqBR for ; Sun, 19 Mar 2023 23:10:09 +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 4Pftr10m2Cz4CYp for ; Sun, 19 Mar 2023 23:10: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=1679267409; 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=U6juvMWXFcsX+amI4qyMK1wQawyl7gTA5Elo9ZYDLEo=; b=WOAmjtWNLHJqiVcrNyGqoBLl6k06vCF40tpBuu6kQl0mRVlvjb/oayd7amjR+f9li+9GOp 5BQpCBItPhkhrwc2298sN1d0B3Vcp2w0cHdbjsUsfMrhUZ2FCxKLouJH3yYz9PUl4zqI0R iAPCoi/79w7NzDws6MlDXDNOWl8T4MpefzqbY8+5C9NUNfV+l7OSQakg3HUpF2rNCHxTxI 4lC417QipeNpyE7Rx/hiRUhpt9IGl5QA4wSG3COuDA5ql7NCC7tIC+AnIVm2YP7J1SoOof DVpjWVVGdnrAXkVbhci6WDbv/kAETEefzZoViYynSEMn2Le73EnBM5U1CNx7sw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679267409; a=rsa-sha256; cv=none; b=t91SvqF9yKPPGSShfUxFvLKfaJ8mAjRW5wLuxmfppNEX7hLK+jZPTPEHYicSOD9cI3fDOH 1U3QBqnxTN395gN11h23/7M7/q9igJkuaJ1WM150lw+hazvAn2hUhodMEftd/0Dbixfrt9 JI6tSUCgmatjA6T6MW4zxo5l3oNJmFMEQV7z+795boaLsqoLo1ooGquUNGCbjFCKIpzMJY E/cgTFwysD15tdmo/+uDKihhzQWFr+s+xPgcwA/RqjfRUGWiLgzkU2tgzludwbI1Kz2Dfy K9dyHRQF7Lo4luUEl0Ox6LKRPPoRuKmZ/wXnjnpHLQtzwYMVbL+XGCz6c97SHw== 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 4Pftr06qcQz16pr for ; Sun, 19 Mar 2023 23:10:08 +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 32JNA8qc034614 for ; Sun, 19 Mar 2023 23:10:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32JNA8dK034613 for net@FreeBSD.org; Sun, 19 Mar 2023 23:10:08 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 270351] Incompatible change in route(8) utility since 13.x Date: Sun, 19 Mar 2023 23:10:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grahamperrin@freebsd.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: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270351 Graham Perrin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open CC| |grahamperrin@freebsd.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Mar 20 05:51: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 4Pg3lP0H3Cz40FmM for ; Mon, 20 Mar 2023 05:51: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 4Pg3lN51dGz3pTT for ; Mon, 20 Mar 2023 05:51: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=1679291504; 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=Jf6zk3Rttv1qUCjadklkyJhInUrKhDsRDp6LBe1gwCI=; b=PHHIErWOppaHaDfGGI/ohIq1CyhJrqO3DliHC7MD1oWW5ZVIF+nLT0TUCUVLLlT3arF8Y9 Mtbrt30VjP7MiLhV6NAv7SopwlspLDScZRVpYdbIMg3MCAPreDJq8vq0y1fAO7yF2D+JMr WlokWUTSUkD/8rULlqDYdARo+1D3rVlCvlunfBpB8eboOHa0/UhIQDY59JL0Z6qu0f/s// ClEseis1sY3j6V3THQIjdULxL2+JkLFvkzO2z6mx5KaGOHGvtX8cRyJIxANSgxY3QTCM18 KKdJvU5M0rBS3nf3jR9D85I9/RdB9rOKN91Vk/dOKSCNbKilvWnBVyteOXDDeg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679291504; a=rsa-sha256; cv=none; b=Tc7vQrmtNYU0nWwEhPdJS8t6YKbcMjVhccX9ObaD21wSfG5NVxJSW53jxJB9/BP9QW8fu1 r9lUPKrYk4tuz5yekSe1mTSXVem3s1rnxovo/ruM2EWZOO4EH2s2nT4J5mA5qSozWtrGz3 PKtVK8K1QrbeNexBMKPGTuP7rhHawXWwzxTARN2NtdkO6kjkwX3P4omadQiFiV17EuVD5+ rD6oUyR6MZhYny38xF/oWWsgOpdXIlT9Hui1PReXSX6yKoaR3MsNPzzu/jHW+0dXfKCRNA XzzcItV1FsU+WDdW2qJMLFqGzdVwsc6UoO+asPFemmUVX0aNUOZXgXGodpSMEQ== 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 4Pg3lN457qzJs5 for ; Mon, 20 Mar 2023 05:51: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 32K5pi8q021420 for ; Mon, 20 Mar 2023 05:51:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32K5piMI021419 for net@FreeBSD.org; Mon, 20 Mar 2023 05:51:44 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 270351] Incompatible change in route(8) utility since 13.x Date: Mon, 20 Mar 2023 05:51:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zarychtam@plan-b.pwste.edu.pl 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270351 Marek Zarychta changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zarychtam@plan-b.pwste.edu. | |pl --- Comment #1 from Marek Zarychta --- (In reply to Eugene Grosbein from comment #0) ># route -n get -net 192.168.0.0 That's probably failing due to the removal of classful bits[1], please comp= are the bug 258874.=20 route -n get -net 192.168.0.0/24=20 from your example works as intended on the recent stable/13. [1] https://cgit.freebsd.org/src/commit/sbin/route/route.c?id=3Dd28210b2c2aaf32= 00907ed30d296b0d4856dd03c --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Mar 20 06:24:56 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 4Pg4Ts31dvz40HvN for ; Mon, 20 Mar 2023 06:25:05 +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 4Pg4Ts0bg0z3wHT; Mon, 20 Mar 2023 06:25:05 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679293505; 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=N+/4l4QIoGZnXmRnw7/bZazcLS/3it0dbXjXLksrRsg=; b=KmLLLtl5T4GeRPFwUSaFqgXhFlTfseZzhMazxHA1nqEfjwOBr23QhAHeAPxxQW+8itMuoL Fd/B61h+VfboKvkqn4/5YDl8age4MRMeiFbqmREJLZkCuTt7ZH9KkVP41eMf7r/OY4QwDz mIV4r0nyKid3NB44/WiwPJ37bpMM5IoQR8NZOTqJjvFkAE9vvNwvNMI3D/xbzrtgtdUkDU CBYT/hJesItMItnSJSq/innUaeqgj51Co4qJDjBkQZjq7C0XU5IfFwtiZsKKLtXDXzJwvy RQ8GMhQ2jQvXSiiHPpwoQB0qWjp/4DPcAdSaIwvky4cTkRPk0NfI8f2JkGfGhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679293505; 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=N+/4l4QIoGZnXmRnw7/bZazcLS/3it0dbXjXLksrRsg=; b=pYyR0Q546+/y8uwHSwBSL8losDCMocYGbr2I6Wn/fdzD9R4PHUF1fR0Rexx4ya4FrFtkJ+ ODmkwcLuaTnZZJDH9eeM7KsoSg6B/0rTFiaibQB/c3uuWTZy6i+WkaRFSY9wtAHIDVkkbz yLNTwh0eJQEknWc6baYxJxJFuxBijnTWvSobUrQnDcqgHROsl6qTltUFkMgwliHRc27J3q iYgAx+mHHz1uJnnAiPhXE/ZpZZO5zj5oKmlYN5Jutil1MY/Q+5DFNfxydUGHq+EoidXuB6 hcV4mQ958yXFRYXTT2KDLDBsxCDcQHwKboq91GWeyMXFLX8AetV9M90icigLmA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679293505; a=rsa-sha256; cv=none; b=JmdYjghZvEIcv/DxSRs8mNSSDD6hwS6pjzczAx/10lZ5JjNwMy3S8AedsfJLFUSX8mboe2 lFhgAsm4tPuhSSMkDNXa00ZdtEX4LDojjdf9pQ7YaVHPP5+B/K+Crxao0Uy4HpsszWoM4m qCjVfg0x8+qZQbMYogc3HUNiGUdd37pMMNQCCeArSA/yEgaSHaFP/ueXdHiweSlIFOv8NV 2cedkNQ7UABfmW7bt2HdIpmmAbrJkBfZym9xfwCJrK67hkU7Ex026tXN/7IGZUqwlv5HO4 bTEY3jMBm/91Ar7B4XTeSs08A9n+U2M1YABY4INpAHmGFka4n9pqFWZ4G8gKmw== 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 4Pg4Tq6NhBz1H4C; Mon, 20 Mar 2023 06:25:03 +0000 (UTC) (envelope-from zlei@FreeBSD.org) From: Zhenlei Huang Message-Id: <41AF7F1A-CBE8-4197-852C-4B727FB1C54B@FreeBSD.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_D0557D6C-AB60-4CE2-9941-625C25198A7A" 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.2\)) Subject: Re: assigning different TCP stacks to the jails Date: Mon, 20 Mar 2023 14:24:56 +0800 In-Reply-To: <9EF3E6E6-E372-413E-A214-690F003AF524@freebsd.org> Cc: Marek Zarychta , "freebsd-net@freebsd.org" To: tuexen@freebsd.org References: <18985515-e3bf-1575-4abb-30e511a45ae7@plan-b.pwste.edu.pl> <7BBAF016-3D98-40F2-9215-30E572B5857E@freebsd.org> <9EF3E6E6-E372-413E-A214-690F003AF524@freebsd.org> X-Mailer: Apple Mail (2.3696.120.41.1.2) X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_D0557D6C-AB60-4CE2-9941-625C25198A7A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Mar 20, 2023, at 1:35 AM, tuexen@freebsd.org wrote: >=20 >> On 19. Mar 2023, at 16:59, Marek Zarychta = wrote: >>=20 >> W dniu 19.03.2023 o 14:42, tuexen@freebsd.org pisze: >>>> On 19. Mar 2023, at 14:12, Marek Zarychta = wrote: >>>>=20 >>>> Dear subscribers of the list, >>>>=20 >>>> TCP algo modules can be loaded/unloaded/changed on the fly. In = FreeBSD 14-CURRENT one can even change it on an active socket with = tcpsso(8) utility, but there is no way to run jail with different TCP = stack. Neither normal nor VNET jail support switching sysctl = net.inet.tcp.functions_default. >>>>=20 >>>> Is there any way to set TCP algo inherited through fork+exec in a = similar way setfib(1) assigns fib or perhaps assign TCP algo per VNET = instance? >>> Hi Marek, >>>=20 >>> so you are asking for the sysctl variable = net.inet.tcp.functions_default to be vnet specific? >>=20 >> Thanks for the reply Michael, >>=20 >> yes, and... not. I tend to run non-vnet jails when it's possible, so = in my case, a jail(8) parameter like exec.fib would fit better, and even = an execute helper utility, a counterpart of setfib(1) would suffice. > Im not familiar with fibs, but the TCP stack knows about the vnet, so = the handling of the stack can > be made vnet specific in the same way the handling of the CC module = is. A quick look at tcp_subr.c, I think it is doable and make = `tcp_func_set_ptr` a per vnet one will be flexible enough. > But I'm not sure about fibs. > I can bring this up on the next FreeBSD transport VC and see what = others think. As for fibs, they stand for 'forwarding information base' and are for = the routing part. I do not think it is a proper hook point for upper layers such as TCP in = this context. Best regards, Zhenlei >=20 > Best regards > Michael >>=20 >> With kind regards >>=20 >> Marek >>=20 >>>=20 >>> Best regards >>> Michael >>>> I am asking, since the almost perfect tcp_rack(4) applied on the = host is missing TCP-MD5 singing feature which is required in one of the = jails. >>>>=20 >>>> Cheers >>>> --=20 >>>> Marek Zarychta --Apple-Mail=_D0557D6C-AB60-4CE2-9941-625C25198A7A Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

On Mar 20, 2023, at 1:35 AM, tuexen@freebsd.org = wrote:

On 19. Mar 2023, at 16:59, Marek = Zarychta <zarychtam@plan-b.pwste.edu.pl> wrote:

W dniu 19.03.2023 o 14:42, tuexen@freebsd.org = pisze:
On 19. Mar 2023, at 14:12, Marek Zarychta = <zarychtam@plan-b.pwste.edu.pl> wrote:

Dear subscribers of the list,

TCP = algo modules can be loaded/unloaded/changed on the fly. In FreeBSD = 14-CURRENT one can even change it on an active socket with tcpsso(8) = utility, but there is no way to run jail with different TCP stack. = Neither normal nor VNET jail support switching sysctl = net.inet.tcp.functions_default.

Is there = any way to set TCP algo inherited through fork+exec in a similar way = setfib(1) assigns fib or perhaps assign TCP algo per VNET instance?
Hi Marek,

so you = are asking for the sysctl variable net.inet.tcp.functions_default to be = vnet specific?

Thanks for the = reply Michael,

yes, and... not. I tend to = run non-vnet jails when it's possible, so in my case, a jail(8) = parameter like exec.fib would fit better, and even an execute helper = utility, a counterpart of setfib(1) would suffice.
Im not familiar with fibs, but the TCP stack knows about the = vnet, so the handling of the stack can
be made vnet specific in the same way the handling of the CC = module is.

A = quick look at tcp_subr.c, I think it is doable and make = `tcp_func_set_ptr` a per vnet one will be flexible enough.

But I'm not = sure about fibs.
I can bring this up on the next FreeBSD transport VC and see = what others think.

As for fibs, they stand for 'forwarding = information base' and are for the routing part.
I do not think = it is a proper hook point for upper layers such as TCP in this = context.

Best regards,
Zhenlei


Best = regards
Michael

With kind regards

Marek


Best regards
Michael
I = am asking, since the almost perfect tcp_rack(4) applied on the host is = missing TCP-MD5 singing feature which is required in one of the = jails.

Cheers
-- 
Marek = Zarychta


= --Apple-Mail=_D0557D6C-AB60-4CE2-9941-625C25198A7A-- From nobody Mon Mar 20 06:36:40 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 4Pg4lF43M6z40J5C for ; Mon, 20 Mar 2023 06:36: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 4Pg4lF32SSz3xGF for ; Mon, 20 Mar 2023 06:36: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=1679294201; 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=jOLdYovSlrBTSZKR6NvDiV4DxH/FB6SSJiGqDryVrhc=; b=ghzhQo4JCurLCgUzusKoTSt6LCZPxAl1g1I0GgPXN6W9pc16Njn5gvL9QIoolcJY3ZPx+k a7cGBTA4yxQYKekQWAdFgG09LdUelztXVYHbytNJUVtLQSFsiXkZ/VphVOXwiJUHKTdo4n 7qHIIbQA/W27+NQaAT/0IVH9Gt4Hr8wHr0jPtjWyG7QriG0QANBdBio3hDOaM9UhpYH+x/ s/ckY9vOU9bOn626ub/DPUa/TyVUd0f29j1r6g0ZE2c7+aZTQupaUh0uWFVQ0SG28Jajl0 I5hYV3RI56YPvz+Oh8KIaYnn1hF6QdOW5BrQhAfjheGLNRtavpsKSKH/deqxeQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679294201; a=rsa-sha256; cv=none; b=b/wGj8nlImaMArhhNWYbSh9di9Wa4fy3QmJChdxgtUbZuU+EpLddt6LE+OYrgAdEphz+TG 9zuoPki94jQgJIRYr9MeCs9ClJYHgpIpJ3XatizttqonQfA72dF8gKWloZ3/ZfcFCMJmdZ kbtsS7jMuS8gTIyS0F8ol6my0teTsAZBTgPoaYmQ3ogo2GKc4i5QBj0BI1p1Jax/nuwdnc CYFjT6Jy04CkiArQGT4pJpWGH6N9Wb+orRMNrVGbs8sKyNWbR7kc4uVARDcv4BX/yVPDtg 8T5pS7syCOLCG51X1O2Ml+d87UPsloyWD0rShipmSu8CYL2tix4TQu8tTWBJGg== 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 4Pg4lF1sKBzKTh for ; Mon, 20 Mar 2023 06:36: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 32K6afCH087233 for ; Mon, 20 Mar 2023 06:36:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32K6afVe087232 for net@FreeBSD.org; Mon, 20 Mar 2023 06:36: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 258874] route add -inet 240/4 results in 0.0.0.0/4 127.0.0.1 UGRS lo0 Date: Mon, 20 Mar 2023 06:36:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: grahamperrin@freebsd.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: keywords bug_status bug_severity see_also 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258874 Graham Perrin changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-qa Status|New |Open Severity|Affects Only Me |Affects Some People See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 703 | |51 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Mar 20 06:36:40 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 4Pg4lH1KZyz40JCw for ; Mon, 20 Mar 2023 06:36: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 4Pg4lH0JL9z3x0c for ; Mon, 20 Mar 2023 06:36: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=1679294203; 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=ROq36t5E2H2IXQghVlQAOR5n8JhjYbbO42/HaAY+lKo=; b=TsV2nYPfayGkoRgM8US6KQhNuuWAvy2R+gERkK/78rbjUUs4XmgO7oceljru9uQKrc/Jk7 zff8jARq+BdQeZpicY1Hxmeg9rYFWp70it8vn6s14H4TiyEGnmhcdRNGKAx31fydkIswZX XxuHFz/bjrixaSKdyhz2cB2jDWv9L7nVETYHplYBB+ZWZV8X57KXu5vs4tMRChlmmWvbDN cGwYy5GCNXrDaI9ACFBsPTLOXxKAv2SWsex3J0B/nYHEvv/DSgNfiSBk4M1kisvbVnKISP MlirViQNnuS2w0OUj4C3v4L4VSc3ZHBCoKa7kaGD0IVUf4bc2+lBi23RE9oZXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679294203; a=rsa-sha256; cv=none; b=JEC7Nh1GoyVhwKEqm8Yerm2xCCRoO9ZSeTdOee+HcvCqV5uJAkZL91iiXN8BZyA18KFmPd 6ctrqsLjcDzq2+Z1TrfXr1njzjJ0dHIIn+RXPcNCIWOAkcARTVaWNQ8ZeNH3UG5kwT4LME 47+vUCoU4ys0RmDkD1ptuVtNn6YaZpV5CEq6IY9VPAc8HSJOuV16WE3+7XS0ojHVcuVp9m wqN/ZqteOojJ/2gJOaiVlGQx4/ibPLf4beDVToFOozo+yHdGN6hwmbtJm4e1VVIgZvgsq6 ATuc9Iux1CfBE/TnxIBTPvaPdSLM+lHR1UJAJL4YZB1hn1rod/6tVLZJyV3fHA== 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 4Pg4lG6RxMzL0f for ; Mon, 20 Mar 2023 06:36:42 +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 32K6agfd087293 for ; Mon, 20 Mar 2023 06:36:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32K6agtK087292 for net@FreeBSD.org; Mon, 20 Mar 2023 06:36:42 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 270351] Incompatible change in route(8) utility since 13.x Date: Mon, 20 Mar 2023 06:36:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grahamperrin@freebsd.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: see_also 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270351 Graham Perrin changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 588 | |74 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Mar 20 07: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 4Pg6PJ4fq8z40NC2 for ; Mon, 20 Mar 2023 07:51: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 4Pg6PJ3g4Qz44rx for ; Mon, 20 Mar 2023 07:51: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=1679298676; 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=ViXr66a34D5Khkqm5IP27NhaktDElP/n3e13h01bksU=; b=HTe3IzqvQDZUIvQrS43qkWxIzUBCi4hFdGJjdgfM2nhzxvk6Zg1HIj4tnqAbN3fRTFlQd+ 0EVRrktHmNug4R1l1IT6aRG8920yrEnBhxQ21UgzjcbVkdEn3ITI3mf82vj2ZjC9pWPAaP XuuDx1+xSmmc3VP0pVOJ/OwqgSPzxGT5BXPjHaA0Go7ufpEor+iRjtfY2zs3xta6dxczIY x1dXXsNvLhOW4A2NO7cZ7V4pq+NC9MnVB2/gorG9Oy3uQxdOItCTj6G7J9avN+hTJnUt/9 eQvXJlAOsBXXskavqfMZPKh49gIeFOjmhn1+l4ONTJpX3cwonLWIBq5retMMOw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679298676; a=rsa-sha256; cv=none; b=FXUy4qKf3DzWMrwryM/+d1P6gqckDrPA4IUBK9qasE+He6vqpiz8qMq8o70UrMlqS4yikt o+GbYif5cV9w5VJmYZ6/5v7gurILchiHPWSt8wgFhqgKV3p5BmIuVaZWd6sUMMqz7zcx17 8LaQkOZDx8pDeHoFZaldhJtkrt9vGZPxjkIjlANgK0cqD1t5Q4ZMz6lsexRkaY1NJB5PgI X4nDfYF3WDL1LqnSUQ0EnGrdP7hIwSnBzvj6xBDxOm+hliCHqKYgQ3y2F+VDZQBONEVOvB b59K6NaiwdkR2SL8wLbcvVfy8Mr3jGiipFoaCQLC/+LmweB0x/d47pXuM2JW1Q== 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 4Pg6PJ2ksPzMLt for ; Mon, 20 Mar 2023 07:51: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 32K7pG1v087367 for ; Mon, 20 Mar 2023 07:51:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32K7pGiQ087366 for net@FreeBSD.org; Mon, 20 Mar 2023 07:51: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 270351] Incompatible change in route(8) utility since 13.x Date: Mon, 20 Mar 2023 07:51:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270351 --- Comment #2 from Eugene Grosbein --- The task is look up a route not knowing a mask beforehand and find the mask. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Mar 20 08:33:45 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 4Pg7LL12wtz40QDh for ; Mon, 20 Mar 2023 08:33:46 +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 4Pg7LL03DMz48vK for ; Mon, 20 Mar 2023 08:33:46 +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=1679301226; 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=21Zv4jCo886OFa5ou7GUgzwhm/H8boksxMRC08c7zOU=; b=WzXkVF6KEs7X4/qOMtflVUdNSpPXI7xfDzwJivMybw4nrFWhJqMGoZCtHDkUY3QEt3hmDb 5yHwIY+222YVzVlIZ3YvnirjZVwcb/OfC5U+smA+PerQJVGDmr+h2jLa7vH7XqX4wcsKGM enYyvamP3zQon5K2aa9bsgPAbg/UYufZFGPEhra6xK7shESD0k3+JcVjQJs4/EzL2RGFN6 MY5rEa7uynJln/rY7cG8pMywtTFAj4rwRL7lryhN6HefN9mzu9HhogD+CEMCCmsARLSvb/ 8JgIv5QULxaIzTGyAv2sK4RB20UisHW3GybrKO+6NSkJSIZmpsaIcvEyTPCJDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679301226; a=rsa-sha256; cv=none; b=JJGFGEL8tRbhEyDD8mpO4Qoln0nfynUKMLbc7N1DbW8ROdzPlsHRtvW3xgYAXSpu/iUnmj yi2AqS28slJYFHosw/8f0y1WCa186jiKQdTYv45Yl2EgmEWYDfjNlqlrcGIxYdCroEju+5 X33OPpw3+D75gTVuV77RxlXuTamiep5t3ccudSWbGQnPeNZWUkZw2+dB8eS9f27SYE7EdL lo/T61PmeDBJoKFu1NV6ss1eYD4WlgDnLp1Ds3y+qg/dPbMLc+eYFEFds5KjtfKBug1a1d Cpgbgt3KUF/swatrE05n3XMFCQ9WPTptVWwOwS1i5lSHekRIUINdTi8HIbHGrw== 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 4Pg7LK6FYqzNld for ; Mon, 20 Mar 2023 08:33:45 +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 32K8XjGb059044 for ; Mon, 20 Mar 2023 08:33:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32K8XjQg059043 for net@FreeBSD.org; Mon, 20 Mar 2023 08:33:45 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 268246] crash and panic using pfsync on 13.1-RELEASE Date: Mon, 20 Mar 2023 08:33:45 +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: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kp@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: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268246 --- Comment #93 from Kristof Provost --- (In reply to mikael.le-bohec from comment #92) You're tripping over a different panic. (And it would have been helpful to actually include the backtrace in your report.) > panic: _mtx_lock_sleep: recursed on non-recursive mutex pfsync bucket @ /= usr/src/sys/netpfil/pf/if_pfsync.c:2295 >=20 > cpuid =3D 0 > time =3D 1679262157 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00c72= cbc50 > vpanic() at vpanic+0x152/frame 0xfffffe00c72cbca0 > panic() at panic+0x43/frame 0xfffffe00c72cbd00 > __mtx_lock_sleep() at __mtx_lock_sleep+0x43d/frame 0xfffffe00c72cbd90 > __mtx_lock_flags() at __mtx_lock_flags+0xe5/frame 0xfffffe00c72cbde0 > pfsync_timeout() at pfsync_timeout+0x64/frame 0xfffffe00c72cbe10 > softclock_call_cc() at softclock_call_cc+0x14b/frame 0xfffffe00c72cbec0 > softclock_thread() at softclock_thread+0xc6/frame 0xfffffe00c72cbef0 > fork_exit() at fork_exit+0x80/frame 0xfffffe00c72cbf30 > fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00c72cbf30 > --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- > KDB: enter: panic Which I can reproduce but do not understand. There's no obvious way for us = to end up recursing on the bucket lock there, nor is there a clear path where = we could fail to unlock a bucket. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Mar 20 09:57: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 4Pg9Bd2LjHz40VQK for ; Mon, 20 Mar 2023 09:57:13 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pg9Bc6zrrz4Jc2; Mon, 20 Mar 2023 09:57:12 +0000 (UTC) (envelope-from tuexen@freebsd.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [IPv6:2a02:8109:1140:c3d:a80e:acdc:23d1:329c]) (Authenticated sender: micmac) by mail-n.franken.de (Postfix) with ESMTPSA id AA50B71EC2022; Mon, 20 Mar 2023 10:57:09 +0100 (CET) Content-Type: text/plain; charset=us-ascii 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.400.51.1.1\)) Subject: Re: assigning different TCP stacks to the jails From: tuexen@freebsd.org In-Reply-To: <41AF7F1A-CBE8-4197-852C-4B727FB1C54B@FreeBSD.org> Date: Mon, 20 Mar 2023 10:57:09 +0100 Cc: Marek Zarychta , "freebsd-net@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <625E7D64-DF8C-4AEA-A7AC-AB97D617CAEF@freebsd.org> References: <18985515-e3bf-1575-4abb-30e511a45ae7@plan-b.pwste.edu.pl> <7BBAF016-3D98-40F2-9215-30E572B5857E@freebsd.org> <9EF3E6E6-E372-413E-A214-690F003AF524@freebsd.org> <41AF7F1A-CBE8-4197-852C-4B727FB1C54B@FreeBSD.org> To: Zhenlei Huang X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Queue-Id: 4Pg9Bc6zrrz4Jc2 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:680, ipnet:193.174.0.0/15, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N > On 20. Mar 2023, at 07:24, Zhenlei Huang wrote: >=20 >=20 >=20 >> On Mar 20, 2023, at 1:35 AM, tuexen@freebsd.org wrote: >>=20 >>> On 19. Mar 2023, at 16:59, Marek Zarychta = wrote: >>>=20 >>> W dniu 19.03.2023 o 14:42, tuexen@freebsd.org pisze: >>>>> On 19. Mar 2023, at 14:12, Marek Zarychta = wrote: >>>>>=20 >>>>> Dear subscribers of the list, >>>>>=20 >>>>> TCP algo modules can be loaded/unloaded/changed on the fly. In = FreeBSD 14-CURRENT one can even change it on an active socket with = tcpsso(8) utility, but there is no way to run jail with different TCP = stack. Neither normal nor VNET jail support switching sysctl = net.inet.tcp.functions_default. >>>>>=20 >>>>> Is there any way to set TCP algo inherited through fork+exec in a = similar way setfib(1) assigns fib or perhaps assign TCP algo per VNET = instance? >>>> Hi Marek, >>>>=20 >>>> so you are asking for the sysctl variable = net.inet.tcp.functions_default to be vnet specific? >>>=20 >>> Thanks for the reply Michael, >>>=20 >>> yes, and... not. I tend to run non-vnet jails when it's possible, so = in my case, a jail(8) parameter like exec.fib would fit better, and even = an execute helper utility, a counterpart of setfib(1) would suffice. >> Im not familiar with fibs, but the TCP stack knows about the vnet, so = the handling of the stack can >> be made vnet specific in the same way the handling of the CC module = is. >=20 >=20 > A quick look at tcp_subr.c, I think it is doable and make = `tcp_func_set_ptr` a per vnet one will be flexible enough. Yes, but we must take regarding ref counting when trying to unload a = module. But that can be done similar to the handling of CC modules. >=20 >> But I'm not sure about fibs. >> I can bring this up on the next FreeBSD transport VC and see what = others think. >=20 > As for fibs, they stand for 'forwarding information base' and are for = the routing part. > I do not think it is a proper hook point for upper layers such as TCP = in this context. Yes, this is what I also think. Will bring it up on the transport call = coming Thursday. Best regards Michael >=20 > Best regards, > Zhenlei >=20 >>=20 >> Best regards >> Michael >>>=20 >>> With kind regards >>>=20 >>> Marek >>>=20 >>>>=20 >>>> Best regards >>>> Michael >>>>> I am asking, since the almost perfect tcp_rack(4) applied on the = host is missing TCP-MD5 singing feature which is required in one of the = jails. >>>>>=20 >>>>> Cheers >>>>> --=20 >>>>> Marek Zarychta >=20 >=20 >=20 >=20 From nobody Mon Mar 20 16:39: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 4PgL6w1wfrz3yx8n for ; Mon, 20 Mar 2023 16:39: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 4PgL6w0P2gz4CMj for ; Mon, 20 Mar 2023 16:39: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=1679330376; 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=lO46ESeuWGSqeLowPHlCmudHa7FaIswgcErKd/NhN2c=; b=AFSFcS30+uFETrtbU9jNkPWxlp56Bb2PUPX8o6Y9MnTgOlWQXV43OPpNSUWryVE+uzXfDt GSNw6XzhPVM46OXo/bO2vcND5rSJwNRXavZ0JQ6MRk7Jw99VKARDT9WQBcbTgE72uJ58qm ca/G16chk4DrbOE5ttr5SoFWr0D7clsV6JZ0vIlErJh9UN5sOeVGa1LIXqru1Dvu1eh0rX BNwGDwzjxMwqhuNY4LCCG25/nQGYy1toNfjMO+es0ntRvriLrJ4BNB0TztvmsAWEGfnRU3 HRSvNtdMUc6rm0UsRqfUL9Cn35PqEO71BGz/Mjd7l8oVHDXqNefM/GvQG0tvEg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679330376; a=rsa-sha256; cv=none; b=eL0SCkfRMsH+Jzd3EteSPFbLmxkXTYH9nsk4KccDRbVwAMVQ2IIa2ZfOsga4ZlLHzHcncX NbUF9VQ9M+GzVd3MZVvzkqOBrY0GMyVFTmYzqUbeaSEmSvpOUjk10eaF5hKaOqOWibK3TY qgEDoowKorziAvtoYrgWag/AFUwK933iv1HIqD+8x9PmZNc0iN1whV4c01zlcJjAzuHh+f NlISCWX58bVH0YFaF/sB67wTWbtOGCpVlh068oRpIUgkyLtPrhNtrEE/wv6LLrpHkXLI9l uRfaOprZiLNMwXVerjP/8nRSXDjjneLpan7N2iD/AS4oXzA3SJGD/EzjU2Ow+Q== 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 4PgL6v6cbyzcXG for ; Mon, 20 Mar 2023 16:39: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 32KGdZ0K059188 for ; Mon, 20 Mar 2023 16:39:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32KGdZM4059187 for net@FreeBSD.org; Mon, 20 Mar 2023 16:39:35 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 268246] crash and panic using pfsync on 13.1-RELEASE Date: Mon, 20 Mar 2023 16:39:35 +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: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@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: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268246 --- Comment #94 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D53247cdf12449e90f6736ae563e4cce83= 15c923f commit 53247cdf12449e90f6736ae563e4cce8315c923f Author: Kristof Provost AuthorDate: 2023-03-20 13:29:55 +0000 Commit: Kristof Provost CommitDate: 2023-03-20 15:39:14 +0000 pfsync: fix pfsync_undefer_state() locking pfsync_undefer_state() takes the bucket lock, but could get called from places (e.g. from pfsync_update_state() or pfsync_delete_state()) where we already held the lock. As it can also be called from places where we don't yet hold the lock create new locked variant for use when the lock is already held. Keep using pfsync_undefer_state() where the lock must still be taken. PR: 268246 MFC after: 1 week Sponsored by: Rubicon Communications, LLC (Netgate) sys/netpfil/pf/if_pfsync.c | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Mar 20 16:39: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 4PgL700kpcz3ywrn for ; Mon, 20 Mar 2023 16:39:40 +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 4PgL6z6LXTz4CXs for ; Mon, 20 Mar 2023 16:39: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=1679330379; 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=U5BcoohMUD7HHry842s3Tch8CNBqIRw4+Y/Cz2xTuiM=; b=QzkLODjTjQDCzDBHjVfRtZ6brrCfXDGWxdrMFo/Bl/kGlkhCWSsNdRPMi+a72IEHUEQRwm Iyjx/Y/B5ptgU12MBqvfQCfLBhXs8KJFCfe+DcZ8wnkqD6Qcbx3+7MErR2pHSnsWdOfDxd tfDeQQTeWUnSJ6YbSiQb/rwcTHa4xUOQPQSWcj9A446yoAbdVCt1tLq7b++m8Ozv+yQXmK Du7Pb1HC1nAYF4/wSjBE2l8i8Wou3szjNuRZ9SpjWUxcPibbzepFukmZRYEKobZ0KkoNH7 LRnaBH24Nf0myN1nkT8nUsX3Wbj8lzrJbKXvqfJmKyx8wq43exovzQXk5aSW5w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679330379; a=rsa-sha256; cv=none; b=W12Lo+g8ezCZAsdAn0gpvtyvezI4cJlBOKF+yS+ZeyLI8jKP/8BD4z6AsxRAGIh0lHnXZY PBLA5jrcGQginn7S/6Ceyib+mijo4o1LwlYlwSSyGrxZVFfhloD3baNKhuZgzE62I6B2EN kyyh56POtrNcHcEYnBCaXLiUKYF7jj+MdrHxHUWYDjT7X5iGI8xNYXcRKtyGnZOwq6MRg8 j81Srb0ZX+i2ZZ8ZoBZFF8YjHcInAgiHGznXLmRwvA4aFkEx380vFEiZTG+/BZf5Wy4d4j Gn4+t8fJ59T3zgIspWnYtnuBeqg0m9TwwHcvLBD4D890wybdqRfkMCe9gLeeEA== 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 4PgL6z58F4zcxs for ; Mon, 20 Mar 2023 16:39: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 32KGdd1s059258 for ; Mon, 20 Mar 2023 16:39:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32KGddnD059257 for net@FreeBSD.org; Mon, 20 Mar 2023 16:39:39 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 268246] crash and panic using pfsync on 13.1-RELEASE Date: Mon, 20 Mar 2023 16:39: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: 13.1-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@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: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268246 --- Comment #95 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Da6719858a48019aa54e1ea3be57d17fa8= 8b080c6 commit a6719858a48019aa54e1ea3be57d17fa88b080c6 Author: Kristof Provost AuthorDate: 2023-03-20 13:58:34 +0000 Commit: Kristof Provost CommitDate: 2023-03-20 15:39:14 +0000 pf tests: try to trigger locking issues in pfsync_timeout() PR: 268246 MFC after: 1 week Sponsored by: Rubicon Communications, LLC (Netgate) tests/sys/netpfil/pf/pfsync.sh | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Mar 20 16:40:40 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 4PgL886zdMz3yxJQ for ; Mon, 20 Mar 2023 16:40:40 +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 4PgL885dvkz4Dtm for ; Mon, 20 Mar 2023 16:40:40 +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=1679330440; 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=8v6s6mj0SXDj7mazZEm7rSULE2UdE9pg/CBzxD3Id3U=; b=uz+4OlGNdfhdv3ySWQIvn/eMIfWyfXDT6HKXGSU3e0RcGELXfHMEX/PQy1fq5utfD6sjJ7 1+rYhLTHCUMe6yelmkzf0ZIr9HX3d/iXSfva6lsYQCUhePkGko6n3l0uO9Boigxq+Fjr9K RBVEt3AUQch3z8yMx5UgHa9W7zjuYXwfq2BM+9ZmKaFAU2cY7bQ+e1cYg2ttiOc7nToGWJ xjVVzAt4xFo79H0txAa16GA0ZsEkkMoCPqfbEO3H6P1NKPmwrfOQJSmr3SQmiS9fZmT8UM 50D4lG0phPbUxk7f5LcrZBk2zPEaqwIMtfueSOuPlO/t+Du8u8xcpNAaNjJ6Ew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679330440; a=rsa-sha256; cv=none; b=uL7SgmeSZpaO+0+fg6l1zVI/M0oK8XQDrXYfs646mkLiEYOXsaXWmk0ejbhv6TaTid4HRl ehaXl2HnqFe4mlXk1no2gJajoFU+eAGC0ui/nXYUPOv1P5r2rXLeXFSkz/aEaBp1liKB/j /XPrjCtxVUMcHV6is0Bf5wnPKGubZFLYsh2GZcmeYQd+c0IW8zzP01igSo/jqttrxDk+GT kA41V+npNrqTTDCBkDdYM/QUfIQMH+rTZ2zpcl80xZzpELZ70jm1cYTAn3xQDmjm5vZAF4 xTeYmzxVbIJpgzvahswqFPdfE+KEnfPEPpOL5qR65wIOoRtSHn2Teo+vHVYA4Q== 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 4PgL884jLLzcl2 for ; Mon, 20 Mar 2023 16:40:40 +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 32KGeeXJ059732 for ; Mon, 20 Mar 2023 16:40:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32KGee4B059731 for net@FreeBSD.org; Mon, 20 Mar 2023 16:40:40 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 268246] crash and panic using pfsync on 13.1-RELEASE Date: Mon, 20 Mar 2023 16:40:40 +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: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@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: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268246 --- Comment #96 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D844ad2828a35c434b893af4274b1f6c50= 332dd70 commit 844ad2828a35c434b893af4274b1f6c50332dd70 Author: Kristof Provost AuthorDate: 2023-03-20 13:26:33 +0000 Commit: Kristof Provost CommitDate: 2023-03-20 15:39:14 +0000 pfsync: add missing unlock in pfsync_defer_tmo() The callout for pfsync_defer_tmo() is created with CALLOUT_RETURNUNLOCKED, because while the callout framework takes care of taking the lock we want to run a few operations outside of the lock, so we unlock ourselves. However, if `sc->sc_sync_if =3D=3D NULL` we return without releasing the lock, and leak the lock, causing later deadlocks. Ensure we always release the bucket lock when we exit pfsync_defer_tmo() PR: 268246 MFC after: 1 week Sponsored by: Rubicon Communications, LLC (Netgate) sys/netpfil/pf/if_pfsync.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Mar 20 17:22:22 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 4PgM4G2CLVz400tb for ; Mon, 20 Mar 2023 17:22:22 +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 4PgM4G0LSCz4N36 for ; Mon, 20 Mar 2023 17:22:22 +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=1679332942; 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=WCZ1pvH2cH6ccnEoxu9hYs+4d/elUfSw0D5SPTGXj2A=; b=T5Pxi0imWHwywDyxDJrDe3ZzIGgoPd6023obAU9LXElU94sZddA7Or6tK59eFydlqWJVHC p9xEdJip6bkBJnIVTvACUvTTbgQSe0ullNGCCBxCT2EHW7uaCaEvjBpddpBhuUvIBGfVOS tGOp/1ACgPZLSGTp6Ii6QBjqhdOFESzZPjSGuHQ2EQhI3s5mTCZ1rn5D2pz20F3c95uG9E HBSIhKqU5UnvDsX/Uvsw750K391P7gn+BE9x/l6qFaGL2kjW+JikE/fhe6Z9uBNCdiyS0i Pbzi5+X9B331tG6s4WU/yvFMsdOneWnxWu6ghXAnzrgVq+noDhfRsN26ZhjZ9A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679332942; a=rsa-sha256; cv=none; b=uLxUZhENY1m9i1vB5zvgAVNK/Q2EkI5vdrsRYI0xMuCQbAO3fKRDJx7dwkCNcy5QF/SBYA SwmXVpBxHdIWy150hUFoec8ZLK4JoRe676g624FD3OSpOGX/oZnNhYTiczFN/DKvHCrOEf hmeya1OhaEy7txsmQc3v+3bRhjyDa3dtkR0J7Wrdx+hjjNt99JcFWmQLD0DAXQ1KBs+sBc IEkxHN8bodOVbd+K5UryXAWtV33aLZ8Z9zDwpV59xUcCp3Ld8WU6abhghaJunv2DE9FM/O uKS4OHBTrjFIeb0iYHTw97WeMdgehYnkCgLxMPNNiiax3vIQoqYFGbw77KeDbg== 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 4PgM4F6XjQzf8k for ; Mon, 20 Mar 2023 17:22:21 +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 32KHMLh2026373 for ; Mon, 20 Mar 2023 17:22:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32KHMLjS026372 for net@FreeBSD.org; Mon, 20 Mar 2023 17:22:21 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 268490] [igb] [lagg] [vlan]: Intel i210 performance severely degraded Date: Mon, 20 Mar 2023 17:22:22 +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.4-RELEASE X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: duerrd561@gmail.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: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268490 --- Comment #36 from Daniel Duerr --- (In reply to Kevin Bowling from comment #35) Hi Kevin, Okay, I finished another `git bisect` for you as we discussed, but this tim= e I manually reverted the `if_getflags(ifp)` change each time to see how that w= ould affect the results. Also, on the first commit (the one that works as-is), I manually applied the `if_getflags(ifp)` change and confirmed it broke it. I then reverted that, did a `git bisect good` on the first commit, and procee= ded with the rest of the process. It definitely produces a different result. He= re's the log: ### Step 1: Restart the `git bisect` and confirm the first commit still wor= ks [root@nfs src]# git checkout releng/12.4 [root@nfs src]# git bisect start release/12.4.0 release/12.2.0 -- sys/dev/e= 1000 Bisecting: a merge base must be tested [68cfeeb1d3c428e3c3881f45bc3a20a252b37d0e] MFC r365284: [root@nfs src]# make -j `sysctl -n hw.ncpu` buildkernel KERNCONF=3DGENERIC-NODEBUG && make installkernel KERNCONF=3DGENERIC-NODEBUG [root@nfs src]# reboot [root@nfs src]# uname -a FreeBSD nfs.tidepool.cloud 12.2-PRERELEASE FreeBSD 12.2-PRERELEASE 68cfeeb1d3c4(HEAD) GENERIC-NODEBUG amd64 [root@nfs src]# iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 64.0 KByte (default) ------------------------------------------------------------ [ 1] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 10616 [ ID] Interval Transfer Bandwidth [ 1] 0.00-10.00 sec 1.15 GBytes 985 Mbits/sec [ 2] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 20446 [ ID] Interval Transfer Bandwidth [ 2] 0.00-10.00 sec 1.15 GBytes 988 Mbits/sec [ 3] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 10068 [ ID] Interval Transfer Bandwidth [ 3] 0.00-10.00 sec 1.15 GBytes 985 Mbits/sec ### Step 2: Recreate the if_getflags(ifp) change to sys/dev/e1000/if_em.c on the first commit and see if it breaks it [root@nfs src]# vi sys/dev/e1000/if_em.c [root@nfs src]# git diff diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index 558a75ac015e..42faacfc3eea 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -1338,7 +1338,7 @@ em_if_init(if_ctx_t ctx) } /* Don't lose promiscuous settings */ - em_if_set_promisc(ctx, IFF_PROMISC); + em_if_set_promisc(ctx, if_getflags(ifp)); e1000_clear_hw_cntrs_base_generic(&adapter->hw); /* MSI-X configuration for 82574 */ [root@nfs src]# make -j `sysctl -n hw.ncpu` buildkernel KERNCONF=3DGENERIC-NODEBUG && make installkernel KERNCONF=3DGENERIC-NODEBUG [root@nfs src]# reboot [root@nfs src]# uname -a FreeBSD nfs.tidepool.cloud 12.2-PRERELEASE FreeBSD 12.2-PRERELEASE #15 68cfeeb1d3c4(HEAD)-dirty: Fri Mar 17 10:50:14 PDT 2023=20=20=20=20 toor@nfs.tidepool.cloud:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG a= md64 [root@nfs src]# iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 64.0 KByte (default) ------------------------------------------------------------ [ 1] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 47216 [ 2] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 37030 [ 3] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 41145 ^CWaiting for server threads to complete. Interrupt again to force quit. [ ID] Interval Transfer Bandwidth [ 1] 0.00-76.70 sec 60.0 Bytes 6.26 bits/sec [ 2] 0.00-56.38 sec 60.0 Bytes 8.51 bits/sec [ 3] 0.00-36.23 sec 60.0 Bytes 13.2 bits/sec [SUM] 0.00-78.70 sec 180 Bytes 18.3 bits/sec [root@nfs src]# git checkout -- sys/dev/e1000/if_em.c [root@nfs src]# git diff [root@nfs src]# git bisect good ### Step 3: Advance to next commit (originally first bad), manually reverse= the if_getflags(ifp) change to sys/dev/e1000/if_em.c and see if it now works [root@nfs src]# vi sys/dev/e1000/if_em.c [root@nfs src]# git diff diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index ce13d57da60b..938c30a03f49 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -1360,7 +1360,7 @@ em_if_init(if_ctx_t ctx) } /* Don't lose promiscuous settings */ - em_if_set_promisc(ctx, if_getflags(ifp)); + em_if_set_promisc(ctx, IFF_PROMISC); e1000_clear_hw_cntrs_base_generic(&adapter->hw); /* MSI-X configuration for 82574 */ [root@nfs src]# make -j `sysctl -n hw.ncpu` buildkernel KERNCONF=3DGENERIC-NODEBUG && make installkernel KERNCONF=3DGENERIC-NODEBUG [root@nfs src]# reboot [root@nfs src]# uname -a FreeBSD nfs.tidepool.cloud 12.2-STABLE FreeBSD 12.2-STABLE #18 n233898-355177efed6c-dirty: Fri Mar 17 14:27:50 PDT 2023=20=20=20=20 toor@nfs.tidepool.cloud:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG a= md64 [root@nfs src]# iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 64.0 KByte (default) ------------------------------------------------------------ [ 1] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 17746 [ 2] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 17750 [ 3] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 17751 ^CWaiting for server threads to complete. Interrupt again to force quit. [ ID] Interval Transfer Bandwidth [ 1] 0.00-76.54 sec 60.0 Bytes 6.27 bits/sec [ 2] 0.00-56.22 sec 60.0 Bytes 8.54 bits/sec [ 3] 0.00-36.32 sec 60.0 Bytes 13.2 bits/sec [SUM] 0.00-79.15 sec 180 Bytes 18.2 bits/sec [root@nfs src]# git checkout -- sys/dev/e1000/if_em.c [root@nfs src]# git bisect bad Bisecting: 16 revisions left to test after this (roughly 4 steps) [ded3123049a592ec1f9c5b757e3f0f98f104d6cf] e1000: fix build after 92804cf3d= c48 (orig c1655b0f) ### Step 4: Advance to next commit, manually reverse the if_getflags(ifp) change to sys/dev/e1000/if_em.c and see if it now works [root@nfs src]# vi sys/dev/e1000/if_em.c [root@nfs src]# git diff diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index bcf7e0e9ec56..a9c00e58d880 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -1362,7 +1362,7 @@ em_if_init(if_ctx_t ctx) } /* Don't lose promiscuous settings */ - em_if_set_promisc(ctx, if_getflags(ifp)); + em_if_set_promisc(ctx, IFF_PROMISC); e1000_clear_hw_cntrs_base_generic(&adapter->hw); /* MSI-X configuration for 82574 */ [root@nfs src]# make -j `sysctl -n hw.ncpu` buildkernel KERNCONF=3DGENERIC-NODEBUG && make installkernel KERNCONF=3DGENERIC-NODEBUG [root@nfs src]# reboot [root@nfs src]# uname -a FreeBSD nfs.tidepool.cloud 12.2-STABLE FreeBSD 12.2-STABLE #19 n233610-ded3123049a5-dirty: Fri Mar 17 19:17:26 PDT 2023=20=20=20=20 toor@nfs.tidepool.cloud:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG a= md64 [root@nfs src]# iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 64.0 KByte (default) ------------------------------------------------------------ [ 1] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 39123 [ 2] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 51144 [ 3] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 22030 recv failed: Connection reset by peer [ ID] Interval Transfer Bandwidth [ 1] 0.00-79.38 sec 60.0 Bytes 6.05 bits/sec recv failed: Connection reset by peer [ 2] 0.00-79.38 sec 60.0 Bytes 6.05 bits/sec recv failed: Connection reset by peer [ 3] 0.00-79.38 sec 60.0 Bytes 6.05 bits/sec [SUM] 0.00-122.26 sec 180 Bytes 11.8 bits/sec [root@nfs src]# git checkout -- sys/dev/e1000/if_em.c [root@nfs src]# git bisect bad Bisecting: 7 revisions left to test after this (roughly 3 steps) [60b1634944ed4c19c1db5d1c5f9ed9c83ed6585b] e1000: Improve device name strin= gs ### Step 5: Advance to next commit, manually reverse the if_getflags(ifp) change to sys/dev/e1000/if_em.c and see if it now works [root@nfs src]# vi sys/dev/e1000/if_em.c [root@nfs src]# git diff diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index f284de275066..919f687e5992 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -1363,7 +1363,7 @@ em_if_init(if_ctx_t ctx) } /* Don't lose promiscuous settings */ - em_if_set_promisc(ctx, if_getflags(ifp)); + em_if_set_promisc(ctx, IFF_PROMISC); e1000_clear_hw_cntrs_base_generic(&adapter->hw); /* MSI-X configuration for 82574 */ [root@nfs src]# make -j `sysctl -n hw.ncpu` buildkernel KERNCONF=3DGENERIC-NODEBUG && make installkernel KERNCONF=3DGENERIC-NODEBUG [root@nfs src]# reboot [root@nfs src]# uname -a FreeBSD nfs.tidepool.cloud 12.2-STABLE FreeBSD 12.2-STABLE #20 n233210-60b1634944ed-dirty: Fri Mar 17 20:02:39 PDT 2023=20=20=20=20 toor@nfs.tidepool.cloud:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG a= md64 [root@nfs src]# iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 64.0 KByte (default) ------------------------------------------------------------ [ 1] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 13641 [ 2] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 44007 [ 3] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 65487 ^CWaiting for server threads to complete. Interrupt again to force quit. [ ID] Interval Transfer Bandwidth [ 2] 0.00-48.64 sec 60.0 Bytes 9.87 bits/sec [ 3] 0.00-28.22 sec 60.0 Bytes 17.0 bits/sec [ 1] 0.00-72.92 sec 60.0 Bytes 6.58 bits/sec [SUM] 0.00-72.92 sec 180 Bytes 19.7 bits/sec [root@nfs src]# git checkout -- sys/dev/e1000/if_em.c [root@nfs src]# git bisect bad Bisecting: 3 revisions left to test after this (roughly 2 steps) [c9c1838988faa8bcb74af30384ab45a483562727] e1000: Add support for [Tiger, Alder, Meteor] Lake ### Step 6: Advance to next commit, manually reverse the if_getflags(ifp) change to sys/dev/e1000/if_em.c and see if it now works [root@nfs src]# vi sys/dev/e1000/if_em.c [root@nfs src]# git diff diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index 79a9d8fdcfe9..839454c20fd7 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -1363,7 +1363,7 @@ em_if_init(if_ctx_t ctx) } /* Don't lose promiscuous settings */ - em_if_set_promisc(ctx, if_getflags(ifp)); + em_if_set_promisc(ctx, IFF_PROMISC); e1000_clear_hw_cntrs_base_generic(&adapter->hw); /* MSI-X configuration for 82574 */ [root@nfs src]# make -j `sysctl -n hw.ncpu` buildkernel KERNCONF=3DGENERIC-NODEBUG && make installkernel KERNCONF=3DGENERIC-NODEBUG [root@nfs src]# reboot [root@nfs src]# uname -a FreeBSD nfs.tidepool.cloud 12.2-STABLE FreeBSD 12.2-STABLE #21 n233050-c9c1838988fa-dirty: Sat Mar 18 07:55:11 PDT 2023=20=20=20=20 toor@nfs.tidepool.cloud:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG a= md64 [root@nfs src]# iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 64.0 KByte (default) ------------------------------------------------------------ [ 1] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 23361 [ ID] Interval Transfer Bandwidth [ 1] 0.00-10.00 sec 1.02 GBytes 877 Mbits/sec [ 2] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 23362 [ ID] Interval Transfer Bandwidth [ 2] 0.00-10.00 sec 1.07 GBytes 917 Mbits/sec [ 3] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 23363 [ ID] Interval Transfer Bandwidth [ 3] 0.00-10.00 sec 1.15 GBytes 986 Mbits/sec [root@nfs src]# git checkout -- sys/dev/e1000/if_em.c [root@nfs src]# git bisect good Bisecting: 1 revision left to test after this (roughly 1 step) [94c02a765cb7f68c80844acb5898be90dc4069c5] e1000: disable hw.em.sbp debug setting ### Step 7: Advance to next commit, manually reverse the if_getflags(ifp) change to sys/dev/e1000/if_em.c and see if it now works [root@nfs src]# vi sys/dev/e1000/if_em.c [root@nfs src]# git diff diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index 2c13f7750af2..0ff2bd00d6b0 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -1363,7 +1363,7 @@ em_if_init(if_ctx_t ctx) } /* Don't lose promiscuous settings */ - em_if_set_promisc(ctx, if_getflags(ifp)); + em_if_set_promisc(ctx, IFF_PROMISC); e1000_clear_hw_cntrs_base_generic(&adapter->hw); /* MSI-X configuration for 82574 */ [root@nfs src]# make -j `sysctl -n hw.ncpu` buildkernel KERNCONF=3DGENERIC-NODEBUG && make installkernel KERNCONF=3DGENERIC-NODEBUG [root@nfs src]# reboot [root@nfs src]# uname -a FreeBSD nfs.tidepool.cloud 12.2-STABLE FreeBSD 12.2-STABLE #21 n233050-c9c1838988fa-dirty: Sat Mar 18 07:55:11 PDT 2023=20=20=20=20 toor@nfs.tidepool.cloud:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG a= md64 [root@nfs src]# iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 64.0 KByte (default) ------------------------------------------------------------ [ 1] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 41958 [ ID] Interval Transfer Bandwidth [ 1] 0.00-10.00 sec 1.14 GBytes 982 Mbits/sec [ 2] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 41959 [ ID] Interval Transfer Bandwidth [ 2] 0.00-10.00 sec 1.15 GBytes 987 Mbits/sec [ 3] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 41960 [ ID] Interval Transfer Bandwidth [ 3] 0.00-10.00 sec 1.15 GBytes 983 Mbits/sec [root@nfs src]# git checkout -- sys/dev/e1000/if_em.c [root@nfs src]# git bisect good Bisecting: 0 revisions left to test after this (roughly 0 steps) [1a132077c2cb500410079f9120c3f676d15f7931] e1000: fix em_mac_min and 82547 packet buffer ### Step 8: Advance to next commit, manually reverse the if_getflags(ifp) change to sys/dev/e1000/if_em.c and see if it now works [root@nfs src]# vi sys/dev/e1000/if_em.c [root@nfs src]# git diff diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index ce60b1f5d437..e8f215dfa089 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -1363,7 +1363,7 @@ em_if_init(if_ctx_t ctx) } /* Don't lose promiscuous settings */ - em_if_set_promisc(ctx, if_getflags(ifp)); + em_if_set_promisc(ctx, IFF_PROMISC); e1000_clear_hw_cntrs_base_generic(&adapter->hw); /* MSI-X configuration for 82574 */ [root@nfs src]# make -j `sysctl -n hw.ncpu` buildkernel KERNCONF=3DGENERIC-NODEBUG && make installkernel KERNCONF=3DGENERIC-NODEBUG [root@nfs src]# reboot [root@nfs src]# uname -a FreeBSD nfs.tidepool.cloud 12.2-STABLE FreeBSD 12.2-STABLE #23 n233156-1a132077c2cb-dirty: Mon Mar 20 09:41:24 PDT 2023=20=20=20=20 toor@nfs.tidepool.cloud:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG a= md64 [root@nfs src]# iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 64.0 KByte (default) ------------------------------------------------------------ [ 1] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 20023 [ 2] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 20024 [ 3] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 15792 ^CWaiting for server threads to complete. Interrupt again to force quit. [ ID] Interval Transfer Bandwidth [ 1] 0.00-72.73 sec 60.0 Bytes 6.60 bits/sec [ 2] 0.00-52.37 sec 60.0 Bytes 9.17 bits/sec [ 3] 0.00-32.30 sec 60.0 Bytes 14.9 bits/sec [SUM] 0.00-74.75 sec 180 Bytes 19.3 bits/sec [root@nfs src]# git checkout -- sys/dev/e1000/if_em.c [root@nfs src]# git bisect bad 1a132077c2cb500410079f9120c3f676d15f7931 is the first bad commit commit 1a132077c2cb500410079f9120c3f676d15f7931 Author: Kevin Bowling Date: Thu Apr 15 09:58:36 2021 -0700 e1000: fix em_mac_min and 82547 packet buffer The boundary differentiating "lem" vs "em" class devices was wrong after the iflib conversion of lem(4). The Packet Buffer size for 82547 class chips was not set correctly after the iflib conversion of lem(4). These changes restore functionality on an 82547 for the submitter. PR: 236119 Reported by: Jeff Gibbons Reviewed by: markj MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D29766 (cherry picked from commit bb1b375fa7487ee5c3843121a0621ac8379c18e6) sys/dev/e1000/if_em.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Mar 21 08:43: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 4PglWC27gDz410vs for ; Tue, 21 Mar 2023 08:43: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 4PglWC0MM3z3w4y for ; Tue, 21 Mar 2023 08:43: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=1679388215; 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=0LbtpLZQwipDcYMctSS5a5JSwnGGhT0tzI/bjLr56G0=; b=JFJk7NVL82DOhT75djvaq51obaJpkQfQLVQsWWWp7yWP8ou0xTbyYDQxqlgKGrcRaoAVxO YbcT3YUmV0irB3gogqbBN02hliZyJxQFpW9RZ2Nx4UEf/bAw0BxoZIxexefmF646hFAOZH WqArOnD5MVOciivxTwhk7BrPVh4evggpZH0ywlPKDFdUtINdzVWjQcJCL0iWPZ4q7zTu7p h1SljFLmQRND3r6oCefkAkjZyC5hs7ewXmnGwb+cudkZa8MWKDPE1t86Z+aEZKGygwCNui PoIyMEholiv9gcVBcBNEPBu6OmksTiyY0drbukx65ac2yRR1vtEc1KcwBmEBmA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679388215; a=rsa-sha256; cv=none; b=AtY17vtqQ0etjiO2+eNyk9mRPHLAYz90ZJb1W8kkl5mF3iW0ecXSptl+LwJXi1UwirgXSn Mg3V0CE/C/CYSmWO8HV76vL7t20Jm16q42NXB2Obe/CSm47Efso+y7IF9Kvp8mxdkqS6hU pu0HAjw9K1v+pYWogFtdJnC+ryTxl7DyFf5nV/jW5a497dKeDG3G27jOa3p6hJDKed74AB KSD5eDLujjCV3z6iwN+1Uv/G8jQwwIT/IVmJBkzIilHjE4EkXn7E6ZVZgVwz9Q1BJ0Z5/b rF7vOCsS1jD1pBZ31IQebb8XoUEoXO7+soxpvN6sekYjhw6cdwKSu/kwMb98VA== 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 4PglWB6X9rz14sC for ; Tue, 21 Mar 2023 08:43:34 +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 32L8hYPm068714 for ; Tue, 21 Mar 2023 08:43:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32L8hY1g068713 for net@FreeBSD.org; Tue, 21 Mar 2023 08:43:34 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 270351] Incompatible change in route(8) utility since 13.x Date: Tue, 21 Mar 2023 08:43:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jamie@catflap.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: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270351 Jamie Landeg-Jones changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jamie@catflap.org --- Comment #3 from Jamie Landeg-Jones --- (In reply to Marek Zarychta from comment #1) > route -n get -net 192.168.0.0 At the very least, shouldn't it produce an error, rather than giving a host route when "-net" is specified? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Mar 21 08:52:03 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 4Pglhz2ZBwz3ymqH for ; Tue, 21 Mar 2023 08:52:03 +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 4Pglhz16mjz3yB9 for ; Tue, 21 Mar 2023 08:52:03 +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=1679388723; 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=RCnIw5CF4Vddrqi9PCQH9rOWiXyJ25sxI3mCCo5efH8=; b=T5zmkDenIwFWaTbZvVWPZC6tJdGLSMCfIMbBYvbqlKtt4g+QlW6OgLc2il/JaJ55lHinPN fx7ivBhQPP3TUWHBEBdeKPirEtK4zyxxUA9HA727HxmkxsjQMpmWC8xZ4q1kNfNWuyDjbn bEpTRg2OaW3KS8GohCcWIyNFchqglgLkzQr3E7QMhxJ10hYyZxuROZV1d1yH/MMOnYkblI fwOSac11w9UjqiIbgpZ9FOl4r6bKZRLRZsV9xuE6vn6YIouBaTBuWA99+YbFS41ihCjvPQ 3hg9GVppbgnKhO0vcAe+j/FT5SNmAEVtHv1fsCL8V6lSCmbyWXnM3bOANyMfDw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679388723; a=rsa-sha256; cv=none; b=Rrgm8Cm2e4sunM7fk+jnAXdzNNrNpm59McN4fSH3HFWpvnV6jpO7eLKnlyYZMsNIRcnyod USIMfN/KSs6CuPK/sBVelXDOIF1RgcsmxsmWiIwS225c8V4XQFMmTqKRV16Fm3qBP8gkEr tDvELAl9Z7FthuA6J1cWb1FprM5Ji/F/U3B+0SePpuD2qxTbWrlo+fhaUHn5P5Mh6Naxu4 AhHFjn1+E1lMFhCg94VgbMqkSQXs/+pgpVFEpkLdTzRddtzawum+kSOIORot3wKkVXQdct EgYPGzo6H+kouW+hAKYDFKS7XaiQFc+I1sDygY0Sub5zQYmGJkYhVVs/djjHIg== 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 4Pglhz0CPpz15DM for ; Tue, 21 Mar 2023 08:52:03 +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 32L8q2qq080106 for ; Tue, 21 Mar 2023 08:52:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32L8q2Zt080105 for net@FreeBSD.org; Tue, 21 Mar 2023 08:52:02 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 270351] Incompatible change in route(8) utility since 13.x Date: Tue, 21 Mar 2023 08:52:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jamie@catflap.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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270351 --- Comment #4 from Jamie Landeg-Jones --- (In reply to Eugene Grosbein from comment #2) > The task is look up a route not knowing a mask beforehand and find the ma= sk. But did it ever work though? I'm sure that on 12.X and earlier, it's not actually finding the mask, it's just assuming you're looking for a /24. If you try creating (say) a /23 instead of a 24, you'll find the 'route -n = get -net 192.168.0.0" doesn't return the /23, it instead fails. The confusion to me is that it now seems that "-net" / "-host" are redundan= t. - A "net" without a mask is now considered a host, not given the old pre-cidr default mask. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Mar 24 04:58:40 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 4PjVNJ4Ffwz4148r for ; Fri, 24 Mar 2023 04:58:40 +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 4PjVNJ2Gkbz42Lf for ; Fri, 24 Mar 2023 04:58:40 +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=1679633920; 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=fCGb0N0Z4G7zYbSYQSyIrlBHun7ui8j8rY0OKPK6NLA=; b=bg5ZS0iyTdC2RDM8NUB9gHoK93rcZxf6B8Jh8I8kkvpCB8dY6m4r4q4TwR1Vhy3p+ae2Ph DUCZiaM41YVnGCGaetYZ/cgc6oCAYbqliSH8qDanTFI6NdyhckKYHsZjmWBX+hthL9gJ2s ZqaMi+7sxgZBjqsMHvWJoiPuYX/rZgdd+WTRKnTIbh+ghrp4hXMpmUAfTXTB0VbAbtnYFp oU3af0NZTmQQ8nmeQWqVmv28sONn9FWciNKIy6rOTEfGsPk+BzixDx8oRYIia1Cuu9h0iX FgPisBUmVMu3GAjC618K69jGPpLyMTOk5jevlaUp72PRYGRUMNUzlyYhS/9EDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679633920; a=rsa-sha256; cv=none; b=I11YTsmZMoViYzIfZ8bl1yTyQiIIRQHXb4sodiULLk179V+B24Yw1dm4vAT2SktumNdGt8 ATRQrwvoqkaUocItFgEmz9mxEBN+14kdliz4/D+TvipMNeABICC3uubnR4ppizwUyo+NKW wWAhuPu7QTHP5DhGYRVcrrSbLqLB7+RUn6YESEDVf2x5T+h1Zh+bxYrq70EzGsteFeLgrk IL+M9/FyWD31WZjz8JF6DSzqgaVfmuV5SL9n/4qcX1CNubNG0cGIDABapBb2kgz5TUhzbH jYA7hmQph+D+/r/G/9p96QzyZl1nq3v8A9HwfHwOa1qvttpUa3rQL9uP/KSrzg== 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 4PjVNJ18yyz14TK for ; Fri, 24 Mar 2023 04:58:40 +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 32O4weoj016995 for ; Fri, 24 Mar 2023 04:58:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32O4weRh016994 for net@FreeBSD.org; Fri, 24 Mar 2023 04:58:40 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 224961] VLAN ID 0 Not Supported Date: Fri, 24 Mar 2023 04:58:40 +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 Some People X-Bugzilla-Who: xerowingsx9k@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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224961 topsecretsauce changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xerowingsx9k@gmail.com --- Comment #14 from topsecretsauce --- I am also experiencing this issue. I think another way of describing what we may be seeing is that WPA_Supplic= ant may be unable to process requests tagged with VID 0. This may be similar to= how dhclient was unable to do so until Franco worked on having dhclient decapsu= late VID 0. I am using a netgraph configuration on 13.1 that filters out 802.1Q information if it contains VID 0 and from looking at the CAP for that netgr= aph interface, it appears to respond to EAP Identity requests normally. And like the others, if I simply use WPA_Supplicant with the physical interface and = let it receive the VID 0 EAP identity request traffic, it doesn't respond to the identity requests. What we may need is for WPA_Supplicant to decapsulate 802.1Q information fr= om the frame if there's a VID of 0. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Mar 24 05:03: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 4PjVV92t3Kz414XD for ; Fri, 24 Mar 2023 05:03: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 4PjVV91nBcz43lm for ; Fri, 24 Mar 2023 05:03:45 +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=1679634225; 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=tGqzAFAJmlkjEfaG+c6KS3Wtsy51Mn/9B/y3z3D5aAk=; b=D3G1AxCoX7eOIarIADmGXsxlD7GABOE0vbyJziBB39tgjBpXNqShJOe9A/crZz8qu/GiiL a2rbxI2V8jj7atVTzzwKRsJ00bHGo7hgIdcJc24cYcMNKNiOx94k2JG+Ji6Qem8tonA70F usQveKnhwIaeczGqmjcWV7y0ffb+rmxaQRDOaHwmZYp06IxKiNsGCQq2KY86Lr/IwmpiA/ Yumbm6qTSCk3OPHThQIFJvLagU2crJgYjBQgY+NhYk+69IIWe7AqTf9MUbSIi9lZmqojoq LSBWEWXmM99pmSUACuVflEBv0M3JdALNNyOGgBLNkV0a1fNYfnkOIO1gsM3Adg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679634225; a=rsa-sha256; cv=none; b=i71Z2PQCYcvgu9JgkS7fuNnwAUpRPf1hAI5o4IKmvVxDpMncH6dAmgcS3nZ+c6Ducq151g iVqR3iX+dcNoXfqj+hAdU/l2jczsomm7DHMSPg4n1QsRQHWS2n6+fWoVJded8djALvQ64w 0VUQdqyPMmqzloTKSpDfQsS3NZo/8r5i3DGPanamaBkp6e4N3OtTaxBz04HdJBYEq664i6 ms+uGTAzePzl9RsbWawylLFWJ4eXXKQOZcHcizC8MgQ2+pXnjtoz3Kct5DCxD55beBpbdg oEkep4ZN1kBaWW4KMQtIrt+wMdXaRR/IDVs9m0/EhrTamslzVq/zNcxs7ihv1w== 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 4PjVV90sxSz157G for ; Fri, 24 Mar 2023 05:03:45 +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 32O53jB5030175 for ; Fri, 24 Mar 2023 05:03:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32O53j9v030174 for net@FreeBSD.org; Fri, 24 Mar 2023 05:03:45 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 224961] VLAN ID 0 Not Supported Date: Fri, 24 Mar 2023 05:03: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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: xerowingsx9k@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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224961 --- Comment #15 from topsecretsauce --- (In reply to topsecretsauce from comment #14) I forgot to mention. I'm referring to this change to dhclient https://reviews.freebsd.org/D31515 --=20 You are receiving this mail because: You are the assignee for the bug.=