From owner-freebsd-questions@FreeBSD.ORG Fri Nov 25 07:06:19 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E3B116A41F for ; Fri, 25 Nov 2005 07:06:19 +0000 (GMT) (envelope-from james_mapson@umpquanet.com) Received: from ns.museum.rain.com (gw-ipinc.museum.rain.com [65.75.192.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C58143D58 for ; Fri, 25 Nov 2005 07:06:18 +0000 (GMT) (envelope-from james_mapson@umpquanet.com) Received: from ns.museum.rain.com (localhost [127.0.0.1]) by ns.museum.rain.com (8.13.4/8.13.4) with ESMTP id jAP76Ana059152 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Thu, 24 Nov 2005 23:06:11 -0800 (PST) (envelope-from james@umpquanet.com) Received: (from james@localhost) by ns.museum.rain.com (8.13.4/8.13.4/Submit) id jAP3vBD5058504 for freebsd-questions@freebsd.org; Thu, 24 Nov 2005 19:57:11 -0800 (PST) (envelope-from james) Date: Thu, 24 Nov 2005 19:57:11 -0800 From: James Long To: freebsd-questions@freebsd.org Message-ID: <20051125035711.GA58357@ns.museum.rain.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-101.4 required=5.0 tests=ALL_TRUSTED, USER_IN_WHITELIST autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on ns.museum.rain.com Subject: How to have sshd log IP numbers instead of reverse lookups X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2005 07:06:19 -0000 I was looking at /var/log/auth.log and saw an entry of the form: Nov 24 18:41:37 ns sshd[58083]: error: PAM: authentication error for username from example.com I wish to have an IP number logged where sshd has instead logged 'example.com' Reading sshd's man page and sshd_config's man page, I don't find any way to control this. Since 'example.com' could have multiple IP numbers, how can I change sshd's configuration to log the IP number from whence the authentication error originated? Thanks! Jim