Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jul 2005 09:38:51 +0100
From:      Brian Candler <B.Candler@pobox.com>
To:        Tuc at T-B-O-H <ml@t-b-o-h.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Syslog not logging
Message-ID:  <20050723083851.GC760@uk.tiscali.com>
In-Reply-To: <200507222258.j6MMwemi042819@himinbjorg.tucs-beachin-obx-house.com>
References:  <200507222258.j6MMwemi042819@himinbjorg.tucs-beachin-obx-house.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 22, 2005 at 06:58:40PM -0400, Tuc at T-B-O-H wrote:
> 	I'm trying to get syslog to log output from a 7 machines and 4 
> routers, all in the same subnet. My syslog is started as such :
> 
>   301  ??  Ss     0:19.82 /usr/sbin/syslogd -l /var/run/log -l /var/named/var/run/log -a 192.168.3.0/24
> 
> 
> 	my syslog.conf has :
> 
> *.debug				/var/log/spool
> 
> 
> 	For all the servers, everything is perfect. Its the routers that
> are a problem. When I TCPDUMP it, I get :
> 
> 18:50:56.736979 IP 192.136.64.2.8888 > 192.136.64.108.514: UDP, ...
                                  ^^^^

syslogd by default only accepts packets with source port 514. If the routers
use the same static port then "-a 192.168.3.0/24:8888" will allow it;
otherwise "-a 192.168.3.0/24:*" will allow from all ports.

Regards,

Brian.



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