Can’t block “Go-http-client” User Agent versions
-
Hello.
I have a question to ask.We have been recieving requests using the “Go-http-client” user agent.
At first I blocked the agent using that specific string (without version number) but it didn’t work, so I added the version to the string (“Go-http-client/1.0”)
This works, but if the agent changes its version, it doesn’t gets blocked and I have to block the agent each time.So far, I added these lines to the User Agents black list:
Go-http-client
Go-http-client/1.0
Go-http-client/1.1
Go-http-client/2.0Curiously, if I block other agents using only their name, like “AwarioBot”, they get correctly blocked and all their versions.
Is there a way to block all the versions of the “Go-http-client”?
Thank you.
- The topic ‘Can’t block “Go-http-client” User Agent versions’ is closed to new replies.