Mailing List Archive

[clamav-users] "403: Forbidden" from website
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?
Re: [clamav-users] "403: Forbidden" from website [ In reply to ]
What files are you attempting to download?

On Nov 18, 2021, at 09:33, John Pfuntner -X (jpfuntne - EASI LLC at Cisco) via clamav-users <clamav-users@lists.clamav.net<mailto:clamav-users@lists.clamav.net>> wrote:

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<http://www.clamav.net/> (www.clamav.net<http://www.clamav.net/>)... 104.16.218.84, 104.16.219.84, 2606:4700::6810:db54, ...
Connecting to www.clamav.net<http://www.clamav.net/> (www.clamav.net<http://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<http://www.clamav.net/> (www.clamav.net<http://www.clamav.net/>)... 104.16.219.84, 104.16.218.84, 2606:4700::6810:db54, ...
Connecting to www.clamav.net<http://www.clamav.net/> (www.clamav.net<http://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?


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net<mailto:clamav-users@lists.clamav.net>
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] "403: Forbidden" from website [ In reply to ]
I’m not sure what the file is. The URL in which I’m interested is http://www.clamav.net/downloads/. I tried to add index.html to the URL but that didn’t work but when wget retrieves just http://www.clamav.net/downloads/, the filename it uses is index.html.

From: Joel Esler (jesler) <jesler@cisco.com>
Sent: Thursday, November 18, 2021 11:55 AM
To: ClamAV users ML <clamav-users@lists.clamav.net>
Cc: John Pfuntner -X (jpfuntne - EASI LLC at Cisco) <jpfuntne@cisco.com>
Subject: Re: [clamav-users] "403: Forbidden" from website

What files are you attempting to download?
Re: [clamav-users] "403: Forbidden" from website [ In reply to ]
Since you’re from Cisco, let’s take this off list so I can understand what you’re trying to do? May not be the proper way to do it internally.

On Nov 18, 2021, at 12:07, John Pfuntner -X (jpfuntne - EASI LLC at Cisco) via clamav-users <clamav-users@lists.clamav.net<mailto:clamav-users@lists.clamav.net>> wrote:

I’m not sure what the file is. The URL in which I’m interested is http://www.clamav.net/downloads/. I tried to add index.html to the URL but that didn’t work but when wget retrieves just http://www.clamav.net/downloads/, the filename it uses is index.html.

From: Joel Esler (jesler) <jesler@cisco.com<mailto:jesler@cisco.com>>
Sent: Thursday, November 18, 2021 11:55 AM
To: ClamAV users ML <clamav-users@lists.clamav.net<mailto:clamav-users@lists.clamav.net>>
Cc: John Pfuntner -X (jpfuntne - EASI LLC at Cisco) <jpfuntne@cisco.com<mailto:jpfuntne@cisco.com>>
Subject: Re: [clamav-users] "403: Forbidden" from website

What files are you attempting to download?


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net<mailto:clamav-users@lists.clamav.net>
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml