[clamav-users] "403: Forbidden" from website

John Pfuntner -X (jpfuntne - EASI LLC at Cisco) jpfuntne at cisco.com
Thu Nov 18 14:33:06 UTC 2021


I'm seeing errors trying to access the website programmatically:

$ wget http://www.clamav.net/downloads
URL transformed to HTTPS due to an HSTS policy
--2021-11-18 09:25:20--  https://www.clamav.net/downloads
Resolving www.clamav.net (www.clamav.net)... 104.16.218.84, 104.16.219.84, 2606:4700::6810:db54, ...
Connecting to www.clamav.net (www.clamav.net)|104.16.218.84|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2021-11-18 09:25:21 ERROR 403: Forbidden.
$

I see recent posts in the archive similar to this but someone asserted it was fixed.

I observed that if I supplied a user agent, it worked:

$ wget --user-agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36" http://www.clamav.net/downloads
URL transformed to HTTPS due to an HSTS policy
--2021-11-18 09:27:00--  https://www.clamav.net/downloads
Resolving www.clamav.net (www.clamav.net)... 104.16.219.84, 104.16.218.84, 2606:4700::6810:db54, ...
Connecting to www.clamav.net (www.clamav.net)|104.16.219.84|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'downloads'

downloads                        [ <=>                                          ] 103.58K  --.-KB/s    in 0.03s

2021-11-18 09:27:00 (3.60 MB/s) - 'downloads' saved [106062]
$

Is this a problem that can be addressed on the server so a user agent doesn't need to be specified?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20211118/7010dfa4/attachment.htm>


More information about the clamav-users mailing list