From nobody Thu Jun 30 21:37:10 2022 X-Original-To: doc@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 02C348B32CB for ; Thu, 30 Jun 2022 21:37:12 +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 4LYs9g5zknz3Hb7 for ; Thu, 30 Jun 2022 21:37:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 A9BC969A1 for ; Thu, 30 Jun 2022 21:37:11 +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 25ULbBiA012811 for ; Thu, 30 Jun 2022 21:37:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25ULbBL6012810 for doc@FreeBSD.org; Thu, 30 Jun 2022 21:37:11 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: doc@FreeBSD.org Subject: [Bug 264739] send(2) doesn't document EAFNOSUPPORT error Date: Thu, 30 Jun 2022 21:37:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pmc@citylink.dinoex.sub.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656625031; 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=u2KPXFZyK5gwWSaEeysHSKeKgWq6w0E9D0g/8+38mCM=; b=hEJ4HsV6ghLdpENyGkV7hj/2T+9S572P7B2XOp9E/nLRIDxh5ryvXRZejqFpMJf1d7m0Fm +HBqkGpx5CzhPL2NtHguq2fmCg+fdJ17k1fuQXMKpEXqStOm4WhX9dlFk2PpOd5cW6ZI2k dulQHKCiV1N3MVAMJ715ZV0TQhLKeRpXsaS05KG7iX8jRDdzXuXhQGixqNHDfE74faAr4b iz484FcX5rqVtDi4flwvXIYrPsVLRa+weH3EXlgfAMBzNTE2X9BBft8BDcf6rhy9bj65wA 2k3E+JRUVMj6BkJl4NLDkMijidC6TwL9f4CVJFRzhSnEh3Jme7k1z1qijl5xkA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656625031; a=rsa-sha256; cv=none; b=h+0TdlmtK1pUb+xXko1kBYQdxBE5cBFn1Op//8vReBFWXSWtl5nO9ssbjSQFc5MDRPF48Q bTzn8+Lj+BJvDK49dWcjz+OYtU8b5zFgswqxLRs/OLWGyHUiHV4KSKaT82+fnId306xbFZ cEkkj9V2ao3mWDz/RQthk/34dmo1HfkotxoekqefYUDDhFWC4/VMdNSt/bkRt3SnsglCrU tvk5vM9c48vh9E2AMHfQB/8+ZOr1cINBHAZpCimT9nvyiiiKo8hUOCcsiEyt2SYFqwdFqI KYGw4wgOTqQkWzquh4LWehcWm9sVjw/s8nSuM+foE/JGEIFEuGfK2tyPV9Yt6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264739 Peter Much changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pmc@citylink.dinoex.sub.org --- Comment #5 from Peter Much --- I was just hit by this bug also, as it crashes my IPS: suricata[13989]: [105773] -- [ERRCODE: SC_WARN_IPFW_XMIT(84)] - W= rite to ipfw divert socket failed: Address family not supported by protocol fami= ly suricata[13989]: [105588] -- [ERRCODE: SC_ERR_FATAL(171)] - thread W-8677 failed This happens every time at the moment when an SMTP connection via IPv6 swit= ches to STARTTLS. (I can do it manually in telnet: the connection builds up normally, and after I type in STARTTLS on the client side, the crash happen= s.) I do not see why the protocol family of an active tcp session on port 25 wo= uld change when deciding to do TLS. For now I have changed the IPS to ignore this errorcode, and apparently that helps - a mail went through successfully, with no anomalies visible in tcpd= ump. I'll attach my patch on security/suricata --=20 You are receiving this mail because: You are on the CC list for the bug.=