syslog receiving data by UDP from windows with nxlog

Ian Lepore ian at FreeBSD.org
Wed Aug 20 23:22:34 UTC 2014


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at 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





More information about the freebsd-hackers mailing list