Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2014 17:22:30 -0600
From:      Ian Lepore <ian@FreeBSD.org>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: syslog receiving data by UDP from windows with nxlog
Message-ID:  <1408576950.1150.16.camel@revolution.hippie.lan>
In-Reply-To: <alpine.BSF.2.00.1408210100110.71532@wojtek.tensor.gdynia.pl>
References:  <alpine.BSF.2.00.1408210100110.71532@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2014-08-21 at 01:08 +0200, Wojciech Puchar wrote:
> i configured nxlog on windows machine to send logs to FreeBSD.
> 
> checked with tcpdump windows actually send logs like this:
> 
> 2014-08-21 00:50:17 winserver1 INFO 7036 Usluga nxlog weszla w stan uruchomienia.
> 
> this way:
> 
> 00:50:27.995832 IP 10.100.100.241.54774 > 10.100.100.1.514: [|syslog]
> 
> syslogd is run this way
> /usr/sbin/syslogd -vn -b 10.100.100.1 -a 10.0.0.0/8
> 
> and syslog.conf is like this
> 
> 
> +*
> *.*				-/var/log/messages
> 
> 
> nothing is logged.
> 
> to test things - i configured syslog from other FreeBSD computer to send 
> logs to 10.100.100.1 - works fine.
> 
> 
> what is wrong?
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"

In /etc/defaults/rc.conf is 'syslogd_flags="-s"' which prevents
connections from other machines (so that your syslogd doesn't become a
remote disk-filling service).  The syslogd(8) manpage will show you what
you need to set instead to allow packets from that other machine.

-- Ian






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