1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Someone Attacking server want to create auto ip blocker

Discussion in 'Programming' started by Beginner OP, Sep 18, 2015.

  1. #1
    Someone is Attacking my server i want to create auto ip blocker. Like i put the code in the program and create and run when attacker attack ip get banned in my firewall through that Software.
     
    Beginner OP, Sep 18, 2015 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,500
    Likes Received:
    4,460
    Best Answers:
    123
    Trophy Points:
    665
    #2
    Why not just direct traffic through cloudflare using one of their free options?
     
    sarahk, Sep 18, 2015 IP
  3. ThePHPMaster

    ThePHPMaster Well-Known Member

    Messages:
    737
    Likes Received:
    52
    Best Answers:
    33
    Trophy Points:
    150
    #3
    The IP is not enough to detect/prevent DDOS attacks, I would also not recommend using PHP to do that job for you. You can use many DDOS protection software like APF, BFD, DDoS and RootKit Utilities or online services like mentioned by Sarah (CloudFlare).
     
    ThePHPMaster, Sep 19, 2015 IP
  4. Zoti Media Group

    Zoti Media Group Notable Member

    Messages:
    1,598
    Likes Received:
    113
    Best Answers:
    2
    Trophy Points:
    265
    Digital Goods:
    2
    #4
    You wont be able to stop the ddos with php scripts.
    Cloudflare (free version) will safe you some bandwidth but there is no real protection.
    I suggest you to go with a ddos protected hosting provider.
     
    Zoti Media Group, Sep 19, 2015 IP
  5. geoffrey foggon

    geoffrey foggon Member

    Messages:
    71
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    38
    #5
    your hacker wont be using their ip address they will either be using a free wifi connection or a wifi connection they have hacked into. They will also have changed their mac address and most likely be running from a live disc which means they can run it on virtually any computer out there. If they are good enough they will hack you know matter what you do. Best option would be to look for vulnerability's in your scripts on the server.
     
    geoffrey foggon, Sep 19, 2015 IP
    sarahk likes this.
  6. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,998
    Best Answers:
    253
    Trophy Points:
    515
    #6
    HOW are they attacking? Via HTTP requests? Some other vector like probing FTP or SSH? What software are you running that is being attacked?

    You really didn't say enough of anything for there to be an actual answer... what's the site? What's the software? What type of "attack"?
     
    deathshadow, Sep 19, 2015 IP
  7. ProxyRadar

    ProxyRadar Greenhorn

    Messages:
    22
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    20
    #7
    First of all, you should limit the number of simultaneous connections from single IP or subnet in your firewall, to make queries do not reach the web server
     
    ProxyRadar, Sep 20, 2015 IP