Hello Sergey, On Thu, Sep 13, 2012 at 01:01:17PM +0400, Sergey Pinchuk wrote: > Hello everybody, > I have noticed that haproxy opens random udp port and listen on it.
In fact it does not really listen, it's just that the port is bound. > After search around that problem I have found this > http://www.mail-archive.com/[email protected]/msg02006.html. But it > doesn't makes clear why haproxy need to have opened port all the time. We need a UDP socket to send logs over UDP. As soon as the UDP socket is "connected" to its destination (via connect() or via the first sendto()), it gets a source address and port assigned by the system. In UDP, the socket has no state (no notion of listening). So what is listed in netstat is the two ends of the socket that is used for the logs. > Can anyone help me with it? What issue does it cause to you ? Regards, Willy

