From owner-svn-src-all@freebsd.org Sun Feb 19 21:42:33 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5EE82CE688D for ; Sun, 19 Feb 2017 21:42:33 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: from mail-ua0-x22d.google.com (mail-ua0-x22d.google.com [IPv6:2607:f8b0:400c:c08::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1A37A1505 for ; Sun, 19 Feb 2017 21:42:33 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: by mail-ua0-x22d.google.com with SMTP id x12so55414970uax.0 for ; Sun, 19 Feb 2017 13:42:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=x4zGEFMpm6oXfgYqfmF7vgXgAqF3RjXTcJtopQTfWTg=; b=NCMll4H2eUaW4RqiOExD3vGw4PgZkztIjUdAXWurRYU4QCFS0/P4C8/JqryMRVueFF I6hhzQz1UcR235nqfI3sE/2fM8P5sGEN08NNl6lcjf6HPAfCc2ci8rLIPSxs7+deXsM3 NdaV+F3h0NVZ37IJOaHwlUq2MBNW1kBqZHah1a5oT6g2fdGr46hG/NQGLZ7v6+D99FGt m6A5e3xvCvUKo5H8/3b+CcCqpF/QSojhAL7Z2dn0GjjULRF1B3dpgCrF6sQw61AmSpxb BNnxxnXYkV9O8tUMZmzKFcwSY/2ZYdhNT931yRxAevo5sXbHWACwrfyT5/vdppj1bw1s D5CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=x4zGEFMpm6oXfgYqfmF7vgXgAqF3RjXTcJtopQTfWTg=; b=FPplXvdhXLRDF/TqSWyIIAIOzSdjC6MJu0a61JpuGcBi/QzXmXUjuZBuyOpk4ShSZk Qyu4S8gIh8aSIBKROI867e64sDYQlAkBHYV+iWjGgv5nEkqMOmt60z8cIUOxdpKmIrDf 68YcU7nTRQW9f2sAtSf9xO7npaDroWM36MAZx9o96HPwNIQqSxsr08NMHt0Vao0fJwbw 9wQ2nmSD1H8FV/em/9m86vJpeHDROVSOZQ/7vH0Dm5nA5Fx3e73PNRqt8MPKnA+mKft/ Szht0zsDlXeCgUQ1fa++tftml78IT2xzQZITuaXxmgQ3R53Bw3thAgEWMG0Fvy9qUk9Q cPuA== X-Gm-Message-State: AMke39nKVqUSfXgc0zVHc1uGwx2P3WzVjLZKYTP3C9oNwYxzP80Kd+MsqkTBwlIiikakmJsmcZCV1xNWrj/uHLrq X-Received: by 10.176.4.117 with SMTP id 108mr2673610uav.16.1487540552177; Sun, 19 Feb 2017 13:42:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.45.2 with HTTP; Sun, 19 Feb 2017 13:42:31 -0800 (PST) In-Reply-To: <201702192035.v1JKZdie080791@repo.freebsd.org> References: <201702192035.v1JKZdie080791@repo.freebsd.org> From: Oliver Pinter Date: Sun, 19 Feb 2017 22:42:31 +0100 Message-ID: Subject: Re: svn commit: r313965 - head/crypto/openssh To: Kurt Lidl Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2017 21:42:33 -0000 Hello! On 2/19/17, Kurt Lidl wrote: > Author: lidl > Date: Sun Feb 19 20:35:39 2017 > New Revision: 313965 > URL: https://svnweb.freebsd.org/changeset/base/313965 > > Log: > Only notify blacklistd for successful logins in auth.c What's the rationale behind this change? > > Reported by: Rick Adams > Reviewed by: des > MFC after: 3 days > Sponsored by: The FreeBSD Foundation > > Modified: > head/crypto/openssh/auth.c > > Modified: head/crypto/openssh/auth.c > ============================================================================== > --- head/crypto/openssh/auth.c Sun Feb 19 19:56:12 2017 (r313964) > +++ head/crypto/openssh/auth.c Sun Feb 19 20:35:39 2017 (r313965) > @@ -295,8 +295,8 @@ auth_log(Authctxt *authctxt, int authent > authmsg = "Partial"; > else { > authmsg = authenticated ? "Accepted" : "Failed"; > - BLACKLIST_NOTIFY(authenticated ? > - BLACKLIST_AUTH_OK : BLACKLIST_AUTH_FAIL); > + if (authenticated) > + BLACKLIST_NOTIFY(BLACKLIST_AUTH_OK); > } > > authlog("%s %s%s%s for %s%.100s from %.200s port %d %s%s%s", > _______________________________________________ > svn-src-head@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-src-head > To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org" >