Forum inaccessible. Server blocks my user agent and responds with 403 Forbidden.

Everything else that doesn't fall into one of the other PB categories.
NilsH
User
User
Posts: 14
Joined: Sun Apr 16, 2017 8:46 pm
Location: Germany

Forum inaccessible. Server blocks my user agent and responds with 403 Forbidden.

Post by NilsH »

Hello!
For several weeks, possibly over a month now, I have been unable to access this forum.
I always get a "403 Forbidden" response from the server.

At first I assumed that the forum was down for maintenance and the admins needed some time to get it working again.
But after several weeks I figured that maybe something on my side is causing the problem, and I started troubleshooting.

Now I found out that the 403 response is sent depending on the user agent string that the browser sends in the HTTP request.

The default user agent of my browser is:

Code: Select all

Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Note the version number 115.0 at the end. It turned out that the server blocks requests with versions from 110.0 to 123.0.
Versions up to 109.0 or 124.0 and above work fine.

Code: Select all

works:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0

doesn't work:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0
through
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/123.0

works:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/124.0
This is independent of the operating system in the user agent string.
If I put in the string for a Linux system "(X11; Ubuntu; Linux x86_64; rv:141.0)", the result is the same.

I hope this can be fixed, so that I don't have to use some addon to fake the user agent.

Regards,
Nils

P.S. Please, no comments about me still using Windows 7. It's the only operating system that fulfills my requirements for an OS. At least until my own OS is finished, which can only be a matter of decades.

Edit: Looks like I'm not the only one having this issue: viewtopic.php?p=642861.
User avatar
idle
Always Here
Always Here
Posts: 5870
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Forum inaccessible. Server blocks my user agent and responds with 403 Forbidden.

Post by idle »

it also blocks edge on windows.
Fred
Administrator
Administrator
Posts: 18169
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Forum inaccessible. Server blocks my user agent and responds with 403 Forbidden.

Post by Fred »

We were basically under ddos attack by AI bots, so I added such user agent checks. It seems to be back to normal, so it's removed for now, but I will put them back if it occurs again.
Post Reply