The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to identify IP causing load

Discussion in 'Security' started by fujipadam, Jan 18, 2013.

  1. fujipadam

    fujipadam Member

    Joined:
    Jun 25, 2009
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I am getting a lot of requests to my site going through all pages of my site. I believe it might be a scraping attempt and is causing heavy loads.

    Is there a way to find out the IP that is accessing the site the most in a short period of time?


    Thanks,
    Fuji
     
  2. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    run this command to see each ip and how many connexion

    Code:
    netstat -lanp | grep :80 | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
     
  3. STS Admin

    STS Admin Well-Known Member

    Joined:
    Jul 8, 2012
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    cPanel Access Level:
    Root Administrator
Loading...
Similar Threads - identify causing load
  1. Mugoma
    Replies:
    3
    Views:
    212

Share This Page