From owner-freebsd-stable@FreeBSD.ORG Mon May 6 00:14:53 2013 Return-Path: Delivered-To: freebsd-stable@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 83A8615B for ; Mon, 6 May 2013 00:14:53 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-vb0-x22f.google.com (mail-vb0-x22f.google.com [IPv6:2607:f8b0:400c:c02::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 3EA4931A for ; Mon, 6 May 2013 00:14:53 +0000 (UTC) Received: by mail-vb0-f47.google.com with SMTP id x14so2523405vbb.6 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=k/l/b1D9FW/+7xSZe2Yn3AVOZXbCH9AiLbrojStktensKffNga4TW5LbZ6iecR3igR gT8MB0vezQml+Fm/5VT9HTTZJHNM4gUemMIFoXbsxkSom0pwCYL9pDizGkSYo2sgzybN m+0PQKZpPKfjSZwPeEa7HIVc39oK7nBFQOk1X5QN+jYJLL/wC0Tfjf1ipQJ0sEWw1j+9 hJn0LFyzNQescfCGAUg7ft2D9QzbwoYH+0/faOID7cG9vhNv02z3glyEuOi+6//r+hcJ s63FxZHB2JR7jGlkHYc0bnx4262Z3zTcZOX3Y6jWg93ygjKONta5Q6N86edDUBPCAeZQ 9yFw== 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: ALoCoQkumC9ncZlA2ilcGHrUwYghtmaHd6jRZ8jeedZqNzUcd+JcYo4okYKEU3e8PekT6ArxAvy+ Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code 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))