[syslog-ng] [Bug 178] Spoofed source address bug introduced in 3.3.5

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Fri Jul 6 09:10:57 CEST 2012


https://bugzilla.balabit.com/show_bug.cgi?id=178





--- Comment #9 from Gergely Nagy <algernon at balabit.hu>  2012-07-06 09:10:56 ---
Ok, I think I understand what's happening. Pre-patch, resolve_hostname was called from afinet_dd_apply_transport(), which gets called after reload. The patch
moved it to afinet_dd_setup_socket() which only gets called if there is no writer set up - but in case of reload, there is.

This made it so that dest_addr never gets initialised after a reload, and stays at 0.0.0.0. The simple fix is to make sure resolve_hostname gets called
sometime during reload too.


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list