From owner-freebsd-questions@FreeBSD.ORG Wed Mar 22 21:53:31 2006 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 40E2E16A426 for ; Wed, 22 Mar 2006 21:53:31 +0000 (UTC) (envelope-from doug@polands.org) Received: from corinth.polands.org (CPE-72-129-222-120.new.res.rr.com [72.129.222.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id D40CD43D62 for ; Wed, 22 Mar 2006 21:53:20 +0000 (GMT) (envelope-from doug@polands.org) Received: from email.polands.org (ammon.polands.org [172.16.1.7]) by corinth.polands.org (8.13.4/8.13.4) with ESMTP id k2MLrJI2098627; Wed, 22 Mar 2006 15:53:19 -0600 (CST) (envelope-from doug@polands.org) Received: from 209.103.215.99 (proxying for 209.103.215.99) (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Wed, 22 Mar 2006 15:53:19 -0600 (CST) Message-ID: <62464.209.103.215.99.1143064399.squirrel@email.polands.org> In-Reply-To: References: <43E48BB8.7000906@infracaninophile.co.uk> Date: Wed, 22 Mar 2006 15:53:19 -0600 (CST) From: "Doug Poland" To: "Bill Schoolcraft" User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV 0.87/1350/Wed Mar 22 04:12:47 2006 on corinth.polands.org X-Virus-Status: Clean Cc: doug@polands.org, freebsd-questions@freebsd.org Subject: Re: 6.0, allow remote logging? 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: Wed, 22 Mar 2006 21:53:31 -0000 On Wed, March 22, 2006 14:40, Bill Schoolcraft wrote: > At Wed, 22 Mar 2006 it looks like Doug Poland composed: > >> On 2/5/06, Bill Schoolcraft wrote: >>>> I've been trying to get 6.0 to allow itself to accept logs. >>>> >> I'm having the same problem getting syslogd to "work" on a >> 6.0-STABLE box. My ps -waux command shows the -a , and >> sockstat -l confirms that it's listening on port 514/udp. Logging >> works from the localhost only, not from any remote hosts. >> > > Yes, I too had the issue and had to use my SuSE-9.3 box to receive > logs... Maybe it's the curse of the "dot-oh" release(s) who knows. > With a little more googlin' and a lot of trial and error, I have it working now... --------------------------------------- in /etc/rc.conf: syslogd_enable="YES" syslogd_flags="-a 192.168.1.0/26:*" --------------------------------------- in /etc/syslog.conf: !* +192.168.1.0/26 *.* /var/log/messages ------------------------------------ doug@seth% logger -h lebanon -t TEST "from seth" ------------------------------------ doug@egypt% logger -h lebanon -t TEST "from egypt" ------------------------------------ tail /var/log/messages Mar 22 15:40:55 <5.3> lebanon syslogd: exiting on signal 2 Mar 22 15:42:19 lebanon syslogd: kernel boot file is /boot/kernel/kernel Mar 22 15:43:08 192.168.1.12 from seth Mar 22 15:43:39 192.168.1.10 from egypt Not sure why the -t tag didn't come through, but I'm glad to get something anyway. -- Regards, Doug