From nobody Sat Apr 11 19:38:31 2026 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 4ftP9N04Dlz6Z19s for ; Sat, 11 Apr 2026 19:38:32 +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" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ftP9M6hDSz3klZ for ; Sat, 11 Apr 2026 19:38:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775936311; 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=F0V84gc2uV1bAc/ThDW0UJ2vJFHZcRswp2nust6tDmc=; b=eFq5M17q0jK2sjr1fQJRrzSWsz2ud5FhvlPuME/IAPimia9Z8db+J6JHrokHFizLH+DNwi 73hJqG97vhKs9YJL8bhElx0jlnUi4u2kr6I/eNASqbYrB145A3KrcJkwUz9PyWIQwMFScb 2waeKWSiTEDpT4JwA9RvNI4kn7ePsSY3bkHeZTF5r8KOrBA4bWiRCcLV7pC14H6ejqdFCz tLdaIpmO4I/23U9gXa+39bSYnYCNIldp25A9KqBxGvWokP7eZoNBozrl3xv1Dp60pbW24A pYd3yhlzC0XKd5FQo6Ttx7VNt+RNK+NL7xXFq/Qao6p53wbSkaKX36/SxbDchA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1775936311; a=rsa-sha256; cv=none; b=o+gCZrNAZTEhThZ0yI7Jgl6LoRsAHgRFSbvplJZuOxwPk8Ti+lGD4t8rIeKiXCWTTZrhV4 zG+N/YkCrsfdkIUj6SnUDzJcoxsEOb/SGpgBxihJA3lEgNAhGFSFfJtWKR/izt+SqGkEDa GceOzs/FqJ8vucWoJj7O45L7cniyxddNt2MHSG45SOmqGxK3PvIDW60ZAhEdiXebU/hgMA UQz+Azd8UgcFTgbNPItOcP7eMOxWki1q5pw6xUWicOoyh51kp2uNx9y6MpTjxOc6ld2hnn dpuImD0WJqlKyCn0XbhkpRFR445BD4gFVO96Z86BHB1GJ8CKOnjpkppYwC8+yg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775936311; 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=F0V84gc2uV1bAc/ThDW0UJ2vJFHZcRswp2nust6tDmc=; b=FH5KBrnDpeRXt6xWwT6D99JEjJ0uJyut/bcZtb1wBbdeo8Zri/WiIDvzWhTIaC0ljWUc/i 7ZWqiyB9KcTPv+LCjlGHFyJWvoAjpaQerklpWJ0EZ82qnzg8SBFVyzjDMejgmmzYsM4JkY 39yIVWVUonPHAekbzs6SyKX7Uh/Gd+/zgxVzU8plz1MUyUKnvnKhvIoS/GaJuopDze1wLl L68dZ6MXFpoiQBZt3J9TlDRPC8qRuOOIZ93TadFy8DLZopBcQzhE35t/67uCUY/6MCEIYc yxAL79yLRJFMJaMX2fXVzcZhqmubRFeZ4XmFsKxrFIIflUTRIRfJiI21vQLUOA== 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 4ftP9M60XtzkyR for ; Sat, 11 Apr 2026 19:38:31 +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 63BJcVYL063580 for ; Sat, 11 Apr 2026 19:38:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 63BJcVix063579 for bugs@FreeBSD.org; Sat, 11 Apr 2026 19:38:31 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 294334] nc(1) doesn't print any error message when connection is refused Date: Sat, 11 Apr 2026 19:38:31 +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: 15.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: des@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution cc bug_status 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D294334 Dag-Erling Sm=C3=B8rgrav changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Works As Intended CC| |des@FreeBSD.org Status|New |Closed --- Comment #1 from Dag-Erling Sm=C3=B8rgrav --- This is intentional: netcat is designed to try any number of addresses and ports until one succeeds (for instance, if you give it a host name which resolves to multiple addresses) and there is no correct answer to the quest= ion of which error(s) to report in such a scenario: all, or just one? If just = one, which one? What if one is more significant than the others? etc. Use the -v option if you want explicit error messages for every failed operation. --=20 You are receiving this mail because: You are the assignee for the bug.=