Comment Re:if you don't mind a few ipchains rules... (Score 1) 1163
for LUSER in `grep "winnt" /var/log/httpd/error_log | awk '{print $8}' | sed -e s/]// | sort | uniq`; do
If you use sort and uniq, you'll drastically reduce the number of IP addresses you're checking. Highly recommend changing it. :-)
If you use sort and uniq, you'll drastically reduce the number of IP addresses you're checking. Highly recommend changing it.