Block USerAgent dengan Mod Security

Jika anda menemukan terlalu banyak request berdasarkan useragent misalnya seperti

66.27.207.84 – – [11/Jul/2014:14:00:46 +0700] “POST /xmlrpc.php HTTP/1.1” 200 751 “-” “Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5)”

Maka anda dapat memblokirnya dengan cara

SecRule REQUEST_HEADERS:User-Agent “WinHttpRequest” “log,id:9900002020,msg:’tidak boleh di disable'”

selamat mencoba.

Leave a Reply

Your email address will not be published. Required fields are marked *

What is 4 + 15 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)

 

Wordpress SEO Plugin by SEOPressor