From nobody Thu Dec 11 01:37:59 2025 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 4dRZwR2wYjz6K44W for ; Thu, 11 Dec 2025 01:37:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dRZwR1X59z3lTv for ; Thu, 11 Dec 2025 01:37:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765417079; 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=zrMy4QlhTRFk6Bs3QX42QVvbPCCNGj81zwfXAT6kgB4=; b=YS/DNl8aVy2tO6FX4rWZ8NgWQpZ4VhfVDZGmSwx1vmfqruOYrySUZ9lrssTRP5ykeba9ev Te2+j02PRXTH8PE6rm6G4InI0LXAP+pVOvVGUZgeGbkxFkS8LdzqZCcvYF0k1XM/oq+SCd 4AEm3Ou2YMAxUkRHcPSHDS0TLn79xQlKT8+CBgd+LPvrHBbkp83ne2B6EB2sdao6WeOQMl vBIs75YSGNlU3Ynnbhznlb20+0JHyi3DQRN6nqS2/cOUqax+x2o0z2DoLgNDexoqUbfUBK 5MNK939wL5Ygry240c5wH++/GS/dBC4XIK9Mg67ChIEQyDlYouezeWAPoJ1qTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765417079; 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=zrMy4QlhTRFk6Bs3QX42QVvbPCCNGj81zwfXAT6kgB4=; b=L0msH3iJMP6jNt0mHJlTb4vR1E1qzdz2hYi4ui49h5EtAitGGYIRFNH8lQPxyqMgZ2Wyse dw0iog0XbC/0zXpMJieCILfWTmiumpyDKaLyifOjlIMo3ooF78SOFNv0lVpKcEu4BBjnsu U9S2ZA7eQGA4ywtqF2E6z3lJx7j3YcZG8Ck0RH11mCvPAfCCCxBCSazXEI551QiSgDU03v BvHN1hEdcYXt4Y7BrduulJBXk/9DborXrKiqw0teSU3FTbqT1o64JsBk71pjWSIXrTJJia nmEczd4oTUetnxmadvQQAd9vCtcw/DdcKUYt+L7D9ZHv7b11yccYt1nTU5p+9w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765417079; a=rsa-sha256; cv=none; b=LqfDS60A55sJVtxYzOsziNnJqBp4RCQwzu2Bvd3+ReNsdl0PqKZA7a0FmBTwMCVeHmex8K vtkb9VTIdebNV+2caXuxAUVgTHW1E6UCLUapnzKUAVN5JBqB4oHjUaefOI+XiLK0lIPDUL kh2CsmPT1zcK+9i5x+Twpf9+40mhVsTQUiQk8zi/o92+/UtN/Aw9l2TyLpH6JyXSl2VAhS BndQwGiIU+WoUnKMzmccdVdYHaDt6QsmfhFbnlSA+ZeomL5s5JsNhRiJBsp4hBsL9Xwwy0 A0QHbx7uLY+SEb6Q45f0ypm1rR/hP6qejD5qRk1usxJqh7KHhH8XHKrwDRNJ+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4dRZwR12Wvz1922 for ; Thu, 11 Dec 2025 01:37: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 5BB1bxYW045130 for ; Thu, 11 Dec 2025 01:37:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BB1bxQW045129 for net@FreeBSD.org; Thu, 11 Dec 2025 01:37:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 291145] UDP connected sockets cannot be disconnected Date: Thu, 11 Dec 2025 01:37:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: contact@zentec.dev 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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D291145 --- Comment #1 from John Studnicka --- I tried this with the Rust socket2 crate for the following scenarios and neither of the sockets were able to reach a "disconnected" or unfiltered st= ate after the initial connect to a client IP: socket2::Socket::new(Domain::IPV4, Type::DGRAM, Some(Protocol::UDP)) connect to AF_UNSPEC -> EAFNOSUPPORT connect to NULL -> EINVAL socket2::Socket::new(Domain::IPV6, Type::RAW, Some(Protocol::ICMPV6)) connect to AF_UNSPEC -> EINVAL connect to NULL -> EINVAL --=20 You are receiving this mail because: You are the assignee for the bug.=