From owner-freebsd-security Tue Jan 15 14:10:24 2002 Delivered-To: freebsd-security@freebsd.org Received: from falcon.prod.itd.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id 1C7D337B402 for ; Tue, 15 Jan 2002 14:10:22 -0800 (PST) Received: from dialup-209.245.128.158.dial1.sanjose1.level3.net ([209.245.128.158] helo=blossom.cjclark.org) by falcon.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16QbmV-0002ht-00; Tue, 15 Jan 2002 14:10:12 -0800 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id g0FM9b432429; Tue, 15 Jan 2002 14:09:37 -0800 (PST) (envelope-from cjc) Date: Tue, 15 Jan 2002 14:09:28 -0800 From: "Crist J . Clark" To: admin Cc: freebsd-security@FreeBSD.ORG Subject: Re: Logging ssh?? Message-ID: <20020115140928.B31328@blossom.cjclark.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from admin@crimelords.org on Tue, Jan 15, 2002 at 10:49:23AM -0600 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Jan 15, 2002 at 10:49:23AM -0600, admin wrote: > I'm trying to get failed log-in attempts setup to go to my syslog or > messages file (/var/log) and have had zero success. Openssh 2.9 on > freeBSD4.4 stable > > I must be missing something in the syslog.conf, so i put in the line > > *.*,cron.none /var/log/syslog > > no spaces, only tabs...then 'touch /var/log/syslog' Always post the _whole_ syslog.conf(5). Location in the file may be important. For example, if you stuck this at the bottom of the default syslog.conf(5) distributed with FreeBSD, it wouldn't work. > Not sure what it is i'm missing. I've HUP'ed every service, and read what > I could, but it sitll fails to log. You HUPed syslogd(8) too, right? You could try running it in debug mode (-d) to see what is up. > Is this not a feature? or am I just > missing something simple? With relation to my first comment, understand what "blocks" are in the syslog.conf(5) manpage and make sure your added line is in the right place. -- "It's always funny until someone gets hurt. Then it's hilarious." Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message