From nobody Fri Jun 10 17:20:35 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 9660B83390A for ; Fri, 10 Jun 2022 17:20: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 4LKSQq0zKxz4cwj for ; Fri, 10 Jun 2022 17:20:35 +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 0229A1C36E for ; Fri, 10 Jun 2022 17:20: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 25AHKYGm050416 for ; Fri, 10 Jun 2022 17:20:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25AHKYI7050415 for bugs@FreeBSD.org; Fri, 10 Jun 2022 17:20: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: bugs@FreeBSD.org Subject: [Bug 264599] blacklistd: message too short/no message errors Date: Fri, 10 Jun 2022 17:20:35 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jlduran@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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: 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=1654881635; 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=BpYhUC+XvAdYo8NZNhVzeOdnDSPUchFkNDKJxLsdw1w=; b=stoSTYHiJXIMWfX7/8kLvJ1IiyhNPs5rTXHMv7uTOR76vyWIyOfH1G3LsAH2GalBk5/yj6 ptGw0VG/sTGE1f9ByiENxuiEVohea8CPZr0iTHKWqi3pJgfzq6qwZ5DTIwgyk1JOfgPF0l mylU9wE/79QLkBppli2cyA4DLeMAzyYhtW9yV2ddzvsn1h6e9fBbwwPMhsR8GeR6Po6/6U HRsUlDvYqBtxdJFjDRbtQWdpbDKp6M3+seUl03mI6S3Ev/NJ7iXUZxQtb2gqoT6N1cJVV7 34zIThrtLB4eWaKMZXBwDPFskimOuNKU6pyRojIjJUOHnuAKAJohq4eTxFBvBA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654881635; a=rsa-sha256; cv=none; b=Bp01iAbz9ofBp7l6ZWiVdVtZ7QlGSL7VpqoCuTVAKNWWA2Gu26eDjyaosv9EjSgK6Z+ZHo SanTMYsz6AeYUiYCn6cWa3tkR0Ezj78ptN0LxUE9LkfmU5wccNc1n2m8lZoIp36Rfx/UY2 a8DGVp0VPtkRChCAFqt5GUhmNsYhrPfqsuP2v6mQLFIIHUYW+PUs/S1U+ZjKHOPinqnnfr RQaDiwH0CMaoR8+LXC+Li0O/ZZGgCaKA/F+WG51nL31UuhjaDoCMIMj6g5ogd+NScI88Rn 7y6T5TikLkCKnVFUPDwTQ09C+V/Kbr7BB3pXofnSrDdnyvgXH8HApjDy0sa4Rg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264599 Bug ID: 264599 Summary: blacklistd: message too short/no message errors Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: jlduran@gmail.com After upgrading a public-facing SSH server, error messages have started to = spam dmesg logs: blacklistd: message too short 144 blacklistd: no message (No such file or directory) Filing this as a bug to track it. In the meantime, I have done this horrible thing: --- crypto/openssh/auth.c +++ crypto/openssh/auth.c @@ -555,7 +555,7 @@ getpwnamallow(struct ssh *ssh, const char *user) aix_restoreauthdb(); #endif if (pw =3D=3D NULL) { - BLACKLIST_NOTIFY(ssh, BLACKLIST_BAD_USER, user); + BLACKLIST_NOTIFY(ssh, BLACKLIST_BAD_USER, "user"); logit("Invalid user %.100s from %.100s port %d", user, ssh_remote_ipaddr(ssh), ssh_remote_port(ssh)); #ifdef CUSTOM_FAILED_LOGIN --=20 You are receiving this mail because: You are the assignee for the bug.=