• Resolved jlmwp

    (@jlmwp)


    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.0

    Curiously, 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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @jlmwp

    It seems the issue It is the exact start match, Please use “http-client” to block that user agent and cross check it should work.

    I will create an internal ticket to solve this issue and the upcoming release will have it solved in www.ads-software.com

    Regards

    Thread Starter jlmwp

    (@jlmwp)

    Thank you for the answer. I’ll follow your suggestion and check what happens.

    Good day.

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @jlmwp

    Ok, keep me posted.

    Regards

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @jlmwp

    We have found one issue that User agent blacklist manager to block the user agent matches start of the string do not work
    and we have internally worked on to fix it.

    Can you please upload the zip as Add new plugin and replace it with existing AIOS plugin and confirm the issue is solved.

    https://gofile.io/d/UtHNVr

    This fix is going to be in the next release.

    Thread Starter jlmwp

    (@jlmwp)

    Hello
    Thank you very much for the fix.

    These last days we recieved requests with diferents versions of the “Go-http-client” and they all got blocked, so the previous suggestion worked.

    Now I just downloaded and installed the fix you provided, and I also replaced the line “http-client” with “Go-http-client” on the blacklist. I’ll be checking it and get to you if anything happens.

    Have a good day.

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @jlmwp

    Glad to know the suggestion worked.

    Keep me posted on the fix.

    Regards

    Thread Starter jlmwp

    (@jlmwp)

    Hello.

    It worked fine. Yesterday we recieved requests using the “Go-http-client/1.1” and they got blocked.

    As described, I used the fix and just one line with the whole agent name (“Go-http-client”) on the blacklist.

    I just left a five star review. Thank you so much.

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @jlmwp

    Glad to know the fix is also working,

    Thanks for the five star review, It helps others to make confident decisions about our plugin.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Can’t block “Go-http-client” User Agent versions’ is closed to new replies.