Ip with more sessions

Discussion in 'Site & Server Administration' started by ASTRAPI, Nov 7, 2009.

  1. #1
    Hello

    I think i am under a D0s attack and i want to find a way to view which ip have the more connections in my forum so i can block it using my firewall.

    ?

    Thank you
     
    ASTRAPI, Nov 7, 2009 IP
  2. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #2
    If u use this command

    netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n

    you will know who is connecting and how much

    Use http://deflate.medialayer.com/
     
    Bohra, Nov 7, 2009 IP
  3. ASTRAPI

    ASTRAPI Guest

    Messages:
    500
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I am getting something like this:


    So if the number before user ip is the open connections/sessions in my forum is it logical the 141?

    I think is too much ....
     
    ASTRAPI, Nov 7, 2009 IP
  4. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #4
    Sometimes it could up just keep check something above 250 is bad i guess
     
    Bohra, Nov 7, 2009 IP