1st Problem: There is no round-robin downloading while freshclam has been set 
to use proxy.

proxy address: 10.144.126.18
freshclam address: 10.144.10.1

freshclam log:
...
Retrieving http://db.US.clamav.net/daily-5790.cdiff
Trying to download http://db.US.clamav.net/daily-5790.cdiff (IP: 10.144.126.18)
Downloading daily-5790.cdiff [100%]
cdiff_apply: Parsed 18 lines and executed 18 commands
Retrieving http://db.US.clamav.net/daily-5791.cdiff
Trying to download http://db.US.clamav.net/daily-5791.cdiff (IP: 10.144.126.18)
ERROR: getfile: Unknown response from remote server (IP: 10.144.126.18)
ERROR: getpatch: Can't download daily-5791.cdiff from db.US.clamav.net
Retrieving http://db.US.clamav.net/daily-5791.cdiff
Trying to download http://db.US.clamav.net/daily-5791.cdiff (IP: 10.144.126.18)
ERROR: getfile: Unknown response from remote server (IP: 10.144.126.18)
ERROR: getpatch: Can't download daily-5791.cdiff from db.US.clamav.net
Retrieving http://db.US.clamav.net/daily-5791.cdiff
Trying to download http://db.US.clamav.net/daily-5791.cdiff (IP: 10.144.126.18)
ERROR: getfile: Unknown response from remote server (IP: 10.144.126.18)
ERROR: getpatch: Can't download daily-5791.cdiff from db.US.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
Retrieving http://db.US.clamav.net/daily.cvd
Trying to download http://db.US.clamav.net/daily.cvd (IP: 10.144.126.18)
Downloading daily.cvd [100%]
Removing incremental directory daily.inc
Removing backup directory ./clamav-e1f9a5e06a04c2855be699c287603be2
daily.inc updated (version: 5791, sigs: 40641, f-level: 21, builder: ccordes)
Database updated (210317 signatures) from db.US.clamav.net
...

proxy log (squid):
...
1202842979.915    652 10.144.10.1 TCP_MISS/200 1280 GET 
http://db.us.clamav.net/daily-5790.cdiff -
DIRECT/72.21.63.182 text/plain
1202842980.353    305 10.144.10.1 TCP_MISS/503 645 GET 
http://db.us.clamav.net/daily-5791.cdiff -
DIRECT/72.21.63.182 text/html
1202842980.369      0 10.144.10.1 TCP_NEGATIVE_HIT/503 644 GET
http://db.us.clamav.net/daily-5791.cdiff - NONE/- text/html
1202842980.384      0 10.144.10.1 TCP_NEGATIVE_HIT/503 644 GET
http://db.us.clamav.net/daily-5791.cdiff - NONE/- text/html
1202842990.923  10523 10.144.10.1 TCP_REFRESH_MISS/200 1145160 GET 
http://db.us.clamav.net/daily.cvd
- DIRECT/155.98.64.86 text/plain
1202843038.755  89505 10.144.10.1 TCP_MISS/200 1240 GET 
http://db.us.clamav.net/daily-5790.cdiff -
DIRECT/65.110.48.11 text/plain
1202846593.486    961 10.144.10.1 TCP_MISS/200 885 GET 
http://db.us.clamav.net/daily-5792.cdiff -
DIRECT/216.24.174.245 application/octet-stream
1202850195.895   1311 10.144.10.1 TCP_MISS/200 3483 GET 
http://db.us.clamav.net/daily-5793.cdiff -
DIRECT/65.120.238.2 application/octet-stream
1202850196.547    570 10.144.10.1 TCP_MISS/200 1182 GET 
http://db.us.clamav.net/daily-5794.cdiff -
DIRECT/65.120.238.2 application/octet-stream
...

File daily-5791.cdiff don't downloaded from another mirror after first error 
(503) - TCP_NEGATIVE_HIT.


2nd Problem: info about new daily-xxxx.cdiff files (from 
current.cvd.clamav.net) is not immediately
updates on mirrors. Is it possible to do requiests to current.XY.clamav.net (or 
similar) instead
current.cvd.clamav.net?


Michael

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to