From owner-freebsd-questions@FreeBSD.ORG Mon Nov 28 00:02:26 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 560C216A41F for ; Mon, 28 Nov 2005 00:02:26 +0000 (GMT) (envelope-from noeldude@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0E9D43D46 for ; Mon, 28 Nov 2005 00:02:25 +0000 (GMT) (envelope-from noeldude@gmail.com) Received: by wproxy.gmail.com with SMTP id i34so1489505wra for ; Sun, 27 Nov 2005 16:02:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=r3DEunb2h3TVu125IZadcOYXnPitMzKn7lqMZV1CYQwZttc7adhzoWBJWuiYLaod0gGZ6AsmkDyDXUuV5SWKYHZas3TbJErg5EYTBnFstrVC6199nBGWTJUjuNzljuXYN61DoyOGmdklORcJsECeldsKwlhze9pupUnQt1cOZq4= Received: by 10.65.137.7 with SMTP id p7mr549704qbn; Sun, 27 Nov 2005 16:02:25 -0800 (PST) Received: by 10.64.76.1 with HTTP; Sun, 27 Nov 2005 16:02:25 -0800 (PST) Message-ID: Date: Sun, 27 Nov 2005 18:02:25 -0600 From: Noel Jones To: freebsd-questions@freebsd.org In-Reply-To: <20051125035711.GA58357@ns.museum.rain.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20051125035711.GA58357@ns.museum.rain.com> Subject: Re: 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: Mon, 28 Nov 2005 00:02:26 -0000 On 11/24/05, James Long wrote: > 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 user= name 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? > > I believe adding UseDNS no to sshd_config will do what you want. -- Noel Jones