Re: [Clamav-devel] freshclam and getaddrinfo()

2010-10-04 Thread Török Edwin
On Mon, 4 Oct 2010 14:31:21 +0200 Jacek Zapala wrote: > 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 > (wwwco

Re: [Clamav-devel] freshclam and getaddrinfo()

2010-10-04 Thread Török Edwin
On Mon, 4 Oct 2010 15:14:06 +0200 Jacek Zapala wrote: > * Török Edwin (ed...@clamav.net) [101004 14:45] wrote: > > On Mon, 4 Oct 2010 14:31:21 +0200 > > Jacek Zapala wrote: > > > > > Hi. > > > > > > Starting from the last upgrade (0.96.3 on debian) freshclam > > > randomly chooses between ipv6

[Clamav-devel] freshclam and getaddrinfo()

2010-10-04 Thread Jacek Zapala
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 resul

Re: [Clamav-devel] freshclam and getaddrinfo()

2010-10-04 Thread Jacek Zapala
* Török Edwin (ed...@clamav.net) [101004 14:45] wrote: > On Mon, 4 Oct 2010 14:31:21 +0200 > Jacek Zapala wrote: > > > 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. >