Results 1 to 3 of 3

Thread: APF, problem

  1. #1
    Join Date
    Nov 2005
    Posts
    46

    APF, problem

    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

  2. #2
    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.

  3. #3
    Join Date
    Nov 2005
    Posts
    46
    Sorry I don't understand your command.. Can you tell me exactly what to do?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •