From nobody Thu Jun 30 21:37:10 2022 X-Original-To: bugs@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 EBD2F8B32CA for ; Thu, 30 Jun 2022 21:37:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LYs9g5Vgtz3HWM 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 99D8F680F 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 25ULbBFd012807 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 25ULbBQN012806 for bugs@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: bugs@FreeBSD.org Subject: [Bug 264739] send(2) doesn't document EAFNOSUPPORT error Date: Thu, 30 Jun 2022 21:37:10 +0000 X-Bugzilla-Reason: AssignedTo 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@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=yHnqBCogFS8Bo4Pimorv/QFkePMA/CKbEFp9xPoqNDQ=; b=BFQYaHSjHO4s+nGj+uw7b7Ta2sx2PgOoS+OWuVc2hwWBXVf+XGlYsDwTHxL4tEWUHTUO94 Re3eqEOD+AXyhxsZUAyCf7xZOtpBlkk9BRRxa96Rq2aS8Pim3hkeZ6vyiSvLskDDkRblJd y5f8p3YyN9YdXLOcXr9m5gmjX/FbqCPz35sQuEEJA2Gejh1W6QHyPJfomlFyOuLkdWF8V9 NYu95R2C6IRUoe9iGgN/9Cy4q3ziLrfogwjLp3ugG0xsP1ZrsO6KK6Mz6Yo5EeWtqxJYq0 9H8frfiS+WV+jVsnFVP+mi4/taGPIsgRldq/NFqNhooddNkwrnhehr/d10rsDg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656625031; a=rsa-sha256; cv=none; b=rJaNAb2oR06fVsygkri53HXWQrf9aze02NbXSjSvWSr96BlRLRMBwfTOMyQW8kez0st+IG nIL10BjKR90YUwEd9882hXVLmGDLtBrod16vArNEWRPh/Qq4L7aCpO9By2RH+JdFSMk9tt ZMKCwi2cAUBkjinnqHDdSj/tl0s63c8kstz8AJ1O8n/TMxppt6yjIMES7NmALbFuPco+w3 13GgPAIdnjmR2NNCYBn6I5b4me6OS6Wfdi+H72gAG6B4CoJ97uBvtE2MgLbOZ5VnV3Ooqj Gmfuu0f/eGJdJGodlXwcgbgR4DfJGTsGND0PzvPnSMV+Fp73GYjweaujkuhkNg== 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 the assignee for the bug.=