Michael Stapelberg wrote:
This is easily fixed by using getaddrinfo() (which is also beneficial for
supporting IPv6 and for other reasons, see:
http://udrepper.livejournal.com/16116.html
). Patch is attached.
Thanks for the patch (which upstream will hopefully apply to their tree :).
Please
Thanks :)
Added to upstream. There were yet two additional gethostbyname()
instances used in ICMP test and Monit's httpd server socket ... i have
replaced them too.
Martin
On Aug 12, 2009, at 7:56 AM, Stefan Alfredsson wrote:
Michael Stapelberg wrote:
This is easily fixed by using
Package: monit
Version: 5.0.3-1
Severity: important
Tags: patch
Because monit uses gethostbyname() in net.c, it tries to interpret the mapped
addresses it gets (:::192.168.1.1) as AF_INET and thus connects to 0.0.0.0,
which works by chance for some services, but not for all.
This is easily
3 matches
Mail list logo