[syslog-ng] TTL patch, helpful for multicasting logs

Alexander Clouter ac56 at soas.ac.uk
Wed May 3 13:27:02 CEST 2006


Hi,

Bad of me to reply to my own posting....

Alexander Clouter <ac56 at soas.ac.uk> [20060503 12:23:53 +0100]:
>
> [snipped]
>
> I would recommend *only* when its a bind address that 
> setsockopt(MULTICAST_BLAH) is called...
> 
to clarify

binding wise you need to call ADD_MEMBERSHIP but TTL has no net effect.  For 
sending the data to a multicast address ADD_MEMBERSHIP should not be used 
whilst the TTL functionality is pretty much critical to the whole thing.

Cheers

Alex


More information about the syslog-ng mailing list