firewall - How can I block some special User-agents Via IPTables -
i need block packets source includes special user agents using iptables. don’t want manage via .htaccess
or apache. there way?
you can this:
iptables -a input -p tcp --dport 80 -m string --algo bm --string "mozilla/4.0 (compatible; msie 6.0; windows nt 5.1)" -j drop
Comments
Post a Comment