Want to subscribe to topics you're interested in?
Become a Member

IP Block if user-agent is invalid?

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

  1. Oxide

    Oxide Active Member

    Mar 19, 2015
    Local Time:
    4:25 AM
    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?