Ok, I have a problem APF is messing up that bans.. This is what is does.
Banned the following ip addresses on Fri Sep 15 16:50:01 CDT 2006
142 with 142 connections
I'm running Apache 2.0.59, Mysql 5, Php 5.1.9
Printable View
Ok, I have a problem APF is messing up that bans.. This is what is does.
Banned the following ip addresses on Fri Sep 15 16:50:01 CDT 2006
142 with 142 connections
I'm running Apache 2.0.59, Mysql 5, Php 5.1.9
You need to modify the netstat command. I'm leaving the office right now and don't have time to dig it up but here's mine for Apache 1:
netstat -na | grep "xx.xxx" | awk '{print $5}' | cut -d. -f1-4 | cut -d: -f1 | sort -n | uniq -c | sort -n | tail -5
replacing xx.xxx with the first 2 octets of your ip. Modify the cuts a little bit for apache 2 and you should get what you need.
Sorry I don't understand your command.. Can you tell me exactly what to do?