[clamav-users] Errors connecting to mirrors
Orion Poplawski
orion at nwra.com
Fri Apr 6 21:29:30 UTC 2018
Shouldn't matter - the resolved dns name isn't going to affect the http
request. So that seems like a server configuration error on that mirror.
On 04/05/2018 04:40 PM, Dennis Peterson wrote:
> Since db.us.clamav.net is a round robin resolving to db.us.big.clamav.net,
> another round robin, try the actual server hostname to dl a known file. The
> specific diff files come and go and may not be on a particular mirror server.
> The following worked for me - I send the output to /dev/null to save time.
>
> curl --resolve db.us.big.clamav.net:80:72.21.91.8
> http://db.us.big.clamav.net/bytecode.cvd 2>&1 >/dev/null
>
> dp
>
>
> On 4/5/18 2:56 PM, Orion Poplawski wrote:
>> On 03/30/2018 09:48 AM, Orion Poplawski wrote:
>>> And still having persistent problems with 72.21.91.8 as reported here:
>>> https://bugzilla.clamav.net/show_bug.cgi?id=12068
>>>
>> And it is still not there:
>>
>> # curl --resolve db.us.clamav.net:80:72.21.91.8
>> http://db.us.clamav.net/daily-24447.cdiff
>> <?xml version="1.0" encoding="iso-8859-1"?>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
>> <head>
>> <title>404 - Not Found</title>
>> </head>
>> <body>
>> <h1>404 - Not Found</h1>
>> </body>
>> </html>
>>
>> Nor any other db files...
>>
>> Feel like I'm shouting into the void with this....
>>
>>
>> Here's a little test script:
>>
>> host db.us.clamav.net |
>> awk '/address/ { print $4 }' |
>> while read ip;
>> do echo Trying $ip;
>> curl --resolve db.us.clamav.net:80:$ip -w 'result=%{http_code}\n\n' -o
>> /dev/null http://db.us.clamav.net/daily-24447.cdiff;
>> done
>>
>> Output:
>>
>>
>> Trying 74.115.25.14
>> % Total % Received % Xferd Average Speed Time Time Time
>> Current
>> Dload Upload Total Spent Left Speed
>> 0 0 0 0 0 0 0 0 --:--:-- 0:02:07 --:--:--
>> 0result=000
>>
>> curl: (7) Failed connect to db.us.clamav.net:80; Connection timed out
>> Trying 200.236.31.1
>> % Total % Received % Xferd Average Speed Time Time Time
>> Current
>> Dload Upload Total Spent Left Speed
>> 100 12309 100 12309 0 0 37220 0 --:--:-- --:--:-- --:--:-- 37300
>> result=200
>>
>> Trying 72.21.91.8
>> % Total % Received % Xferd Average Speed Time Time Time
>> Current
>> Dload Upload Total Spent Left Speed
>> 100 345 100 345 0 0 6873 0 --:--:-- --:--:-- --:--:-- 6900
>> result=404
>>
>> Trying 146.112.59.53
>> % Total % Received % Xferd Average Speed Time Time Time
>> Current
>> Dload Upload Total Spent Left Speed
>> 100 12309 100 12309 0 0 43418 0 --:--:-- --:--:-- --:--:-- 43494
>> result=200
>>
>> Trying 198.148.78.4
>> % Total % Received % Xferd Average Speed Time Time Time
>> Current
>> Dload Upload Total Spent Left Speed
>> 100 12309 100 12309 0 0 91546 0 --:--:-- --:--:-- --:--:-- 91858
>> result=200
>>
>> Trying 150.214.142.197
>> % Total % Received % Xferd Average Speed Time Time Time
>> Current
>> Dload Upload Total Spent Left Speed
>> 100 12309 100 12309 0 0 18416 0 --:--:-- --:--:-- --:--:-- 18399
>> result=200
>>
>> Trying 204.130.133.50
>> % Total % Received % Xferd Average Speed Time Time Time
>> Current
>> Dload Upload Total Spent Left Speed
>> 100 12309 100 12309 0 0 230k 0 --:--:-- --:--:-- --:--:-- 231k
>> result=200
>>
>> Trying 12.167.151.1
>> % Total % Received % Xferd Average Speed Time Time Time
>> Current
>> Dload Upload Total Spent Left Speed
>> 100 12309 100 12309 0 0 88046 0 --:--:-- --:--:-- --:--:-- 88553
>> result=200
>>
>> Trying 155.98.64.87
>> % Total % Received % Xferd Average Speed Time Time Time
>> Current
>> Dload Upload Total Spent Left Speed
>> 100 12309 100 12309 0 0 67394 0 --:--:-- --:--:-- --:--:-- 67262
>> result=200
>>
>> Trying 12.167.151.2
>> % Total % Received % Xferd Average Speed Time Time Time
>> Current
>> Dload Upload Total Spent Left Speed
>> 100 12309 100 12309 0 0 85108 0 --:--:-- --:--:-- --:--:-- 85479
>> result=200
>>
>> So looks like 74.115.25.14 is bad too.
>>
>
> _______________________________________________
> clamav-users mailing list
> clamav-users at lists.clamav.net
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
--
Orion Poplawski
Manager of NWRA Technical Systems 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion at nwra.com
Boulder, CO 80301 https://www.nwra.com/
More information about the clamav-users
mailing list