From owner-freebsd-security@FreeBSD.ORG Mon May 6 00:14:53 2013 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8402A15C for ; Mon, 6 May 2013 00:14:53 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-vb0-x233.google.com (mail-vb0-x233.google.com [IPv6:2607:f8b0:400c:c02::233]) by mx1.freebsd.org (Postfix) with ESMTP id 4018431B for ; Mon, 6 May 2013 00:14:53 +0000 (UTC) Received: by mail-vb0-f51.google.com with SMTP id x16so2533410vbf.38 for ; Sun, 05 May 2013 17:14:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=x-received:subject:from:content-type:x-mailer:message-id:date:to :content-transfer-encoding:mime-version; bh=CWgmwochS0FNwxStOOfAeJkqOkKZ0r3ODwS2ruWz9ko=; b=R9CyqGKbiW0aa6357pKscSI/4rC6zonHcWTtouqRdd0m9GSj0WdmS7VdBHJtKP7x9B gC6m5uRYvbbJhMmD+tj+/KePP+qiQqVZC2vB/Inive3/7dvURpdclNxotOs5XrFaYUtq EEjvLQtn8pZFXyKwfuF5H+eNtfN5syOTLU060= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:subject:from:content-type:x-mailer:message-id:date:to :content-transfer-encoding:mime-version:x-gm-message-state; bh=CWgmwochS0FNwxStOOfAeJkqOkKZ0r3ODwS2ruWz9ko=; b=STya/zqKlzFzk04J6Pq5OZ2pC2+upO52u3dRjMFuT4paPaG135r/b/Xs0/zlL5NBdx MyDPRC1pU0OoPZH3xTY5cDvmx4Rv4AG13Wx5quPlIlZSj1pOymxevct8nsJap7idoAGy I344d+/PQmRWSRvUUt7yf7lyFt/swymlA4/GaXwclm5Ca+Yjuj0n1yLf8bp6I/hPjpAh pWtojWdYCcC0oleRrgZ6B1Kr9QFhfWadw9U7KhRKMXb69UlII/Irou47uQik6Q4fFwWO ukvCSeDoI8AeRC4mlxJvOkGOUxJbUVlINNqLdw6HkUabRovK5R6BEHpqXorT7lUG4E+d tY0Q== X-Received: by 10.52.65.144 with SMTP id x16mr5193018vds.123.1367799292716; Sun, 05 May 2013 17:14:52 -0700 (PDT) Received: from [192.168.30.77] (24-236-152-143.dhcp.aldl.mi.charter.com. [24.236.152.143]) by mx.google.com with ESMTPSA id l6sm14941929vdh.3.2013.05.05.17.14.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 05 May 2013 17:14:51 -0700 (PDT) Subject: Login failures usefulness with OpenSSH 6.1 From: Jason Hellenthal X-Mailer: iPhone Mail (10B329) Message-Id: <358B4722-3277-4A3B-93F3-33479A7D4682@DataIX.net> Date: Sun, 5 May 2013 20:14:49 -0400 To: "freebsd-security@freebsd.org" , "freebsd-stable@freebsd.org" Mime-Version: 1.0 (1.0) X-Gm-Message-State: ALoCoQmddtfqTMU7JY7l40XOGsfwdnxlz9CsVia47yZrS0hz5mI5SF5pEuHvmcVeFyOjRpwCQOf2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 May 2013 00:14:53 -0000 Hello everyone, It seems that the login failures reported by the security output of a nightl= y periodic job has become somewhat useless per OpenSSH 6.1. I used to get username and IP address in the output but it seems that the lo= gging format has changed. Instead of one line the log format now has two lin= es. One like the ones below and then another coinciding line that contains I= P address and username. I think it would be more beneficial outputting the lines with the ip and use= rname over the ones below for the security output. Not sure exactly when this changed but would like to gather some input befor= e I inspect further on the changes that would have to be made. My output is from SVN FreeBSD STABLE 8.3 as of yesterday. Thanks & Clean Regards, ...Sample output... login failures: May 4 00:04:35 disbatch sshd[48898]: fatal: Write failed: Operation not per= mitted May 4 14:54:14 disbatch sshd[9544]: input_userauth_request: invalid user ro= ot [preauth] May 4 18:44:04 disbatch sshd[18326]: fatal: Read from socket failed: Connec= tion reset by peer [preauth] --=20 Jason Hellenthal JJH48-ARIN -(2^(N-1))