Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Apr 2010 19:42:27 +0200
From:      Peter Boosten <peter@boosten.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Syslog to log remote nodes
Message-ID:  <4BC0B883.2090403@boosten.org>
In-Reply-To: <4BC0AD32.1030605@locolomo.org>
References:  <4BC0AD32.1030605@locolomo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10-4-2010 18:54, Erik Norgaard wrote:
> Hi:
> 
> I want my syslog to log remote nodes, in particular my access point and
> router, which authenticates users against my freeradius server.
> 
> In /etc/rc.conf I've got:
> syslogd_flags="-C -a 192.168.0.0/23 -a 172.16.0.0/23 -vv"
> 
> In /etc/syslog.conf I've got first the entries for the system, no
> networked clients specified,
> 
> ...
> local0.*                                        /var/log/radius.log
> ...
> # Remote systems
> +172.16.0.0/23
> *.info                                          /var/log/wlan.log
> +192.168.0.254
> *.info                                          /var/log/router.log
> 
> Surprise, I've got my access point logs in the radius log file, not in
> the wlan.log,
> 
> snip radius.log:
> 
> Apr 10 17:54:15 <local0.notice> ap airport 80211: Rotated TKIP group key.
> Apr 10 18:02:19 <local0.notice> ap airport ntp: Clock synchronized to
> network time server ntp.locolomo.org (adjusted -1 seconds).
> Apr 10 18:43:11 <local0.info> alpha radiusd[79800]: Loaded virtual
> server inner-tunnel
> Apr 10 18:43:11 <local0.info> alpha radiusd[79800]: Loaded virtual
> server <default>
> 
> The "ap" is the access point.
> 
> I haven't got anything in router.log and can't really figure where it
> has ended up.
> 
> What's wrong with my syslog.conf?
> 

I tried once the same setup, but never got it working.
I ended up switching to syslog-ng (I know, probably not the answer
you're looking for, but with syslog-ng you can configure the way you
want it to be).

Peter

-- 
http://www.boosten.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BC0B883.2090403>