[syslog-ng] Configuring syslog-ng to broadcast

Alexander Clouter ac56 at soas.ac.uk
Sat Apr 22 18:28:54 CEST 2006


Hi,

Jim Schuyler <sky at red7.com> [20060421 18:38:31 -0700]:
>
> Although I have tried to convince my client that this isn¹t exactly the best
> idea, they want to configure syslog-ng to send logs by broadcast rather than
> to a specific address on their subnet.
> 
> Previously the configuration line we used for a specific remote syslog was:
>    
>     destination grouplog { udp(192.168.1.14 port(514)); };
> 
> Can syslog-ng actually do udp broadcast, and if so, what would be the
> appropriate config line to cause this to happen?
> 
> (I have tried using 192.168.1.255 and 255.255.255.255 and neither seems to
> do it, although I might not be properly configured on the other end to
> receive broadcasts...the other end is Mac OSX and it does receive messages
> just fine if I configure 192.168.1.14, as above.)
> 
If you look over the previous month or so worth of archive for this mailing 
list you will come across my multicast support patches.  To send stuff to a 
multicast address you don't need to do anything special, but to receive it 
syslog-ng needs a light bit of patching.

For the sort of thing you are after, it really sounds like multicasting would 
suit you far better.

Cheers

Alex

> [Jim Sky]
> 
> 
> 
> _______________________________________________
> syslog-ng maillist  -  syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
> 
> 


More information about the syslog-ng mailing list