4 Oct 2010 14:31
freshclam and getaddrinfo()
Jacek Zapala <jacek <at> it.pl>
2010-10-04 12:31:21 GMT
2010-10-04 12:31:21 GMT
Hi. Starting from the last upgrade (0.96.3 on debian) freshclam randomly chooses between ipv6/ipv4 connecting to the name that has addresses in both protocols. freshclam uses getaddrinfo() for resolving mirror dns name (wwwconnect in manager.c), but then it randomizes the list returned as a result. This way it breaks the algorithm of ipv6 address selection from rfc3484 implemented in getaddrinfo(). What is the reason for doing this? Regards, Jacek _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net
RSS Feed