[syslog-ng] [Bug 266] localport option does not bind to a specific port

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Fri Dec 20 22:13:26 CET 2013


Gergely Nagy <algernon at balabit.hu> changed:

           What    |Removed                     |Added
                 CC|                            |algernon at balabit.hu
         AssignedTo|bazsi at balabit.hu            |algernon at balabit.hu

--- Comment #7 from Gergely Nagy <algernon at balabit.hu>  2013-12-20 22:13:25 ---
This broke when lib/host-resolve.* came in, I believe. resolve_hostname_to_sockaddr() will always set the local port to 0, ignoring what was specified. There's
no way to pass the port to those functions.

I believe the best course of action is to add a port parameter to the mentioned function, and pass it down to getaddrinfo() or whatever else gets called
underneath. I'll have a patch ready in a couple of hours.

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