Adding correct HTTPProxyServer & HTTPProxyPort solve this problem.
w/o proxy (timeout):
==============================================
$ strace /usr/bin/freshclam
fcntl64(5, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1208970842, 77319}, NULL) = 0
connect(5, {sa_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr("83.222.14.114")}, 16) = -1 EINPROGRESS (Operation now in
progress)
gettimeofday({1208970842, 77476}, NULL) = 0
select(6, NULL, [5], NULL, {29, 999843}) = 0 (Timeout)
gettimeofday({1208970872, 76316}, NULL) = 0
select(6, NULL, [5], NULL, {0, 1003}) = 0 (Timeout)
gettimeofday({1208970872, 80182}, NULL) = 0
write(3, "nonblock_connect: connect timing"..., 47) = 47
write(1, "nonblock_connect: connect timing"..., 47 nonblock_connect:
connect timing out (30 secs)
) = 47
fcntl64(5, F_SETFL, O_RDWR) = 0
==============================================
with proxy (fine work):
=============================================
fcntl64(5, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1208971105, 306442}, NULL) = 0
connect(5, {sa_family=AF_INET, sin_port=htons(3128),
sin_addr=inet_addr("***.***.***.***")}, 16) = -1 EINPROGRESS (Operation now in
progress)
gettimeofday({1208971105, 306562}, NULL) = 0
select(6, NULL, [5], NULL, {29, 999880}) = 1 (out [5], left {29, 996000})
getsockopt(5, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
fcntl64(5, F_SETFL, O_RDWR) = 0
send(5, "GET http://db.local.clamav.net/d"..., 126, 0) = 126
=============================================
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]