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

2021-11-18 Thread John Pfuntner -X (jpfuntne - EASI LLC at Cisco) via clamav-users
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/sin 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
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

2021-11-18 Thread Joel Esler (jesler) via clamav-users
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 
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 
(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/sin 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
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


___

clamav-users mailing list
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

2021-11-18 Thread John Pfuntner -X (jpfuntne - EASI LLC at Cisco) via clamav-users
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) 
Sent: Thursday, November 18, 2021 11:55 AM
To: ClamAV users ML 
Cc: John Pfuntner -X (jpfuntne - EASI LLC at Cisco) 
Subject: Re: [clamav-users] "403: Forbidden" from website

What files are you attempting to download?


___

clamav-users mailing list
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

2021-11-18 Thread Joel Esler (jesler) via clamav-users
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 
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) mailto:jes...@cisco.com>>
Sent: Thursday, November 18, 2021 11:55 AM
To: ClamAV users ML 
mailto:clamav-users@lists.clamav.net>>
Cc: John Pfuntner -X (jpfuntne - EASI LLC at Cisco) 
mailto:jpfun...@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


___

clamav-users mailing list
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