syslog-ng supports the ability to spoof the source of syslog messages when relaying them to other servers using the spoof_source() option. The --enable-spoof-source option needs to used at compile time to turn on the spoof_source() option in syslog-ng.conf. It would be helpful to have a USE flag to build with --enable-spoof-source. Reproducible: Always Steps to Reproduce: n/a
are you actually using it?
Yes. I'm using so that I can send syslog info from various network devices into MySQL and to Zenoss' zensyslog daemon. With out it, Zenoss only sees the IP address of the local syslog server and not the host name/IP of the logging device. net-libs/libnet needs to be installed for syslog-ng to build cleanly. I'd post a patch for the ebuild but all I did was add --enable-spoof-source to the econf line. Obviously, a build dependency on libnet would need to be added if spoof-source is enabled.
in 2.0.3 thanks for the bug report.