Welcome to Centmin Mod Community
Register Now

IP Block if user-agent is invalid?

Discussion in 'System Administration' started by Oxide, Mar 23, 2015.

  1. Oxide

    Oxide Active Member

    502
    29
    28
    Mar 19, 2015
    Ratings:
    +54
    Local Time:
    7:21 PM
    Hello there.

    I wonder if someone here can learn me how I can IP Block, if the user-agent is invalid?

    currently i am using a bunch of if rules to prevent layer-7 ddos (detecting empty user-agents + wordpress) then i return 444 if they are these... but how can i ip block it so they cant access my server at all after one attempt?